styles.scss 56 KB

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