styles.scss 101 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844
  1. /**
  2. * Primary Drupal Styles
  3. * Author: g-u-i.net
  4. */
  5. //@charset "UTF-8";
  6. @import "../bower_components/foundation/scss/normalize.scss";
  7. @import "../bower_components/foundation/scss/foundation/functions";
  8. // $row-width: rem-calc(1250);
  9. // $total-columns: 12;
  10. // $column-gutter: rem-calc(20);
  11. //@import "../bower_components/foundation/scss/foundation/settings"; // this is not working, causing an error on compilation
  12. @import "../bower_components/foundation/scss/foundation/components/global";
  13. @import "../bower_components/foundation/scss/foundation/components/type";
  14. @import "../bower_components/foundation/scss/foundation/components/clearing";
  15. @import "../bower_components/foundation/scss/foundation/components/inline-lists";
  16. @import "../bower_components/foundation/scss/foundation/components/buttons";
  17. @import "../bower_components/foundation/scss/foundation/components/button-groups";
  18. @import "../bower_components/foundation/scss/foundation/components/grid";
  19. // @import "../bower_components/foundation/scss/foundation/components/top-bar";
  20. // @import "../bower_components/foundation/scss/foundation/components/block-grid";
  21. @import "gui.scss";
  22. @import "colors.scss";
  23. @import "fonts.scss";
  24. @import "layout.scss";
  25. @import "../fonts/icon/foundation-icons.css";
  26. @mixin shadowBtn(){
  27. @include drop-shadow(0, 0, 5px, 0.4);
  28. @include transition-simply-prefix(box-shadow 0.3s ease-out);
  29. &:hover, &:focus{
  30. @include drop-shadow(0, 0, 5px, 0.7);
  31. }
  32. &:active{
  33. @include transition-simply-prefix(box-shadow 0s ease-out);
  34. @include drop-shadow(0, 0, 5px, 0.4);
  35. }
  36. }
  37. @mixin shadowTextBtnWhite(){
  38. cursor:pointer;
  39. text-shadow:0 0 2px rgba(255, 255, 255, 0.2);
  40. @include transition-simply-prefix(text-shadow 0.3s ease-out);
  41. &:hover, &:focus{
  42. text-shadow:0 0 3px rgba(255, 255, 255, 1);
  43. }
  44. &:active{
  45. @include transition-simply-prefix(text-shadow 0s ease-out);
  46. text-shadow:0 0 2px rgba(255, 255, 255, 0.2);
  47. }
  48. }
  49. @mixin shadowTextBtnBlack(){
  50. cursor:pointer;
  51. text-shadow:0 0 2px rgba(0, 0, 0, 0.2);
  52. @include transition-simply-prefix(text-shadow 0.2s ease-out);
  53. &:hover, &:focus{
  54. text-shadow:0 0 2px rgba(0, 0, 0, 0.8);
  55. }
  56. &:active{
  57. @include transition-simply-prefix(text-shadow 0s ease-out);
  58. text-shadow:0 0 2px rgba(0, 0, 0, 0.2);
  59. }
  60. }
  61. @mixin horihoverswitch(){
  62. position:relative; z-index:1; background-color:#fff;
  63. figure{
  64. position: absolute; top:0; left:0;
  65. &:first-child{ position:relative; z-index:1; }
  66. }
  67. }
  68. @mixin layer(){
  69. position:absolute; width:100%; height:100%; top:0; left:0;
  70. }
  71. .op-visible{
  72. visibility:visible;
  73. .csstransitions &{
  74. opacity:1;
  75. @include transition-simply-prefix(opacity 0.3s ease-out);
  76. }
  77. }
  78. .op-hidden{
  79. visibility:hidden;
  80. >*{
  81. margin-top:-100000px;
  82. }
  83. .csstransition &{
  84. opacity:0;
  85. @include transition-simply-prefix(visibility 0s 0.3s); // opacity 0.3s ease-out); change this
  86. >*{
  87. @include transition-simply-prefix(margin-top 0s 0.3s);
  88. }
  89. }
  90. }
  91. @mixin op-visible(){
  92. visibility:visible;
  93. .csstransitions &{
  94. opacity:1;
  95. @include transition-simply-prefix(opacity 0.3s ease-out);
  96. }
  97. } // change this
  98. @mixin op-hidden(){
  99. visibility:hidden;
  100. >*{
  101. margin-top:-100000px;
  102. }
  103. .csstransition &{
  104. opacity:0;
  105. @include transition-simply-prefix(visibility 0s 0.3s); // opacity 0.3s ease-out); change this
  106. >*{
  107. @include transition-simply-prefix(margin-top 0s 0.3s);
  108. }
  109. }
  110. } // change this
  111. @mixin bouton(){
  112. @include fs16();
  113. font-weight:bold;
  114. padding: 0.1em 0.3em 0.2em; @include rounded(0.3em);
  115. border: 2px solid #ccc; background-color:#ccc; color:#4D4D4D; // blanc/bleu
  116. @include shadowTextBtnWhite();
  117. text-align: center; text-decoration: none;
  118. }
  119. @mixin bouton-bleu(){
  120. @include bouton();
  121. @include shadowTextBtnBlack();
  122. border-color:#69CDCF; background-color:#69CDCF; color:#fff;
  123. }
  124. @mixin bouton-vert(){
  125. @include bouton();
  126. @include shadowTextBtnBlack();
  127. border-color:#E6DE1C; background-color:#E6DE1C; color:#fff;
  128. }
  129. /** colomnized() */
  130. @mixin columnized($padding){
  131. padding : $padding;
  132. &.columnized{
  133. padding: 0;
  134. .column>*{padding:$padding;}
  135. @include transition-simply-prefix(margin-left 0.3s ease-out);
  136. .column-switcher{
  137. display:inline-block; @include rounded(3px); color:#fff; background-color: #3e3e3e; vertical-align:middle;
  138. @include fs700(); @include fs22;
  139. padding: 0.05em 0.15em 0.2em 0.2em; line-height:0.5;
  140. @include regular;
  141. &.prev-column{cursor: w-resize;}
  142. &.next-column{cursor: e-resize;}
  143. }
  144. }
  145. }
  146. @mixin bgcWhite(){
  147. background-color: rgba(255, 255, 255, 0.8);
  148. text-shadow:0 0 4px rgba(255, 255, 255, 0.4);
  149. @include transition-simply-prefix(background-color 0.2s ease-out); // text-shadow 0.2s ease-out); //change this
  150. }
  151. @mixin bgcBlack(){
  152. background-color: rgba(0, 0, 0, 0.7);
  153. text-shadow:0 0 4px rgba(0, 0, 0, 0.4);
  154. @include transition-simply-prefix(background-color 0.2s ease-out); // text-shadow 0.2s ease-out); //change this
  155. }
  156. // .bgcWhiteParentHover(){
  157. // background-color: rgba(255, 255, 255, 0.2);
  158. // text-shadow:0 0 4px rgba(255, 255, 255, 0.9);
  159. // &:hover{
  160. // @include bgcWhite();
  161. // }
  162. // }
  163. $headerheight:45px;
  164. $headerpaddingtop:5px;
  165. $headerpaddingbottom:10px;
  166. $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
  167. /*
  168. __ ___________ ____ __________
  169. / / / / ____/ | / __ \/ ____/ __ \
  170. / /_/ / __/ / /| | / / / / __/ / /_/ /
  171. / __ / /___/ ___ |/ /_/ / /___/ _, _/
  172. /_/ /_/_____/_/ |_/_____/_____/_/ |_|
  173. */
  174. #header{
  175. padding-top:$headerpaddingtop;
  176. padding-bottom:$headerpaddingbottom;
  177. height:$headerheight;
  178. // position:relative;
  179. // @include drop-shadow(0, 3px, 2px, 0.4); margin-bottom:5px;
  180. a{&, &:active, &:visited{color:#000;}}
  181. // .logo, #header-blocks{@include inlineblock(); vertical-align:middle;}
  182. .logo{
  183. //width:210px; //padding-left:5px; //margin-left:50px;
  184. @include inlineblock();
  185. h1{
  186. margin:0;
  187. @include fs36;
  188. @include inlineblock(); vertical-align: baseline; position:relative; line-height:1.25;
  189. a:hover{text-decoration: none ;}
  190. }
  191. span.slogan{
  192. @include fs14;
  193. margin-top:-3px;
  194. margin-left:-0.5em;
  195. @include fs900;
  196. @media #{$small-only} {display:none;}
  197. @media #{$medium-only} { display:block; margin-left:0.1em; }
  198. @media #{$large-only} { display:block; margin-left:0.1em; }
  199. .ie8 &{position: absolute; margin-top:22px;}
  200. }
  201. }
  202. #header-blocks{
  203. //position:absolute; right:0; bottom:0;
  204. padding-top:17px;
  205. float:right;
  206. text-align:right;
  207. text-transform: capitalize;
  208. >.region{
  209. @include inlineblock(); vertical-align:middle;
  210. padding-right:1em; margin-right:1em;
  211. @media #{$small-only}{ padding-right:0.3em; margin-right:0.3em;}
  212. @media #{$medium-only}{ padding-right:0.3em; margin-right:0.3em;}
  213. border-right: 1px solid #707070;
  214. &:last-child{border:none; padding: 0; margin: 0;}
  215. }
  216. .block{
  217. @include inlineblock(); vertical-align:middle;
  218. h2{
  219. @include fs12;
  220. margin: 0; line-height: 1.2; font-weight: normal; }
  221. &:not(:last-child){
  222. padding-right:0.8em;
  223. @media #{$xlarge-only}{ padding-right:0.3em; } //change this
  224. }
  225. }
  226. #headerblock-left{
  227. @media #{$small-only}{display:none;}
  228. // @media #{$medium-only}{display:none;}
  229. }
  230. #block-social-media-links-social-media-links{
  231. ul.social-media-links{margin:0;line-height: 0;}
  232. li{
  233. line-height: 1;
  234. &.facebook a{background-image: url("../img/socialicons/svg/Facebook-color.svg");}
  235. &.twitter a{background-image: url("../img/socialicons/svg/Twitter-color.svg");}
  236. &.linkedin a{background-image: url("../img/socialicons/svg/LinkedIn-color.svg");}
  237. &.pinterest a{background-image: url("../img/socialicons/svg/Pinterest-color.svg");}
  238. &.vimeo a{background-image: url("../img/socialicons/svg/Vimeo-color.svg");}
  239. &.rss a{background-image: url("../img/socialicons/svg/RSS-color.svg");}
  240. // @media #{$small-only}{
  241. // &.linkedin,&.pinterest,&.vimeo{display:none;}
  242. // }
  243. @media #{$medium-only}{
  244. &.linkedin,&.pinterest,&.vimeo{display:none;}
  245. }
  246. }
  247. a{
  248. display:block; width:16px; height:16px;
  249. background-position: center;
  250. background-repeat: no-repeat;
  251. background-size: contain;
  252. }
  253. img{display:none;}
  254. }
  255. #block-materio-user-front-link{
  256. a{
  257. @include fs12;
  258. // line-height: 1.2;
  259. }
  260. // i{ vertical-align: text-bottom; margin: 0 2px 0px 0;}
  261. span.text{ display:none; }
  262. }
  263. #block-user-login{
  264. @include fs12;
  265. text-align:left; position:relative;
  266. h2{
  267. padding-right:5px;
  268. // .icon-user;
  269. i{ vertical-align: text-bottom; margin: 0 2px 2px 0;}
  270. }
  271. form#user-login-form{
  272. position:absolute; overflow:hidden; right:0; margin: 0;
  273. height:0;
  274. @include transition-simply-prefix(height 0.3s ease-out);
  275. &>div{
  276. padding: 5px; margin: 5px;
  277. background-color: #e6e6e6; @include rounded(5px); @include drop-shadow(0, 0, 5px, 0.2);
  278. }
  279. .form-item{margin: 0; padding-bottom:5px;}
  280. label,input{
  281. margin: 0;
  282. @include fs10;
  283. }
  284. // label{width:30%;}
  285. input.form-text{
  286. width:150px; height:2em;
  287. }
  288. .form-actions{
  289. margin: 5px 0; padding: 0; background-color:transparent; text-align: right;
  290. input.form-submit{
  291. // @include fs12;
  292. @include fs16; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  293. font-weight:bold;
  294. margin-bottom:4px;
  295. border: 2px solid #E6DE1C; background-color:#E6DE1C; color:#fff; // noire/jaune
  296. @include shadowTextBtnBlack();
  297. }
  298. }
  299. div.newpass{
  300. text-align: right;
  301. a{
  302. @include fs11;
  303. color:#686868;
  304. text-transform: lowercase;
  305. }
  306. }
  307. // div.register a{
  308. // display:block; padding: 10px 5px; background-color: #ccf718; font-weight:bold; text-align: center; .14;
  309. // }
  310. }
  311. html.no-touch &:hover, &.hovered{
  312. form#user-login-form{
  313. height:300px;
  314. &>div{
  315. }
  316. z-index:$header-z-index;
  317. }
  318. }
  319. @media #{$small-only}{
  320. span.login{display:none;}
  321. } //change this
  322. }
  323. #block-ajax-register-ajax-register-block{
  324. @include fs12;
  325. text-transform: lowercase;
  326. }
  327. #block-logintoboggan-logintoboggan-logged-in{
  328. @include fs12;
  329. line-height:1.5;
  330. i{
  331. vertical-align: text-bottom;
  332. margin: 0 5px 1px 0;
  333. line-height:1;
  334. }
  335. a span.account{text-transform: lowercase;}
  336. a span.logout{display:none; margin-left:5px; }
  337. .fi-power{margin: 0 0.5em 0 0.5em;}
  338. // @media #{$large-only}{ .fi-power{display: none;} }
  339. @media #{$small-only}{a span.account{display:none;}}
  340. @media #{$medium-only}{a span.account{display:none;}}
  341. }
  342. #block-materio-flag-materio-flag-mylists-nav{
  343. position:relative;
  344. h2{
  345. margin: 0;
  346. @include fs12;
  347. line-height:1.5;
  348. i{line-height:1;}
  349. @media #{$small-only}{ span.menu-title{display:none;}}
  350. @media #{$medium-only}{ span.menu-title{display:none;}}
  351. }// @include fs700;
  352. section.mylists{
  353. position:absolute; z-index:20; background-color: rgba(255, 255, 255, 0.9); min-width:100%; margin: 0 0 0 -5px;
  354. @include rounded(3px); @include drop-shadow(-2px, 2px, 5px, 0.2);
  355. .ie8 &{background:#FFF;}
  356. ul{margin: 0;}
  357. li{
  358. list-style: none;
  359. @include fs12; @include fs700;
  360. padding: 0 10px; text-align: left; width:200px;
  361. height:0; overflow:hidden; @include transition-simply-prefix(height 0.3s ease-out);
  362. // height:15px; padding: 3px 10px;
  363. a, span.preview{white-space:nowrap; cursor:pointer;}
  364. a.open-list{max-width:150px;}
  365. span.count{
  366. @include fs300;
  367. padding: 0 5px;}
  368. span.preview, a.edit-list{padding-right:5px;}
  369. .no-touch &:not(:hover) {
  370. span.preview, a.edit-list{@include op-hidden;}
  371. }
  372. }
  373. }
  374. &:hover{
  375. section.mylists{
  376. padding-bottom:5px;
  377. li{height:15px; padding: 3px 10px; }
  378. }
  379. }
  380. h2{
  381. i{ vertical-align: text-bottom; margin: 0 2px 2px 0;}
  382. // @media #{$xlarge-up}{ i{display: none;} }
  383. @media #{$small-only}{ span.menu-title{display:none;} }
  384. }
  385. }
  386. #headerblock-right{
  387. .block{
  388. @include inlineblock; padding:0; vertical-align: middle;
  389. &:first-child{padding: 0;}
  390. }
  391. }
  392. #block-menu-menu-top-menu{
  393. h2{
  394. .ie8 &{display:none;}
  395. i{ vertical-align: text-bottom; margin: 0 0 2px 0;}
  396. }
  397. ul.menu, li{
  398. @include fs12;
  399. list-style: none;
  400. .ie8 &{display: inline;}
  401. }
  402. // menu en ligne
  403. @media #{$medium-up}{
  404. h2{display:none;}
  405. ul.menu, li{
  406. @include inlineblock; vertical-align: middle;
  407. padding: 0; margin: 0;
  408. }
  409. a{padding: 0 0.5em 0 0;}
  410. } //change this
  411. //menu deroulant
  412. @media #{$small-only}{
  413. position:relative;
  414. h2 .menu-title{display: none;}
  415. .menu-wrapper{
  416. position:absolute; width:150px; display:none; right:0; padding-top:5px;
  417. ul.menu{
  418. background-color: #e6e6e6;
  419. @include rounded(5px); padding: 0 5px 5px 5px; margin: 0; text-align: right;
  420. li{
  421. height:0;
  422. overflow:hidden;
  423. @include transition-simply-prefix(height 0.3s ease-out);
  424. a{
  425. display:block; width:100%; padding:2px 5px; @include fs12;
  426. }
  427. }
  428. }
  429. }
  430. html.no-touch &:hover, &.hovered{
  431. z-index:$header-z-index;
  432. .menu-wrapper{
  433. display:block;
  434. ul.menu{li{height:25px;}}
  435. }
  436. }
  437. } //change this
  438. }
  439. #block-locale-language{
  440. position: relative;
  441. h2{
  442. @include fs9;
  443. line-height:1.6;
  444. display: inline-block;
  445. padding:0.20em 0.45em 0.10em; margin:0;
  446. @include rounded(3px);
  447. color:#fff; text-transform: uppercase;
  448. background-color: #4d4b4b;
  449. // @media #{$small-only}{ span.menu-title{display:none;}}
  450. // @media #{$medium-only}{ span.menu-title{display:none;}}
  451. }
  452. ul,li{
  453. margin:0;padding:0;list-style-type: none;
  454. @include fs12;
  455. line-height: 0.9;
  456. &.active{display:none;}
  457. }
  458. .ie8 &{padding-top:5px;}
  459. ul{
  460. padding-top:2.1em;
  461. position:absolute;
  462. top:0; left:0;
  463. text-align: left;
  464. }
  465. li{
  466. a{
  467. display: inline-block;
  468. font-size: 0.9em;
  469. padding:0.33em 0.34em 0.3em;
  470. // margin:0 0 0 0;
  471. @include rounded(3px);
  472. color:#fff; text-transform: uppercase;
  473. background-color: #808080;
  474. @include transition-simply-prefix(background-color 0.3s ease-out);
  475. &:hover{background-color: #1A1A1A;}
  476. }
  477. height:0;
  478. overflow: hidden;
  479. @include transition-simply-prefix(height 0.3s ease-in-out);
  480. }
  481. &:hover{li{height:1.5em;}}
  482. }
  483. #block-materio-user-old-database-link{
  484. a{
  485. @include fs12;
  486. ;}
  487. }
  488. }
  489. }
  490. /*
  491. __ _ ___ __ _
  492. __ __/ /_(_) (_) /_(_)__ _____
  493. / / / / __/ / / / __/ / _ \/ ___/
  494. / /_/ / /_/ / / / /_/ / __(__ )
  495. \__,_/\__/_/_/_/\__/_/\___/____/
  496. */
  497. #utilities{
  498. background-color: #fff;
  499. margin-top:$headerouterheight;
  500. .not-logged-in &{ overflow:hidden; }
  501. &>.inner{padding:0.5em 0;}
  502. &.closed{
  503. .tabs, .node-didactique{display:none;} height:0;
  504. }
  505. @media #{$small-only}{
  506. margin-top:0;
  507. }
  508. max-height: 100px;
  509. }
  510. /*
  511. _
  512. ____ ___ ____ _(_)___
  513. / __ `__ \/ __ `/ / __ \
  514. / / / / / / /_/ / / / / /
  515. /_/ /_/ /_/\__,_/_/_/ /_/
  516. */
  517. #main{
  518. body.home-v2 &{
  519. padding-top:$headerouterheight;
  520. }
  521. }
  522. /*
  523. __ _ __ ___ __ __ __
  524. / /_ (_)___ _/ /_ / (_)___ _/ /_ / /____ ____/ /
  525. / __ \/ / __ `/ __ \/ / / __ `/ __ \/ __/ _ \/ __ /
  526. / / / / / /_/ / / / / / / /_/ / / / / /_/ __/ /_/ /
  527. /_/ /_/_/\__, /_/ /_/_/_/\__, /_/ /_/\__/\___/\__,_/
  528. /____/ /____/
  529. */
  530. #highlighted{
  531. @include rounded(5px);
  532. @include drop-shadow(0, 0, 6px, 0.6);
  533. padding: 0.5em;
  534. position:relative;
  535. @media #{$medium-up}{
  536. margin: 20px 0 6px;
  537. .block{ @include inlineblock; vertical-align: top; }
  538. .block-materio-didactique{
  539. width:65%;
  540. .side{
  541. @include inlineblock(); vertical-align: top;
  542. position:relative; //height:100%;
  543. }
  544. .group-sideleft{ width:65%; }
  545. .group-sideright{ width:30%; }
  546. .field-name-title-field{@include fs24;}
  547. // .field-name-field-visuel{}
  548. .node.emvideo{
  549. .group-sideleft, .group-sideright{ width:47%; }
  550. .group-sideleft{margin-right:2%;}
  551. // .field-name-field-visuel{display:none;}
  552. }
  553. }
  554. #block-materio-user-user-register{
  555. width:30%; padding:5px; height:290px;
  556. }
  557. }
  558. @media #{$small-up}{
  559. .block-materio-didactique{
  560. .side{@include inlineblock(); vertical-align: top;}
  561. }
  562. }
  563. @media #{$small-only}{
  564. margin:10px 0 6px;
  565. .block-materio-didactique{
  566. .group-sideleft, .group-sideright{ width:100%; }
  567. .node-didactique{
  568. .field-name-title-field{
  569. @include fs20;
  570. font-weight:normal!important;
  571. // &:before{content:"- ";}
  572. &:after{
  573. content:"\a0\f10b";
  574. font-family: "foundation-icons";
  575. font-style: normal;
  576. font-weight: normal;
  577. font-variant: normal;
  578. text-transform: none;
  579. line-height: 1;
  580. -webkit-font-smoothing: antialiased;
  581. display: inline-block;
  582. text-decoration: inherit;
  583. font-size: 16px;
  584. }
  585. }
  586. }
  587. html.js & .node-didactique{
  588. height:auto;
  589. height:30px; overflow: hidden;
  590. &.opened{height:auto;}
  591. }
  592. }
  593. }
  594. // @media #{$small-only}{
  595. // .block-materio-didactique{
  596. // // .pt(150px);
  597. // .group-sideleft{ width:50%; }
  598. // .group-sideright{ width:50%; }
  599. // }
  600. // } //change this
  601. .oldie &{
  602. .block{@include inlineblock;}
  603. }
  604. .block-materio-didactique{
  605. // .ie8 &{max-width:850px; border: 1px solid #C6C6C6;}
  606. .node-didactique{
  607. @include fs14;
  608. background-color:#fff; //padding: 5px;
  609. margin: 0 auto;
  610. // .ie8 &{max-width:750px; margin-left:15px; margin-top:10px;}
  611. .side{position:relative;}
  612. .field-name-title-field{
  613. @include fs900;
  614. @include italic;
  615. padding:5px 0;
  616. }
  617. .field-name-field-visuel{
  618. text-align: center;
  619. figure, img{display:inline;}
  620. }
  621. &.emvideo{
  622. .field-name-field-visuel{display:none;}
  623. }
  624. // .field-name-field-emvideo{
  625. // a{
  626. // display:block; width:100%; height:100%;
  627. // background: transparent url(../img/vimeo-play-btn.png) no-repeat center center;
  628. // &:hover{background-image: url(../img/vimeo-play-btn-hover.png);}
  629. // img{max-width:100%;}
  630. .ie8 &{.player{display:none;}}
  631. // }
  632. // }
  633. }
  634. html.js &{
  635. position:relative;
  636. overflow: hidden;
  637. .slides{
  638. height:270px; margin: 0; position:relative; width:100%; overflow:hidden;
  639. .node-didactique{ @include layer(); }
  640. .field-name-title-field{ height:30px;}
  641. .group-column-wrapper{
  642. height:240px;
  643. .side{ height:100%; }
  644. .field-name-field-emvideo{
  645. $r:0.5625;
  646. @media #{$small-only}{ $w:290px; width:$w; height:$w*$r; }
  647. @media #{$medium-only}{ $w:216px; width:$w; height:$w*$r; }
  648. @media #{$large-only}{ $w:216px; width:$w; height:$w*$r; }
  649. @media #{$xlarge-only}{ $w:280px; width:$w; height:$w*$r; }
  650. @media #{$xxlarge-only}{ $w:340px; width:$w; height:$w*$r; }
  651. *{height:100%; width:100%;}
  652. }
  653. }
  654. }
  655. .tabs{
  656. height:30px; margin: 0; text-align:left;
  657. >*{
  658. @include inlineblock(); vertical-align: top ; padding:5px 10px; @include fs12; cursor:pointer; color:#bfbfbf;
  659. &:hover, &:focus, &.active{color:#3f3f3f;}
  660. }
  661. }
  662. }
  663. }
  664. }
  665. /*
  666. __ __ __ _ __
  667. / /_ / /___ _____/ /__ ________ ____ _(_)____/ /____ _____
  668. / __ \/ / __ \/ ___/ //_/ / ___/ _ \/ __ `/ / ___/ __/ _ \/ ___/
  669. / /_/ / / /_/ / /__/ ,< / / / __/ /_/ / (__ ) /_/ __/ /
  670. /_.___/_/\____/\___/_/|_| /_/ \___/\__, /_/____/\__/\___/_/
  671. /____/
  672. */
  673. #block-materio-user-user-register, #block-materio-user-user-createaccount{
  674. min-height:120px; padding: 5px;
  675. background: transparent url('../img/register-block.png') no-repeat 100% 90%;
  676. .ie8 &{max-width:250px; float:right; background-image:none;}
  677. h2, h3{@include fs900; @include italic; padding:5px 0; margin: 0; line-height: 1; background-color:#fff; @include inlineblock(); min-width:50%;}
  678. h2{@include fs24;} h3{@include fs16;}
  679. form{margin: 0; background-color: rgba(255, 255, 255, 0.7); padding-bottom:5px; @include inlineblock(); }
  680. .form-item, .form-wrapper{
  681. margin: 0; @include inlineblock; vertical-align: middle; position:relative;
  682. }
  683. #edit-account{margin-right:5px;}
  684. input.form-text{ @include fs12; @include rounded(5px); margin-bottom:4px;.ie8 &{margin-right:5px;}}
  685. .form-item-mail input.form-text, .form-item-name input.form-text{ width:11em;}
  686. .form-item-pass input.form-text{ width:7em;}
  687. #edit-mail-check{
  688. position:absolute; bottom:100%; z-index:9999; background-image: none;
  689. height:auto; //width:90%;
  690. padding: 5px; @include rounded(5px); margin-bottom:10px;
  691. @include fs11; background-color: #fff;
  692. @include drop-shadow(0, 0, 5px, 0.6);
  693. @include transition-simply-prefix(bottom 0.1s ease-out);
  694. &.error{
  695. background-color: #f3968d;
  696. // border: 2px solid #f30002;
  697. color:#fff;
  698. }
  699. &.ok{ display:none; }
  700. }
  701. .form-submit{
  702. //border: 2px solid #69CDCF; background-color:#69CDCF; color:#FF7400; // orange/bleu
  703. @include fs16; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  704. font-weight:bold;
  705. margin-bottom:4px;
  706. }
  707. .form-item-termsofservices, #edit-field-newsletter{
  708. margin-bottom:0; display:block; line-height: 1;
  709. &>*{ @include inlineblock; vertical-align: middle; margin: 0; }
  710. label{ @include fs10; background-color: #fff; @include rounded(3px); }
  711. }
  712. #user-register-form{
  713. .form-submit{
  714. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  715. @include shadowTextBtnBlack();
  716. &[disabled]{
  717. background-color:#ddd; border: 2px solid #ddd;
  718. }
  719. }
  720. }
  721. #user-login{
  722. .form-submit{
  723. border: 2px solid #E6DE1C; background-color:#E6DE1C; color:#fff; // noire/jaune
  724. @include shadowTextBtnBlack();
  725. }
  726. }
  727. #edit-simplenews{
  728. padding-top:0.5em;
  729. .fieldset-description{
  730. @include fs12;
  731. }
  732. .form-checkboxes{
  733. .form-item{
  734. display:block;
  735. label{@include fs12;}
  736. }
  737. }
  738. }
  739. a.join{
  740. // @include inlineblock();
  741. display:block;
  742. // margin: 10px 0;
  743. width:5em;
  744. @include fs16; padding: 0.1em 0.3em 0.2em; @include rounded(0.3em);
  745. font-weight:bold;
  746. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  747. @include shadowTextBtnBlack();
  748. text-align: center; text-decoration: none;
  749. }
  750. @media #{$small-only}{
  751. background-position: 160% 50%;
  752. .form-item-mail input.form-text, .form-item-name input.form-text{ width:7em;}
  753. min-height:60px; padding: 15px 0;
  754. // #user-login, >h3:first-child, >h3 span{ display:none; }
  755. }
  756. .message-error{
  757. color:#b94a48; @include fs12;
  758. }
  759. .modal-content &{
  760. padding: 2em;
  761. width:400px;
  762. background-color: #fff;
  763. padding:5px;
  764. @include rounded(5px);
  765. @include drop-shadow(0, 0, 7px, 0.4);
  766. #user-register-form{
  767. // hide honeypot field, because drupal.attachbehavior() doesn't work
  768. div.homepage-textfield{display:none;}
  769. .description{
  770. @include fs12;
  771. }
  772. }
  773. }
  774. }
  775. /*
  776. __ __ __
  777. _________ ____ / /____ ____ / /_ / /_____ ____
  778. / ___/ __ \/ __ \/ __/ _ \/ __ \/ __/_____/ __/ __ \/ __ \
  779. / /__/ /_/ / / / / /_/ __/ / / / /_/_____/ /_/ /_/ / /_/ /
  780. \___/\____/_/ /_/\__/\___/_/ /_/\__/ \__/\____/ .___/
  781. /_/
  782. */
  783. #content-top{
  784. // padding-left:50px;
  785. /*
  786. ___ _ _ _ _
  787. | _| |___ ___ ___| |_|___| |_
  788. | _| | .'| . |___| | |_ -| _|
  789. |_| |_|__,|_ | |_|_|___|_|
  790. |___|
  791. */
  792. #block-materio-flag-materio-flag-mybookmarks, #block-materio-flag-materio-flag-mylists{
  793. // padding:5px 0;
  794. @include fs10; color:#666666; @include fs300;
  795. .ie8 &{margin-top:40px;}
  796. h2{
  797. @include fs12; @include fs700; line-height:1.2; margin:0; color:#000;
  798. a.open-list, i.fi-x{
  799. @include inlineblock(); cursor:pointer; color:#000; margin-left:0.5em;
  800. opacity:0; @include transition-simply-prefix(opacity 0.1s ease-out);
  801. }
  802. i:before{
  803. @include fs14;
  804. }
  805. }
  806. &:hover{
  807. a.open-list, i.fi-x{
  808. opacity:1;
  809. }
  810. }
  811. span.listname[name=bookmarks]{
  812. cursor:pointer;
  813. }
  814. section.bookmarks{
  815. height:0; overflow:hidden;
  816. &.active{
  817. height:auto;
  818. }
  819. article.node.vm-bookmark{
  820. overflow:hidden;
  821. }
  822. }
  823. .mylists{
  824. // .transition-simply-prefix(height 0.3s ease-out);
  825. section{
  826. h2, .flaged{
  827. height:0; overflow: hidden;
  828. }
  829. &.active{
  830. h2, .flaged{
  831. height:auto;
  832. }
  833. }
  834. }
  835. }
  836. // .js & .mybookmarks{display:none;}
  837. }
  838. }
  839. // ______ ____
  840. // /_ __/___ ____ / / /_ ____ ______
  841. // / / / __ \/ __ \/ / __ \/ __ `/ ___/
  842. // / / / /_/ / /_/ / / /_/ / /_/ / /
  843. // /_/ \____/\____/_/_.___/\__,_/_/
  844. #tool-bar{
  845. // margin-left:50px;
  846. position:relative;
  847. .inner-content{
  848. padding-top:10px; padding-bottom:10px;
  849. &>*{
  850. @include inlineblock();
  851. vertical-align: middle ;
  852. // height:35px;
  853. // margin: 5px;
  854. }
  855. @media #{$small-only}{
  856. // padding:0;
  857. // h1{line-height:0.5;}
  858. }
  859. }
  860. // text-align:right;
  861. // >*{ text-align: left ;}
  862. // .block{
  863. // .inlineblock();
  864. // margin:0 0 0 20px;
  865. // }
  866. .oldie &{background-color:#B1ADAD; padding:0 10px;}
  867. .btn-group{
  868. padding: 0; @include rounded(3px); @include bgc(#fff); margin:4px;
  869. @include shadowBtn();
  870. }
  871. #block-materio-page-title-materio-page-title{
  872. // .ie8 &{margin-top:40px;}
  873. margin: 0 10px 0 0;
  874. h1{ margin: 0;
  875. @include fs24; text-transform: capitalize; @include fs300;
  876. // line-height:1;
  877. }
  878. i{ vertical-align: middle ; margin-right:5px;}
  879. // i.icon-materio-folder{line-height: 1.3;}
  880. a.edit-list{
  881. @include op-hidden;
  882. i{ margin: 0 0 0 5px;}
  883. }
  884. &:hover{
  885. a.edit-list{ @include op-visible; }
  886. }
  887. @media #{$small-only}{ display:block;}
  888. }
  889. #block-materio-search-api-materio-search-api-viewmode{
  890. .viewmode-link{
  891. @include inlineblock(); margin:0 2px;
  892. &.active{cursor:normal;}
  893. .inner{display:none;@include fs10; }
  894. }
  895. @media #{$small-only}{
  896. .viewmode-link{ display:block; &:not(.active){display:none;} }
  897. }
  898. @media #{$small-only}{
  899. html.no-touch &:hover, &.hovered{ .viewmode-link.viewmode-cardsmall, .viewmode-link.viewmode-cardmedium{display:block;} }
  900. }
  901. @media #{$small-only}{
  902. html.no-touch &:hover, &.hovered{ .viewmode-link.viewmode-cardsmall, .viewmode-link.viewmode-cardmedium, .viewmode-link.viewmode-cardbig{display:block;} }
  903. }
  904. }
  905. // _____ __ ____ __ __
  906. // / ___/___ ____ ___________/ /_ / __ )/ /___ _____/ /__
  907. // \__ \/ _ \/ __ `/ ___/ ___/ __ \ / __ / / __ \/ ___/ //_/
  908. // ___/ / __/ /_/ / / / /__/ / / / / /_/ / / /_/ / /__/ ,<
  909. // /____/\___/\__,_/_/ \___/_/ /_/ /_____/_/\____/\___/_/|_|
  910. #block-materio-search-api-materio-search-api-search{
  911. // @include inlineblock(); vertical-align: middle ;
  912. // position:absolute; top:10px; right:0;
  913. float:right;
  914. >.inner{
  915. @include inlineblock(); margin:0 0 0 10px;
  916. min-width: 400px;
  917. padding: 5px 10px; background-color:#fff; @include rounded(3px);
  918. @include shadowBtn(); text-align: right;
  919. h4.form-title{
  920. padding: 0.2em 0 0.1em 0.2em;
  921. margin: 0.2em 0 0.1em 0.2em;
  922. text-align: left;
  923. @include fs14;
  924. html.no-js &{
  925. display:none;
  926. }
  927. }
  928. &.msa-advanced-search{
  929. // border-top: 1px solid #ccc;
  930. html.no-js &{
  931. display:none;
  932. }
  933. }
  934. }
  935. &.tabed{
  936. .searchform-tabs{
  937. text-align: left;
  938. // border-bottom: 1px solid #ccc;
  939. margin-bottom: 4px;
  940. h4{
  941. @include inlineblock();
  942. @include fs12;
  943. cursor: pointer;
  944. border-radius: 5px 5px 0 0;
  945. padding: 0.1em 0.5em;
  946. // margin:0 4px;
  947. transition: color 0.5s ease-in-out;
  948. &.active{
  949. border: 1px solid #ccc;
  950. border-bottom: 1px solid #FFF;
  951. background-color: #fff;
  952. }
  953. &:not(.active){
  954. color: #ccc;
  955. // border-bottom: 1px solid #ccc;
  956. &:hover{
  957. color: inherit;
  958. }
  959. }
  960. }
  961. &:after{
  962. content: "";
  963. display: block;
  964. // z-index: 5;
  965. // height:3px;
  966. background-color: #fff;
  967. border-top: 1px solid #ccc;
  968. margin-top: -3px;
  969. }
  970. }
  971. .msa-form-wrapper:not(.active){
  972. display: none;
  973. }
  974. }
  975. }
  976. // _____ __
  977. // / ___/___ ____ ___________/ /_
  978. // \__ \/ _ \/ __ `/ ___/ ___/ __ \
  979. // ___/ / __/ /_/ / / / /__/ / / /
  980. // /____/\___/\__,_/_/ \___/_/ /_/
  981. #materio-search-api-search-form{
  982. text-align: right;
  983. @include inlineblock(); margin: 0;
  984. .form-item, input, .form-checkboxes, .form-wrapper{@include inlineblock(); margin:0; vertical-align:middle; padding:0;}
  985. .form-checkboxes{
  986. padding: 3px; @include fs12;
  987. .form-item{
  988. margin:0 5px;
  989. label{@include fs10;}
  990. }
  991. }
  992. #edit-rightcol{
  993. padding-left: 0.5em;
  994. margin-left: 0.5em;
  995. border-left: 1px solid #ccc;
  996. }
  997. a.back-search-home{
  998. display:inline-block;
  999. vertical-align: middle;
  1000. color:#000;
  1001. // padding: 0 0.2em 0 0.5em;
  1002. // margin-left: 0.5em;
  1003. // border-left: 1px solid #ccc;
  1004. i:before{
  1005. font-size:1.3em;
  1006. }
  1007. }
  1008. input#edit-searchfield{
  1009. border: 1px solid #ccc; @include rounded(15px);
  1010. margin:3px 0 3px 3px; padding: 4px 5px; height:20px;
  1011. @include fs12; line-height:1;
  1012. background-position: 100% 7px;
  1013. // width:100%;
  1014. &.throbbing { background-position: 100% -15px; }
  1015. }
  1016. #edit-searchfield-autocomplete-aria-live{
  1017. .oldie &{
  1018. background-color:#1a1a1a;
  1019. }
  1020. };
  1021. // input#edit-create{
  1022. div.search-btn-wrapper{
  1023. display: inline-block;
  1024. padding: 3px;
  1025. }
  1026. &.loading{
  1027. div.search-btn-wrapper{
  1028. background: transparent url('../img/ajax-loader.gif') no-repeat center center;
  1029. input{ visibility: hidden; }
  1030. }
  1031. }
  1032. @media #{$small-only}{
  1033. input#edit-searchfield{width:16em;}
  1034. #edit-bundles-filter{display:none;}
  1035. }
  1036. }
  1037. // ___ __ __ _____ __
  1038. // / | ____/ / ______ _____ ________ ____/ / / ___/___ ____ ___________/ /_
  1039. // / /| |/ __ / | / / __ `/ __ \/ ___/ _ \/ __ / \__ \/ _ \/ __ `/ ___/ ___/ __ \
  1040. // / ___ / /_/ /| |/ / /_/ / / / / /__/ __/ /_/ / ___/ / __/ /_/ / / / /__/ / / /
  1041. // /_/ |_\__,_/ |___/\__,_/_/ /_/\___/\___/\__,_/ /____/\___/\__,_/_/ \___/_/ /_/
  1042. // #block-materio-search-api-mo-searchapi-advanced-search{
  1043. // // @include inlineblock(); vertical-align: middle ;
  1044. // // position:absolute; top:10px; right:0;
  1045. // float:right;
  1046. // >.inner{
  1047. // @include inlineblock(); margin:0 0 0 10px;
  1048. // padding: 3px 10px; background-color:#fff; @include rounded(3px);
  1049. // @include shadowBtn();
  1050. // // text-align: right;
  1051. // }
  1052. #materio-search-api-advanced-search-form{
  1053. >div{
  1054. position: relative;
  1055. #advancedsearch-filters-wrapper, .form-wrapper.right-col{
  1056. display: inline-block;
  1057. vertical-align: top;
  1058. }
  1059. .form-wrapper.right-col{
  1060. position: relative;
  1061. text-align: center;
  1062. >*{display:block;}
  1063. a.back-search-home{
  1064. color:#000;
  1065. padding-top: 0.45em;
  1066. i:before{
  1067. font-size:1.3em;
  1068. }
  1069. }
  1070. #edit-search{
  1071. margin: 0.5em 0 0.5em;
  1072. }
  1073. }
  1074. }
  1075. .form-wrapper.advancedsearch-filters{
  1076. padding-right: 0.5em;
  1077. margin-right: 0.5em;
  1078. border-right: 1px solid #ccc;
  1079. .advanced-search-form-table{
  1080. display:table;
  1081. // border-collapse:separate;
  1082. border-collapse: collapse;
  1083. border-spacing: 0 0.2em;
  1084. // min-width: 500px;
  1085. }
  1086. .advanced-search-form-headers{
  1087. display:table-header-group;
  1088. width:100%;
  1089. // grid-template-columns: 30% 30% 30%;
  1090. >div{
  1091. display:table-cell;
  1092. // min-width: 30%;
  1093. text-align: left;
  1094. text-transform: uppercase;
  1095. font-size: 9px;
  1096. }
  1097. >div:last-child:after{
  1098. content:"";
  1099. display:table-cell;
  1100. }
  1101. }
  1102. .filter-line{
  1103. margin:0.3em 0;
  1104. padding-top:0.3em;
  1105. display: table-row;
  1106. vertical-align: middle;
  1107. &:not(:first-child){
  1108. border-top: 1px solid #ccc;
  1109. >*{
  1110. padding:0.5em 0;
  1111. }
  1112. }
  1113. &:first-child{
  1114. >*{padding: 0.3em 0 0.5em;}
  1115. }
  1116. >*{
  1117. display:table-cell;
  1118. text-align: left;
  1119. // padding:0;
  1120. &:not(:last-child){
  1121. padding-right:0.5em;
  1122. }
  1123. &:not(:first-child):not(:last-child):before{
  1124. content:">";
  1125. color: #999;
  1126. font-size: 11px;
  1127. padding-right:0.5em;
  1128. }
  1129. }
  1130. .form-item{
  1131. // display:inline-block;
  1132. // vertical-align: middle;
  1133. @include fs12; line-height:1;
  1134. // padding-right:3em;
  1135. text-transform: capitalize;
  1136. // min-width : 4em;
  1137. margin:0 0em 0 0;
  1138. }
  1139. select{
  1140. width:auto;
  1141. }
  1142. .filter-markup{
  1143. // border-left: 1px solid #ccc;
  1144. position: relative;
  1145. // text-align: center;
  1146. span{
  1147. font-size: 11px;
  1148. color:#ccc;
  1149. padding:0.4em 1em;
  1150. text-align: center;
  1151. // display: inline-block;
  1152. // width:60%;
  1153. // background-color: #eee;
  1154. // border-radius: 7px;
  1155. }
  1156. }
  1157. .rm-btn{
  1158. // vertical-align: text-bottom;
  1159. // line-height: 3;
  1160. // height: 100%;
  1161. // input{margin-top:2em;}
  1162. }
  1163. }
  1164. // .rm-btn{
  1165. // float: right;
  1166. // margin:0.4em 0 0.4em 0.4em;
  1167. // }
  1168. .add-filter{
  1169. margin:0.5em 0;
  1170. display: table-row;
  1171. }
  1172. }
  1173. div.search-btn-wrapper{
  1174. display: inline-block;
  1175. // padding: 3px;
  1176. }
  1177. &.loading{
  1178. div.search-btn-wrapper{
  1179. background: transparent url('../img/ajax-loader.gif') no-repeat center center;
  1180. input{ visibility: hidden; }
  1181. }
  1182. }
  1183. .throbbing {
  1184. // background-position: 100% -20px; /* tweak this according to your gif */
  1185. display: none;
  1186. }
  1187. .ajax-progress-throbber{
  1188. .message{
  1189. display: none;
  1190. }
  1191. .throbber{
  1192. background: transparent url('../img/ajax-loader.gif') no-repeat center center;
  1193. }
  1194. }
  1195. }
  1196. // }
  1197. }
  1198. #center{
  1199. // background-color: #e6e6e6;
  1200. @include rounded(10px);
  1201. .node-type-page:not(.page-node-11187) &{ background-color:#fff; }
  1202. .ie8 &{height:100%; margin-top:20px;}
  1203. }
  1204. #content{
  1205. padding:1em;
  1206. @include transition-simply-prefix(height 0.3s ease-out);
  1207. &.faded{
  1208. opacity:0.5;
  1209. @include transition-simply-prefix(opacity 0.3s ease-out);
  1210. }
  1211. .materiobase-results, .materiobase-actuality, .materio-flags-list{
  1212. padding:0 0 30px 0; margin:0 0 20px 0;
  1213. &.loading{
  1214. background-image: url('../img/ajax-loader.gif');
  1215. background-position: center bottom;
  1216. background-repeat: no-repeat;
  1217. }
  1218. p.search-performance, p.flaglist-infos, p.actualities-infos{
  1219. @include fs12; @include fs500; margin: 0;
  1220. padding:10px 0 5px 15px;
  1221. }
  1222. // p.search-performance{.role-7 & {@include fs12;}}
  1223. .search-results, .actuality-items, .flaglist-items{
  1224. font-size:0;
  1225. >*{font-size:16px;}
  1226. text-align:center;
  1227. >*{text-align:left;}
  1228. }
  1229. }
  1230. ul.pager{
  1231. padding: 1em 0; text-align: left;
  1232. .ie8 &{position:absolute; left:37px; bottom: 35px;}
  1233. li{margin:0; @include inlineblock(); vertical-align: middle;}
  1234. .pager-current, a{color:#000;@include fs12; }
  1235. .pager-current{@include fs900; @include fs14;.ie8 &{background:#fff; padding:0.3em 1em 0.3em 1em; margin-top:0.05em; border: 1px solid #333333;}}
  1236. .pager-first, .pager-previous, .pager-next, .pager-last{ a{ @include fs24; @include fs300; } }
  1237. // html.js & {display:none;}
  1238. }
  1239. .node-type-page &{
  1240. // padding-left:15px;
  1241. }
  1242. }
  1243. /** #content-bottom */
  1244. #content-bottom{
  1245. padding-top:10px;
  1246. }
  1247. /*
  1248. _________ ____ ____ _____
  1249. / ____/ | / __ \/ __ \/ ___/
  1250. / / / /| | / /_/ / / / /\__ \
  1251. / /___/ ___ |/ _, _/ /_/ /___/ /
  1252. \____/_/ |_/_/ |_/_____//____/
  1253. */
  1254. $cardbookmark_w:50px;
  1255. $cardbookmark_h:70px;
  1256. $cardsmall_w:100px;
  1257. $cardsmall_h:140px;
  1258. $cardmedium_w:210px;
  1259. $cardmedium_h:295px;
  1260. $cardbig_w:425px;
  1261. $cardbig_h:610px;
  1262. $cardfull_w:850px;
  1263. $cardfull_h:610px;
  1264. @mixin card-box($w, $h){
  1265. width:$w; height:$h;
  1266. @include inlineblock(); position:relative; margin:7px;
  1267. @include rounded(5px); background-color: #FFF;
  1268. @include drop-shadow(0, 0, 5px, 0.2);
  1269. @include transition-simply-prefix(box-shadow 0.3s ease-out); // opacity 0.3s ease-out); //change this commas
  1270. }
  1271. @mixin card($w, $h){
  1272. @include card-box($w, $h);
  1273. >div.side{
  1274. @include rounded(5px); overflow: hidden;
  1275. }
  1276. // .no-touch &:hover{ @include drop-shadow(0, 0, 5px, 0.7); }
  1277. &.focused{ @include drop-shadow(0, 0, 7px, 0.9); }
  1278. &.just-added{ opacity:0; }
  1279. &.associated{
  1280. @include transition-simply-prefix(margin 0.3s ease-out);
  1281. &.just-added{margin-left:-$w;margin-right:$w;}
  1282. .modal-content &{
  1283. position:absolute;
  1284. top:0; left:0;
  1285. z-index:999;
  1286. }
  1287. }
  1288. &.removed{
  1289. @include transition-simply-prefix(width 0.3s ease-out);
  1290. width:0; padding-left:0; padding-right:0; margin-right:0; margin-left:0; overflow:hidden;
  1291. }
  1292. // TODO: how to show that a card was flaged ?
  1293. // .search-results &.flaged, .actuality-items &.flaged{
  1294. // border: 2px solid rgba(0,0,0, 0.3); margin: 3px;
  1295. // @include drop-shadow(0, 0, 3px, 0.6);
  1296. // }
  1297. nav.nav{
  1298. position:absolute; top:0; right:0; z-index:11;
  1299. padding: 5px 0;
  1300. @include border-radius(0, 5px, 0, 3px);
  1301. @include fs11;
  1302. // colors
  1303. // background-color: rgba(10, 10, 10, 0.9); color:#fff;
  1304. // a{color:#fff;}
  1305. //ul{background-color: rgba(10, 10, 10, 0.9);}
  1306. background-color: rgba(255, 255, 255, 0.9); color:#000;
  1307. a{color:#000;}
  1308. ul{background-color: rgba(255, 255, 255, 0.9);}
  1309. span.op{@include fs900; @include fs14;}
  1310. ul{padding: 0; margin: 0;}
  1311. section{
  1312. position:relative;
  1313. &>i{margin: 0 5px; &:hover{cursor:pointer;}}
  1314. }
  1315. ul{
  1316. position:absolute; right:0; top:0; margin-right:22px; min-width:80px; padding: 0; display:block;
  1317. @include rounded(3px); @include drop-shadow(-2px, 2px, 5px, 0.2);
  1318. // padding: 5px 10px;
  1319. li{
  1320. padding: 0; margin: 0; line-height:1; display:block;
  1321. height:0; overflow:hidden; @include transition-simply-prefix(height 0.2s ease-out);
  1322. // height:15px; overflow:hidden;
  1323. a{ display:block;}
  1324. }
  1325. &.links{
  1326. a{font-size:12px;}
  1327. }
  1328. &.flag-lists-entity-links{
  1329. width:160px;
  1330. font-size:0;
  1331. >*{font-size:11px;}
  1332. // &.loading{
  1333. // a{visibility: hidden;}
  1334. // background: transparent url('../img/ajax-loader.gif') no-repeat 98% center;
  1335. // }
  1336. li{
  1337. @include inlineblock(); min-width:48%; max-width:98%; padding-left:2px;
  1338. a{
  1339. color:#a6a6a6; @include transition-simply-prefix(color 0.2s ease-out);
  1340. &:hover, &.unflag-action{
  1341. color:#000; text-decoration: none;
  1342. }
  1343. }
  1344. &.flag-lists-create{
  1345. display:block; width:100%;
  1346. >*{ margin-top:1px; padding-top:1px; border-top:1px solid #e6e6e6;}
  1347. a{color:#000;}
  1348. }
  1349. &.loading{
  1350. a{visibility: hidden;}
  1351. background: transparent url('../img/ajax-loader.gif') no-repeat 98% center;
  1352. }
  1353. }
  1354. }
  1355. .ie8 &{background:#FFF;}
  1356. }
  1357. section:hover{
  1358. ul{
  1359. padding: 5px 5px;
  1360. li{height:17px;}
  1361. &.flag-lists-entity-links{
  1362. // width:160px;
  1363. }
  1364. }
  1365. }
  1366. // display:none;
  1367. }
  1368. // &:hover{nav.nav{display:block;}}
  1369. div.workflow{
  1370. position:absolute; bottom:0; right:0; z-index:11;
  1371. padding: 5px;
  1372. @include border-radius(3px, 0, 5px, 0);
  1373. @include fs11; vertical-align: top;
  1374. background-color: rgba(20, 20, 20, 0.9); color:#fff;
  1375. span{padding: 3px 0 0 4px; @include inlineblock();}
  1376. }
  1377. .field-name-field-description .upgrade{
  1378. @include fs12;
  1379. padding-top:4em;margin-top:-4.5em;
  1380. // .bgc(rgba(255,255,255,0.6));
  1381. background : linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 4em);
  1382. position:relative;
  1383. }
  1384. .side.oops p, .side .upgrade p{
  1385. padding: 10px; @include fs12;
  1386. a{
  1387. display:block; margin: 10px 0;
  1388. @include fs18; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  1389. font-weight:bold;
  1390. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  1391. @include shadowTextBtnBlack();
  1392. text-align: center; text-decoration: none;
  1393. }
  1394. }
  1395. }// .card()
  1396. /*
  1397. _ _ ___
  1398. ___ ___ ___ _| | ___ ___ ___ ___ ___| |_ ___ ___ ___| _|___ ___ _____ ___ ___ ___ ___
  1399. | _| .'| _| . | |_ -| -_| .'| _| _| | | . | -_| _| _| . | _| | .'| | _| -_|
  1400. |___|__,|_| |___| |___|___|__,|_| |___|_|_| | _|___|_| |_| |___|_| |_|_|_|__,|_|_|___|___|
  1401. |_|
  1402. */
  1403. article.search-performance{
  1404. .inner{
  1405. padding: 1em;
  1406. }
  1407. p{@include fs14;}
  1408. a.button{
  1409. display:block; margin: 10px auto; max-width:10em;
  1410. @include fs18; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  1411. font-weight:bold;
  1412. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  1413. @include shadowTextBtnBlack();
  1414. text-align: center; text-decoration: none;
  1415. }
  1416. &.view-mode-cardsmall{
  1417. @include card-box(327px, 140px);
  1418. }
  1419. &.view-mode-cardmedium{
  1420. @include card-box(210px, 295px);
  1421. .inner{
  1422. padding: 4em 1em 0;
  1423. }
  1424. }
  1425. &.view-mode-cardbig{
  1426. @include card-box(425px, 115px);
  1427. display:block; margin:0 auto;
  1428. }
  1429. &.view-mode-cardfull{
  1430. @include card-box(850px, 115px);
  1431. .inner{
  1432. padding: 1em 212px;
  1433. }
  1434. display:block; margin:0 auto;
  1435. }
  1436. }
  1437. /*
  1438. ______ __ ____ __ __
  1439. / ____/___ __________/ / / __ )____ ____ / /______ ___ ____ ______/ /_______
  1440. / / / __ `/ ___/ __ / / __ / __ \/ __ \/ //_/ __ `__ \/ __ `/ ___/ //_/ ___/
  1441. / /___/ /_/ / / / /_/ / / /_/ / /_/ / /_/ / ,< / / / / / / /_/ / / / ,< (__ )
  1442. \____/\__,_/_/ \__,_/ /_____/\____/\____/_/|_/_/ /_/ /_/\__,_/_/ /_/|_/____/
  1443. */
  1444. article.node-materiau.vm-bookmark, article.node-breve.vm-bookmark{
  1445. @include card($cardbookmark_w, $cardbookmark_h);
  1446. margin:3px;
  1447. .group-header{
  1448. display:none;
  1449. }
  1450. .group-images{ @include horihoverswitch(); }
  1451. // nav.nav{top:0;}
  1452. div.workflow{display:none;}
  1453. }
  1454. /*
  1455. ______ __ _____ ____
  1456. / ____/___ __________/ / / ___/____ ___ ____ _/ / /
  1457. / / / __ `/ ___/ __ / \__ \/ __ `__ \/ __ `/ / /
  1458. / /___/ /_/ / / / /_/ / ___/ / / / / / / /_/ / / /
  1459. \____/\__,_/_/ \__,_/ /____/_/ /_/ /_/\__,_/_/_/
  1460. */
  1461. article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall{
  1462. @include card($cardsmall_w, $cardsmall_h); //width:100px; height:140px;
  1463. .group-header{
  1464. display:none; position:absolute;
  1465. @include fs14; @include fs500;
  1466. .field-name-title-field{@include fs700;}
  1467. .field-name-field-reference-materio, .field-name-field-localisation{ @include inlineblock(); @include fs12; }
  1468. .field-name-field-localisation{ float:right; }
  1469. }
  1470. .group-images{ @include horihoverswitch(); @include rounded(5px); overflow:hidden; }
  1471. nav.nav{
  1472. ul.flag-lists-entity-links{
  1473. width:75px; min-width:75px;
  1474. li{width:98%;}
  1475. }
  1476. .ie8 &{background: #FFF}
  1477. }
  1478. .no-touch &:not(.focused) nav.nav{@include op-hidden;}
  1479. .no-touch &:not(.focused) div.workflow{@include op-hidden;}
  1480. }
  1481. /*
  1482. ______ ____ _ ____ __
  1483. /_ __/___ ____ / / /_(_)___ _________ ___ ____ _/ / / _________ __________/ /
  1484. / / / __ \/ __ \/ / __/ / __ \ / ___/ __ `__ \/ __ `/ / / / ___/ __ `/ ___/ __ /
  1485. / / / /_/ / /_/ / / /_/ / /_/ / (__ ) / / / / / /_/ / / / / /__/ /_/ / / / /_/ /
  1486. /_/ \____/\____/_/\__/_/ .___/ /____/_/ /_/ /_/\__,_/_/_/ \___/\__,_/_/ \__,_/
  1487. /_/
  1488. */
  1489. #tooltip{
  1490. .group-header.smallcard{
  1491. @include fs14; @include fs500;
  1492. .field-name-title-field{@include fs700;}
  1493. .field-name-field-reference-materio, .field-name-field-localisation{ @include inlineblock(); @include fs12; }
  1494. .field-name-field-localisation{ float:right; }
  1495. }
  1496. }
  1497. /*
  1498. ______ __ __ ___ ___
  1499. / ____/___ __________/ / / |/ /__ ____/ (_)_ ______ ___
  1500. / / / __ `/ ___/ __ / / /|_/ / _ \/ __ / / / / / __ `__ \
  1501. / /___/ /_/ / / / /_/ / / / / / __/ /_/ / / /_/ / / / / / /
  1502. \____/\__,_/_/ \__,_/ /_/ /_/\___/\__,_/_/\__,_/_/ /_/ /_/
  1503. */
  1504. article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium{
  1505. @include card($cardmedium_w, $cardmedium_h); //width:210px; height:295px;
  1506. .side{
  1507. @include layer(); background-color:#fff; cursor:pointer;
  1508. &:nth-child(2){z-index:1;}
  1509. }
  1510. .group-header{
  1511. position:absolute; bottom:0; z-index:2;
  1512. width:190px; padding:5px 15px 5px 5px; min-height:55px;
  1513. @include fs20; @include fs300; line-height:1;
  1514. .field-name-title-field{@include fs700;}
  1515. .field-name-field-nature-titre{@include fs14;}
  1516. @include bgcWhite();
  1517. @include border-radius(0, 0, 4px, 4px); overflow: hidden;
  1518. .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on{ @include inlineblock(); @include fs12; vertical-align: bottom; width:48%;}
  1519. .field-name-field-localisation{ text-align: right; }
  1520. .ie8 &{background:#fff; font-color:#000; line-height: 1em; padding: 10px;}
  1521. }
  1522. &.node-breve .group-header{
  1523. // @include fs20; @include fs300; line-height:1.1;
  1524. color:#fff; @include bgcBlack();
  1525. .field-name-field-authored-on{ @include fs12; @include fs500; }
  1526. .ie8 &{background:#000; font-size:15px; line-height: 1.2em;}
  1527. }
  1528. // &:hover .group-header{
  1529. // .bgcWhiteParentHover();
  1530. // }
  1531. .group-images{ @include horihoverswitch(); }
  1532. // side 2 : description
  1533. .field-name-field-description, .field-name-body{
  1534. @include fs12; @include fs300; overflow: hidden; z-index:-1; @include columnized(5px);
  1535. .column>*{padding-right:25px;}
  1536. }
  1537. // side 3 : samples
  1538. .field-name-field-location{
  1539. @include fs12; padding:5px; @include fs300;
  1540. .field-label{ @include fs10; text-transform: lowercase; margin:0;}
  1541. }
  1542. // side 4 : companies
  1543. .column-wrapper{
  1544. @include columnized(5px);
  1545. }
  1546. .field-name-field-company-fab, .field-name-field-company-distrib{
  1547. @include fs12; padding:5px; @include fs300;
  1548. .field-label{ @include fs10; text-transform: lowercase; margin:0;}
  1549. .field-name-field-tode-company{@include fs14;}
  1550. // span.print-link{display:none;}
  1551. }
  1552. .field-name-field-materiau-ref, .field-name-field-source, .field-name-field-attachments{
  1553. @include fs12; padding: 5px; @include fs300; a{color:#000;}
  1554. }
  1555. .field-label{@include fs900; margin: 1em 0 0.5em;}
  1556. // nav
  1557. .no-touch &:not(.focused) nav.nav{@include op-hidden;}
  1558. .no-touch &:not(.focused) div.workflow{@include op-hidden;}
  1559. .ie8 &{nav.nav{background: #FFF}}
  1560. }
  1561. /*
  1562. ______ __ ____ _
  1563. / ____/___ __________/ / / __ )(_)___ _
  1564. / / / __ `/ ___/ __ / / __ / / __ `/
  1565. / /___/ /_/ / / / /_/ / / /_/ / / /_/ /
  1566. \____/\__,_/_/ \__,_/ /_____/_/\__, /
  1567. /____/
  1568. */
  1569. article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig{
  1570. @include card($cardbig_w, $cardbig_h); //width:425px; height:610px;
  1571. .side{
  1572. @include layer(); background-color:#fff; height:270px; top:340px; cursor:pointer;
  1573. &:nth-child(2){z-index:1;}
  1574. }
  1575. .group-side1{position:relative; @include border-radius(5px, 5px, 0, 0); overflow:hidden;}
  1576. .group-header{
  1577. position:absolute; bottom:0; z-index:2;
  1578. width:405px; padding:10px;
  1579. @include fs20; @include fs300; line-height: 1.1;
  1580. .field-name-title-field{@include fs700;}
  1581. .field-name-field-nature-titre{@include fs14;}
  1582. @include bgcWhite();
  1583. .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on { @include inlineblock(); @include fs12; vertical-align: bottom; width:48%;}
  1584. .field-name-field-localisation{ text-align: right; }
  1585. .ie8 &{background:#fff; font-color:#000; line-height: 1em; padding: 20px; border-bottom: 1px solid #C6C6C6;}
  1586. }
  1587. // &:hover .group-header{ .bgcWhiteParentHover(); }
  1588. &.node-breve .group-header{
  1589. color:#fff; @include bgcBlack();
  1590. .field-name-field-authored-on{ @include fs12; @include fs500; }
  1591. .ie8 &{background:#000; font-color:#fff; line-height: 1em; padding: 20px;}
  1592. }
  1593. .group-images{ @include horihoverswitch(); height:auto;}
  1594. // side 2
  1595. .field-name-field-description, .field-name-body{
  1596. @include fs12; @include fs300; @include columnized(10px);
  1597. }
  1598. // side 3 : samples
  1599. .field-name-field-location{
  1600. @include fs12; padding:10px; @include fs300;
  1601. .field-label{ @include fs10; text-transform: lowercase; float: none; }
  1602. }
  1603. // ?????
  1604. .column-wrapper{
  1605. @include columnized(10px);
  1606. }
  1607. // side 4
  1608. .field-name-field-company-fab, .field-name-field-company-distrib{
  1609. @include fs12; padding:10px; @include fs300;
  1610. .field-label{ @include fs10; text-transform: lowercase; float: none; }
  1611. .field-name-field-tode-company{@include fs14;}
  1612. }
  1613. .field-name-field-materiau-ref, .field-name-field-source, .field-name-field-attachments{
  1614. @include fs12; padding: 10px; @include fs300; a{color:#000;}
  1615. }
  1616. .field-label{@include fs900; margin: 0 0 0.5em;}
  1617. // nav
  1618. // nav.nav{ margin: 5px; }
  1619. .ie8 &{nav.nav{background: #FFF}}
  1620. // upgarde and full
  1621. .side.oops p, .side .upgrade p{
  1622. padding: 3em;
  1623. a{
  1624. border: 2px solid #eee; background-color:#eee; color:#fff;
  1625. @include transition-simply-prefix(border 0.3s ease-out);
  1626. @include transition-simply-prefix(background-color 0.3s ease-out);
  1627. }
  1628. }
  1629. &:hover .side.oops p, &:hover .side .upgrade p{
  1630. a{
  1631. border: 2px solid #69CDCF; background-color:#69CDCF;
  1632. }
  1633. }
  1634. }
  1635. /*
  1636. ______ __ ______ ____
  1637. / ____/___ __________/ / / ____/_ __/ / /
  1638. / / / __ `/ ___/ __ / / /_ / / / / / /
  1639. / /___/ /_/ / / / /_/ / / __/ / /_/ / / /
  1640. \____/\__,_/_/ \__,_/ /_/ \__,_/_/_/
  1641. */
  1642. article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull{
  1643. @include card($cardfull_w, $cardfull_h); //width:875px; height:610px;
  1644. nav.nav{top:0;}
  1645. font-size:0px;
  1646. >*{@include fs16;}
  1647. >.side{@include inlineblock(); width:50%;
  1648. &.group-side-left{
  1649. @include border-radius(5px, 0, 0, 5px);
  1650. }
  1651. &.group-side-right{
  1652. @include border-radius(0, 5px, 5px, 0);
  1653. }
  1654. }
  1655. .group-images{ @include horihoverswitch(); }
  1656. .group-header{
  1657. @include fs20; @include fs300; padding:10px 10px 0 10px;
  1658. .field-name-title-field{@include fs700;}
  1659. .field-name-title-field,.field-name-field-reference-materio{
  1660. @include inlineblock;
  1661. vertical-align: baseline;
  1662. // line-height: 40px;
  1663. }
  1664. .field-name-field-reference-materio{@include fs12;}
  1665. }
  1666. &.node-breve .group-header{
  1667. color:#fff; @include bgcBlack();
  1668. .field-name-field-authored-on{ @include fs500; }
  1669. }
  1670. // Samples
  1671. .field-name-field-location{
  1672. @include fs12; padding:5px 10px 0 10px; @include fs300;
  1673. .field-label, .field-items, .field-item{
  1674. @include inlineblock; vertical-align: baseline;
  1675. }
  1676. .field-label{ @include fs10; text-transform: lowercase; float: none; }
  1677. }
  1678. .field-name-field-description, .field-name-body{
  1679. @include fs12; @include fs300; padding: 5px 10px 0 10px;
  1680. }
  1681. .field-name-field-attachments{
  1682. padding: 10px;
  1683. @include fs12;
  1684. }
  1685. // side 4 : companies
  1686. .field-name-field-company-fab, .field-name-field-company-distrib{
  1687. @include fs12; padding:10px; @include fs300;
  1688. @include inlineblock(); width:40%;
  1689. .field-item{margin-top:1em;}
  1690. .field-label{ @include fs10; text-transform: lowercase; float: none; }
  1691. .field-name-field-tode-company{@include fs14;}
  1692. }
  1693. .field-name-field-materiau-ref, .field-name-field-source, .field-name-field-attachments{
  1694. @include fs12; padding: 10px; @include fs300; a{color:#000;}
  1695. }
  1696. .field-label{@include fs900; margin: 0 0 0.5em;}
  1697. // nav
  1698. nav.nav{ margin: 5px; }
  1699. div.workflow{ margin: 5px; }
  1700. // upgarde and full
  1701. .side.oops p, .side .upgrade p{
  1702. padding: 3em;
  1703. a{
  1704. border: 2px solid #eee; background-color:#eee; color:#fff;
  1705. @include transition-simply-prefix(border 0.3s ease-out);
  1706. @include transition-simply-prefix(background-color 0.3s ease-out);
  1707. }
  1708. }
  1709. &:hover .side.oops p, &:hover .side .upgrade p{
  1710. a{
  1711. border: 2px solid #69CDCF; background-color:#69CDCF;
  1712. }
  1713. }
  1714. }
  1715. /*
  1716. __ ____ _ __
  1717. _________ __________/ / / __ \_____(_)___ / /_
  1718. / ___/ __ `/ ___/ __ / / /_/ / ___/ / __ \/ __/
  1719. / /__/ /_/ / / / /_/ / / ____/ / / / / / / /_
  1720. \___/\__,_/_/ \__,_/ /_/ /_/ /_/_/ /_/\__/
  1721. */
  1722. body.print-body-materiau{
  1723. // >*{font-size:0.8em;}
  1724. }
  1725. .print-node-materiau{
  1726. margin:0 auto;
  1727. @media screen {
  1728. @include card($cardfull_w, auto);
  1729. width:1024px;
  1730. padding:1em;
  1731. }
  1732. }
  1733. .print-site_name{}
  1734. .print-content{}
  1735. .print-content .node-materiau.vm-print{
  1736. margin:0; position:relative;
  1737. .field-name-title-field{@include fs500; font-size: 1.4em;}
  1738. // .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on{ @include inlineblock(); @include fs12; padding-right:15px;}
  1739. .field-name-field-nature-titre{
  1740. @include fs500;font-size: 1em;margin-bottom: 0.5em;
  1741. }
  1742. .group-head-right{
  1743. position:absolute;
  1744. top:0; right:0;
  1745. padding-top:1em;
  1746. text-align: right;
  1747. font-size:0.8em;
  1748. .field-name-field-reference-materio{font-weight: 800; font-size: 1.2em;}
  1749. }
  1750. .side{
  1751. &.group-side-left{
  1752. width:45%;
  1753. position:absolute;
  1754. .field-name-field-description{font-size:0.8em;}
  1755. // samples
  1756. .field-name-field-location{
  1757. font-size:0.7em;
  1758. }
  1759. // companies
  1760. >.field-type-taxonomy-term-reference{
  1761. display:inline-block; vertical-align: top; width: 45%;
  1762. margin:0.5em 1em 0 0;
  1763. font-size:0.7em;
  1764. >.field-label{font-size: 0.8em; font-weight: 300;}
  1765. >.node-company{
  1766. .field-name-field-tode-company{font-size: 1.2em;}
  1767. .field-label{display:none;}
  1768. }
  1769. }
  1770. }
  1771. &.group-side-right{
  1772. section, div, figure{max-width: 100%;}
  1773. .field-name-field-materiau-image{
  1774. text-align: right;
  1775. >figure{
  1776. display: inline-block;
  1777. max-width:19%;
  1778. margin:0.5em 0 0 0.5em;
  1779. max-width:100%;
  1780. margin-left: 50%;
  1781. img{max-width:100%;}
  1782. }
  1783. .field-item{
  1784. display:none;
  1785. &:nth-child(-n+7){
  1786. display:inline-block;
  1787. }
  1788. max-width:19%;
  1789. margin:0.5em 0 0 0.5em;
  1790. &:nth-child(-n+2){
  1791. max-width:100%;
  1792. margin-left: 50%;
  1793. }
  1794. img{max-width:100%;}
  1795. }
  1796. }
  1797. }
  1798. }
  1799. .field-name-field-tode-company{
  1800. font-size: 1.5em; font-weight: 700;
  1801. }
  1802. .field-name-field-description,
  1803. .field-name-field-company-fab,
  1804. .field-name-field-reference-distrib
  1805. {
  1806. padding-bottom: 1em;
  1807. }
  1808. }
  1809. /*
  1810. ____ ____ _____ ________
  1811. / __ \/ __ \/ _/ | / /_ __/
  1812. / /_/ / /_/ // // |/ / / /
  1813. / ____/ _, _// // /| / / /
  1814. /_/ /_/ |_/___/_/ |_/ /_/
  1815. */
  1816. @media print {
  1817. @page { margin: 1.5cm 7mm 8mm; }
  1818. }
  1819. .print-site_name{
  1820. width:100%;
  1821. vertical-align: bottom;
  1822. margin-bottom:0.5em;
  1823. h1{
  1824. margin:0 0 0 0;
  1825. font-size: 1.4em;
  1826. text-align: center;
  1827. // @include inlineblock(); vertical-align: baseline; position:relative; line-height:1.25;
  1828. a{
  1829. color:inherit;
  1830. &:hover{text-decoration: none ;}
  1831. }
  1832. }
  1833. span.slogan{
  1834. display: none;
  1835. font-size: 0.8em;
  1836. margin-top:-3px;
  1837. margin-left:-0.5em;
  1838. @include fs900;
  1839. .ie8 &{position: absolute; margin-top:22px;}
  1840. }
  1841. }
  1842. .print-content{
  1843. margin-bottom: 1em;
  1844. }
  1845. .print-footer{
  1846. position:absolute; bottom:0; text-align: center; width:100%;
  1847. p{
  1848. display:inline-block; width:45%; text-align: center;
  1849. // margin: 0 3em;
  1850. }
  1851. }
  1852. /*
  1853. ___ __ ____________ __________ __ _______ __ __________________
  1854. / | / / / /_ __/ __ \/ ____/ __ \/ |/ / __ \/ / / ____/_ __/ ____/
  1855. / /| |/ / / / / / / / / / / / / / / /|_/ / /_/ / / / __/ / / / __/
  1856. / ___ / /_/ / / / / /_/ / /___/ /_/ / / / / ____/ /___/ /___ / / / /___
  1857. /_/ |_\____/ /_/ \____/\____/\____/_/ /_/_/ /_____/_____/ /_/ /_____/
  1858. */
  1859. #autocomplete{
  1860. border: 0; @include rounded(3px);
  1861. background-color: rgba(0,0,0,0.6);
  1862. text-align: left;
  1863. margin-left: 2px;
  1864. .oldie &{background-color:#545454;}
  1865. li{
  1866. color:#FFF; background-color: transparent;
  1867. &.selected{background-color: rgba(0,0,0,0.8);}
  1868. div{padding:0.1em 5px;} @include fs12;
  1869. }
  1870. }
  1871. /**
  1872. * the old modal api (balck bg) for contextual forms (create new flag list)
  1873. */
  1874. @mixin mat_modal(){
  1875. background-color: rgba(0,0,0,0.7);
  1876. @include rounded(5px); border: 0;
  1877. *{color:#fff; background-color:transparent;}
  1878. @include fs12;
  1879. form{
  1880. background-color:transparent; color:#fff; border: 0px;
  1881. .form-actions{
  1882. background-color:transparent; margin: 0; padding: 0; border: 0;
  1883. }
  1884. input.form-text, textarea, div.grippie{background-color:#fff; color:#000; border: 0;}
  1885. .form-actions{ text-align: right ;}
  1886. input.form-submit{
  1887. @include button($button-tny);
  1888. //@include btn-mini; color:#000; //change this btn bootstrap -> foundation
  1889. &[name="create"]{
  1890. @include button($button-tny, $success-color);
  1891. }
  1892. &[name="save"]{
  1893. @include button($button-tny, $success-color);
  1894. }
  1895. &[name="delete"]{
  1896. @include button($button-tny, $alert-color);
  1897. }
  1898. &[name="cancel"]{
  1899. @include button($button-tny, $secondary-color);
  1900. }
  1901. }
  1902. }
  1903. }
  1904. #modal{
  1905. @include mat_modal();
  1906. >*{padding: 10px;}
  1907. #flag-lists-form{
  1908. .form-item-title{
  1909. // label, input{.inlineblock();}
  1910. // label{width:38%;}
  1911. input{width:95%;}
  1912. }
  1913. }
  1914. .actions{
  1915. text-align: right;
  1916. }
  1917. }
  1918. /**
  1919. * the new modal api used for preview and register modal
  1920. */
  1921. .modal-wrapper {
  1922. &:before {
  1923. content: "";
  1924. display: inline-block;
  1925. height: 100%;
  1926. margin-right: -0.25em;
  1927. vertical-align: middle;
  1928. }
  1929. &:after, &:before {
  1930. -moz-box-sizing: border-box;
  1931. }
  1932. // background-color: rgba(0, 0, 0, 0.4);
  1933. bottom: 0;
  1934. // display: none;
  1935. left: 0;
  1936. position: fixed;
  1937. right: 0;
  1938. text-align: center;
  1939. top: 0;
  1940. white-space: nowrap;
  1941. z-index: 99998;
  1942. .modal-bg{
  1943. background-color: #000;
  1944. position:absolute;
  1945. top:0; left:0;
  1946. width:100%; height:100%;
  1947. opacity:0.5;
  1948. }
  1949. .modal-content{
  1950. position:relative;
  1951. display: inline-block;
  1952. margin: 0 auto;
  1953. text-align: left;
  1954. vertical-align: middle;
  1955. white-space: normal;
  1956. // width: 400px;
  1957. min-height:200px;
  1958. // background-color: #fff;
  1959. }
  1960. }
  1961. /*
  1962. _______ __________ ____ __ __ ____ ___ _ __
  1963. / / ___// ____/ __ \/ __ \/ / / / / __ \/ | / | / /
  1964. __ / /\__ \/ / / /_/ / / / / / / / / /_/ / /| | / |/ /
  1965. / /_/ /___/ / /___/ _, _/ /_/ / /___/ /___/ ____/ ___ |/ /| /
  1966. \____//____/\____/_/ |_|\____/_____/_____/_/ /_/ |_/_/ |_/
  1967. */
  1968. .jspContainer{
  1969. .jspVerticalBar{
  1970. background-color: transparent;
  1971. width:5px; //margin-right:-5px;
  1972. .jspTrack{
  1973. background-color: transparent;
  1974. .jspDrag{
  1975. background-color: #ccc;
  1976. @include rounded(3px);
  1977. }
  1978. }
  1979. }
  1980. }
  1981. /*
  1982. __________ ____ __ ______________
  1983. /_ __/ __ \/ __ \/ / /_ __/ _/ __ \
  1984. / / / / / / / / / / / / / // /_/ /
  1985. / / / /_/ / /_/ / /___/ / _/ // ____/
  1986. /_/ \____/\____/_____/_/ /___/_/
  1987. */
  1988. #tooltip{
  1989. position:absolute; z-index:999; max-width:180px; background-color: rgba(255, 255, 255, 1); padding: 5px; @include rounded(3px);
  1990. @include fs12; @include fs500;
  1991. @include drop-shadow(0, 0, 5px, 0.4);
  1992. &.op-visible{
  1993. @include transition-simply-prefix(opacity 0.1s ease-out); // top 0.1s linear); // left 0.1s linear,
  1994. // change this transition foundation
  1995. }
  1996. }
  1997. /*
  1998. ______________________ ____ ___ ________ __
  1999. / ____/ ____/ ____/ __ \/ __ )/ | / ____/ //_/
  2000. / /_ / __/ / __/ / / / / __ / /| |/ / / ,<
  2001. / __/ / /___/ /___/ /_/ / /_/ / ___ / /___/ /| |
  2002. /_/ /_____/_____/_____/_____/_/ |_\____/_/ |_|
  2003. */
  2004. #block-feedback-form{
  2005. @media #{$medium-only}{ bottom:5px; left:5px; right:auto; }
  2006. h2{
  2007. line-height:1.2; @include fs14; margin: 0;
  2008. .title{display:none;}
  2009. }
  2010. #feedback-form-toggle{
  2011. padding: 2px 3px; @include rounded(3px); background-color:#ff7600; color:#fff;
  2012. line-height:2; @include fs900;
  2013. }
  2014. .content{
  2015. @include mat_modal();
  2016. .ie8 &{background:#000;}
  2017. }
  2018. #feedback-status-message{background-color:#fff; padding: 5px;}
  2019. }
  2020. /*
  2021. _________ _____ __ __ __ _________ ____ _____
  2022. /_ __/ | / ___// //_/ _/_/ /_ __/ | / __ ) ___/
  2023. / / / /| | \__ \/ ,< _/_/ / / / /| | / __ \__ \
  2024. / / / ___ |___/ / /| | _/_/ / / / ___ |/ /_/ /__/ /
  2025. /_/ /_/ |_/____/_/ |_| /_/ /_/ /_/ |_/_____/____/
  2026. */
  2027. @mixin tabs-primary(){
  2028. a{
  2029. @include fs12;
  2030. padding: 5px 10px;
  2031. background-color:#e6e6e6;
  2032. &.active, &:hover{background-color:#e6e6e6;}
  2033. @include rounded(3px);
  2034. }
  2035. }
  2036. @mixin tabs-secondary(){
  2037. @include fs10;
  2038. padding: 0.5em 1em;
  2039. }
  2040. #tasks{
  2041. ul.tabs{
  2042. @include inlineblock();
  2043. border:0 solid #fff;
  2044. padding: 0; margin: 0;
  2045. li{padding: 0; margin: 2px 5px; border:0 solid #fff;}
  2046. a{
  2047. border:0; color:#7f7f7f;
  2048. &.active, &:hover{font-weight: 900; color:#000;}
  2049. }
  2050. &.primary{
  2051. @include tabs-primary();
  2052. }
  2053. &.secondary{
  2054. @include tabs-secondary();
  2055. }
  2056. }
  2057. }
  2058. /*
  2059. ______________ _____________________
  2060. / ___/_ __/ |/_ __/ _/ ____/ ___/
  2061. \__ \ / / / /| | / / / // / \__ \
  2062. ___/ // / / ___ |/ / _/ // /___ ___/ /
  2063. /____//_/ /_/ |_/_/ /___/\____//____/
  2064. */
  2065. /*
  2066. _ _ ___ ___ ___
  2067. | | |_ -| -_| _|
  2068. |___|___|___|_|
  2069. */
  2070. .page-user, .page-user-edit, .page-user-password, .page-user-reset, .page-toboggan{
  2071. #center{background: #fff url('../img/user-page-bg.gif') no-repeat bottom right;}
  2072. .messages{ width:800px; margin:0 auto; }
  2073. &.role-6 #tasks .tabs.primary{display:none;}
  2074. &.role-6 #tasks .tabs.secondary{@include tabs-primary();}
  2075. #center >*{
  2076. width:800px; margin:0 auto; padding-top:1em; @include fs14;
  2077. fieldset{
  2078. margin-bottom:1em;
  2079. border:none;
  2080. }
  2081. legend{
  2082. @include fs16; margin:0; padding:10px 0 5px 0; line-height:1; border:0 solid #fff;
  2083. a{color:#000;}
  2084. }
  2085. .form-item{
  2086. margin:0 0 0.5em 0; width:100%;
  2087. label, input.form-text{
  2088. @include inlineblock(); vertical-align:middle;
  2089. }
  2090. label{margin-right:1em;}
  2091. input.form-text{
  2092. padding:2px 4px; width:20em;
  2093. }
  2094. }
  2095. .form-wrapper{
  2096. &>.form-item{margin:0 0 2em 0;}
  2097. }
  2098. .form-type-password-confirm, .form-type-new-password-confirm{
  2099. label{width:9em;}
  2100. .password-parent{width:auto;}
  2101. .password-strength, .password-confirm{
  2102. width:15em; margin-top:0;
  2103. }
  2104. }
  2105. .form-type-checkbox{
  2106. input{margin:0;}
  2107. label{@include fs14; margin:0;}
  2108. }
  2109. #edit-language{
  2110. .form-item{
  2111. @include inlineblock(); width:auto; margin-right:1em;
  2112. input, label{margin:0;}
  2113. }
  2114. }
  2115. select.form-select{
  2116. width:auto; padding:2px 4px; height:auto;
  2117. }
  2118. div.description{
  2119. @include fs11;
  2120. }
  2121. div.form-actions{
  2122. margin: 0; text-align:right; padding: 1em 0.5em;
  2123. }
  2124. // input#edit-submit{@include btn; @include btn-success;} //change this btn foundation
  2125. &#user-profile-form{
  2126. label{min-width:10em; }
  2127. }
  2128. #edit-profile-adherent-field-first-name, #edit-profile-adherent-field-name,
  2129. #edit-profile-adherent-field-private-quality, #edit-profile-adherent-field-service, #edit-profile-adherent-field-employee,
  2130. #edit-profile-adherent-field-naf, #edit-profile-adherent-field-siret{
  2131. @include inlineblock(); vertical-align:middle; width:auto; margin: 0 1em 0.5em 0;
  2132. div{width:auto; margin: 0; padding: 0;}
  2133. // label{margin: 0 0.5em 0 0;}
  2134. }
  2135. // #edit-profile-adherent-field-name, #edit-profile-adherent-field-service,
  2136. // #edit-profile-adherent-field-naf, #edit-profile-adherent-field-siret, .form-item-profile-adherent-field-adresse-und-0-locality{
  2137. // label{min-width:auto;}
  2138. // }
  2139. #edit-profile-adherent-field-siret{label{width:auto;}input{width:8em;}}
  2140. #edit-profile-adherent-field-naf{input{width:13em;}}
  2141. #edit-profile-adherent-field-organization{ margin: 2em 0 0 0; }
  2142. #edit-profile-adherent-field-employee{
  2143. label{width:auto;}
  2144. input{width:4em;}
  2145. }
  2146. #edit-profile-adherent-field-private-phone{
  2147. .form-phone-number{
  2148. @include inlineblock(); vertical-align:middle;
  2149. #edit-profile-adherent-field-private-phone-und-0-number{width:10em;}
  2150. }
  2151. }
  2152. #edit-profile-adherent-field-adresse-und-0{
  2153. padding:0;
  2154. .street-block{
  2155. input{ width:35em;}
  2156. }
  2157. .locality-block{
  2158. .form-item{width:auto; margin-right:1em;}
  2159. }
  2160. }
  2161. #edit-profile-adherent-field-user-website{
  2162. margin: 2em 0 0 0;
  2163. .form-item>*{@include inlineblock(); vertical-align: middle; }
  2164. input{width:35em}
  2165. }
  2166. &.profile{
  2167. h3{border:0 solid transparent;}
  2168. .field-label{display:inline;}
  2169. }
  2170. #edit-mimemail, #edit-locale, #edit-timezone{padding:0;}
  2171. }
  2172. } // user
  2173. /*
  2174. _ __
  2175. _____(_)___ ___ ____ / /__ ____ ___ _ _______
  2176. / ___/ / __ `__ \/ __ \/ / _ \/ __ \/ _ \ | /| / / ___/
  2177. (__ ) / / / / / / /_/ / / __/ / / / __/ |/ |/ (__ )
  2178. /____/_/_/ /_/ /_/ .___/_/\___/_/ /_/\___/|__/|__/____/
  2179. /_/
  2180. */
  2181. // .node-type-simplenews{
  2182. // img{
  2183. // max-width: none !important;
  2184. // }
  2185. // }
  2186. body.node-type-simplenews{
  2187. #content{
  2188. .inner-content{
  2189. text-align:center;
  2190. }
  2191. article.node.node-simplenews{
  2192. @include inlineblock();
  2193. max-width:600px;
  2194. padding:1em 0;
  2195. tbody{
  2196. border-top:0px;
  2197. }
  2198. img{max-width: 9999px;}
  2199. @media #{$small-only}{
  2200. max-width: 100%;
  2201. overflow-x: hidden;
  2202. // .field-name-body{position: relative;}
  2203. // table, tbody, tr,td{
  2204. // display: block;
  2205. // max-width: 100%;
  2206. // }
  2207. table{
  2208. width:100%!important;
  2209. }
  2210. td{
  2211. vertical-align: top
  2212. }
  2213. img{max-width: 100%;}
  2214. p{
  2215. padding: 0 0.5em;
  2216. }
  2217. }
  2218. }
  2219. }
  2220. }
  2221. /*
  2222. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  2223. | _ | _ | __| __| | | | | |_ _| _ | |_ _|
  2224. | __| | | | __| | --| | | | | | | | | | --| | |
  2225. |__| |__|__|_____|_____| |_____|_____|_|___| |_| |__|__|_____| |_|
  2226. */
  2227. .page-node-11175{
  2228. #main{
  2229. // background-color:#fff;
  2230. #center{
  2231. background: #fff url('../img/bg-contact.gif') no-repeat bottom right;
  2232. }
  2233. .field-name-body p{
  2234. @include inlineblock; margin: 15px;
  2235. strong{@include fs18;}
  2236. }
  2237. }
  2238. } // contact
  2239. /*
  2240. _____ _____ _____ _____ _____ _____ _____
  2241. | _ | __ | | | | | | __|
  2242. | __| -|- -| --|- -| | | | | |
  2243. |__| |__|__|_____|_____|_____|_|___|_____|
  2244. */
  2245. body.page-node-11187{
  2246. // #center{ background-color: #fff; }
  2247. @media #{$medium-up}{
  2248. .node-11187{
  2249. .field-name-body{
  2250. div.column, div.column-demi, div.column-full, div.column-auto{
  2251. &, &:last-child{
  2252. @include inlineblock; margin: 10px; float:none;
  2253. }
  2254. }
  2255. div.column{
  2256. width:22.4%;
  2257. ul.list-text, p.description{ min-height:170px;}
  2258. }
  2259. div.column-demi{
  2260. width:46%;
  2261. ul.list-text{ min-height:110px;}
  2262. }
  2263. div.column-full{
  2264. width:92%;
  2265. // ul.list-text{ min-height:110px;}
  2266. }
  2267. div.column-auto{
  2268. width:auto; max-width: 98%;
  2269. }
  2270. }
  2271. }
  2272. #block-materio-user-user-register{
  2273. width:600px; margin: 0 auto; padding:2em;
  2274. }
  2275. }
  2276. @media #{$small-only}{
  2277. // #block-materio-user-user-register{ padding: 25px 0 0 0; #user-login, >h3:first-child, h3 >span{display:block;}}
  2278. #block-system-help{text-align: center;}
  2279. }
  2280. .node-11187{
  2281. .field-name-body{
  2282. text-align:center;
  2283. >*{text-align:left;}
  2284. div.column, div.column-demi, div.column-full, div.column-auto{
  2285. position:relative; background-color: #fff;
  2286. @include rounded(5px); @include drop-shadow(0, 0, 6px, 0.5);
  2287. .ie8 &{max-width:500px; margin:auto; margin-bottom:15px; border:1px solid #C6C6C6;}
  2288. overflow:hidden;
  2289. &>*{ padding: 0 10px;}
  2290. // img{float:left; padding: 0; }
  2291. h2{ text-align: left; margin: 5px 0 0 15px;}
  2292. .subtitle{
  2293. padding: 0 0 0 15px;
  2294. @include fs18; @include italic; @include bold; line-height:1;
  2295. }
  2296. ul{margin: 0; padding: 0 15px;}
  2297. li{
  2298. list-style: none; @include fs12;
  2299. &:before{
  2300. content:"+ ";
  2301. @include fs900;
  2302. }
  2303. }
  2304. .description{
  2305. @include fs12;
  2306. margin: 0; padding: 0 15px;
  2307. }
  2308. .get-link{
  2309. margin: 0; @include border-radius(0 0 5px 5px); border: 1px solid #fff; min-height: 92px;
  2310. a{ display:block; width:100%; padding: 15px 0; color:#1A1A1A; text-decoration: none; }
  2311. }
  2312. .get-link{background-color: #C8C8C8; }
  2313. &.web{ .get-link{ background-color: #69CDCF; } }
  2314. &.webshowroom { .get-link{ background-color: #D476AE; } }
  2315. &.pack4 { .get-link{ background-color: #E6DE1C; } }
  2316. &.etudiants{ .get-link{background-color: #4BA13D; } };
  2317. // &.ecole-de-neige { .list-neige{min-height:80px;} }
  2318. &.neutral .get-link{
  2319. min-height: 62px;
  2320. padding:15px 0;
  2321. }
  2322. } // end div.column div.column-demi
  2323. div.column{
  2324. h2{ padding:10px 0 0; @include fs24; }
  2325. // .subtitle{ min-height:3em; }
  2326. .get-link{
  2327. padding: 0;
  2328. @include fs28; text-align: center;
  2329. @include italic; @include fs900;
  2330. span{ @include fs20; }
  2331. @include shadowTextBtnWhite();
  2332. }
  2333. }
  2334. div.column-demi{
  2335. h2{ padding:10px 0 0; @include fs24; top:0; }
  2336. .subtitle{ min-height:2em; }
  2337. ul{ @include fs14; min-height:120px;}
  2338. .get-link{ @include fs14; text-align: left; padding: 0 1em; background-color:#ddd; }
  2339. }
  2340. }
  2341. } // end .node-11187
  2342. // hide get free account for user already logged-in
  2343. // hide get flocon for user already flocon (role-6)
  2344. &.logged-in{
  2345. // .column.gratos{.get-link{
  2346. // cursor:auto!important;
  2347. // a{display:none!important;}
  2348. // }}
  2349. // &.role-6{
  2350. // .column.etudiants{.get-link{
  2351. // cursor:auto!important;
  2352. // a{display:none!important;}
  2353. // }}
  2354. // }
  2355. }
  2356. } // princing
  2357. /*
  2358. _____ ____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  2359. | _ | \| | | __| __| | | | | | __| | __ | |
  2360. | | | | | __|__ |- -| | | | | | | __| | | -| | | |
  2361. |__|__|____/|__|__|_____|_____|_____|_____|_|___| |__| |_____|__|__|_|_|_|
  2362. */
  2363. .node-11186{
  2364. nav ul.links a.language-link { display:none; }
  2365. }
  2366. #webform-client-form-11186{
  2367. @media #{$medium-up}{
  2368. padding: 10px 30px;
  2369. #webform-component-column-left--membership-options{
  2370. margin: 10px 0;
  2371. label{width:auto;}
  2372. }
  2373. fieldset{
  2374. @include rounded(5px); border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc; padding: 10px; border-top-width: 0; border-right-width: 0; border-bottom-width: 0;
  2375. fieldset{ border: 0 solid #ddd; padding: 0;}
  2376. }
  2377. legend{margin: 0; @include fs18; @include fs700;}
  2378. .form-item{ margin: 0 20px 0 0; }
  2379. label{ @include fs12; width:10em; @include inlineblock; vertical-align:middle; margin-right:1em; border-bottom: 1px solid #cccccc; }
  2380. .description{ @include fs11; width:25em; @include inlineblock; vertical-align:bottom; margin-left:1em; color:#7f7f7f;}
  2381. input.form-text{width:13em;}
  2382. }
  2383. @media #{$medium-only}{
  2384. padding: 10px;
  2385. #webform-component-column-left--membership-options{
  2386. margin: 0 0 10px 0;
  2387. .form-item{width:100%;}
  2388. label{ width:75%; }
  2389. }
  2390. legend{margin: 0; @include fs16; @include fs700;}
  2391. .form-item{ margin: 0; float:none;}
  2392. label{ @include fs12; width:30%; @include inlineblock; vertical-align:middle; margin-right:0.5em; }
  2393. input.form-text, select.form-select{width:60%;}
  2394. #webform-component-infos{@include fs14;}
  2395. } //change this
  2396. background-color: #e6e6e6; @include rounded(10px);
  2397. .fieldset-wrapper>.form-item{ @include inlineblock; }
  2398. #webform-component-column-left{@include inlineblock; width:25%; border:none;}
  2399. #webform-component-column-right{ @include inlineblock; min-width:70%;}
  2400. #webform-component-column-left--membership-options{
  2401. .form-type-radio{
  2402. border:1px solid #ddd; @include rounded(5px); padding: 10px 5px; margin: 5px 0;
  2403. input{ @include inlineblock; vertical-align: middle; margin:0px 5px;}
  2404. label{@include fs20; @include fs700; @include inlineblock; vertical-align: middle; margin: 0;}
  2405. background-color: #fff;
  2406. &:hover{@include drop-shadow(0, 0, 5px, 0.2); }
  2407. &.form-item-submitted-column-left-membership-options:nth-child(1){background-color: #69CDCF;}
  2408. &.form-item-submitted-column-left-membership-options:nth-child(2){background-color: #D476AE;}
  2409. &.form-item-submitted-column-left-membership-options:nth-child(3){background-color: #E6DE1C;}
  2410. &.form-item-submitted-column-left-membership-options:not(.selected){opacity:0.4;}
  2411. }
  2412. &>label{width:200px; @include fs18; @include fs700; }
  2413. label{ border: 0; }
  2414. }
  2415. #webform-component-column-right--me--my-account-email{
  2416. display:block;
  2417. }
  2418. #webform-component-column-right--company--administrative-e-mail{
  2419. .description{@include inlineblock;}
  2420. }
  2421. #addressfield-wrapper{ margin-top:1em; }
  2422. .street-block .form-item{ @include inlineblock; }
  2423. #webform-component-column-right--collaborators{
  2424. margin: 20px 0; overflow:hidden;
  2425. fieldset{@include inlineblock; width:33%;}
  2426. .form-item{display:block;}
  2427. label{width:6em;}
  2428. input{width:11em;}
  2429. }
  2430. #webform-component-infos{margin: 20px 0;}
  2431. .form-actions{
  2432. padding: 0; margin: 0;
  2433. border: 0px;
  2434. background-color: transparent;
  2435. text-align: left;
  2436. .form-submit{
  2437. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff;
  2438. @include fs18; padding: 0.2em 1em 0.3em; @include rounded(0.3em);
  2439. font-weight:bold;
  2440. margin-bottom:9px;
  2441. @include shadowTextBtnBlack();
  2442. }
  2443. }
  2444. #webform-component-column-right--news-letters{
  2445. >label{margin: 0; @include fs18; @include fs700; border:none; line-height:40px}
  2446. .form-item{
  2447. @include inlineblock();
  2448. label{width:auto}
  2449. input, label{margin: 0;}
  2450. }
  2451. }
  2452. #edit-submitted-terms-of-services{
  2453. margin-bottom:0.5em;
  2454. input, label{margin: 0 0.3em 0 0;}
  2455. label{ width:auto; }
  2456. }
  2457. } // adhesion
  2458. /*
  2459. _____ _____ _____ _____ _____ _____ _____ _____ _____ _ _ _ _____ _____ _____ _____
  2460. | | | | | | _ | __ |_ _| | | | | __| | | | | __| | __ | |
  2461. | | | --| | --| | -| | | | | |- -| __| | | | | __| | | -| | | |
  2462. |_____|_____| |_____|__|__|__|__| |_| \___/|_____|_____|_____| |__| |_____|__|__|_|_|_|
  2463. */
  2464. #uc-cart-view-form{
  2465. background-color: #e6e6e6;
  2466. // @include rounded(10px);
  2467. padding: 10px, 30px;
  2468. // max-width:$cardfull_w;
  2469. display:inline-block;
  2470. table{
  2471. width:auto; display:table;
  2472. background-color:#fff;
  2473. thead th{border-bottom:none;padding: 1em;}
  2474. tbody{
  2475. border-top:none;
  2476. tr.even, tr.odd{
  2477. background-color:#fff;
  2478. border-bottom:none;
  2479. }
  2480. td{
  2481. padding: 1em;
  2482. // &.price{ padding: 0.5em 1em; }
  2483. }
  2484. }
  2485. }
  2486. fieldset{ border: none!important;}
  2487. .form-type-uc-quantity input{
  2488. width:2em;
  2489. }
  2490. .form-actions{
  2491. padding: 0; margin: 0;
  2492. border: 0px;
  2493. background-color: transparent;
  2494. text-align: right;
  2495. display:block; width:100%;
  2496. &:before, &:after{
  2497. display:block;
  2498. }
  2499. .form-submit{
  2500. @include bouton();
  2501. margin-left:1em;
  2502. &#edit-checkout--2{
  2503. @include bouton-bleu();
  2504. }
  2505. }
  2506. }
  2507. }
  2508. /*
  2509. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  2510. | | | | | | | | __| | | | | | |_ _| | __| | __ | |
  2511. | | | --| | --| | __| --| -| | | | | | | | __| | | -| | | |
  2512. |_____|_____| |_____|__|__|_____|_____|__|__|_____|_____| |_| |__| |_____|__|__|_|_|_|
  2513. */
  2514. #uc-cart-checkout-form{
  2515. // display:inline-block;
  2516. @mixin price-table(){
  2517. @include fs14;
  2518. min-width:20em;
  2519. td.price{width:4em;};
  2520. }
  2521. background-color: #e6e6e6;
  2522. // @include rounded(10px);
  2523. padding: 10px, 30px;
  2524. fieldset{ border: none!important;}
  2525. fieldset.form-row{
  2526. // @include rounded(5px); border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc;
  2527. padding-bottom:20px; margin-bottom:20px;
  2528. // fieldset{ border: 0 solid #ddd; padding: 0;}
  2529. }
  2530. fieldset.form-column{
  2531. @include inlineblock; max-width:39%; clear:both; float:none;
  2532. margin: 15px 1em;
  2533. > .fieldset-wrapper > .form-wrapper{
  2534. margin: 10px 0;
  2535. }
  2536. }
  2537. fieldset.form-column-left{}
  2538. fieldset.form-column-right{
  2539. border-left:1px solid #ccc;
  2540. margin-left:2em; padding-left:2em;
  2541. // background-color:#fff; @include rounded(5px);
  2542. }
  2543. legend{margin: 0; @include fs18; @include fs700; border:none; line-height:2;}
  2544. .fieldset-description{@include fs12;}
  2545. .fieldset-wrapper{@include fs12;}
  2546. .form-item{ margin: 0 20px 0 0; }
  2547. .description{ @include fs11; width:25em; @include inlineblock; vertical-align:bottom; margin-left:1em; color:#7f7f7f;}
  2548. #cart-pane{
  2549. >.fieldset-wrapper{
  2550. @include inlineblock();
  2551. @include rounded(5px);
  2552. padding: 10px;
  2553. background-color:#fff;
  2554. }
  2555. table{
  2556. @include price-table();
  2557. }
  2558. tbody{border:none; }
  2559. tr{background-color: transparent; border:none; }
  2560. td{
  2561. padding: 0 5px;
  2562. vertical-align: bottom;
  2563. &.products{
  2564. a{color:inherit; @include fs700;}
  2565. width:auto;
  2566. ul.product-description{margin: 0; @include fs12;}
  2567. li{list-style: none;}
  2568. }
  2569. }
  2570. tr.subtotal{
  2571. td{@include fs16; @include fs700;}
  2572. }
  2573. }
  2574. #customer-pane{width:35em;}
  2575. #billing-pane{
  2576. label{ @include fs12; width:8em; @include inlineblock; vertical-align:middle; margin-right:1em; border-bottom: 1px solid #cccccc; }
  2577. input.form-text{width:13em;}
  2578. }
  2579. #coupon_automatic-pane{}
  2580. #coupon-pane{}
  2581. #payment-pane{
  2582. // float:right;
  2583. .fieldset-wrapper{
  2584. background-color:#fff;
  2585. @include rounded(5px);
  2586. padding: 10px;
  2587. }
  2588. #line-items-div{
  2589. float:none; border:none;
  2590. @include inlineblock(); margin: 10px 0 20px;
  2591. table{@include price-table();}
  2592. tbody{border:none;}
  2593. td{
  2594. padding: 0 5px;
  2595. }
  2596. tr{
  2597. td{@include fs500;}
  2598. &.line-item-total td{
  2599. @include fs16; @include fs700; text-align: right;
  2600. }
  2601. }
  2602. }
  2603. #edit-panes-payment-payment-method{
  2604. label{width:auto; border-bottom:none;}
  2605. .form-item-panes-payment-payment-method{
  2606. border:1px solid #ddd;
  2607. border-radius:5px;
  2608. margin: 0.5em; padding: 0.5em;
  2609. label{font-weight:bold;}
  2610. }
  2611. }
  2612. #payment-details{
  2613. width:25em;
  2614. border-top:none; padding: 0; margin: 0;
  2615. }
  2616. }
  2617. #edit-actions{
  2618. width:100%;
  2619. padding:1em 0; margin: 0;
  2620. border: 0px;
  2621. background-color: transparent;
  2622. text-align: center;
  2623. .form-submit{
  2624. @include bouton();
  2625. margin-left:1em;
  2626. &#edit-continue{
  2627. @include bouton-bleu();
  2628. }
  2629. }
  2630. }
  2631. }
  2632. /*
  2633. _____ _____ _____ _____ _____ _____
  2634. | | | | | | _ | __ |_ _|
  2635. | | | --| | --| | -| | |
  2636. |_____|_____| |_____|__|__|__|__| |_|
  2637. &&
  2638. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ __ _____ ____ _____ _____ _____ _____ _____
  2639. | | | | | | | | __| | | | | | |_ _| | | | _ | | | | \| _ |_ _| | | | |
  2640. | | | --| | --| | __| --| -| | | | | | | | | | | |__|- -| | | | | | |- -| | | | | |
  2641. |_____|_____| |_____|__|__|_____|_____|__|__|_____|_____| |_| \___/|__|__|_____|_____|____/|__|__| |_| |_____|_____|_|___|
  2642. */
  2643. //.page-cart,
  2644. .page-cart-checkout-review{
  2645. #content{
  2646. //text-align:center;
  2647. &> .inner-content{
  2648. //.card-box($cardfull_w, $cardfull_h);
  2649. //text-align:left;
  2650. display:inline-block;
  2651. padding: 1em;
  2652. }
  2653. }
  2654. #edit-actions{
  2655. margin: 0; padding: 0;
  2656. &:before, &:after{display:block;}
  2657. }
  2658. #review-instructions{
  2659. width:30em;
  2660. padding: 1em 0;
  2661. // .info;
  2662. }
  2663. table.order-review-table{
  2664. border:none;
  2665. .pane-title-row{
  2666. border:none;
  2667. background-color:transparent;
  2668. text-align:left;
  2669. @include fs18;
  2670. td{ padding: 1em 0 0 0; }
  2671. }
  2672. table.cart-review{
  2673. tr.odd{
  2674. background-color:transparent;
  2675. border:none;
  2676. }
  2677. }
  2678. td.title-col{
  2679. padding: 0;
  2680. text-align:left;
  2681. }
  2682. td.data-col{
  2683. padding: 0;
  2684. width:75%;
  2685. }
  2686. .review-button-row{
  2687. border:none;
  2688. background-color:transparent;
  2689. &>td{
  2690. padding: 3em 0 0 0;
  2691. }
  2692. form{
  2693. margin: 0 0.5em 0 0; @include inlineblock();
  2694. }
  2695. }
  2696. }
  2697. #edit-actions{
  2698. border: 0px;
  2699. background-color: transparent;
  2700. text-align: right;
  2701. }
  2702. input.form-submit{
  2703. @include bouton();
  2704. margin-left:1em;
  2705. &#edit-submit{
  2706. @include bouton-bleu();
  2707. }
  2708. }
  2709. }
  2710. /*
  2711. ____ _____ ____ _____ _____ _____ _____ _____ _____ _____
  2712. | \| | \| _ | |_ _| | | | | __|
  2713. | | |- -| | | | --| | | |- -| | | | | __|
  2714. |____/|_____|____/|__|__|_____| |_| |_____|__ _|_____|_____|
  2715. |__|
  2716. */
  2717. #didactique-page{
  2718. .node-didactique{
  2719. @include rounded(5px); background-color: #FFF;
  2720. @include drop-shadow(0, 0, 5px, 0.2);
  2721. max-width:850px;
  2722. @include fs14; background-color:#fff; //padding: 5px;
  2723. margin: 1em auto; padding: 1em;
  2724. .field-name-field-emvideo{
  2725. margin: 1em 0;
  2726. }
  2727. .field-name-title-field{
  2728. @include fs24; @include fs900; @include italic; padding:5px 0;
  2729. }
  2730. .field-name-field-visuel{
  2731. figure, img{max-width:100%;}
  2732. }
  2733. }
  2734. @media #{$medium-up}{
  2735. .side{ @include inlineblock(); vertical-align: top; }
  2736. .group-sideleft{ width:60%; }
  2737. .group-sideright{ width:39%; }
  2738. }
  2739. // @media #{$small-up}{
  2740. // } // change this
  2741. }
  2742. /*
  2743. _ _ _ _____ _____ _ _ _ _____ _____ _____ _____
  2744. | | | | | | | | | | | __| | _ | __ | __|
  2745. | | | | | | | | | | | __| | | -| __|
  2746. |_____|__|__|_____| |_____|_____| |__|__|__|__|_____|
  2747. */
  2748. .page-whoweare{
  2749. #tool-bar{
  2750. @media #{$small-only}{
  2751. #block-materio-page-title-materio-page-title{display:none;}
  2752. } // chanhe this
  2753. }
  2754. }
  2755. /*
  2756. _ _
  2757. _____ ___|_|___| |_ ___ ___ ___ ___ ___ ___
  2758. | | .'| | | _| -_| | .'| | _| -_|
  2759. |_|_|_|__,|_|_|_|_| |___|_|_|__,|_|_|___|___|
  2760. */
  2761. .maintenance-page{
  2762. #container, #header{ text-align: center; padding: 0; position:relative;}
  2763. #main{background-color: transparent; }
  2764. #header h1.site-name{font-size:36px; margin: 0; padding-left:0;}
  2765. h2.site-slogan{font-size:16px; @include fs300; margin: 0; line-height:1.1;}
  2766. }
  2767. /*
  2768. _____ _____ _____
  2769. | __| _ | |
  2770. | __| | | |
  2771. |__| |__|__|__ _|
  2772. |__|
  2773. */
  2774. .page-faq-page #main{
  2775. background: #fff url('../img/bg-faq.png') no-repeat bottom right;
  2776. }
  2777. #content .faq-content{
  2778. .faq-description{
  2779. @include fs12; padding-bottom:2em;
  2780. }
  2781. ul.faq-ul-questions-top{
  2782. margin: 0;
  2783. li{
  2784. list-style: none;
  2785. a{
  2786. @include fs18; @include fs500;
  2787. }
  2788. }
  2789. }
  2790. h3.faq-header{
  2791. @include fs20; @include fs700; line-height:1.2;
  2792. margin: 0;
  2793. a{color:#000;}
  2794. }
  2795. .faq-dl-hide-answer{
  2796. padding: 0;
  2797. }
  2798. .faq-category-group{
  2799. padding-bottom:1em;
  2800. }
  2801. .faq-question-answer{
  2802. padding: 0.3em 0 0 0.8em;
  2803. .faq-question{
  2804. @include fs16; padding: 0; @include fs500;
  2805. a{color:#000;}
  2806. }
  2807. .faq-answer{
  2808. padding: 0; margin-bottom:2em;
  2809. @include fs12;
  2810. }
  2811. }
  2812. .field-name-body img{
  2813. max-width:50%;
  2814. height:auto;
  2815. }
  2816. }
  2817. /*
  2818. __ __ _ _____
  2819. / / / /___ ____ ___ ___ | | / /__ \
  2820. / /_/ / __ \/ __ `__ \/ _ \ | | / /__/ /
  2821. / __ / /_/ / / / / / / __/ | |/ // __/
  2822. /_/ /_/\____/_/ /_/ /_/\___/ |___//____/
  2823. */
  2824. body.home-v2{
  2825. #center{
  2826. background-color: transparent;
  2827. padding:0;
  2828. }
  2829. }
  2830. @mixin shaddowed(){
  2831. @include drop-shadow(0, 0, 5px, 0.2);
  2832. @include transition-simply-prefix(box-shadow 0.3s ease-out); // opacity 0.3s ease-out); //change this commas
  2833. &:hover{@include drop-shadow(0, 0, 5px, 0.4);}
  2834. }
  2835. #home-v2{
  2836. // padding: 40px 40px;
  2837. h2{font-size: 2.1em; font-weight: 300;}
  2838. a{color: #000};
  2839. .field-name-field-liens{
  2840. margin-top:1em;
  2841. .field-item{@include inlineblock(); margin:0 0.5em 0.5em 0; }
  2842. a{
  2843. font-weight: 700; @include inlineblock();
  2844. padding:0.5em 1em 0.7em;
  2845. @include rounded(5px);
  2846. background-color: rgba(255,255,255, 0.8);
  2847. body.logged-in &.visitor{display:none;}
  2848. body.not-logged-in &.member{display:none;}
  2849. }
  2850. }
  2851. .panel-separator{clear:both;}
  2852. >.panel-panel>div>.panel-pane {
  2853. // padding: 10px 15px;
  2854. overflow:hidden;
  2855. &.pane-node{
  2856. @include rounded(5px);
  2857. overflow:hidden;
  2858. .pane-content, .node{
  2859. position:relative; width:100%; height:100%; overflow:hidden;
  2860. }
  2861. .links a{
  2862. background-color: rgba(255,255,255, 0.7);
  2863. @include rounded(5px);
  2864. padding: 15px;
  2865. }
  2866. }
  2867. &.intro-video{
  2868. height:auto;
  2869. background-color: $creme;
  2870. margin-top:2em;margin-bottom:2em; padding-top:0;
  2871. .field-name-field-emvideo{
  2872. .embedded-video{
  2873. margin:0 auto;
  2874. @media #{$small-only}{ width:320px; height:180px;}
  2875. @media #{$medium-only}{ width:640px; height:360px;}
  2876. @media #{$large-only}{ width:800px; height:450px;}
  2877. @media #{$xlarge-up}{ width:1024px; height:576px;}
  2878. .player, iframe{
  2879. width:100%; height:100%;
  2880. }
  2881. }
  2882. }
  2883. .field-name-title-field{
  2884. display:none;
  2885. }
  2886. .field-name-body{
  2887. // display:none;
  2888. margin-top:1em;
  2889. text-align: center;
  2890. p{
  2891. // @include grid-column(6);
  2892. text-align: left;
  2893. @include inlineblock();
  2894. width:35%; margin-left:2%;
  2895. font-size:0.756em;
  2896. @media #{$small-only}{
  2897. width:100%;
  2898. text-align: center;
  2899. }
  2900. }
  2901. }
  2902. @media #{$small-only}{
  2903. margin-top: 0.5em;
  2904. }
  2905. }
  2906. &.pane-menu-menu-home-v2, &.pane-menu-menu-menu-home-member{
  2907. margin:2em 0;
  2908. ul.menu{
  2909. margin: 0px; text-align: center;
  2910. }
  2911. li{
  2912. margin:0 1em 0 0; padding:0px; list-style: none; height:2.5em;
  2913. @include inlineblock();
  2914. a{
  2915. background-color: #4d4d4d;
  2916. @include rounded(5px);
  2917. padding: 5px 12px 7px;
  2918. color: $creme;
  2919. font-size: 18px;
  2920. font-weight: 500;
  2921. transition:opacity,background-color 0.2s ease-out;
  2922. &[href="/fr/actuality"]{
  2923. background-color:$vertjaune;
  2924. @include shadowTextBtnBlack();
  2925. }
  2926. }
  2927. }
  2928. // @media #{$small-only}{
  2929. // display:none;
  2930. // }
  2931. }
  2932. &.pane-materio-user-user-register{
  2933. padding: 2em 0;
  2934. background: transparent url('../img/register-block.png') no-repeat 100% 90%;
  2935. text-align: center;
  2936. .pane-content{
  2937. @include inlineblock(); text-align: left;
  2938. }
  2939. h2, h3{@include fs900; @include italic; padding:5px 0; margin: 0; line-height: 1; @include inlineblock(); vertical-align: middle;}
  2940. h2{@include fs24;} h3{@include fs16;}
  2941. form{margin: 0 1em; padding:0px; @include inlineblock(); vertical-align: middle;}
  2942. .form-item, .form-wrapper{
  2943. margin: 0; position:relative; @include inlineblock();vertical-align: middle;
  2944. }
  2945. #edit-account{margin-right:5px;}
  2946. input.form-text{ @include fs12; @include rounded(5px); margin-bottom:4px;.ie8 &{margin-right:5px;}}
  2947. .form-item-mail input.form-text, .form-item-name input.form-text{ width:11em;}
  2948. .form-item-pass input.form-text{ width:7em;}
  2949. #edit-mail-check{
  2950. position:absolute; bottom:100%; z-index:9999; background-image: none;
  2951. height:auto; //width:90%;
  2952. padding: 5px; @include rounded(5px); margin-bottom:10px;
  2953. @include fs11; background-color: #fff;
  2954. @include drop-shadow(0, 0, 5px, 0.6);
  2955. @include transition-simply-prefix(bottom 0.1s ease-out);
  2956. &.error{
  2957. background-color: #f3968d;
  2958. // border: 2px solid #f30002;
  2959. color:#fff;
  2960. }
  2961. &.ok{ display:none; }
  2962. }
  2963. .form-submit{
  2964. //border: 2px solid #69CDCF; background-color:#69CDCF; color:#FF7400; // orange/bleu
  2965. @include fs16; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  2966. font-weight:bold;
  2967. margin-bottom:4px;
  2968. }
  2969. .form-item-termsofservices, #edit-field-newsletter{
  2970. margin-bottom:0; display:block; line-height: 1;
  2971. &>*{ @include inlineblock; vertical-align: middle; margin: 0; }
  2972. label{ @include fs10; background-color: #fff; @include rounded(3px); }
  2973. }
  2974. #user-register-form{
  2975. .form-submit{
  2976. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  2977. @include shadowTextBtnBlack();
  2978. &[disabled]{
  2979. background-color:#ddd; border: 2px solid #ddd;
  2980. }
  2981. }
  2982. }
  2983. #user-login{
  2984. .form-submit{
  2985. border: 2px solid #E6DE1C; background-color:#E6DE1C; color:#fff; // noire/jaune
  2986. @include shadowTextBtnBlack();
  2987. }
  2988. }
  2989. #edit-simplenews{display:none;}
  2990. a.join{
  2991. @include inlineblock(); vertical-align: middle;
  2992. // display:block;
  2993. margin: 0 1em;
  2994. // width:5em;
  2995. @include fs16; padding: 0.1em 0.3em 0.2em; @include rounded(0.3em);
  2996. font-weight:bold;
  2997. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  2998. @include shadowTextBtnBlack();
  2999. text-align: center; text-decoration: none;
  3000. }
  3001. @media #{$small-only}{
  3002. background-position: 160% 50%;
  3003. .form-item-mail input.form-text, .form-item-name input.form-text{ width:7em;}
  3004. min-height:60px; padding: 15px 0;
  3005. // #user-login, >h3:first-child, >h3 span{ display:none; }
  3006. }
  3007. .message-error{
  3008. color:#b94a48; @include fs12;
  3009. }
  3010. }
  3011. &.showroom{
  3012. @include shaddowed();
  3013. height:450px;
  3014. margin-top: 15px;
  3015. background-color: #fff;
  3016. // background: url("http://carnet-aux-petites-choses.fr/wp-content/uploads/2015/02/un-oeil-sur-la-matiere-materiO-26_gagaone.jpg");
  3017. // background-size: cover;
  3018. position: relative;
  3019. .pane-content{
  3020. width:100%; height:100%; position:relative;
  3021. .node{position:absolute;height:100%;width:100%;}
  3022. .field-name-field-bandeau{
  3023. position:absolute; width:100%; height:100%; overflow:hidden;
  3024. img{width:100%; margin-top:-10%;}
  3025. }
  3026. .group-content-wrapper{
  3027. position:relative;
  3028. z-index:2;
  3029. width:30%;
  3030. margin:3em 2em;
  3031. .group-content{
  3032. background-color: rgba(255,255,255, 0.8);
  3033. padding:1em;
  3034. @include rounded(5px);
  3035. .field-name-title-field{
  3036. font-size: 2.1em; font-weight: 300;
  3037. }
  3038. .field-name-body{
  3039. margin-top: 0.5em;
  3040. }
  3041. }
  3042. }
  3043. }
  3044. &:after{
  3045. content:url("../img/bulle.png");
  3046. transform: scale(0.8);
  3047. position: absolute;
  3048. bottom:-120px;
  3049. right: -20px;
  3050. z-index:10;
  3051. }
  3052. @media #{$small-only}{
  3053. // height:210px;
  3054. margin-top: 10px;
  3055. .pane-content{
  3056. .field-name-field-bandeau{
  3057. position:absolute; width:400%; height:100%; overflow:hidden;
  3058. }
  3059. .group-content-wrapper{
  3060. width:auto;
  3061. padding:2%;
  3062. margin:2%;
  3063. .field-name-body{
  3064. font-size:0.756em;
  3065. margin-top:0.5em;
  3066. }
  3067. }
  3068. }
  3069. &:after{
  3070. opacity:0.4;
  3071. }
  3072. }
  3073. } // end showrom
  3074. &.bdd{
  3075. @include shaddowed();
  3076. height:450px;
  3077. margin-top: 30px;
  3078. background-color: #FFF;
  3079. position: relative;
  3080. .links a{background-color: #e6e6e6;}
  3081. .field-name-field-bandeau{
  3082. @include inlineblock(); width:60%; height:100%; overflow:hidden;
  3083. img{max-width:2000px;}
  3084. }
  3085. .group-content-wrapper{
  3086. @include inlineblock(); width:35%;
  3087. // background-color: rgba(255,255,255, 0.7);
  3088. padding:1em;
  3089. @include rounded(5px);
  3090. .field-name-title-field{
  3091. font-size: 2.1em; font-weight: 300;
  3092. }
  3093. .field-name-body{
  3094. margin-top: 1em;
  3095. }
  3096. .field-name-field-liens a{background-color: rgba(230,230,230, 0.8);}
  3097. }
  3098. &:after{
  3099. content:url("../img/boule.png");
  3100. transform: scale(0.8);
  3101. position: absolute;
  3102. bottom:-50px;
  3103. left: -50px;
  3104. }
  3105. @media #{$small-only}{
  3106. height:auto;
  3107. .field-name-field-bandeau{
  3108. width:100%; display:block; height:310px; overflow:hidden;
  3109. }
  3110. .group-content-wrapper{
  3111. display:block; width:100%; z-index:1; padding: 0;
  3112. >*{padding:1em;}
  3113. }
  3114. &:after{opacity:0.6; z-index:0;}
  3115. }
  3116. } // end BDD
  3117. &.formations{
  3118. @include shaddowed();
  3119. position: relative;
  3120. height:300px;
  3121. margin-top: 30px;
  3122. background-color: #000;
  3123. color: #FFF;
  3124. a{color: #FFF;}
  3125. .node{
  3126. padding:0 0 0 30%; width:70%;
  3127. &:before{
  3128. content:" ";
  3129. background: transparent url("../img/formations.png") no-repeat center center;
  3130. background-clip: padding-box;
  3131. background-size: contain;
  3132. position: absolute; left:0;
  3133. // border: 1px solid red;
  3134. z-index: 2;
  3135. width:30%; height:100%;
  3136. // padding:0.5em;
  3137. }
  3138. }
  3139. .group-content-wrapper{
  3140. padding:1em; position:relative;
  3141. .field-name-title-field{
  3142. font-size: 2.1em; font-weight: 300;
  3143. }
  3144. .field-name-body{
  3145. margin-top: 1em;
  3146. }
  3147. }
  3148. @media #{$small-only}{
  3149. height:auto;
  3150. }
  3151. }
  3152. &.services{
  3153. @include shaddowed();
  3154. background-color: #FFF;
  3155. height:300px;
  3156. margin-top: 30px;
  3157. .node{
  3158. padding:0 30% 0 0; width:70%;
  3159. &:before{
  3160. content:" ";
  3161. background: transparent url("../img/services.png") no-repeat center center;
  3162. background-clip: padding-box;
  3163. background-size: contain;
  3164. position: absolute; right:0;
  3165. // border: 1px solid red;
  3166. z-index: 2;
  3167. width:30%; height:100%;
  3168. // padding:0.5em;
  3169. }
  3170. }
  3171. .group-content-wrapper{
  3172. padding:1em; position:relative;
  3173. .field-name-title-field{
  3174. font-size: 2.1em; font-weight: 300;
  3175. }
  3176. .field-name-body{
  3177. margin-top: 1em;
  3178. }
  3179. .field-name-field-liens a{background-color: rgba(230,230,230, 0.8);}
  3180. }
  3181. @media #{$small-only}{
  3182. height:auto;
  3183. }
  3184. }
  3185. &.publication{
  3186. @include shaddowed();
  3187. position: relative;
  3188. // height:300px;
  3189. margin-top: 30px;
  3190. padding:1em;
  3191. background-color: #000;
  3192. &, a, h1, h2{color: #fff;}
  3193. @include rounded(10px);
  3194. .view-publication-home-v2{
  3195. .views-row{
  3196. @include inlineblock();
  3197. width:30%;
  3198. h1{display:none;}
  3199. }
  3200. }
  3201. @media #{$small-only}{
  3202. .view-publication-home-v2{
  3203. .views-row{display:block; width:90%; margin-bottom: 1em;}
  3204. }
  3205. }
  3206. }
  3207. }
  3208. //mini panneau news
  3209. >.panel-panel>div>.pane-news-home-v2{
  3210. background-color: #e6e6e6; @include rounded(10px);
  3211. margin-top: 30px; padding-top: 1em; padding-bottom: 1em;
  3212. // padding:0;
  3213. position: relative;
  3214. // .panel-col-first{width:70%;}
  3215. // .panel-col-last{width:29.9%;}
  3216. h2{font-size: 30px;}
  3217. @media #{$medium-up}{
  3218. #mini-panel-news_home_v2 .center-wrapper{
  3219. @include grid-row();
  3220. .panel-panel{
  3221. overflow:hidden;
  3222. @include grid-column(4);
  3223. // width:32.8%;
  3224. padding:0em; margin-left:1em;
  3225. &.panel-col-first{width:auto;}
  3226. &:not(.panel-col-first){width:31%;}
  3227. .inside{margin:0;}
  3228. article.node, article.node-breve.vm-cardbig{margin:0; height:610px;}
  3229. }
  3230. }
  3231. }
  3232. #mini-panel-news_home_v2 .panel-col-bottom{
  3233. @include grid-row(); margin-top: 1.5em; margin-bottom: 1.5em;
  3234. >.inside{
  3235. @include grid-column(12);
  3236. }
  3237. p{display:none;}
  3238. .form-checkboxes{
  3239. margin:0 0 0.5em 0;
  3240. .form-item{
  3241. @include inlineblock(); margin-right: 1em;
  3242. label, input{vertical-align: middle;}
  3243. }
  3244. }
  3245. .form-item-mail{
  3246. @include inlineblock(); margin:0;
  3247. label, input{@include inlineblock(); margin-right: 1em;}
  3248. }
  3249. #edit-subscribe, #edit-unsubscribe{@include inlineblock();}
  3250. }
  3251. // .view-news-home-v2{
  3252. // .views-row{@include inlineblock();}
  3253. // }
  3254. .node-simplenews{
  3255. @include rounded(5px); background-color: #FFF;
  3256. @include drop-shadow(0, 0, 5px, 0.2);
  3257. @include transition-simply-prefix(box-shadow 0.3s ease-out);
  3258. overflow:hidden;
  3259. position:relative;
  3260. margin:7px;
  3261. >a{
  3262. position:absolute;
  3263. bottom:0; width:100%;
  3264. background-color: #FFF;
  3265. text-align: center;
  3266. h1{
  3267. padding: 10px; margin:0;
  3268. font-size:1em;
  3269. }
  3270. }
  3271. }
  3272. //deco
  3273. &:after{
  3274. content:url("../img/point.png");
  3275. //transform: scale(1);
  3276. position: absolute;
  3277. bottom:20px;
  3278. right: 10px;
  3279. }
  3280. @media #{$small-only}{
  3281. background-color: transparent;
  3282. #mini-panel-news_home_v2 .center-wrapper{
  3283. .panel-panel{
  3284. width:100%;
  3285. .inside{margin:0;}
  3286. .node{
  3287. max-width: 100%; margin:0;
  3288. .field-name-body{
  3289. width: 100%; padding:0;
  3290. p{max-width: 100%; padding: 1em;}
  3291. }
  3292. }
  3293. .node-simplenews{
  3294. .field-name-body a{
  3295. padding: 0; display: block; height:100%;
  3296. img{max-width: 100%;}
  3297. }
  3298. }
  3299. }
  3300. // .panel-panel:not(.panel-col-first){display:none;}
  3301. }
  3302. &:after{z-index: -1; opacity:0.4;}
  3303. }
  3304. }
  3305. #contact-pane{
  3306. margin:2em 0; padding:1em;
  3307. background-color: #e6e6e6;
  3308. .field-name-body{
  3309. text-align: center;
  3310. p{
  3311. @include inlineblock();
  3312. min-width: 20%;
  3313. }
  3314. }
  3315. }
  3316. } // homeV2
  3317. /*
  3318. _ _ _ _ _
  3319. | | | (_) | | (_)
  3320. _ __ _ _| |__ | |_ ___ __ _| |_ _ ___ _ __ ___
  3321. | '_ \| | | | '_ \| | |/ __/ _` | __| |/ _ \| '_ \/ __|
  3322. | |_) | |_| | |_) | | | (_| (_| | |_| | (_) | | | \__ \
  3323. | .__/ \__,_|_.__/|_|_|\___\__,_|\__|_|\___/|_| |_|___/
  3324. | |
  3325. |_|
  3326. */
  3327. body.node-type-publication{
  3328. article.node-publication{
  3329. .field{
  3330. figure, img{max-width:100%;}
  3331. }
  3332. @media #{$large-up}{
  3333. .field{@include inlineblock();}
  3334. .field-name-field-couverture{width:25%;}
  3335. .field-name-body{
  3336. margin-left: 1em;
  3337. width:70%;
  3338. }
  3339. }
  3340. }
  3341. }
  3342. @import "misc.scss";
  3343. // end