styles.scss 62 KB

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