styles.scss 91 KB

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