styles.scss 63 KB

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