styles.scss 87 KB

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