styles.scss 93 KB

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