styles.scss 96 KB

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