styles.scss 93 KB

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