styles.scss 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442
  1. /**
  2. * Primary Drupal Styles
  3. * Author: g-u-i.net
  4. */
  5. @import "../bower_components/foundation/scss/foundation.scss";
  6. @import "../bower_components/foundation/scss/normalize.scss";
  7. @import "gui.scss";
  8. @import "fonts.scss";
  9. @import "layout.scss";
  10. #root{
  11. // background: #fff url('../img/beta-2.png') no-repeat 0px 0px;
  12. }
  13. @mixin shadowBtn(){
  14. @include drop-shadow(0, 0, 5px, 0.4);
  15. @include transition-simply-prefix(box-shadow 0.3s ease-out);
  16. &:hover, &:focus{
  17. @include drop-shadow(0, 0, 5px, 0.7);
  18. }
  19. &:active{
  20. @include transition-simply-prefix(box-shadow 0s ease-out);
  21. @include drop-shadow(0, 0, 5px, 0.4);
  22. }
  23. }
  24. @mixin shadowTextBtnWhite(){
  25. cursor:pointer;
  26. text-shadow:0 0 2px rgba(255, 255, 255, 0.2);
  27. @include transition-simply-prefix(text-shadow 0.3s ease-out);
  28. &:hover, &:focus{
  29. text-shadow:0 0 3px rgba(255, 255, 255, 1);
  30. }
  31. &:active{
  32. @include transition-simply-prefix(text-shadow 0s ease-out);
  33. text-shadow:0 0 2px rgba(255, 255, 255, 0.2);
  34. }
  35. }
  36. @mixin shadowTextBtnBlack(){
  37. cursor:pointer;
  38. text-shadow:0 0 2px rgba(0, 0, 0, 0.2);
  39. @include transition-simply-prefix(text-shadow 0.2s ease-out);
  40. &:hover, &:focus{
  41. text-shadow:0 0 2px rgba(0, 0, 0, 0.8);
  42. }
  43. &:active{
  44. @include transition-simply-prefix(text-shadow 0s ease-out);
  45. text-shadow:0 0 2px rgba(0, 0, 0, 0.2);
  46. }
  47. }
  48. @mixin horihoverswitch(){
  49. position:relative; z-index:1; @include bgc(#fff);
  50. figure{
  51. position: absolute; top:0; left:0;
  52. &:first-child{ position:relative; z-index:1; }
  53. }
  54. }
  55. @mixin layer(){
  56. position:absolute; width:100%; height:100%; top:0; left:0;
  57. }
  58. .op-visible{
  59. visibility:visible;
  60. .csstransitions &{
  61. @include opacity(1);
  62. @include transition-simply-prefix(opacity 0.3s ease-out);
  63. }
  64. }
  65. .op-hidden{
  66. visibility:hidden;
  67. >*{
  68. margin-top:-100000px;
  69. }
  70. .csstransition &{
  71. @include opacity(0);
  72. @include transition-simply-prefix(visibility 0s 0.3s); // opacity 0.3s ease-out); change this
  73. >*{
  74. @include transition-simply-prefix(margin-top 0s 0.3s);
  75. }
  76. }
  77. }
  78. @mixin op-visible(){
  79. visibility:visible;
  80. .csstransitions &{
  81. @include opacity(1);
  82. @include transition-simply-prefix(opacity 0.3s ease-out);
  83. }
  84. } // change this
  85. @mixin op-hidden(){
  86. visibility:hidden;
  87. >*{
  88. margin-top:-100000px;
  89. }
  90. .csstransition &{
  91. @include opacity(0);
  92. @include transition-simply-prefix(visibility 0s 0.3s); // opacity 0.3s ease-out); change this
  93. >*{
  94. @include transition-simply-prefix(margin-top 0s 0.3s);
  95. }
  96. }
  97. } // change this
  98. @mixin bouton(){
  99. @include fs16();
  100. font-weight:bold;
  101. padding: 0.1em 0.3em 0.2em; @include rounded(0.3em);
  102. border: 2px solid #ccc; @include bgc(#ccc); color:#4D4D4D; // blanc/bleu
  103. @include shadowTextBtnWhite();
  104. text-align: center; text-decoration: none;
  105. }
  106. @mixin bouton-bleu(){
  107. @include bouton();
  108. @include shadowTextBtnBlack();
  109. border-color:#69CDCF; @include bgc(#69CDCF); color:#fff;
  110. }
  111. @mixin bouton-vert(){
  112. @include bouton();
  113. @include shadowTextBtnBlack();
  114. border-color:#E6DE1C; @include bgc(#E6DE1C); color:#fff;
  115. }
  116. /** colomnized() */
  117. @mixin columnized($padding){
  118. padding : $padding;
  119. &.columnized{
  120. padding: 0;
  121. .column>*{padding:$padding;}
  122. @include transition-simply-prefix(margin-left 0.3s ease-out);
  123. .column-switcher{
  124. display:inline-block; @include rounded(3px); color:#fff; background-color: #3e3e3e; vertical-align:middle;
  125. @include fs700(); @include fs22;
  126. padding: 0.05em 0.15em 0.2em 0.2em; line-height:0.5;
  127. @include regular;
  128. &.prev-column{cursor: w-resize;}
  129. &.next-column{cursor: e-resize;}
  130. }
  131. }
  132. }
  133. @mixin bgcWhite(){
  134. @include bgca(255, 255, 255, 0.8);
  135. text-shadow:0 0 4px rgba(255, 255, 255, 0.4);
  136. @include transition-simply-prefix(background-color 0.2s ease-out); // text-shadow 0.2s ease-out); //change this
  137. }
  138. @mixin bgcBlack(){
  139. @include bgca(0, 0, 0, 0.7);
  140. text-shadow:0 0 4px rgba(0, 0, 0, 0.4);
  141. @include transition-simply-prefix(background-color 0.2s ease-out); // text-shadow 0.2s ease-out); //change this
  142. }
  143. // .bgcWhiteParentHover(){
  144. // @include bgca(255, 255, 255, 0.2);
  145. // text-shadow:0 0 4px rgba(255, 255, 255, 0.9);
  146. // &:hover{
  147. // @include bgcWhite();
  148. // }
  149. // }
  150. $headerheight:45px;
  151. $headerpaddingtop:5px;
  152. $headerpaddingbottom:10px;
  153. $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
  154. /** HEADER */
  155. #header{
  156. padding-top:$headerpaddingtop;
  157. padding-bottom:$headerpaddingbottom;
  158. height:$headerheight;
  159. // position:relative;
  160. // @include drop-shadow(0, 3px, 2px, 0.4); margin-bottom:5px;
  161. a{&, &:active, &:visited{color:#000;}}
  162. // .logo, #header-blocks{@include inlineblock(); vertical-align:middle;}
  163. .logo{
  164. //width:210px; //padding-left:5px; //margin-left:50px;
  165. @include inlineblock();
  166. h1{
  167. margin:0;
  168. @include fs36;
  169. @include inlineblock(); vertical-align: baseline; position:relative; line-height:1.25;
  170. a:hover{text-decoration: none ;}
  171. }
  172. span.beta{
  173. line-height:1; letter-spacing: 0.1em;
  174. color:rgb(0,0,122);
  175. @include fs12;
  176. position:absolute; left:0; @include pl(0); @include ml(0);
  177. }
  178. span.slogan{
  179. @include fs14;
  180. margin-top:-3px;
  181. margin-left:-0.5em;
  182. @include fs900;
  183. @media #{$medium-only} {display:none;} //change this
  184. .ie8 &{position: absolute; margin-top:22px;}
  185. }
  186. }
  187. #header-blocks{
  188. //position:absolute; right:0; bottom:0;
  189. @include pt(17px);
  190. float:right;
  191. text-align:right;
  192. text-transform: capitalize;
  193. >.region{
  194. @include inlineblock();vertical-align:middle;
  195. @include pr(1em); @include mr(1em);
  196. @media #{$medium-up}{ @include pr(0.3em); @include mr(0.3em); }//change this
  197. border-right: 1px solid #707070;
  198. &:last-child{border:none; padding: 0; margin: 0;}
  199. }
  200. .block{
  201. @include inlineblock(); vertical-align:middle;
  202. h2{
  203. @include fs12;
  204. margin: 0; line-height: 1.2; font-weight: normal; }
  205. &:not(:last-child){
  206. @include pr(0.8em);
  207. @media #{$xlarge-only}{ @include pr(0.3em); } //change this
  208. }
  209. }
  210. #block-user-login{
  211. @include fs12;
  212. text-align:left; position:relative;
  213. h2{
  214. @include pr(5px);
  215. // .icon-user;
  216. i{ vertical-align: text-bottom; margin: 0 2px 2px 0;}
  217. }
  218. form#user-login-form{
  219. position:absolute; overflow:hidden; right:0; margin: 0;
  220. height:0;
  221. @include transition-simply-prefix(height 0.3s ease-out);
  222. &>div{
  223. padding: 5px; margin: 5px;
  224. background-color: #e6e6e6; @include rounded(5px); @include drop-shadow(0, 0, 5px, 0.2);
  225. }
  226. .form-item{margin: 0; @include pb(5px);}
  227. label,input{
  228. margin: 0;
  229. @include fs10;
  230. }
  231. // label{width:30%;}
  232. input.form-text{width:150px;}
  233. #edit-actions{
  234. margin: 5px 0; padding: 0; @include bgc(transparent); text-align: right;
  235. input.form-submit{
  236. @include fs12;
  237. padding: 10px;
  238. }
  239. }
  240. div.newpass a{
  241. @include fs12;
  242. color:#686868;
  243. }
  244. // div.register a{
  245. // display:block; padding: 10px 5px; background-color: #ccf718; font-weight:bold; text-align: center; .14;
  246. // }
  247. }
  248. html.no-touch &:hover, &.hovered{
  249. form#user-login-form{
  250. height:300px;
  251. &>div{
  252. }
  253. z-index:$header-z-index;
  254. }
  255. }
  256. @media #{$small-only}{
  257. span.login{display:none;}
  258. } //change this
  259. }
  260. #block-materio-flag-materio-flag-mylists-nav{
  261. position:relative;
  262. h2{
  263. margin: 0;
  264. @include fs12;
  265. line-height:1.1;}// @include fs700;
  266. // h2, section.mylists{@include inlineblock();}
  267. section.mylists{
  268. position:absolute; z-index:20; @include bgca(255, 255, 255, 0.9); min-width:100%; margin: 0 0 0 -5px;
  269. @include rounded(3px); @include drop-shadow(-2px, 2px, 5px, 0.2);
  270. .ie8 &{background:#FFF;}
  271. ul{margin: 0;}
  272. li{
  273. list-style: none;
  274. @include fs12; @include fs700;
  275. padding: 0 10px; text-align: left; width:200px;
  276. height:0; overflow:hidden; @include transition-simply-prefix(height 0.3s ease-out);
  277. // height:15px; padding: 3px 10px;
  278. a, span.preview{white-space:nowrap; cursor:pointer;}
  279. a.open-list{max-width:150px;}
  280. span.count{
  281. @include fs300;
  282. padding: 0 5px;}
  283. span.preview, a.edit-list{@include pr(5px);}
  284. .no-touch &:not(:hover) {
  285. span.preview, a.edit-list{@include op-hidden;}
  286. }
  287. }
  288. }
  289. &:hover{
  290. section.mylists{
  291. @include pb(5px);
  292. li{height:15px; padding: 3px 10px; }
  293. }
  294. }
  295. h2{
  296. i{ vertical-align: text-bottom; margin: 0 2px 2px 0;}
  297. @media #{$xlarge-up}{ i{display: none;} }
  298. @media #{$medium-only}{ span.menu-title{display:none;} } //change this
  299. }
  300. }
  301. #block-ajax-register-ajax-register-block{
  302. @include fs12;
  303. text-transform: lowercase;
  304. }
  305. #block-logintoboggan-logintoboggan-logged-in{
  306. @include fs12;
  307. i{
  308. vertical-align: text-bottom;
  309. margin: 0 2px 1px 0;
  310. }
  311. a span.account{text-transform: lowercase;}
  312. a span.logout{display:none; @include ml(5px); }
  313. .icon-off{margin: 0 0.5em 0 0.5em;}
  314. @media #{$large-only}{ .icon-off{display: none;} }
  315. @media #{$medium-up}{ a span.logout{display:none;} }
  316. @media #{$small-only}{a span.account{display:none;}} //change this
  317. }
  318. #headerblock-right{
  319. .block{
  320. @include inlineblock; vertical-align: middle; padding:0;
  321. &:first-child{padding: 0;}
  322. }
  323. }
  324. #block-locale-language{
  325. @include ml(1em);
  326. // border-left: 1px solid #707070;
  327. ul,li{
  328. margin:0;padding:0;list-style-type: none;
  329. @include fs12;
  330. line-height: 1;
  331. &.active{display:none;}
  332. }
  333. .ie8 &{padding-top:5px;}
  334. }
  335. // #block-menu-menu-about{
  336. // position:relative;
  337. // ul.menu{
  338. // position:absolute; padding: 0 5px 5px 5px; margin: 0; width:100px; display:none; right:0; text-align: right;
  339. // background-color: #e6e6e6; @include rounded(5px);
  340. // li{
  341. // height:0;
  342. // overflow:hidden; list-style-type: none;
  343. // .transition-simply-prefix(height 0.3s ease-out");
  344. // a{
  345. // display:block; width:100%; padding:2px 5px; .12;
  346. // }
  347. // }
  348. // }
  349. // &:hover{
  350. // ul.menu{
  351. // display:block;
  352. // li{height:25px;}
  353. // }
  354. // }
  355. // }
  356. #block-menu-menu-top-menu{
  357. h2{
  358. .ie8 &{display:none;}
  359. i{ vertical-align: text-bottom; margin: 0 0 2px 0;}
  360. }
  361. ul.menu, li{
  362. @include fs12;
  363. list-style: none;
  364. .ie8 &{display: inline;}
  365. }
  366. // menu en ligne
  367. @media #{$medium-up}{
  368. h2{display:none;}
  369. ul.menu, li{
  370. @include inlineblock; vertical-align: middle;
  371. padding: 0; margin: 0;
  372. }
  373. a{padding: 0 0.5em 0 0;}
  374. } //change this
  375. //menu deroulant
  376. @media #{$small-only}{
  377. position:relative;
  378. h2 .menu-title{display: none;}
  379. .menu-wrapper{
  380. position:absolute; width:150px; display:none; right:0; @include pt(5px);
  381. ul.menu{
  382. background-color: #e6e6e6;
  383. @include rounded(5px); padding: 0 5px 5px 5px; margin: 0; text-align: right;
  384. li{
  385. height:0;
  386. overflow:hidden;
  387. @include transition-simply-prefix(height 0.3s ease-out);
  388. a{
  389. display:block; width:100%; padding:2px 5px; @include fs12;
  390. }
  391. }
  392. }
  393. }
  394. html.no-touch &:hover, &.hovered{
  395. z-index:$header-z-index;
  396. .menu-wrapper{
  397. display:block;
  398. ul.menu{li{height:25px;}}
  399. }
  400. }
  401. } //change this
  402. }
  403. #block-materio-user-old-database-link{
  404. a{
  405. @include fs12;
  406. ;}
  407. }
  408. #block-materio-user-front-link{
  409. a{
  410. @include fs12;
  411. }
  412. i{ vertical-align: text-bottom; margin: 0 2px 2px 0;}
  413. span.text{ display:none; }
  414. }
  415. }
  416. }
  417. #utilities{
  418. margin-top:$headerouterheight;
  419. .not-logged-in &{ overflow:hidden; }
  420. &.closed{
  421. .tabs, .node-didactique{display:none;} height:0;
  422. }
  423. }
  424. #highlighted{
  425. @include rounded(5px);
  426. @include drop-shadow(0, 0, 6px, 0.6);
  427. padding: 0.5em;
  428. position:relative;
  429. @media #{$medium-up}{
  430. margin: 20px 0 6px;
  431. .block{ @include inlineblock; vertical-align: top; }
  432. .block-materio-didactique{
  433. width:65%;
  434. .side{
  435. @include inlineblock(); vertical-align: top;
  436. position:relative; //height:100%;
  437. }
  438. .group-sideleft{ width:65%; }
  439. .group-sideright{ width:30%; }
  440. .field-name-title-field{@include fs24;}
  441. // .field-name-field-visuel{}
  442. .node.emvideo{
  443. .group-sideleft, .group-sideright{ width:47%; }
  444. .group-sideleft{@include mr(2%);}
  445. // .field-name-field-visuel{display:none;}
  446. }
  447. }
  448. #block-materio-user-user-register{
  449. width:30%; padding:5px; height:290px;
  450. }
  451. }
  452. @media #{$small-up}{
  453. .block-materio-didactique{
  454. .side{@include inlineblock(); vertical-align: top;}
  455. }
  456. }
  457. @media #{$small-only}{
  458. margin:10px 0 6px;
  459. .block-materio-didactique{
  460. .group-sideleft, .group-sideright{ width:100%; }
  461. .field-name-title-field{@include fs20; cursor:pointer; }
  462. .node-didactique:not(:first-child){
  463. .field-name-title-field{ font-weight:normal; &:before{content:"- ";}}
  464. }
  465. html.js & .node-didactique{
  466. height:auto;
  467. height:25px; overflow: hidden;
  468. &.opened{height:auto;}
  469. }
  470. }
  471. }
  472. @media #{$small-only}{
  473. .block-materio-didactique{
  474. // .pt(150px);
  475. .group-sideleft{ width:50%; }
  476. .group-sideright{ width:50%; }
  477. }
  478. } //change this
  479. .oldie &{
  480. .block{@include inlineblock;}
  481. }
  482. .block-materio-didactique{
  483. // .ie8 &{max-width:850px; border: 1px solid #C6C6C6;}
  484. .node-didactique{
  485. @include fs14;
  486. @include bgc(#fff); //padding: 5px;
  487. margin: 0 auto;
  488. // .ie8 &{max-width:750px; margin-left:15px; margin-top:10px;}
  489. .side{position:relative;}
  490. .field-name-title-field{
  491. @include fs900;
  492. @include italic;
  493. padding:5px 0;
  494. }
  495. .field-name-field-visuel{
  496. text-align: center;
  497. figure, img{display:inline;}
  498. }
  499. &.emvideo{
  500. .field-name-field-visuel{display:none;}
  501. }
  502. // .field-name-field-emvideo{
  503. // a{
  504. // display:block; width:100%; height:100%;
  505. // background: transparent url(../img/vimeo-play-btn.png) no-repeat center center;
  506. // &:hover{background-image: url(../img/vimeo-play-btn-hover.png);}
  507. // img{max-width:100%;}
  508. .ie8 &{.player{display:none;}}
  509. // }
  510. // }
  511. }
  512. html.js &{
  513. position:relative;
  514. overflow: hidden;
  515. .slides{
  516. height:270px; margin: 0; position:relative; width:100%; overflow:hidden;
  517. .node-didactique{ @include layer(); }
  518. .field-name-title-field{ height:30px;}
  519. .group-column-wrapper{
  520. height:240px;
  521. .side{ height:100%; }
  522. .field-name-field-emvideo{
  523. $r:0.5625;
  524. @media #{$small-only} { $w:290px; width:$w; height:$w*$r; }
  525. @media #{$medium-only} { $w:216px; width:$w; height:$w*$r; }
  526. @media #{$large-only} { $w:216px; width:$w; height:$w*$r; }
  527. @media #{$xlarge-only} { $w:280px; width:$w; height:$w*$r; }
  528. @media #{$xxlarge-only} { $w:340px; width:$w; height:$w*$r; }//change this
  529. *{height:100%; width:100%;}
  530. }
  531. }
  532. }
  533. .tabs{
  534. height:30px; margin: 0; text-align:left;
  535. >*{
  536. @include inlineblock(); vertical-align: top ; padding:5px 10px; @include fs12; cursor:pointer; color:#bfbfbf;
  537. &:hover, &:focus, &.active{color:#3f3f3f;}
  538. }
  539. }
  540. }
  541. }
  542. }
  543. /** block register */
  544. #block-materio-user-user-register, #block-materio-user-user-createaccount{
  545. min-height:120px; padding: 5px;
  546. background: transparent url('../img/register-block.png') no-repeat 100% 90%;
  547. .ie8 &{max-width:250px; float:right; background-image:none;}
  548. h2, h3{@include fs900; @include italic; padding:5px 0; margin: 0; line-height: 1; @include bgc(#fff); @include inlineblock(); min-width:50%;}
  549. h2{@include fs24;} h3{@include fs16;}
  550. form{margin: 0; @include bgca(255, 255, 255, 0.7); @include pb(5px); @include inlineblock(); }
  551. .form-item, .form-wrapper{
  552. margin: 0; @include inlineblock; vertical-align: middle; position:relative;
  553. }
  554. #edit-account{@include mr(5px);}
  555. input.form-text{ @include fs12; @include rounded(5px); @include mb(4px);.ie8 &{margin-right:5px;}}
  556. .form-item-mail input.form-text, .form-item-name input.form-text{ width:11em;}
  557. .form-item-pass input.form-text{ width:7em;}
  558. #edit-mail-check{
  559. position:absolute; bottom:100%; z-index:9999; background-image: none;
  560. height:auto; //width:90%;
  561. padding: 5px; @include rounded(5px); @include mb(10px);
  562. @include fs11; background-color: #fff;
  563. @include drop-shadow(0, 0, 5px, 0.6);
  564. @include transition-simply-prefix(bottom 0.1s ease-out);
  565. &.error{
  566. background-color: #f3968d;
  567. // border: 2px solid #f30002;
  568. color:#fff;
  569. }
  570. &.ok{ display:none; }
  571. }
  572. .form-submit{
  573. //border: 2px solid #69CDCF; @include bgc(#69CDCF); color:#FF7400; // orange/bleu
  574. @include fs16; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  575. font-weight:bold;
  576. @include mb(4px);
  577. }
  578. .form-item-termsofservices, #edit-field-newsletter{
  579. @include mb(0); display:block; line-height: 1;
  580. &>*{ @include inlineblock; vertical-align: middle; margin: 0; }
  581. label{ @include fs10; background-color: #fff; @include rounded(3px); }
  582. }
  583. #user-register-form{
  584. .form-submit{
  585. border: 2px solid #69CDCF; @include bgc(#69CDCF); color:#fff; // blanc/bleu
  586. @include shadowTextBtnBlack();
  587. &[disabled]{
  588. @include bgc(#ddd); border: 2px solid #ddd;
  589. }
  590. }
  591. }
  592. #user-login{
  593. .form-submit{
  594. border: 2px solid #E6DE1C; @include bgc(#E6DE1C); color:#fff; // noire/jaune
  595. @include shadowTextBtnBlack();
  596. }
  597. }
  598. #edit-simplenews{
  599. @include pt(0.5em);
  600. .fieldset-description{
  601. @include fs12;
  602. }
  603. .form-checkboxes{
  604. .form-item{
  605. display:block;
  606. label{@include fs12;}
  607. }
  608. }
  609. }
  610. a.join{
  611. // @include inlineblock();
  612. display:block;
  613. // margin: 10px 0;
  614. width:5em;
  615. @include fs16; padding: 0.1em 0.3em 0.2em; @include rounded(0.3em);
  616. font-weight:bold;
  617. border: 2px solid #69CDCF; @include bgc(#69CDCF); color:#fff; // blanc/bleu
  618. @include shadowTextBtnBlack();
  619. text-align: center; text-decoration: none;
  620. }
  621. @media #{$small-only}{
  622. background-position: 160% 50%;
  623. .form-item-mail input.form-text, .form-item-name input.form-text{ width:7em;}
  624. }
  625. @media #{$small-only}{
  626. min-height:60px; padding: 15px 0;
  627. #user-login, >h3:first-child, >h3 span{ display:none; }
  628. }
  629. .message-error{
  630. color:#b94a48; @include fs12;
  631. }
  632. .modal-content &{
  633. padding: 0.5em 0.5em 5em 0.5em;
  634. width:400px;
  635. background-color: #fff;
  636. padding:5px;
  637. @include rounded(5px);
  638. #user-register-form{
  639. // hide honeypot field, because drupal.attachbehavior() doesn't work
  640. div.homepage-textfield{display:none;}
  641. .description{
  642. @include fs12;
  643. }
  644. }
  645. }
  646. }
  647. /** content-top */
  648. #content-top{
  649. // padding-left:50px;
  650. /** flag-list */
  651. #block-materio-flag-materio-flag-mybookmarks, #block-materio-flag-materio-flag-mylists{
  652. // padding:5px 0;
  653. @include fs10; color:#666666; @include fs300;
  654. .ie8 &{margin-top:40px;}
  655. h2{
  656. @include fs12; @include fs700; margin: 0; line-height:1.2; color:#000;
  657. a.open-list, i.icon-remove{
  658. @include inlineblock(); cursor:pointer; color:#000;
  659. @include opacity(0); @include transition-simply-prefix(opacity 0.1s ease-out);
  660. }
  661. }
  662. &:hover{
  663. a.open-list, i.icon-remove{
  664. @include opacity(1);
  665. }
  666. }
  667. span.listname[name=bookmarks]{
  668. cursor:pointer;
  669. }
  670. section.bookmarks{
  671. height:0; overflow:hidden;
  672. &.active{
  673. height:auto;
  674. }
  675. article.node.vm-bookmark{
  676. overflow:hidden;
  677. }
  678. }
  679. .mylists{
  680. // .transition-simply-prefix(height 0.3s ease-out);
  681. section{
  682. h2, .flaged{
  683. height:0; overflow: hidden;
  684. }
  685. &.active{
  686. h2, .flaged{
  687. height:auto;
  688. }
  689. }
  690. }
  691. }
  692. // .js & .mybookmarks{display:none;}
  693. }
  694. }
  695. #tool-bar{
  696. // margin-left:50px;
  697. position:relative;
  698. .inner-content{
  699. padding-top:10px; padding-bottom:10px;
  700. &>*{
  701. @include inlineblock();
  702. vertical-align: middle ;
  703. // height:35px;
  704. // margin: 5px;
  705. }
  706. @media #{$small-only}{
  707. padding:0; h1{line-height:0.5;}
  708. }
  709. }
  710. // text-align:right;
  711. // >*{ text-align: left ;}
  712. // .block{
  713. // .inlineblock();
  714. // margin:0 0 0 20px;
  715. // }
  716. .oldie &{@include bgc(#B1ADAD); padding:0 10px;}
  717. .btn-group{
  718. padding: 0; @include rounded(3px); @include bgc(#fff); margin:4px;
  719. @include shadowBtn();
  720. }
  721. #block-materio-page-title-materio-page-title{
  722. // .ie8 &{margin-top:40px;}
  723. margin: 0 10px 0 0;
  724. h1{ margin: 0;
  725. @include fs24; text-transform: capitalize; @include fs300; line-height:1;}
  726. i{ vertical-align: middle ; @include mr(5px);}
  727. i.icon-materio-folder{@include mb(2px);}
  728. a.edit-list{
  729. @include op-hidden;
  730. i{ margin: 0 0 0 5px;}
  731. }
  732. &:hover{
  733. a.edit-list{ @include op-visible; }
  734. }
  735. @media #{$medium-only}{
  736. display:block;
  737. }
  738. }
  739. #block-materio-search-api-materio-search-api-viewmode{
  740. .viewmode-link{
  741. @include inlineblock(); margin:0 2px;
  742. &.active{cursor:normal;}
  743. .inner{display:none;@include fs10; }
  744. }
  745. @media #{$medium-only}{
  746. .viewmode-link{ display:block; &:not(.active){display:none;} }
  747. }
  748. @media #{$small-only}{
  749. html.no-touch &:hover, &.hovered{ .viewmode-link.viewmode-cardsmall, .viewmode-link.viewmode-cardmedium{display:block;} }
  750. }
  751. @media #{$medium-only}{
  752. html.no-touch &:hover, &.hovered{ .viewmode-link.viewmode-cardsmall, .viewmode-link.viewmode-cardmedium, .viewmode-link.viewmode-cardbig{display:block;} }
  753. }
  754. }
  755. #block-materio-search-api-materio-search-api-search{
  756. // @include inlineblock(); vertical-align: middle ;
  757. // position:absolute; top:10px; right:0;
  758. float:right;
  759. >.inner{
  760. @include inlineblock(); margin:0 0 0 10px;
  761. padding: 3px 10px; @include bgc(#fff); @include rounded(3px);
  762. @include shadowBtn(); text-align: right;
  763. }
  764. }
  765. #materio-search-api-search-form{
  766. text-align: right;
  767. @include inlineblock(); margin: 0;
  768. .form-item, input, .form-checkboxes{@include inlineblock(); margin:0; vertical-align:middle; padding:0;}
  769. .form-checkboxes{
  770. padding: 3px; @include fs12;
  771. .form-item{
  772. margin:0 5px;
  773. label{@include fs10;}
  774. }
  775. }
  776. input#edit-searchfield{
  777. border: 1px, #ccc; @include rounded(20px);
  778. padding: 4px, 5px; height:15px;
  779. @include fs12; line-height:1;
  780. background-position: 100% 5px;
  781. &.throbbing { background-position: 100% -15px; }
  782. }
  783. #edit-searchfield-autocomplete-aria-live{
  784. .oldie &{
  785. @include bgc(#1a1a1a);
  786. }
  787. };
  788. input#edit-create{ padding: 3px; }
  789. &.loading{
  790. background: transparent url('../img/ajax-loader.gif') no-repeat 98% center;
  791. input#edit-create{ visibility: hidden; }
  792. }
  793. @media #{$small-only}{
  794. input#edit-searchfield{width:16em;}
  795. #edit-bundles-filter{display:none;}
  796. }
  797. }
  798. }
  799. #center{
  800. background-color: #e6e6e6; @include rounded(10px);
  801. .node-type-page &{ @include bgc(#fff); }
  802. .ie8 &{height:100%; margin-top:20px;}
  803. }
  804. #content{
  805. // background-color: #f3f3f3;
  806. // @include rounded(5px);
  807. @include transition-simply-prefix(height 0.3s ease-out);
  808. &.faded{
  809. @include opacity(0.5);
  810. @include transition-simply-prefix(opacity 0.3s ease-out);
  811. }
  812. .materiobase-results, .materiobase-actuality, .materio-flags-list{
  813. padding:0 0 30px 0; margin:0 0 20px 0;
  814. &.loading{
  815. background-image: url('../img/ajax-loader.gif');
  816. background-position: center bottom;
  817. background-repeat: no-repeat;
  818. }
  819. p.search-performance, p.flaglist-infos, p.actualities-infos{
  820. @include fs12; @include fs500; margin: 0;
  821. padding:10px 0 5px 15px;
  822. }
  823. // p.search-performance{.role-7 & {@include fs12;}}
  824. .search-results, .actuality-items, .flaglist-items{
  825. font-size:0;
  826. >*{font-size:16px;}
  827. text-align:center;
  828. >*{text-align:left;}
  829. }
  830. }
  831. ul.pager{
  832. padding: 1em 0; text-align: left;
  833. .ie8 &{position:absolute; left:37px; bottom: 35px;}
  834. li{margin:0; @include inlineblock(); vertical-align: middle;}
  835. .pager-current, a{color:#000;@include fs12; }
  836. .pager-current{@include fs900; @include fs14;.ie8 &{background:#fff; padding:0.3em 1em 0.3em 1em; margin-top:0.05em; border: 1px solid #333333;}}
  837. .pager-first, .pager-previous, .pager-next, .pager-last{ a{ @include fs24; @include fs300; } }
  838. // html.js & {display:none;}
  839. }
  840. .node-type-page &{
  841. // @include pl(15px);
  842. }
  843. }
  844. /** #content-bottom */
  845. #content-bottom{
  846. @include pt(10px);
  847. }
  848. /** CARDS */
  849. $cardbookmark_w:50px;
  850. $cardbookmark_h:70px;
  851. $cardsmall_w:100px;
  852. $cardsmall_h:140px;
  853. $cardmedium_w:210px;
  854. $cardmedium_h:295px;
  855. $cardbig_w:425px;
  856. $cardbig_h:610px;
  857. $cardfull_w:850px;
  858. $cardfull_h:610px;
  859. @mixin card-box($w, $h){
  860. width:$w; height:$h;
  861. @include inlineblock(); position:relative; margin:7px;
  862. //z-index:10; // pourquoi ce z-index ?
  863. @include rounded(5px); background-color: #FFF;
  864. @include drop-shadow(0, 0, 5px, 0.2);
  865. @include transition-simply-prefix(box-shadow 0.3s ease-out); // opacity 0.3s ease-out); //change this commas
  866. }
  867. @mixin card($w, $h){
  868. @include card-box($w, $h);
  869. >div.side{
  870. @include rounded(5px); overflow: hidden;
  871. }
  872. // .no-touch &:hover{ @include drop-shadow(0, 0, 5px, 0.7); }
  873. &.focused{ @include drop-shadow(0, 0, 7px, 0.9); }
  874. &.just-added{ @include opacity(0); }
  875. &.associated{
  876. @include transition-simply-prefix(margin 0.3s ease-out);
  877. &.just-added{margin-left:-$w;margin-right:$w;}
  878. .modal-content &{
  879. position:absolute;
  880. top:0; left:0;
  881. z-index:999;
  882. }
  883. }
  884. &.removed{
  885. @include transition-simply-prefix(width 0.3s ease-out);
  886. width:0; @include pl(0); @include pr(0); @include mr(0); @include ml(0); overflow:hidden;
  887. }
  888. // TODO: how to show that a card was flaged ?
  889. // .search-results &.flaged, .actuality-items &.flaged{
  890. // border: 2px solid rgba(0,0,0, 0.3); margin: 3px;
  891. // @include drop-shadow(0, 0, 3px, 0.6);
  892. // }
  893. nav.nav{
  894. position:absolute; top:0; right:0; z-index:11;
  895. padding: 5px 0;
  896. @include border-radius(0, 5px, 0, 3px);
  897. @include fs11;
  898. // colors
  899. // @include bgca(10, 10, 10, 0.9); color:#fff;
  900. // a{color:#fff;}
  901. //ul{@include bgca(10, 10, 10, 0.9);}
  902. @include bgca(255, 255, 255, 0.9); color:#000;
  903. a{color:#000;}
  904. ul{@include bgca(255, 255, 255, 0.9);}
  905. span.op{@include fs900; @include fs14;}
  906. ul{padding: 0; margin: 0;}
  907. section{
  908. position:relative;
  909. &>i{margin: 0 5px; &:hover{cursor:pointer;}}
  910. }
  911. ul{
  912. position:absolute; right:0; top:0; @include mr(22px); min-width:80px; padding: 0; display:block;
  913. @include rounded(3px); @include drop-shadow(-2px, 2px, 5px, 0.2);
  914. // padding: 5px 10px;
  915. li{
  916. padding: 0; margin: 0; line-height:1; display:block;
  917. height:0; overflow:hidden; @include transition-simply-prefix(height 0.2s ease-out);
  918. // height:15px; overflow:hidden;
  919. a{ display:block;}
  920. }
  921. &.flag-lists-entity-links{
  922. width:160px;
  923. font-size:0;
  924. >*{font-size:11px;}
  925. // &.loading{
  926. // a{visibility: hidden;}
  927. // background: transparent url('../img/ajax-loader.gif') no-repeat 98% center;
  928. // }
  929. li{
  930. @include inlineblock(); min-width:48%; max-width:98%; @include pl(2px);
  931. a{
  932. color:#a6a6a6; @include transition-simply-prefix(color 0.2s ease-out);
  933. &:hover, &.unflag-action{
  934. color:#000; text-decoration: none;
  935. }
  936. }
  937. &.flag-lists-create{
  938. display:block; width:100%;
  939. >*{ @include mt(1px); @include pt(1px); border-top:1px solid #e6e6e6;}
  940. a{color:#000;}
  941. }
  942. &.loading{
  943. a{visibility: hidden;}
  944. background: transparent url('../img/ajax-loader.gif') no-repeat 98% center;
  945. }
  946. }
  947. }
  948. .ie8 &{background:#FFF;}
  949. }
  950. section:hover{
  951. ul{
  952. padding: 5px 5px;
  953. li{height:17px;}
  954. &.flag-lists-entity-links{
  955. // width:160px;
  956. }
  957. }
  958. }
  959. // display:none;
  960. }
  961. // &:hover{nav.nav{display:block;}}
  962. div.workflow{
  963. position:absolute; top:0; left:0; z-index:11;
  964. padding: 5px;
  965. @include border-radius(5px, 0, 3px, 0);
  966. @include fs11; vertical-align: top;
  967. @include bgca(255, 255, 255, 0.9); color:#000;
  968. span{padding: 3px 0 0 4px; @include inlineblock();}
  969. }
  970. .field-name-field-description .upgrade{
  971. @include fs12;
  972. @include pt(4em);@include mt(-4.5em);
  973. // .bgc(rgba(255,255,255,0.6));
  974. background : linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 4em);
  975. position:relative;
  976. }
  977. .side.oops p, .side .upgrade p{
  978. padding: 10px; @include fs12;
  979. a{
  980. display:block; margin: 10px 0;
  981. @include fs18; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  982. font-weight:bold;
  983. border: 2px solid #69CDCF; @include bgc(#69CDCF); color:#fff; // blanc/bleu
  984. @include shadowTextBtnBlack();
  985. text-align: center; text-decoration: none;
  986. }
  987. }
  988. }// .card()
  989. /** card search performance */
  990. article.search-performance{
  991. .inner{
  992. padding: 1em;
  993. }
  994. p{@include fs14;}
  995. a.button{
  996. display:block; margin: 10px auto; max-width:10em;
  997. @include fs18; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  998. font-weight:bold;
  999. border: 2px solid #69CDCF; @include bgc(#69CDCF); color:#fff; // blanc/bleu
  1000. @include shadowTextBtnBlack();
  1001. text-align: center; text-decoration: none;
  1002. }
  1003. &.view-mode-cardsmall{
  1004. @include card-box(327px, 140px);
  1005. }
  1006. &.view-mode-cardmedium{
  1007. @include card-box(210px, 295px);
  1008. .inner{
  1009. padding: 4em 1em 0;
  1010. }
  1011. }
  1012. &.view-mode-cardbig{
  1013. @include card-box(425px, 115px);
  1014. display:block; margin:0 auto;
  1015. }
  1016. &.view-mode-cardfull{
  1017. @include card-box(850px, 115px);
  1018. .inner{
  1019. padding: 1em 212px;
  1020. }
  1021. display:block; margin:0 auto;
  1022. }
  1023. }
  1024. /** CARD BOOKMARKS */
  1025. article.node-materiau.vm-bookmark, article.node-breve.vm-bookmark{
  1026. @include card($cardbookmark_w, $cardbookmark_h);
  1027. margin:3px;
  1028. .group-header{
  1029. display:none;
  1030. }
  1031. .group-images{ @include horihoverswitch(); }
  1032. // nav.nav{top:0;}
  1033. div.workflow{display:none;}
  1034. }
  1035. /** CARD SMALL */
  1036. article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall{
  1037. @include card($cardsmall_w, $cardsmall_h); //width:100px; height:140px;
  1038. .group-header{
  1039. display:none; position:absolute;
  1040. @include fs14; @include fs500;
  1041. .field-name-title-field{@include fs700;}
  1042. .field-name-field-reference-materio, .field-name-field-localisation{ @include inlineblock(); @include fs12; }
  1043. .field-name-field-localisation{ float:right; }
  1044. }
  1045. .group-images{ @include horihoverswitch(); @include rounded(5px); overflow:hidden; }
  1046. nav.nav{
  1047. ul.flag-lists-entity-links{
  1048. width:75px; min-width:75px;
  1049. li{width:98%;}
  1050. }
  1051. .ie8 &{background: #FFF}
  1052. }
  1053. .no-touch &:not(.focused) nav.nav{@include op-hidden;}
  1054. .no-touch &:not(.focused) div.workflow{@include op-hidden;}
  1055. }
  1056. /** TOOLTIP SMALL CARD */
  1057. #tooltip{
  1058. .group-header.smallcard{
  1059. @include fs14; @include fs500;
  1060. .field-name-title-field{@include fs700;}
  1061. .field-name-field-reference-materio, .field-name-field-localisation{ @include inlineblock(); @include fs12; }
  1062. .field-name-field-localisation{ float:right; }
  1063. }
  1064. }
  1065. /** CARD MEDIUM */
  1066. article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium{
  1067. @include card($cardmedium_w, $cardmedium_h); //width:210px; height:295px;
  1068. .side{
  1069. @include layer(); @include bgc(#fff); cursor:pointer;
  1070. &:nth-child(2){z-index:1;}
  1071. }
  1072. .group-header{
  1073. position:absolute; bottom:0; z-index:2;
  1074. width:190px; padding:5px 15px 5px 5px; min-height:55px;
  1075. @include fs20; @include fs300; line-height:1;
  1076. .field-name-title-field{@include fs700;}
  1077. .field-name-field-nature-titre{@include fs14;}
  1078. @include bgcWhite();
  1079. @include border-radius(0, 0, 4px, 4px); overflow: hidden;
  1080. .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on{ @include inlineblock(); @include fs12; vertical-align: bottom; width:48%;}
  1081. .field-name-field-localisation{ text-align: right; }
  1082. .ie8 &{background:#fff; font-color:#000; line-height: 1em; padding: 10px;}
  1083. }
  1084. &.node-breve .group-header{
  1085. // @include fs20; @include fs300; line-height:1.1;
  1086. color:#fff; @include bgcBlack();
  1087. .field-name-field-authored-on{ @include fs12; @include fs500; }
  1088. .ie8 &{background:#000; font-size:15px; line-height: 1.2em;}
  1089. }
  1090. // &:hover .group-header{
  1091. // .bgcWhiteParentHover();
  1092. // }
  1093. .group-images{ @include horihoverswitch(); }
  1094. // side 2
  1095. .field-name-field-description, .field-name-body{
  1096. @include fs12; @include fs300; overflow: hidden; z-index:-1; @include columnized(5px);
  1097. .column>*{@include pr(25px);}
  1098. }
  1099. // side 3
  1100. .column-wrapper{
  1101. @include columnized(5px);
  1102. }
  1103. .field-name-field-company-fab, .field-name-field-company-distrib{
  1104. @include fs12; padding:5px; @include fs300;
  1105. .field-label{ @include fs10; text-transform: lowercase; margin:0;}
  1106. .field-name-field-tode-company{@include fs14;}
  1107. // span.print-link{display:none;}
  1108. }
  1109. .field-name-field-materiau-ref, .field-name-field-source, .field-name-field-attachments{
  1110. @include fs12; padding: 5px; @include fs300; a{color:#000;}
  1111. }
  1112. .field-label{@include fs900; margin: 1em 0 0.5em;}
  1113. // nav
  1114. .no-touch &:not(.focused) nav.nav{@include op-hidden;}
  1115. .no-touch &:not(.focused) div.workflow{@include op-hidden;}
  1116. .ie8 &{nav.nav{background: #FFF}}
  1117. }
  1118. /** CARD BIG */
  1119. article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig{
  1120. @include card($cardbig_w, $cardbig_h); //width:425px; height:610px;
  1121. .side{
  1122. @include layer(); @include bgc(#fff); height:270px; top:340px; cursor:pointer;
  1123. &:nth-child(2){z-index:1;}
  1124. }
  1125. .group-side1{position:relative; @include border-radius(5px, 5px, 0, 0); overflow:hidden;}
  1126. .group-header{
  1127. position:absolute; bottom:0; z-index:2;
  1128. width:405px; padding:10px;
  1129. @include fs20; @include fs300; line-height: 1.1;
  1130. .field-name-title-field{@include fs700;}
  1131. .field-name-field-nature-titre{@include fs14;}
  1132. @include bgcWhite();
  1133. .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on { @include inlineblock(); @include fs12; vertical-align: bottom; width:48%;}
  1134. .field-name-field-localisation{ text-align: right; }
  1135. .ie8 &{background:#fff; font-color:#000; line-height: 1em; padding: 20px; border-bottom: 1px solid #C6C6C6;}
  1136. }
  1137. // &:hover .group-header{ .bgcWhiteParentHover(); }
  1138. &.node-breve .group-header{
  1139. color:#fff; @include bgcBlack();
  1140. .field-name-field-authored-on{ @include fs12; @include fs500; }
  1141. .ie8 &{background:#000; font-color:#fff; line-height: 1em; padding: 20px;}
  1142. }
  1143. .group-images{ @include horihoverswitch(); height:auto;}
  1144. // side 2
  1145. .field-name-field-description, .field-name-body{
  1146. @include fs12; @include fs300; @include columnized(10px);
  1147. }
  1148. // side 3
  1149. .column-wrapper{
  1150. @include columnized(10px);
  1151. }
  1152. // side 4
  1153. .field-name-field-company-fab, .field-name-field-company-distrib{
  1154. @include fs12; padding:10px; @include fs300;
  1155. .field-label{ @include fs10; text-transform: lowercase; float: none; }
  1156. .field-name-field-tode-company{@include fs14;}
  1157. }
  1158. .field-name-field-materiau-ref, .field-name-field-source, .field-name-field-attachments{
  1159. @include fs12; padding: 10px; @include fs300; a{color:#000;}
  1160. }
  1161. .field-label{@include fs900; margin: 0 0 0.5em;}
  1162. // nav
  1163. // nav.nav{ margin: 5px; }
  1164. .ie8 &{nav.nav{background: #FFF}}
  1165. // upgarde and full
  1166. .side.oops p, .side .upgrade p{
  1167. padding: 3em;
  1168. a{
  1169. border: 2px solid #eee; @include bgc(#eee); color:#fff;
  1170. @include transition-simply-prefix(border 0.3s ease-out);
  1171. @include transition-simply-prefix(background-color 0.3s ease-out);
  1172. }
  1173. }
  1174. &:hover .side.oops p, &:hover .side .upgrade p{
  1175. a{
  1176. border: 2px solid #69CDCF; @include bgc(#69CDCF);
  1177. }
  1178. }
  1179. }
  1180. /** CARD FULL */
  1181. article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull{
  1182. @include card($cardfull_w, $cardfull_h); //width:875px; height:610px;
  1183. nav.nav{top:0;}
  1184. font-size:0px;
  1185. >*{@include fs16;}
  1186. >.side{@include inlineblock(); width:50%;
  1187. &.group-side-left{
  1188. @include border-radius(5px, 0, 0, 5px);
  1189. }
  1190. &.group-side-right{
  1191. @include border-radius(0, 5px, 5px, 0);
  1192. }
  1193. }
  1194. .group-images{ @include horihoverswitch(); }
  1195. .group-header{
  1196. @include fs20; @include fs300; padding:10px;
  1197. .field-name-title-field{@include fs700;}
  1198. .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on{ @include inlineblock(); @include fs12; @include pr(15px);}
  1199. // .field-name-field-localisation{ float:right; }
  1200. }
  1201. &.node-breve .group-header{
  1202. color:#fff; @include bgcBlack();
  1203. .field-name-field-authored-on{ @include fs500; }
  1204. }
  1205. .field-name-field-description, .field-name-body{
  1206. @include fs12; @include fs300; padding: 10px;
  1207. }
  1208. .field-name-field-attachments{
  1209. padding: 10px;
  1210. @include fs12;
  1211. }
  1212. // side 4
  1213. .field-name-field-company-fab, .field-name-field-company-distrib{
  1214. @include fs12; padding:10px; @include fs300;
  1215. @include inlineblock(); width:40%;
  1216. .field-item{@include mt(1em);}
  1217. .field-label{ @include fs10; text-transform: lowercase; float: none; }
  1218. .field-name-field-tode-company{@include fs14;}
  1219. }
  1220. .field-name-field-materiau-ref, .field-name-field-source, .field-name-field-attachments{
  1221. @include fs12; padding: 10px; @include fs300; a{color:#000;}
  1222. }
  1223. .field-label{@include fs900; margin: 0 0 0.5em;}
  1224. // nav
  1225. nav.nav{ margin: 5px; }
  1226. div.workflow{ margin: 5px; }
  1227. // upgarde and full
  1228. .side.oops p, .side .upgrade p{
  1229. padding: 3em;
  1230. a{
  1231. border: 2px solid #eee; @include bgc(#eee); color:#fff;
  1232. @include transition-simply-prefix(border 0.3s ease-out);
  1233. @include transition-simply-prefix(background-color 0.3s ease-out);
  1234. }
  1235. }
  1236. &:hover .side.oops p, &:hover .side .upgrade p{
  1237. a{
  1238. border: 2px solid #69CDCF; @include bgc(#69CDCF);
  1239. }
  1240. }
  1241. }
  1242. @import "misc.scss";
  1243. /** AUTOCOMPLETE */
  1244. #autocomplete{
  1245. border: 0; @include rounded(3px);
  1246. @include bgca(0,0,0,0.6);
  1247. text-align: left;
  1248. margin-left: 2px;
  1249. .oldie &{@include bgc(#545454);}
  1250. li{
  1251. color:#FFF; background-color: transparent;
  1252. &.selected{@include bgca(0,0,0,0.8);}
  1253. div{padding:0.1em 5px;} @include fs12;
  1254. }
  1255. }
  1256. /**
  1257. * the old modal api (balck bg) for contextual forms (create new flag list)
  1258. */
  1259. @mixin mat_modal(){
  1260. background-color: rgba(0,0,0,0.7);
  1261. @include rounded(5px); border: 0;
  1262. *{color:#fff; @include bgc(transparent);}
  1263. @include fs12;
  1264. form{
  1265. @include bgc(transparent); color:#fff; border: 0px;
  1266. .form-actions{
  1267. @include bgc(transparent); margin: 0; padding: 0; border: 0;
  1268. }
  1269. input.form-text, textarea, div.grippie{@include bgc(#fff); color:#000; border: 0;}
  1270. .form-actions{ text-align: right ;}
  1271. input.form-submit{
  1272. @include button;
  1273. //@include btn-mini; color:#000; //change this btn bootstrap -> foundation
  1274. &[name="create"]{
  1275. // @include btn-info; change this
  1276. }
  1277. }
  1278. }
  1279. }
  1280. #modal{
  1281. @include mat_modal();
  1282. >*{padding: 10px;}
  1283. .form-item-flag-lists-name{
  1284. // label, input{.inlineblock();}
  1285. // label{width:38%;}
  1286. input{width:95%;}
  1287. }
  1288. .actions{
  1289. text-align: right;
  1290. }
  1291. }
  1292. /**
  1293. * the new modal api used for preview and register modal
  1294. */
  1295. .modal-wrapper {
  1296. &:before {
  1297. content: "";
  1298. display: inline-block;
  1299. height: 100%;
  1300. margin-right: -0.25em;
  1301. vertical-align: middle;
  1302. }
  1303. &:after, &:before {
  1304. -moz-box-sizing: border-box;
  1305. }
  1306. // background-color: rgba(0, 0, 0, 0.4);
  1307. bottom: 0;
  1308. // display: none;
  1309. left: 0;
  1310. position: fixed;
  1311. right: 0;
  1312. text-align: center;
  1313. top: 0;
  1314. white-space: nowrap;
  1315. z-index: 99998;
  1316. .modal-bg{
  1317. background-color: #000;
  1318. position:absolute;
  1319. top:0; left:0;
  1320. width:100%; height:100%;
  1321. @include opacity(0.5);
  1322. }
  1323. .modal-content{
  1324. position:relative;
  1325. display: inline-block;
  1326. margin: 0 auto;
  1327. text-align: left;
  1328. vertical-align: middle;
  1329. white-space: normal;
  1330. // width: 400px;
  1331. min-height:200px;
  1332. // background-color: #fff;
  1333. }
  1334. }
  1335. /** MODALCONTENT */
  1336. // deprecated ??
  1337. // #modalContent{
  1338. // @include mat_modal();
  1339. // .ctools-modal-content{
  1340. // border: 0; @include bgc(transparent); color:#fff;
  1341. // .modal-header{
  1342. // @include bgc(transparent); border: 0;
  1343. // #modal-title{
  1344. // padding: 5px, 0;
  1345. // }
  1346. // a.close{
  1347. // width:10px;height:10px;
  1348. // // TODO: setup the sprite
  1349. // background-image: url('../img/close.png');
  1350. // img{display:none}
  1351. // }
  1352. // }
  1353. // .modal-content{
  1354. // .form-item{
  1355. // label, input{
  1356. // @include inlineblock(); vertical-align: middle;
  1357. // }
  1358. // label{width:35%;}
  1359. // input.form-text{width:60%;}
  1360. // div.description{text-align: right ;}
  1361. // }
  1362. // // .form-actions{
  1363. // // @include bgc(transparent); margin: 0; padding: 0; border: 0;
  1364. // // }
  1365. // }
  1366. // .ajax-register-links-wrapper{
  1367. // .ajax-register-links{
  1368. // .btn-group;
  1369. // li a{.b(0); @include fs10; .btn; .btn-mini; .btn-inverse;}
  1370. // }
  1371. // }
  1372. // }
  1373. // }
  1374. /** JSCROLLPAN */
  1375. .jspContainer{
  1376. .jspVerticalBar{
  1377. background-color: transparent;
  1378. width:5px; //margin-right:-5px;
  1379. .jspTrack{
  1380. background-color: transparent;
  1381. .jspDrag{
  1382. background-color: #ccc;
  1383. @include rounded(3px);
  1384. }
  1385. }
  1386. }
  1387. }
  1388. /** TOOLTIP */
  1389. #tooltip{
  1390. position:absolute; z-index:999; max-width:180px; background-color: rgba(255, 255, 255, 1); padding: 5px; @include rounded(3px);
  1391. @include fs12; @include fs500;
  1392. @include drop-shadow(0, 0, 5px, 0.4);
  1393. &.op-visible{
  1394. @include transition-simply-prefix(opacity 0.1s ease-out); // top 0.1s linear); // left 0.1s linear,
  1395. // change this transition foundation
  1396. }
  1397. }
  1398. /** FEEDBACK */
  1399. #block-feedback-form{
  1400. @media #{$medium-only}{ bottom:5px; left:5px; right:auto; }
  1401. h2{
  1402. line-height:1.2; @include fs14; margin: 0;
  1403. .title{display:none;}
  1404. }
  1405. #feedback-form-toggle{
  1406. padding: 2px 3px; @include rounded(3px); @include bgc(#ff7600); color:#fff;
  1407. line-height:2; @include fs900;
  1408. }
  1409. .content{
  1410. @include mat_modal();
  1411. .ie8 &{background:#000;}
  1412. }
  1413. #feedback-status-message{@include bgc(#fff); padding: 5px;}
  1414. }
  1415. /** TASK / TABS **/
  1416. @mixin tabs-primary(){
  1417. a{
  1418. @include fs12;
  1419. padding: 5px 10px;
  1420. @include bgc(#e6e6e6);
  1421. &.active, &:hover{@include bgc(#e6e6e6);}
  1422. @include rounded(3px);
  1423. }
  1424. }
  1425. @mixin tabs-secondary(){
  1426. @include fs10;
  1427. padding: 0.5em 1em;
  1428. }
  1429. #tasks{
  1430. ul.tabs{
  1431. @include inlineblock();
  1432. border:0 solid #fff;
  1433. padding: 0; margin: 0;
  1434. li{padding: 0; margin: 2px 5px; border:0 solid #fff;}
  1435. a{
  1436. border:0; color:#7f7f7f;
  1437. &.active, &:hover{font-weight: 900; color:#000;}
  1438. }
  1439. &.primary{
  1440. @include tabs-primary();
  1441. }
  1442. &.secondary{
  1443. @include tabs-secondary();
  1444. }
  1445. }
  1446. }
  1447. /** STATICS */
  1448. /** user */
  1449. .page-user, .page-user-edit, .page-user-password, .page-user-reset, .page-toboggan{
  1450. #main{ background: #fff url('../img/user-page-bg.gif') no-repeat bottom right; }
  1451. .messages{ width:800px; margin:0 auto; }
  1452. &.role-6 #tasks .tabs.primary{display:none;}
  1453. &.role-6 #tasks .tabs.secondary{@include tabs-primary();}
  1454. #content .inner-content >*{
  1455. width:800px; margin:0 auto; @include pt(1em); @include fs14;
  1456. fieldset{
  1457. margin-bottom:1em;
  1458. }
  1459. legend{
  1460. @include fs16; margin:0; padding:10px 0 5px 0; line-height:1; border:0 solid #fff;
  1461. a{color:#000;}
  1462. }
  1463. .form-item{
  1464. margin:0 0 0.5em 0; width:100%;
  1465. label, input.form-text{
  1466. @include inlineblock(); vertical-align:middle;
  1467. }
  1468. label{margin-right:1em; min-width:6em;}
  1469. input.form-text{
  1470. padding:2px 4px;
  1471. }
  1472. }
  1473. .form-wrapper{
  1474. &>.form-item{margin:0 0 2em 0;}
  1475. }
  1476. .form-type-password-confirm, .form-type-new-password-confirm{
  1477. label{width:9em;}
  1478. .password-parent{width:auto;}
  1479. .password-strength, .password-confirm{
  1480. width:15em; margin-top:0;
  1481. }
  1482. }
  1483. .form-type-checkbox{
  1484. input{margin:0;}
  1485. label{@include fs14; margin:0;}
  1486. }
  1487. #edit-language{
  1488. .form-item{
  1489. @include inlineblock(); width:auto; margin-right:1em;
  1490. input, label{margin:0;}
  1491. }
  1492. }
  1493. select.form-select{
  1494. width:auto; padding:2px 4px; height:auto;
  1495. }
  1496. div.description{
  1497. @include fs11;
  1498. }
  1499. div.form-actions{
  1500. margin: 0; text-align:right; padding: 1em 0.5em;
  1501. }
  1502. // input#edit-submit{@include btn; @include btn-success;} //change this btn foundation
  1503. /* #user-profile-form */
  1504. #edit-profile-adherent-field-first-name, #edit-profile-adherent-field-name,
  1505. #edit-profile-adherent-field-private-quality, #edit-profile-adherent-field-service, #edit-profile-adherent-field-employee,
  1506. #edit-profile-adherent-field-naf, #edit-profile-adherent-field-siret{
  1507. @include inlineblock(); vertical-align:middle; width:auto; margin: 0 1em 0.5em 0;
  1508. div{width:auto; margin: 0; padding: 0;}
  1509. // label{margin: 0 0.5em 0 0;}
  1510. }
  1511. #edit-profile-adherent-field-name, #edit-profile-adherent-field-service,
  1512. #edit-profile-adherent-field-naf, #edit-profile-adherent-field-siret, .form-item-profile-adherent-field-adresse-und-0-locality{
  1513. label{min-width:auto;}
  1514. }
  1515. #edit-profile-adherent-field-siret{input{width:8em;}}
  1516. #edit-profile-adherent-field-naf{input{width:13em;}}
  1517. #edit-profile-adherent-field-organization{ margin: 2em 0 0 0; input{width:35em;} }
  1518. #edit-profile-adherent-field-employee{
  1519. input{width:4em;}
  1520. }
  1521. #edit-profile-adherent-field-private-phone{
  1522. .form-phone-number{
  1523. @include inlineblock(); vertical-align:middle;
  1524. }
  1525. }
  1526. #edit-profile-adherent-field-adresse{
  1527. .street-block{
  1528. input{ width:35em;}
  1529. }
  1530. .locality-block{
  1531. .form-item{width:auto; @include mr(1em);}
  1532. }
  1533. }
  1534. #edit-profile-adherent-field-user-website{
  1535. margin: 2em 0 0 0;
  1536. .form-item>*{@include inlineblock(); vertical-align: middle; }
  1537. input{width:35em}
  1538. }
  1539. &.profile{
  1540. h3{border:0 solid transparent;}
  1541. .field-label{display:inline;}
  1542. }
  1543. }
  1544. } // user
  1545. /** SIMPLENEWS */
  1546. body.node-type-simplenews{
  1547. #content{
  1548. .inner-content{
  1549. text-align:center;
  1550. }
  1551. article.node.node-simplenews{
  1552. @include inlineblock();
  1553. max-width:600px;
  1554. padding:1em 0;
  1555. tbody{
  1556. border-top:0px;
  1557. }
  1558. }
  1559. }
  1560. }
  1561. /** PAGE CONTACT */
  1562. .page-node-11175{
  1563. #main{
  1564. // @include bgc(#fff);
  1565. background: #fff url('../img/bg-contact.gif') no-repeat bottom right;
  1566. .field-name-body p{
  1567. @include inlineblock; margin: 15px;
  1568. strong{@include fs18;}
  1569. }
  1570. }
  1571. } // contact
  1572. /** PRICING */
  1573. body.page-node-11187{
  1574. // #center{ background-color: #fff; }
  1575. @media #{$medium-up}{
  1576. .node-11187{
  1577. .field-name-body{
  1578. div.column, div.column-demi, div.column-full, div.column-auto{
  1579. @include inlineblock; margin: 10px;
  1580. }
  1581. div.column{
  1582. width:22.4%;
  1583. ul.list-text{ min-height:170px;}
  1584. }
  1585. div.column-demi{
  1586. width:46%;
  1587. ul.list-text{ min-height:110px;}
  1588. }
  1589. div.column-full{
  1590. width:92%;
  1591. // ul.list-text{ min-height:110px;}
  1592. }
  1593. div.column-auto{
  1594. width:auto;
  1595. max-width: 98%;
  1596. }
  1597. }
  1598. }
  1599. #block-materio-user-user-register{
  1600. width:600px; margin: 0 auto;
  1601. }
  1602. }
  1603. @media #{$small-only}{
  1604. // #block-materio-user-user-register{ padding: 25px 0 0 0; #user-login, >h3:first-child, h3 >span{display:block;}}
  1605. #block-system-help{text-align: center;}
  1606. }
  1607. .node-11187{
  1608. .field-name-body{
  1609. text-align:center;
  1610. >*{text-align:left;}
  1611. div.column, div.column-demi, div.column-full, div.column-auto{
  1612. position:relative;
  1613. @include rounded(5px); @include drop-shadow(0, 0, 6px, 0.5);
  1614. .ie8 &{max-width:500px; margin:auto; margin-bottom:15px; border:1px solid #C6C6C6;}
  1615. overflow:hidden;
  1616. &>*{ padding: 0 10px;}
  1617. img{float:left; padding: 0; }
  1618. h2{ text-align: left; margin: 5px 0 0; }
  1619. .subtitle{
  1620. padding: 0 0 0 1em;
  1621. @include fs18; @include italic; @include bold; line-height:1;
  1622. }
  1623. ul{margin: 0; padding: 0 15px;}
  1624. li{
  1625. list-style: none; @include fs12;
  1626. &:before{
  1627. content:"+ ";
  1628. @include fs900;
  1629. }
  1630. }
  1631. .get-link{
  1632. margin: 0; @include border-radius(0 0 5px 5px); border: 1px solid #fff; min-height: 92px;
  1633. a{ display:block; width:100%; padding: 15px 0; color:#1A1A1A; text-decoration: none; }
  1634. }
  1635. &.gratos{ .get-link{background-color: #4BA13D; } }
  1636. &.flocon{ .get-link{ background-color: #69CDCF; } }
  1637. &.etoile { .get-link{ background-color: #D476AE; } }
  1638. &.cinqetoiles { .get-link{ background-color: #E6DE1C; } }
  1639. // &.ecole-de-neige { .list-neige{min-height:80px;} }
  1640. } // end div.column div.column-demi
  1641. div.column{
  1642. h2{ padding:10px 0 0; @include fs24; }
  1643. .subtitle{ min-height:3em; }
  1644. .get-link{
  1645. padding: 0;
  1646. @include fs28; text-align: center;
  1647. @include italic; @include fs900;
  1648. span{ @include fs20; }
  1649. @include shadowTextBtnWhite();
  1650. }
  1651. }
  1652. div.column-demi{
  1653. h2{ padding:10px 0 0; @include fs24; top:0; }
  1654. .subtitle{ min-height:2em; }
  1655. ul{ @include fs14; min-height:120px;}
  1656. .get-link{ @include fs14; text-align: left; padding: 0 1em; @include bgc(#ddd); }
  1657. }
  1658. }
  1659. } // end .node-11187
  1660. // hide get free account for user already logged-in
  1661. // hide get flocon for user already flocon (role-6)
  1662. &.logged-in{
  1663. .column.gratos{.get-link{
  1664. cursor:auto!important;
  1665. a{display:none!important;}
  1666. }}
  1667. &.role-6{
  1668. .column.flocon{.get-link{
  1669. cursor:auto!important;
  1670. a{display:none!important;}
  1671. }}
  1672. }
  1673. }
  1674. } // princing
  1675. /** ADHESION FORM */
  1676. .node-11186{
  1677. nav ul.links a.language-link { display:none; }
  1678. }
  1679. #webform-client-form-11186{
  1680. @media #{$medium-up}{
  1681. padding: 10px 30px;
  1682. #webform-component-column-left--membership-options{
  1683. margin: 10px 0;
  1684. label{width:auto;}
  1685. }
  1686. fieldset{
  1687. @include rounded(5px); border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc; padding: 10px;
  1688. fieldset{ border: 0 solid #ddd; padding: 0;}
  1689. }
  1690. legend{margin: 0; @include fs18; @include fs700;}
  1691. .form-item{ margin: 0 20px 0 0; }
  1692. label{ @include fs12; width:10em; @include inlineblock; vertical-align:middle; @include mr(1em); border-bottom: 1px solid #cccccc; }
  1693. .description{ @include fs11; width:25em; @include inlineblock; vertical-align:bottom; @include ml(1em); color:#7f7f7f;}
  1694. input.form-text{width:13em;}
  1695. }
  1696. @media #{$medium-only}{
  1697. padding: 10px;
  1698. #webform-component-column-left--membership-options{
  1699. margin: 0 0 10px 0;
  1700. .form-item{width:100%;}
  1701. label{ width:75%; }
  1702. }
  1703. legend{margin: 0; @include fs16; @include fs700;}
  1704. .form-item{ margin: 0; float:none;}
  1705. label{ @include fs12; width:30%; @include inlineblock; vertical-align:middle; @include mr(0.5em); }
  1706. input.form-text, select.form-select{width:60%;}
  1707. #webform-component-infos{@include fs14;}
  1708. } //change this
  1709. background-color: #e6e6e6; @include rounded(10px);
  1710. .fieldset-wrapper>.form-item{ @include inlineblock; }
  1711. #webform-component-column-left{@include inlineblock; width:25%; border:none;}
  1712. #webform-component-column-right{ @include inlineblock; min-width:70%;}
  1713. #webform-component-column-left--membership-options{
  1714. .form-type-radio{
  1715. border:1px solid #ddd; @include rounded(5px); padding: 10px 5px; margin: 5px 0;
  1716. input{ @include inlineblock; vertical-align: middle; margin:0px 5px;}
  1717. label{@include fs20; @include fs700; @include inlineblock; vertical-align: middle; margin: 0;}
  1718. background-color: #fff;
  1719. &:hover{@include drop-shadow(0, 0, 5px, 0.2); }
  1720. &.form-item-submitted-column-left-membership-options:nth-child(1){background-color: #69CDCF;}
  1721. &.form-item-submitted-column-left-membership-options:nth-child(2){background-color: #D476AE;}
  1722. &.form-item-submitted-column-left-membership-options:nth-child(3){background-color: #E6DE1C;}
  1723. &.form-item-submitted-column-left-membership-options:not(.selected){opacity:0.4;}
  1724. }
  1725. &>label{width:200px; @include fs18; @include fs700; }
  1726. label{ border: 0; }
  1727. }
  1728. #webform-component-column-right--me--my-account-email{
  1729. display:block;
  1730. }
  1731. #webform-component-column-right--company--administrative-e-mail{
  1732. .description{@include inlineblock;}
  1733. }
  1734. #addressfield-wrapper{ @include mt(1em); }
  1735. .street-block .form-item{ @include inlineblock; }
  1736. #webform-component-column-right--collaborators{
  1737. margin: 20px 0; overflow:hidden;
  1738. fieldset{@include inlineblock; width:33%;}
  1739. .form-item{display:block;}
  1740. label{width:6em;}
  1741. input{width:11em;}
  1742. }
  1743. #webform-component-infos{margin: 20px 0;}
  1744. .form-actions{
  1745. padding: 0; margin: 0;
  1746. border: 0px;
  1747. background-color: transparent;
  1748. text-align: left;
  1749. .form-submit{
  1750. border: 2px solid #69CDCF; @include bgc(#69CDCF); color:#fff;
  1751. @include fs18; padding: 0.2em 1em 0.3em; @include rounded(0.3em);
  1752. font-weight:bold;
  1753. @include mb(9px);
  1754. @include shadowTextBtnBlack();
  1755. }
  1756. }
  1757. #webform-component-column-right--news-letters{
  1758. >label{margin: 0; @include fs18; @include fs700; border:none; line-height:40px}
  1759. .form-item{
  1760. @include inlineblock();
  1761. label{width:auto}
  1762. input, label{margin: 0;}
  1763. }
  1764. }
  1765. #edit-submitted-terms-of-services{
  1766. @include mb(0.5em);
  1767. input, label{margin: 0 0.3em 0 0;}
  1768. label{ width:auto; }
  1769. }
  1770. } // adhesion
  1771. /** UC CART VIEW FORM */
  1772. #uc-cart-view-form{
  1773. background-color: #e6e6e6;
  1774. // @include rounded(10px);
  1775. padding: 10px, 30px;
  1776. // max-width:$cardfull_w;
  1777. display:inline-block;
  1778. table{
  1779. width:auto; display:table;
  1780. background-color:#fff;
  1781. thead th{border-bottom:none;padding: 1em;}
  1782. tbody{
  1783. border-top:none;
  1784. tr.even, tr.odd{
  1785. background-color:#fff;
  1786. border-bottom:none;
  1787. }
  1788. td{
  1789. padding: 1em;
  1790. // &.price{ padding: 0.5em 1em; }
  1791. }
  1792. }
  1793. }
  1794. .form-type-uc-quantity input{
  1795. width:2em;
  1796. }
  1797. .form-actions{
  1798. padding: 0; margin: 0;
  1799. border: 0px;
  1800. background-color: transparent;
  1801. text-align: right;
  1802. display:block; width:100%;
  1803. &:before, &:after{
  1804. display:block;
  1805. }
  1806. .form-submit{
  1807. @include bouton();
  1808. @include ml(1em);
  1809. &#edit-checkout--2{
  1810. @include bouton-bleu();
  1811. }
  1812. }
  1813. }
  1814. }
  1815. /** UC CHECKOUT FORM */
  1816. #uc-cart-checkout-form{
  1817. display:inline-block;
  1818. @mixin price-table(){
  1819. @include fs14;
  1820. min-width:20em;
  1821. td.price{width:4em;};
  1822. }
  1823. background-color: #e6e6e6;
  1824. // @include rounded(10px);
  1825. padding: 10px, 30px;
  1826. fieldset.form-row{
  1827. // @include rounded(5px); border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc;
  1828. @include pb(20px); @include mb(20px);
  1829. // fieldset{ border: 0 solid #ddd; padding: 0;}
  1830. }
  1831. fieldset.form-column{
  1832. @include inlineblock; max-width:39%;
  1833. margin: 15px 1em;
  1834. > .fieldset-wrapper > .form-wrapper{
  1835. margin: 10px 0;
  1836. }
  1837. }
  1838. fieldset.form-column-left{}
  1839. fieldset.form-column-right{
  1840. border-left:1px solid #ccc;
  1841. @include ml(2em); @include pl(2em);
  1842. // @include bgc(#fff); @include rounded(5px);
  1843. }
  1844. legend{margin: 0; @include fs18; @include fs700; border:none; line-height:2;}
  1845. .fieldset-description{@include fs12;}
  1846. .fieldset-wrapper{@include fs12;}
  1847. .form-item{ margin: 0 20px 0 0; }
  1848. .description{ @include fs11; width:25em; @include inlineblock; vertical-align:bottom; @include ml(1em); color:#7f7f7f;}
  1849. #cart-pane{
  1850. >.fieldset-wrapper{
  1851. @include inlineblock();
  1852. @include rounded(5px);
  1853. padding: 10px;
  1854. @include bgc(#fff);
  1855. }
  1856. table{
  1857. @include price-table();
  1858. }
  1859. tbody{border:none; }
  1860. tr{background-color: transparent; border:none; }
  1861. td{
  1862. padding: 0 5px;
  1863. vertical-align: bottom;
  1864. &.products{
  1865. a{color:inherit; @include fs700;}
  1866. width:auto;
  1867. ul.product-description{margin: 0; @include fs12;}
  1868. li{list-style: none;}
  1869. }
  1870. }
  1871. tr.subtotal{
  1872. td{@include fs16; @include fs700;}
  1873. }
  1874. }
  1875. #customer-pane{width:35em;}
  1876. #billing-pane{
  1877. label{ @include fs12; width:8em; @include inlineblock; vertical-align:middle; @include mr(1em); border-bottom: 1px solid #cccccc; }
  1878. input.form-text{width:13em;}
  1879. }
  1880. #coupon_automatic-pane{}
  1881. #coupon-pane{}
  1882. #payment-pane{
  1883. float:right;
  1884. .fieldset-wrapper{
  1885. @include bgc(#fff);
  1886. @include rounded(5px);
  1887. padding: 10px;
  1888. }
  1889. #line-items-div{
  1890. float:none; border:none;
  1891. @include inlineblock(); margin: 10px 0 20px;
  1892. table{@include price-table();}
  1893. tbody{border:none;}
  1894. td{
  1895. padding: 0 5px;
  1896. }
  1897. tr{
  1898. td{@include fs500;}
  1899. &.line-item-total td{
  1900. @include fs16; @include fs700; text-align: right;
  1901. }
  1902. }
  1903. }
  1904. #edit-panes-payment-payment-method{
  1905. label{width:auto; border-bottom:none;}
  1906. .form-item-panes-payment-payment-method{
  1907. border:1px solid #ddd;
  1908. border-radius:5px;
  1909. margin: 0.5em; padding: 0.5em;
  1910. label{font-weight:bold;}
  1911. }
  1912. }
  1913. #payment-details{
  1914. width:25em;
  1915. border-top:none; padding: 0; margin: 0;
  1916. }
  1917. }
  1918. .form-actions{
  1919. padding: 0; margin: 0;
  1920. border: 0px;
  1921. background-color: transparent;
  1922. text-align: right;
  1923. .form-submit{
  1924. @include bouton();
  1925. @include ml(1em);
  1926. &#edit-continue{
  1927. @include bouton-bleu();
  1928. }
  1929. }
  1930. }
  1931. }
  1932. /* UC CART && UC CHECKOUT VALIDATION */
  1933. //.page-cart,
  1934. .page-cart-checkout-review{
  1935. #content{
  1936. //text-align:center;
  1937. &> .inner-content{
  1938. //.card-box($cardfull_w, $cardfull_h);
  1939. //text-align:left;
  1940. display:inline-block;
  1941. padding: 1em;
  1942. }
  1943. }
  1944. #edit-actions{
  1945. margin: 0; padding: 0;
  1946. &:before, &:after{display:block;}
  1947. }
  1948. #review-instructions{
  1949. width:30em;
  1950. padding: 1em 0;
  1951. // .info;
  1952. }
  1953. table.order-review-table{
  1954. border:none;
  1955. .pane-title-row{
  1956. border:none;
  1957. background-color:transparent;
  1958. text-align:left;
  1959. @include fs18;
  1960. td{ padding: 1em 0 0 0; }
  1961. }
  1962. table.cart-review{
  1963. tr.odd{
  1964. background-color:transparent;
  1965. border:none;
  1966. }
  1967. }
  1968. td.title-col{
  1969. padding: 0;
  1970. text-align:left;
  1971. }
  1972. td.data-col{
  1973. padding: 0;
  1974. width:75%;
  1975. }
  1976. .review-button-row{
  1977. border:none;
  1978. background-color:transparent;
  1979. &>td{
  1980. padding: 3em 0 0 0;
  1981. }
  1982. form{
  1983. margin: 0 0.5em 0 0; @include inlineblock();
  1984. }
  1985. }
  1986. }
  1987. #edit-actions{
  1988. border: 0px;
  1989. background-color: transparent;
  1990. text-align: right;
  1991. }
  1992. input.form-submit{
  1993. @include bouton();
  1994. @include ml(1em);
  1995. &#edit-submit{
  1996. @include bouton-bleu();
  1997. }
  1998. }
  1999. }
  2000. /** WHO WE ARE */
  2001. #didactique-page{
  2002. .node-didactique{
  2003. @include rounded(5px); background-color: #FFF;
  2004. @include drop-shadow(0, 0, 5px, 0.2);
  2005. max-width:850px;
  2006. @include fs14; @include bgc(#fff); //padding: 5px;
  2007. margin: 1em auto; padding: 1em;
  2008. .field-name-field-emvideo{
  2009. margin: 1em 0;
  2010. }
  2011. .field-name-title-field{
  2012. @include fs24; @include fs900; @include italic; padding:5px 0;
  2013. }
  2014. .field-name-field-visuel{
  2015. figure, img{max-width:100%;}
  2016. }
  2017. }
  2018. @media #{$medium-up}{
  2019. .side{ @include inlineblock(); vertical-align: top; }
  2020. .group-sideleft{ width:60%; }
  2021. .group-sideright{ width:39%; }
  2022. }
  2023. // @media #{$small-up}{
  2024. // } // change this
  2025. } // who-we-are
  2026. /** DIDACTIQUE */
  2027. .page-whoweare{
  2028. #tool-bar{
  2029. @media #{$small-only}{
  2030. #block-materio-page-title-materio-page-title{display:none;}
  2031. } // chanhe this
  2032. }
  2033. } // didactique
  2034. /** maintenance */
  2035. .maintenance-page{
  2036. #container, #header{ text-align: center; padding: 0; position:relative;}
  2037. #main{background-color: transparent; }
  2038. #header h1.site-name{font-size:36px; margin: 0; padding-left:0;}
  2039. h2.site-slogan{font-size:16px; @include fs300; margin: 0; line-height:1.1;}
  2040. }
  2041. /** FAQ */
  2042. .page-faq-page #main{
  2043. background: #fff url('../img/bg-faq.png') no-repeat bottom right;
  2044. }
  2045. #content .faq-content{
  2046. .faq-description{
  2047. @include fs12; @include pb(2em);
  2048. }
  2049. ul.faq-ul-questions-top{
  2050. margin: 0;
  2051. li{
  2052. list-style: none;
  2053. a{
  2054. @include fs18; @include fs500;
  2055. }
  2056. }
  2057. }
  2058. h3.faq-header{
  2059. @include fs20; @include fs700; line-height:1.2;
  2060. margin: 0;
  2061. a{color:#000;}
  2062. }
  2063. .faq-dl-hide-answer{
  2064. padding: 0;
  2065. }
  2066. .faq-category-group{
  2067. @include pb(1em);
  2068. }
  2069. .faq-question-answer{
  2070. padding: 0.3em 0 0 0.8em;
  2071. .faq-question{
  2072. @include fs16; padding: 0; @include fs500;
  2073. a{color:#000;}
  2074. }
  2075. .faq-answer{
  2076. padding: 0; @include mb(2em);
  2077. @include fs12;
  2078. }
  2079. }
  2080. .field-name-body img{
  2081. max-width:50%;
  2082. height:auto;
  2083. }
  2084. }