styles.scss 92 KB

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