styles.scss 75 KB

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