styles.scss 93 KB

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