styles.scss 62 KB

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