styles.scss 82 KB

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