styles.scss 61 KB

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