styles.scss 101 KB

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