styles.scss 99 KB

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