styles.scss 92 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482
  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; h1{line-height:0.5;}
  838. }
  839. }
  840. // text-align:right;
  841. // >*{ text-align: left ;}
  842. // .block{
  843. // .inlineblock();
  844. // margin:0 0 0 20px;
  845. // }
  846. .oldie &{background-color:#B1ADAD; padding:0 10px;}
  847. .btn-group{
  848. padding: 0; @include rounded(3px); @include bgc(#fff); margin:4px;
  849. @include shadowBtn();
  850. }
  851. #block-materio-page-title-materio-page-title{
  852. // .ie8 &{margin-top:40px;}
  853. margin: 0 10px 0 0;
  854. h1{ margin: 0;
  855. @include fs24; text-transform: capitalize; @include fs300;
  856. // line-height:1;
  857. }
  858. i{ vertical-align: middle ; margin-right:5px;}
  859. // i.icon-materio-folder{line-height: 1.3;}
  860. a.edit-list{
  861. @include op-hidden;
  862. i{ margin: 0 0 0 5px;}
  863. }
  864. &:hover{
  865. a.edit-list{ @include op-visible; }
  866. }
  867. @media #{$medium-only}{ display:block;}
  868. }
  869. #block-materio-search-api-materio-search-api-viewmode{
  870. .viewmode-link{
  871. @include inlineblock(); margin:0 2px;
  872. &.active{cursor:normal;}
  873. .inner{display:none;@include fs10; }
  874. }
  875. @media #{$small-only}{
  876. .viewmode-link{ display:block; &:not(.active){display:none;} }
  877. }
  878. @media #{$small-only}{
  879. html.no-touch &:hover, &.hovered{ .viewmode-link.viewmode-cardsmall, .viewmode-link.viewmode-cardmedium{display:block;} }
  880. }
  881. @media #{$small-only}{
  882. html.no-touch &:hover, &.hovered{ .viewmode-link.viewmode-cardsmall, .viewmode-link.viewmode-cardmedium, .viewmode-link.viewmode-cardbig{display:block;} }
  883. }
  884. }
  885. #block-materio-search-api-materio-search-api-search{
  886. // @include inlineblock(); vertical-align: middle ;
  887. // position:absolute; top:10px; right:0;
  888. float:right;
  889. >.inner{
  890. @include inlineblock(); margin:0 0 0 10px;
  891. padding: 3px 10px; background-color:#fff; @include rounded(3px);
  892. @include shadowBtn(); text-align: right;
  893. }
  894. }
  895. #materio-search-api-search-form{
  896. text-align: right;
  897. @include inlineblock(); margin: 0;
  898. .form-item, input, .form-checkboxes{@include inlineblock(); margin:0; vertical-align:middle; padding:0;}
  899. .form-checkboxes{
  900. padding: 3px; @include fs12;
  901. .form-item{
  902. margin:0 5px;
  903. label{@include fs10;}
  904. }
  905. }
  906. a.back-search-home{
  907. display:inline-block;
  908. vertical-align: middle;
  909. color:#000;
  910. padding: 0 0.5em 0 0.2em;
  911. i:before{
  912. font-size:1.3em;
  913. }
  914. }
  915. input#edit-searchfield{
  916. border: 1px solid #ccc; @include rounded(15px);
  917. margin:3px 0 3px 3px; padding: 4px 5px; height:20px;
  918. @include fs12; line-height:1;
  919. background-position: 100% 7px;
  920. // width:100%;
  921. &.throbbing { background-position: 100% -15px; }
  922. }
  923. #edit-searchfield-autocomplete-aria-live{
  924. .oldie &{
  925. background-color:#1a1a1a;
  926. }
  927. };
  928. input#edit-create{ padding: 3px; }
  929. &.loading{
  930. background: transparent url('../img/ajax-loader.gif') no-repeat 98% center;
  931. input#edit-create{ visibility: hidden; }
  932. }
  933. @media #{$small-only}{
  934. input#edit-searchfield{width:16em;}
  935. #edit-bundles-filter{display:none;}
  936. }
  937. }
  938. }
  939. #center{
  940. // background-color: #e6e6e6;
  941. @include rounded(10px);
  942. .node-type-page:not(.page-node-11187) &{ background-color:#fff; }
  943. .ie8 &{height:100%; margin-top:20px;}
  944. }
  945. #content{
  946. padding:1em;
  947. @include transition-simply-prefix(height 0.3s ease-out);
  948. &.faded{
  949. opacity:0.5;
  950. @include transition-simply-prefix(opacity 0.3s ease-out);
  951. }
  952. .materiobase-results, .materiobase-actuality, .materio-flags-list{
  953. padding:0 0 30px 0; margin:0 0 20px 0;
  954. &.loading{
  955. background-image: url('../img/ajax-loader.gif');
  956. background-position: center bottom;
  957. background-repeat: no-repeat;
  958. }
  959. p.search-performance, p.flaglist-infos, p.actualities-infos{
  960. @include fs12; @include fs500; margin: 0;
  961. padding:10px 0 5px 15px;
  962. }
  963. // p.search-performance{.role-7 & {@include fs12;}}
  964. .search-results, .actuality-items, .flaglist-items{
  965. font-size:0;
  966. >*{font-size:16px;}
  967. text-align:center;
  968. >*{text-align:left;}
  969. }
  970. }
  971. ul.pager{
  972. padding: 1em 0; text-align: left;
  973. .ie8 &{position:absolute; left:37px; bottom: 35px;}
  974. li{margin:0; @include inlineblock(); vertical-align: middle;}
  975. .pager-current, a{color:#000;@include fs12; }
  976. .pager-current{@include fs900; @include fs14;.ie8 &{background:#fff; padding:0.3em 1em 0.3em 1em; margin-top:0.05em; border: 1px solid #333333;}}
  977. .pager-first, .pager-previous, .pager-next, .pager-last{ a{ @include fs24; @include fs300; } }
  978. // html.js & {display:none;}
  979. }
  980. .node-type-page &{
  981. // padding-left:15px;
  982. }
  983. }
  984. /** #content-bottom */
  985. #content-bottom{
  986. padding-top:10px;
  987. }
  988. /*
  989. _________ ____ ____ _____
  990. / ____/ | / __ \/ __ \/ ___/
  991. / / / /| | / /_/ / / / /\__ \
  992. / /___/ ___ |/ _, _/ /_/ /___/ /
  993. \____/_/ |_/_/ |_/_____//____/
  994. */
  995. $cardbookmark_w:50px;
  996. $cardbookmark_h:70px;
  997. $cardsmall_w:100px;
  998. $cardsmall_h:140px;
  999. $cardmedium_w:210px;
  1000. $cardmedium_h:295px;
  1001. $cardbig_w:425px;
  1002. $cardbig_h:610px;
  1003. $cardfull_w:850px;
  1004. $cardfull_h:610px;
  1005. @mixin card-box($w, $h){
  1006. width:$w; height:$h;
  1007. @include inlineblock(); position:relative; margin:7px;
  1008. @include rounded(5px); background-color: #FFF;
  1009. @include drop-shadow(0, 0, 5px, 0.2);
  1010. @include transition-simply-prefix(box-shadow 0.3s ease-out); // opacity 0.3s ease-out); //change this commas
  1011. }
  1012. @mixin card($w, $h){
  1013. @include card-box($w, $h);
  1014. >div.side{
  1015. @include rounded(5px); overflow: hidden;
  1016. }
  1017. // .no-touch &:hover{ @include drop-shadow(0, 0, 5px, 0.7); }
  1018. &.focused{ @include drop-shadow(0, 0, 7px, 0.9); }
  1019. &.just-added{ opacity:0; }
  1020. &.associated{
  1021. @include transition-simply-prefix(margin 0.3s ease-out);
  1022. &.just-added{margin-left:-$w;margin-right:$w;}
  1023. .modal-content &{
  1024. position:absolute;
  1025. top:0; left:0;
  1026. z-index:999;
  1027. }
  1028. }
  1029. &.removed{
  1030. @include transition-simply-prefix(width 0.3s ease-out);
  1031. width:0; padding-left:0; padding-right:0; margin-right:0; margin-left:0; overflow:hidden;
  1032. }
  1033. // TODO: how to show that a card was flaged ?
  1034. // .search-results &.flaged, .actuality-items &.flaged{
  1035. // border: 2px solid rgba(0,0,0, 0.3); margin: 3px;
  1036. // @include drop-shadow(0, 0, 3px, 0.6);
  1037. // }
  1038. nav.nav{
  1039. position:absolute; top:0; right:0; z-index:11;
  1040. padding: 5px 0;
  1041. @include border-radius(0, 5px, 0, 3px);
  1042. @include fs11;
  1043. // colors
  1044. // background-color: rgba(10, 10, 10, 0.9); color:#fff;
  1045. // a{color:#fff;}
  1046. //ul{background-color: rgba(10, 10, 10, 0.9);}
  1047. background-color: rgba(255, 255, 255, 0.9); color:#000;
  1048. a{color:#000;}
  1049. ul{background-color: rgba(255, 255, 255, 0.9);}
  1050. span.op{@include fs900; @include fs14;}
  1051. ul{padding: 0; margin: 0;}
  1052. section{
  1053. position:relative;
  1054. &>i{margin: 0 5px; &:hover{cursor:pointer;}}
  1055. }
  1056. ul{
  1057. position:absolute; right:0; top:0; margin-right:22px; min-width:80px; padding: 0; display:block;
  1058. @include rounded(3px); @include drop-shadow(-2px, 2px, 5px, 0.2);
  1059. // padding: 5px 10px;
  1060. li{
  1061. padding: 0; margin: 0; line-height:1; display:block;
  1062. height:0; overflow:hidden; @include transition-simply-prefix(height 0.2s ease-out);
  1063. // height:15px; overflow:hidden;
  1064. a{ display:block;}
  1065. }
  1066. &.links{
  1067. a{font-size:12px;}
  1068. }
  1069. &.flag-lists-entity-links{
  1070. width:160px;
  1071. font-size:0;
  1072. >*{font-size:11px;}
  1073. // &.loading{
  1074. // a{visibility: hidden;}
  1075. // background: transparent url('../img/ajax-loader.gif') no-repeat 98% center;
  1076. // }
  1077. li{
  1078. @include inlineblock(); min-width:48%; max-width:98%; padding-left:2px;
  1079. a{
  1080. color:#a6a6a6; @include transition-simply-prefix(color 0.2s ease-out);
  1081. &:hover, &.unflag-action{
  1082. color:#000; text-decoration: none;
  1083. }
  1084. }
  1085. &.flag-lists-create{
  1086. display:block; width:100%;
  1087. >*{ margin-top:1px; padding-top:1px; border-top:1px solid #e6e6e6;}
  1088. a{color:#000;}
  1089. }
  1090. &.loading{
  1091. a{visibility: hidden;}
  1092. background: transparent url('../img/ajax-loader.gif') no-repeat 98% center;
  1093. }
  1094. }
  1095. }
  1096. .ie8 &{background:#FFF;}
  1097. }
  1098. section:hover{
  1099. ul{
  1100. padding: 5px 5px;
  1101. li{height:17px;}
  1102. &.flag-lists-entity-links{
  1103. // width:160px;
  1104. }
  1105. }
  1106. }
  1107. // display:none;
  1108. }
  1109. // &:hover{nav.nav{display:block;}}
  1110. div.workflow{
  1111. position:absolute; top:0; left:0; z-index:11;
  1112. padding: 5px;
  1113. @include border-radius(5px, 0, 3px, 0);
  1114. @include fs11; vertical-align: top;
  1115. background-color: rgba(255, 255, 255, 0.9); color:#000;
  1116. span{padding: 3px 0 0 4px; @include inlineblock();}
  1117. }
  1118. .field-name-field-description .upgrade{
  1119. @include fs12;
  1120. padding-top:4em;margin-top:-4.5em;
  1121. // .bgc(rgba(255,255,255,0.6));
  1122. background : linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 4em);
  1123. position:relative;
  1124. }
  1125. .side.oops p, .side .upgrade p{
  1126. padding: 10px; @include fs12;
  1127. a{
  1128. display:block; margin: 10px 0;
  1129. @include fs18; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  1130. font-weight:bold;
  1131. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  1132. @include shadowTextBtnBlack();
  1133. text-align: center; text-decoration: none;
  1134. }
  1135. }
  1136. }// .card()
  1137. /*
  1138. _ _ ___
  1139. ___ ___ ___ _| | ___ ___ ___ ___ ___| |_ ___ ___ ___| _|___ ___ _____ ___ ___ ___ ___
  1140. | _| .'| _| . | |_ -| -_| .'| _| _| | | . | -_| _| _| . | _| | .'| | _| -_|
  1141. |___|__,|_| |___| |___|___|__,|_| |___|_|_| | _|___|_| |_| |___|_| |_|_|_|__,|_|_|___|___|
  1142. |_|
  1143. */
  1144. article.search-performance{
  1145. .inner{
  1146. padding: 1em;
  1147. }
  1148. p{@include fs14;}
  1149. a.button{
  1150. display:block; margin: 10px auto; max-width:10em;
  1151. @include fs18; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  1152. font-weight:bold;
  1153. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  1154. @include shadowTextBtnBlack();
  1155. text-align: center; text-decoration: none;
  1156. }
  1157. &.view-mode-cardsmall{
  1158. @include card-box(327px, 140px);
  1159. }
  1160. &.view-mode-cardmedium{
  1161. @include card-box(210px, 295px);
  1162. .inner{
  1163. padding: 4em 1em 0;
  1164. }
  1165. }
  1166. &.view-mode-cardbig{
  1167. @include card-box(425px, 115px);
  1168. display:block; margin:0 auto;
  1169. }
  1170. &.view-mode-cardfull{
  1171. @include card-box(850px, 115px);
  1172. .inner{
  1173. padding: 1em 212px;
  1174. }
  1175. display:block; margin:0 auto;
  1176. }
  1177. }
  1178. /*
  1179. _____ _____ _____ ____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  1180. | | _ | __ | \ | __ | | | | | | _ | __ | | | __|
  1181. | --| | -| | | | __ -| | | | | -| | | | | -| -|__ |
  1182. |_____|__|__|__|__|____/ |_____|_____|_____|__|__|_|_|_|__|__|__|__|__|__|_____|
  1183. */
  1184. article.node-materiau.vm-bookmark, article.node-breve.vm-bookmark{
  1185. @include card($cardbookmark_w, $cardbookmark_h);
  1186. margin:3px;
  1187. .group-header{
  1188. display:none;
  1189. }
  1190. .group-images{ @include horihoverswitch(); }
  1191. // nav.nav{top:0;}
  1192. div.workflow{display:none;}
  1193. }
  1194. /*
  1195. _____ _____ _____ ____ _____ _____ _____ __ __
  1196. | | _ | __ | \ | __| | _ | | | |
  1197. | --| | -| | | |__ | | | | | |__| |__
  1198. |_____|__|__|__|__|____/ |_____|_|_|_|__|__|_____|_____|
  1199. */
  1200. article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall{
  1201. @include card($cardsmall_w, $cardsmall_h); //width:100px; height:140px;
  1202. .group-header{
  1203. display:none; position:absolute;
  1204. @include fs14; @include fs500;
  1205. .field-name-title-field{@include fs700;}
  1206. .field-name-field-reference-materio, .field-name-field-localisation{ @include inlineblock(); @include fs12; }
  1207. .field-name-field-localisation{ float:right; }
  1208. }
  1209. .group-images{ @include horihoverswitch(); @include rounded(5px); overflow:hidden; }
  1210. nav.nav{
  1211. ul.flag-lists-entity-links{
  1212. width:75px; min-width:75px;
  1213. li{width:98%;}
  1214. }
  1215. .ie8 &{background: #FFF}
  1216. }
  1217. .no-touch &:not(.focused) nav.nav{@include op-hidden;}
  1218. .no-touch &:not(.focused) div.workflow{@include op-hidden;}
  1219. }
  1220. /*
  1221. _____ _____ _____ __ _____ _____ _____ _____ _____ _____ __ __ _____ _____ _____ ____
  1222. |_ _| | | ||_ _| | _ | | __| | _ | | | | | | _ | __ | \
  1223. | | | | | | | |__| | |- -| __| |__ | | | | | |__| |__ | --| | -| | |
  1224. |_| |_____|_____|_____|_| |_____|__| |_____|_|_|_|__|__|_____|_____| |_____|__|__|__|__|____/
  1225. */
  1226. #tooltip{
  1227. .group-header.smallcard{
  1228. @include fs14; @include fs500;
  1229. .field-name-title-field{@include fs700;}
  1230. .field-name-field-reference-materio, .field-name-field-localisation{ @include inlineblock(); @include fs12; }
  1231. .field-name-field-localisation{ float:right; }
  1232. }
  1233. }
  1234. /*
  1235. _____ _____ _____ ____ _____ _____ ____ _____ _____ _____
  1236. | | _ | __ | \ | | __| \| | | | |
  1237. | --| | -| | | | | | | __| | |- -| | | | | |
  1238. |_____|__|__|__|__|____/ |_|_|_|_____|____/|_____|_____|_|_|_|
  1239. */
  1240. article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium{
  1241. @include card($cardmedium_w, $cardmedium_h); //width:210px; height:295px;
  1242. .side{
  1243. @include layer(); background-color:#fff; cursor:pointer;
  1244. &:nth-child(2){z-index:1;}
  1245. }
  1246. .group-header{
  1247. position:absolute; bottom:0; z-index:2;
  1248. width:190px; padding:5px 15px 5px 5px; min-height:55px;
  1249. @include fs20; @include fs300; line-height:1;
  1250. .field-name-title-field{@include fs700;}
  1251. .field-name-field-nature-titre{@include fs14;}
  1252. @include bgcWhite();
  1253. @include border-radius(0, 0, 4px, 4px); overflow: hidden;
  1254. .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on{ @include inlineblock(); @include fs12; vertical-align: bottom; width:48%;}
  1255. .field-name-field-localisation{ text-align: right; }
  1256. .ie8 &{background:#fff; font-color:#000; line-height: 1em; padding: 10px;}
  1257. }
  1258. &.node-breve .group-header{
  1259. // @include fs20; @include fs300; line-height:1.1;
  1260. color:#fff; @include bgcBlack();
  1261. .field-name-field-authored-on{ @include fs12; @include fs500; }
  1262. .ie8 &{background:#000; font-size:15px; line-height: 1.2em;}
  1263. }
  1264. // &:hover .group-header{
  1265. // .bgcWhiteParentHover();
  1266. // }
  1267. .group-images{ @include horihoverswitch(); }
  1268. // side 2
  1269. .field-name-field-description, .field-name-body{
  1270. @include fs12; @include fs300; overflow: hidden; z-index:-1; @include columnized(5px);
  1271. .column>*{padding-right:25px;}
  1272. }
  1273. // side 3
  1274. .column-wrapper{
  1275. @include columnized(5px);
  1276. }
  1277. .field-name-field-company-fab, .field-name-field-company-distrib{
  1278. @include fs12; padding:5px; @include fs300;
  1279. .field-label{ @include fs10; text-transform: lowercase; margin:0;}
  1280. .field-name-field-tode-company{@include fs14;}
  1281. // span.print-link{display:none;}
  1282. }
  1283. .field-name-field-materiau-ref, .field-name-field-source, .field-name-field-attachments{
  1284. @include fs12; padding: 5px; @include fs300; a{color:#000;}
  1285. }
  1286. .field-label{@include fs900; margin: 1em 0 0.5em;}
  1287. // nav
  1288. .no-touch &:not(.focused) nav.nav{@include op-hidden;}
  1289. .no-touch &:not(.focused) div.workflow{@include op-hidden;}
  1290. .ie8 &{nav.nav{background: #FFF}}
  1291. }
  1292. /*
  1293. _____ _____ _____ ____ _____ _____ _____
  1294. | | _ | __ | \ | __ | | __|
  1295. | --| | -| | | | __ -|- -| | |
  1296. |_____|__|__|__|__|____/ |_____|_____|_____|
  1297. */
  1298. article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig{
  1299. @include card($cardbig_w, $cardbig_h); //width:425px; height:610px;
  1300. .side{
  1301. @include layer(); background-color:#fff; height:270px; top:340px; cursor:pointer;
  1302. &:nth-child(2){z-index:1;}
  1303. }
  1304. .group-side1{position:relative; @include border-radius(5px, 5px, 0, 0); overflow:hidden;}
  1305. .group-header{
  1306. position:absolute; bottom:0; z-index:2;
  1307. width:405px; padding:10px;
  1308. @include fs20; @include fs300; line-height: 1.1;
  1309. .field-name-title-field{@include fs700;}
  1310. .field-name-field-nature-titre{@include fs14;}
  1311. @include bgcWhite();
  1312. .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on { @include inlineblock(); @include fs12; vertical-align: bottom; width:48%;}
  1313. .field-name-field-localisation{ text-align: right; }
  1314. .ie8 &{background:#fff; font-color:#000; line-height: 1em; padding: 20px; border-bottom: 1px solid #C6C6C6;}
  1315. }
  1316. // &:hover .group-header{ .bgcWhiteParentHover(); }
  1317. &.node-breve .group-header{
  1318. color:#fff; @include bgcBlack();
  1319. .field-name-field-authored-on{ @include fs12; @include fs500; }
  1320. .ie8 &{background:#000; font-color:#fff; line-height: 1em; padding: 20px;}
  1321. }
  1322. .group-images{ @include horihoverswitch(); height:auto;}
  1323. // side 2
  1324. .field-name-field-description, .field-name-body{
  1325. @include fs12; @include fs300; @include columnized(10px);
  1326. }
  1327. // side 3
  1328. .column-wrapper{
  1329. @include columnized(10px);
  1330. }
  1331. // side 4
  1332. .field-name-field-company-fab, .field-name-field-company-distrib{
  1333. @include fs12; padding:10px; @include fs300;
  1334. .field-label{ @include fs10; text-transform: lowercase; float: none; }
  1335. .field-name-field-tode-company{@include fs14;}
  1336. }
  1337. .field-name-field-materiau-ref, .field-name-field-source, .field-name-field-attachments{
  1338. @include fs12; padding: 10px; @include fs300; a{color:#000;}
  1339. }
  1340. .field-label{@include fs900; margin: 0 0 0.5em;}
  1341. // nav
  1342. // nav.nav{ margin: 5px; }
  1343. .ie8 &{nav.nav{background: #FFF}}
  1344. // upgarde and full
  1345. .side.oops p, .side .upgrade p{
  1346. padding: 3em;
  1347. a{
  1348. border: 2px solid #eee; background-color:#eee; color:#fff;
  1349. @include transition-simply-prefix(border 0.3s ease-out);
  1350. @include transition-simply-prefix(background-color 0.3s ease-out);
  1351. }
  1352. }
  1353. &:hover .side.oops p, &:hover .side .upgrade p{
  1354. a{
  1355. border: 2px solid #69CDCF; background-color:#69CDCF;
  1356. }
  1357. }
  1358. }
  1359. /*
  1360. _____ _____ _____ ____ _____ _____ __ __
  1361. | | _ | __ | \ | __| | | | | |
  1362. | --| | -| | | | __| | | |__| |__
  1363. |_____|__|__|__|__|____/ |__| |_____|_____|_____|
  1364. */
  1365. article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull{
  1366. @include card($cardfull_w, $cardfull_h); //width:875px; height:610px;
  1367. nav.nav{top:0;}
  1368. font-size:0px;
  1369. >*{@include fs16;}
  1370. >.side{@include inlineblock(); width:50%;
  1371. &.group-side-left{
  1372. @include border-radius(5px, 0, 0, 5px);
  1373. }
  1374. &.group-side-right{
  1375. @include border-radius(0, 5px, 5px, 0);
  1376. }
  1377. }
  1378. .group-images{ @include horihoverswitch(); }
  1379. .group-header{
  1380. @include fs20; @include fs300; padding:10px;
  1381. .field-name-title-field{@include fs700;}
  1382. .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on{ @include inlineblock(); @include fs12; padding-right:15px;}
  1383. // .field-name-field-localisation{ float:right; }
  1384. }
  1385. &.node-breve .group-header{
  1386. color:#fff; @include bgcBlack();
  1387. .field-name-field-authored-on{ @include fs500; }
  1388. }
  1389. .field-name-field-description, .field-name-body{
  1390. @include fs12; @include fs300; padding: 10px;
  1391. }
  1392. .field-name-field-attachments{
  1393. padding: 10px;
  1394. @include fs12;
  1395. }
  1396. // side 4
  1397. .field-name-field-company-fab, .field-name-field-company-distrib{
  1398. @include fs12; padding:10px; @include fs300;
  1399. @include inlineblock(); width:40%;
  1400. .field-item{margin-top:1em;}
  1401. .field-label{ @include fs10; text-transform: lowercase; float: none; }
  1402. .field-name-field-tode-company{@include fs14;}
  1403. }
  1404. .field-name-field-materiau-ref, .field-name-field-source, .field-name-field-attachments{
  1405. @include fs12; padding: 10px; @include fs300; a{color:#000;}
  1406. }
  1407. .field-label{@include fs900; margin: 0 0 0.5em;}
  1408. // nav
  1409. nav.nav{ margin: 5px; }
  1410. div.workflow{ margin: 5px; }
  1411. // upgarde and full
  1412. .side.oops p, .side .upgrade p{
  1413. padding: 3em;
  1414. a{
  1415. border: 2px solid #eee; background-color:#eee; color:#fff;
  1416. @include transition-simply-prefix(border 0.3s ease-out);
  1417. @include transition-simply-prefix(background-color 0.3s ease-out);
  1418. }
  1419. }
  1420. &:hover .side.oops p, &:hover .side .upgrade p{
  1421. a{
  1422. border: 2px solid #69CDCF; background-color:#69CDCF;
  1423. }
  1424. }
  1425. }
  1426. /*
  1427. _ _ _
  1428. ___ ___ ___ _| | ___ ___|_|___| |_
  1429. | _| .'| _| . | | . | _| | | _|
  1430. |___|__,|_| |___| | _|_| |_|_|_|_|
  1431. |_|
  1432. */
  1433. body.print-body-materiau{
  1434. // >*{font-size:0.8em;}
  1435. }
  1436. .print-node-materiau{
  1437. margin:0 auto;
  1438. @media screen {
  1439. @include card($cardfull_w, auto);
  1440. width:1024px;
  1441. padding:1em;
  1442. }
  1443. }
  1444. .print-site_name{}
  1445. .print-content{}
  1446. .print-content .node-materiau.vm-print{
  1447. margin:0; position:relative;
  1448. .field-name-title-field{@include fs500; font-size: 1.4em;}
  1449. // .field-name-field-reference-materio, .field-name-field-localisation, .field-name-field-authored-on{ @include inlineblock(); @include fs12; padding-right:15px;}
  1450. .field-name-field-nature-titre{
  1451. @include fs500;font-size: 1em;margin-bottom: 0.5em;
  1452. }
  1453. .group-head-right{
  1454. position:absolute;
  1455. top:0; right:0;
  1456. padding-top:1em;
  1457. text-align: right;
  1458. font-size:0.8em;
  1459. .field-name-field-reference-materio{font-weight: 800; font-size: 1.2em;}
  1460. }
  1461. .side{
  1462. &.group-side-left{
  1463. width:45%;
  1464. position:absolute;
  1465. .field-name-field-description{font-size:0.8em;}
  1466. >.field-type-taxonomy-term-reference{
  1467. display:inline-block; vertical-align: top; width: 45%;
  1468. margin:0.5em 1em 0 0;
  1469. font-size:0.7em;
  1470. >.field-label{font-size: 0.8em; font-weight: 300;}
  1471. >.node-company{
  1472. .field-name-field-tode-company{font-size: 1.2em;}
  1473. .field-label{display:none;}
  1474. }
  1475. }
  1476. }
  1477. &.group-side-right{
  1478. section, div, figure{max-width: 100%;}
  1479. .field-name-field-materiau-image{
  1480. text-align: right;
  1481. >figure{
  1482. display: inline-block;
  1483. max-width:19%;
  1484. margin:0.5em 0 0 0.5em;
  1485. max-width:100%;
  1486. margin-left: 50%;
  1487. img{max-width:100%;}
  1488. }
  1489. .field-item{
  1490. display:none;
  1491. &:nth-child(-n+7){
  1492. display:inline-block;
  1493. }
  1494. max-width:19%;
  1495. margin:0.5em 0 0 0.5em;
  1496. &:nth-child(-n+2){
  1497. max-width:100%;
  1498. margin-left: 50%;
  1499. }
  1500. img{max-width:100%;}
  1501. }
  1502. }
  1503. }
  1504. }
  1505. .field-name-field-tode-company{
  1506. font-size: 1.5em; font-weight: 700;
  1507. }
  1508. .field-name-field-description,
  1509. .field-name-field-company-fab,
  1510. .field-name-field-reference-distrib
  1511. {
  1512. padding-bottom: 1em;
  1513. }
  1514. }
  1515. /*
  1516. ____ ____ _____ ________
  1517. / __ \/ __ \/ _/ | / /_ __/
  1518. / /_/ / /_/ // // |/ / / /
  1519. / ____/ _, _// // /| / / /
  1520. /_/ /_/ |_/___/_/ |_/ /_/
  1521. */
  1522. @media print {
  1523. @page { margin: 1.5cm 7mm 8mm; }
  1524. }
  1525. .print-site_name{
  1526. width:100%;
  1527. vertical-align: bottom;
  1528. margin-bottom:0.5em;
  1529. h1{
  1530. margin:0 0 0 0;
  1531. font-size: 1.4em;
  1532. text-align: center;
  1533. // @include inlineblock(); vertical-align: baseline; position:relative; line-height:1.25;
  1534. a{
  1535. color:inherit;
  1536. &:hover{text-decoration: none ;}
  1537. }
  1538. }
  1539. span.slogan{
  1540. display: none;
  1541. font-size: 0.8em;
  1542. margin-top:-3px;
  1543. margin-left:-0.5em;
  1544. @include fs900;
  1545. .ie8 &{position: absolute; margin-top:22px;}
  1546. }
  1547. }
  1548. .print-content{
  1549. margin-bottom: 1em;
  1550. }
  1551. .print-footer{
  1552. position:absolute; bottom:0; text-align: center; width:100%;
  1553. p{
  1554. display:inline-block; width:45%; text-align: center;
  1555. // margin: 0 3em;
  1556. }
  1557. }
  1558. /*
  1559. ___ __ ____________ __________ __ _______ __ __________________
  1560. / | / / / /_ __/ __ \/ ____/ __ \/ |/ / __ \/ / / ____/_ __/ ____/
  1561. / /| |/ / / / / / / / / / / / / / / /|_/ / /_/ / / / __/ / / / __/
  1562. / ___ / /_/ / / / / /_/ / /___/ /_/ / / / / ____/ /___/ /___ / / / /___
  1563. /_/ |_\____/ /_/ \____/\____/\____/_/ /_/_/ /_____/_____/ /_/ /_____/
  1564. */
  1565. #autocomplete{
  1566. border: 0; @include rounded(3px);
  1567. background-color: rgba(0,0,0,0.6);
  1568. text-align: left;
  1569. margin-left: 2px;
  1570. .oldie &{background-color:#545454;}
  1571. li{
  1572. color:#FFF; background-color: transparent;
  1573. &.selected{background-color: rgba(0,0,0,0.8);}
  1574. div{padding:0.1em 5px;} @include fs12;
  1575. }
  1576. }
  1577. /**
  1578. * the old modal api (balck bg) for contextual forms (create new flag list)
  1579. */
  1580. @mixin mat_modal(){
  1581. background-color: rgba(0,0,0,0.7);
  1582. @include rounded(5px); border: 0;
  1583. *{color:#fff; background-color:transparent;}
  1584. @include fs12;
  1585. form{
  1586. background-color:transparent; color:#fff; border: 0px;
  1587. .form-actions{
  1588. background-color:transparent; margin: 0; padding: 0; border: 0;
  1589. }
  1590. input.form-text, textarea, div.grippie{background-color:#fff; color:#000; border: 0;}
  1591. .form-actions{ text-align: right ;}
  1592. input.form-submit{
  1593. @include button($button-tny);
  1594. //@include btn-mini; color:#000; //change this btn bootstrap -> foundation
  1595. &[name="create"]{
  1596. @include button($button-tny, $success-color);
  1597. }
  1598. &[name="save"]{
  1599. @include button($button-tny, $success-color);
  1600. }
  1601. &[name="delete"]{
  1602. @include button($button-tny, $alert-color);
  1603. }
  1604. &[name="cancel"]{
  1605. @include button($button-tny, $secondary-color);
  1606. }
  1607. }
  1608. }
  1609. }
  1610. #modal{
  1611. @include mat_modal();
  1612. >*{padding: 10px;}
  1613. .form-item-flag-lists-name{
  1614. // label, input{.inlineblock();}
  1615. // label{width:38%;}
  1616. input{width:95%;}
  1617. }
  1618. .actions{
  1619. text-align: right;
  1620. }
  1621. }
  1622. /**
  1623. * the new modal api used for preview and register modal
  1624. */
  1625. .modal-wrapper {
  1626. &:before {
  1627. content: "";
  1628. display: inline-block;
  1629. height: 100%;
  1630. margin-right: -0.25em;
  1631. vertical-align: middle;
  1632. }
  1633. &:after, &:before {
  1634. -moz-box-sizing: border-box;
  1635. }
  1636. // background-color: rgba(0, 0, 0, 0.4);
  1637. bottom: 0;
  1638. // display: none;
  1639. left: 0;
  1640. position: fixed;
  1641. right: 0;
  1642. text-align: center;
  1643. top: 0;
  1644. white-space: nowrap;
  1645. z-index: 99998;
  1646. .modal-bg{
  1647. background-color: #000;
  1648. position:absolute;
  1649. top:0; left:0;
  1650. width:100%; height:100%;
  1651. opacity:0.5;
  1652. }
  1653. .modal-content{
  1654. position:relative;
  1655. display: inline-block;
  1656. margin: 0 auto;
  1657. text-align: left;
  1658. vertical-align: middle;
  1659. white-space: normal;
  1660. // width: 400px;
  1661. min-height:200px;
  1662. // background-color: #fff;
  1663. }
  1664. }
  1665. /*
  1666. _______ __________ ____ __ __ ____ ___ _ __
  1667. / / ___// ____/ __ \/ __ \/ / / / / __ \/ | / | / /
  1668. __ / /\__ \/ / / /_/ / / / / / / / / /_/ / /| | / |/ /
  1669. / /_/ /___/ / /___/ _, _/ /_/ / /___/ /___/ ____/ ___ |/ /| /
  1670. \____//____/\____/_/ |_|\____/_____/_____/_/ /_/ |_/_/ |_/
  1671. */
  1672. .jspContainer{
  1673. .jspVerticalBar{
  1674. background-color: transparent;
  1675. width:5px; //margin-right:-5px;
  1676. .jspTrack{
  1677. background-color: transparent;
  1678. .jspDrag{
  1679. background-color: #ccc;
  1680. @include rounded(3px);
  1681. }
  1682. }
  1683. }
  1684. }
  1685. /*
  1686. __________ ____ __ ______________
  1687. /_ __/ __ \/ __ \/ / /_ __/ _/ __ \
  1688. / / / / / / / / / / / / / // /_/ /
  1689. / / / /_/ / /_/ / /___/ / _/ // ____/
  1690. /_/ \____/\____/_____/_/ /___/_/
  1691. */
  1692. #tooltip{
  1693. position:absolute; z-index:999; max-width:180px; background-color: rgba(255, 255, 255, 1); padding: 5px; @include rounded(3px);
  1694. @include fs12; @include fs500;
  1695. @include drop-shadow(0, 0, 5px, 0.4);
  1696. &.op-visible{
  1697. @include transition-simply-prefix(opacity 0.1s ease-out); // top 0.1s linear); // left 0.1s linear,
  1698. // change this transition foundation
  1699. }
  1700. }
  1701. /*
  1702. ______________________ ____ ___ ________ __
  1703. / ____/ ____/ ____/ __ \/ __ )/ | / ____/ //_/
  1704. / /_ / __/ / __/ / / / / __ / /| |/ / / ,<
  1705. / __/ / /___/ /___/ /_/ / /_/ / ___ / /___/ /| |
  1706. /_/ /_____/_____/_____/_____/_/ |_\____/_/ |_|
  1707. */
  1708. #block-feedback-form{
  1709. @media #{$medium-only}{ bottom:5px; left:5px; right:auto; }
  1710. h2{
  1711. line-height:1.2; @include fs14; margin: 0;
  1712. .title{display:none;}
  1713. }
  1714. #feedback-form-toggle{
  1715. padding: 2px 3px; @include rounded(3px); background-color:#ff7600; color:#fff;
  1716. line-height:2; @include fs900;
  1717. }
  1718. .content{
  1719. @include mat_modal();
  1720. .ie8 &{background:#000;}
  1721. }
  1722. #feedback-status-message{background-color:#fff; padding: 5px;}
  1723. }
  1724. /*
  1725. _________ _____ __ __ __ _________ ____ _____
  1726. /_ __/ | / ___// //_/ _/_/ /_ __/ | / __ ) ___/
  1727. / / / /| | \__ \/ ,< _/_/ / / / /| | / __ \__ \
  1728. / / / ___ |___/ / /| | _/_/ / / / ___ |/ /_/ /__/ /
  1729. /_/ /_/ |_/____/_/ |_| /_/ /_/ /_/ |_/_____/____/
  1730. */
  1731. @mixin tabs-primary(){
  1732. a{
  1733. @include fs12;
  1734. padding: 5px 10px;
  1735. background-color:#e6e6e6;
  1736. &.active, &:hover{background-color:#e6e6e6;}
  1737. @include rounded(3px);
  1738. }
  1739. }
  1740. @mixin tabs-secondary(){
  1741. @include fs10;
  1742. padding: 0.5em 1em;
  1743. }
  1744. #tasks{
  1745. ul.tabs{
  1746. @include inlineblock();
  1747. border:0 solid #fff;
  1748. padding: 0; margin: 0;
  1749. li{padding: 0; margin: 2px 5px; border:0 solid #fff;}
  1750. a{
  1751. border:0; color:#7f7f7f;
  1752. &.active, &:hover{font-weight: 900; color:#000;}
  1753. }
  1754. &.primary{
  1755. @include tabs-primary();
  1756. }
  1757. &.secondary{
  1758. @include tabs-secondary();
  1759. }
  1760. }
  1761. }
  1762. /*
  1763. ______________ _____________________
  1764. / ___/_ __/ |/_ __/ _/ ____/ ___/
  1765. \__ \ / / / /| | / / / // / \__ \
  1766. ___/ // / / ___ |/ / _/ // /___ ___/ /
  1767. /____//_/ /_/ |_/_/ /___/\____//____/
  1768. */
  1769. /*
  1770. _ _ ___ ___ ___
  1771. | | |_ -| -_| _|
  1772. |___|___|___|_|
  1773. */
  1774. .page-user, .page-user-edit, .page-user-password, .page-user-reset, .page-toboggan{
  1775. #center{background: #fff url('../img/user-page-bg.gif') no-repeat bottom right;}
  1776. .messages{ width:800px; margin:0 auto; }
  1777. &.role-6 #tasks .tabs.primary{display:none;}
  1778. &.role-6 #tasks .tabs.secondary{@include tabs-primary();}
  1779. #center >*{
  1780. width:800px; margin:0 auto; padding-top:1em; @include fs14;
  1781. fieldset{
  1782. margin-bottom:1em;
  1783. border:none;
  1784. }
  1785. legend{
  1786. @include fs16; margin:0; padding:10px 0 5px 0; line-height:1; border:0 solid #fff;
  1787. a{color:#000;}
  1788. }
  1789. .form-item{
  1790. margin:0 0 0.5em 0; width:100%;
  1791. label, input.form-text{
  1792. @include inlineblock(); vertical-align:middle;
  1793. }
  1794. label{margin-right:1em;}
  1795. input.form-text{
  1796. padding:2px 4px; width:20em;
  1797. }
  1798. }
  1799. .form-wrapper{
  1800. &>.form-item{margin:0 0 2em 0;}
  1801. }
  1802. .form-type-password-confirm, .form-type-new-password-confirm{
  1803. label{width:9em;}
  1804. .password-parent{width:auto;}
  1805. .password-strength, .password-confirm{
  1806. width:15em; margin-top:0;
  1807. }
  1808. }
  1809. .form-type-checkbox{
  1810. input{margin:0;}
  1811. label{@include fs14; margin:0;}
  1812. }
  1813. #edit-language{
  1814. .form-item{
  1815. @include inlineblock(); width:auto; margin-right:1em;
  1816. input, label{margin:0;}
  1817. }
  1818. }
  1819. select.form-select{
  1820. width:auto; padding:2px 4px; height:auto;
  1821. }
  1822. div.description{
  1823. @include fs11;
  1824. }
  1825. div.form-actions{
  1826. margin: 0; text-align:right; padding: 1em 0.5em;
  1827. }
  1828. // input#edit-submit{@include btn; @include btn-success;} //change this btn foundation
  1829. &#user-profile-form{
  1830. label{min-width:10em; }
  1831. }
  1832. #edit-profile-adherent-field-first-name, #edit-profile-adherent-field-name,
  1833. #edit-profile-adherent-field-private-quality, #edit-profile-adherent-field-service, #edit-profile-adherent-field-employee,
  1834. #edit-profile-adherent-field-naf, #edit-profile-adherent-field-siret{
  1835. @include inlineblock(); vertical-align:middle; width:auto; margin: 0 1em 0.5em 0;
  1836. div{width:auto; margin: 0; padding: 0;}
  1837. // label{margin: 0 0.5em 0 0;}
  1838. }
  1839. // #edit-profile-adherent-field-name, #edit-profile-adherent-field-service,
  1840. // #edit-profile-adherent-field-naf, #edit-profile-adherent-field-siret, .form-item-profile-adherent-field-adresse-und-0-locality{
  1841. // label{min-width:auto;}
  1842. // }
  1843. #edit-profile-adherent-field-siret{label{width:auto;}input{width:8em;}}
  1844. #edit-profile-adherent-field-naf{input{width:13em;}}
  1845. #edit-profile-adherent-field-organization{ margin: 2em 0 0 0; }
  1846. #edit-profile-adherent-field-employee{
  1847. label{width:auto;}
  1848. input{width:4em;}
  1849. }
  1850. #edit-profile-adherent-field-private-phone{
  1851. .form-phone-number{
  1852. @include inlineblock(); vertical-align:middle;
  1853. #edit-profile-adherent-field-private-phone-und-0-number{width:10em;}
  1854. }
  1855. }
  1856. #edit-profile-adherent-field-adresse-und-0{
  1857. padding:0;
  1858. .street-block{
  1859. input{ width:35em;}
  1860. }
  1861. .locality-block{
  1862. .form-item{width:auto; margin-right:1em;}
  1863. }
  1864. }
  1865. #edit-profile-adherent-field-user-website{
  1866. margin: 2em 0 0 0;
  1867. .form-item>*{@include inlineblock(); vertical-align: middle; }
  1868. input{width:35em}
  1869. }
  1870. &.profile{
  1871. h3{border:0 solid transparent;}
  1872. .field-label{display:inline;}
  1873. }
  1874. #edit-mimemail, #edit-locale, #edit-timezone{padding:0;}
  1875. }
  1876. } // user
  1877. /*
  1878. _____ _____ _____ _____ __ _____ _____ _____ _ _ _ _____
  1879. | __| | | _ | | | __| | | __| | | | __|
  1880. |__ |- -| | | | __| |__| __| | | | __| | | |__ |
  1881. |_____|_____|_|_|_|__| |_____|_____|_|___|_____|_____|_____|
  1882. */
  1883. body.node-type-simplenews{
  1884. #content{
  1885. .inner-content{
  1886. text-align:center;
  1887. }
  1888. article.node.node-simplenews{
  1889. @include inlineblock();
  1890. max-width:600px;
  1891. padding:1em 0;
  1892. tbody{
  1893. border-top:0px;
  1894. }
  1895. }
  1896. }
  1897. }
  1898. /*
  1899. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  1900. | _ | _ | __| __| | | | | |_ _| _ | |_ _|
  1901. | __| | | | __| | --| | | | | | | | | | --| | |
  1902. |__| |__|__|_____|_____| |_____|_____|_|___| |_| |__|__|_____| |_|
  1903. */
  1904. .page-node-11175{
  1905. #main{
  1906. // background-color:#fff;
  1907. #center{
  1908. background: #fff url('../img/bg-contact.gif') no-repeat bottom right;
  1909. }
  1910. .field-name-body p{
  1911. @include inlineblock; margin: 15px;
  1912. strong{@include fs18;}
  1913. }
  1914. }
  1915. } // contact
  1916. /*
  1917. _____ _____ _____ _____ _____ _____ _____
  1918. | _ | __ | | | | | | __|
  1919. | __| -|- -| --|- -| | | | | |
  1920. |__| |__|__|_____|_____|_____|_|___|_____|
  1921. */
  1922. body.page-node-11187{
  1923. // #center{ background-color: #fff; }
  1924. @media #{$medium-up}{
  1925. .node-11187{
  1926. .field-name-body{
  1927. div.column, div.column-demi, div.column-full, div.column-auto{
  1928. &, &:last-child{
  1929. @include inlineblock; margin: 10px; float:none;
  1930. }
  1931. }
  1932. div.column{
  1933. width:22.4%;
  1934. ul.list-text, p.description{ min-height:170px;}
  1935. }
  1936. div.column-demi{
  1937. width:46%;
  1938. ul.list-text{ min-height:110px;}
  1939. }
  1940. div.column-full{
  1941. width:92%;
  1942. // ul.list-text{ min-height:110px;}
  1943. }
  1944. div.column-auto{
  1945. width:auto; max-width: 98%;
  1946. }
  1947. }
  1948. }
  1949. #block-materio-user-user-register{
  1950. width:600px; margin: 0 auto; padding:2em;
  1951. }
  1952. }
  1953. @media #{$small-only}{
  1954. // #block-materio-user-user-register{ padding: 25px 0 0 0; #user-login, >h3:first-child, h3 >span{display:block;}}
  1955. #block-system-help{text-align: center;}
  1956. }
  1957. .node-11187{
  1958. .field-name-body{
  1959. text-align:center;
  1960. >*{text-align:left;}
  1961. div.column, div.column-demi, div.column-full, div.column-auto{
  1962. position:relative; background-color: #fff;
  1963. @include rounded(5px); @include drop-shadow(0, 0, 6px, 0.5);
  1964. .ie8 &{max-width:500px; margin:auto; margin-bottom:15px; border:1px solid #C6C6C6;}
  1965. overflow:hidden;
  1966. &>*{ padding: 0 10px;}
  1967. // img{float:left; padding: 0; }
  1968. h2{ text-align: left; margin: 5px 0 0 15px;}
  1969. .subtitle{
  1970. padding: 0 0 0 15px;
  1971. @include fs18; @include italic; @include bold; line-height:1;
  1972. }
  1973. ul{margin: 0; padding: 0 15px;}
  1974. li{
  1975. list-style: none; @include fs12;
  1976. &:before{
  1977. content:"+ ";
  1978. @include fs900;
  1979. }
  1980. }
  1981. .description{
  1982. @include fs12;
  1983. margin: 0; padding: 0 15px;
  1984. }
  1985. .get-link{
  1986. margin: 0; @include border-radius(0 0 5px 5px); border: 1px solid #fff; min-height: 92px;
  1987. a{ display:block; width:100%; padding: 15px 0; color:#1A1A1A; text-decoration: none; }
  1988. }
  1989. .get-link{background-color: #C8C8C8; }
  1990. &.web{ .get-link{ background-color: #69CDCF; } }
  1991. &.webshowroom { .get-link{ background-color: #D476AE; } }
  1992. &.pack4 { .get-link{ background-color: #E6DE1C; } }
  1993. &.etudiants{ .get-link{background-color: #4BA13D; } };
  1994. // &.ecole-de-neige { .list-neige{min-height:80px;} }
  1995. &.neutral .get-link{
  1996. min-height: 62px;
  1997. padding:15px 0;
  1998. }
  1999. } // end div.column div.column-demi
  2000. div.column{
  2001. h2{ padding:10px 0 0; @include fs24; }
  2002. // .subtitle{ min-height:3em; }
  2003. .get-link{
  2004. padding: 0;
  2005. @include fs28; text-align: center;
  2006. @include italic; @include fs900;
  2007. span{ @include fs20; }
  2008. @include shadowTextBtnWhite();
  2009. }
  2010. }
  2011. div.column-demi{
  2012. h2{ padding:10px 0 0; @include fs24; top:0; }
  2013. .subtitle{ min-height:2em; }
  2014. ul{ @include fs14; min-height:120px;}
  2015. .get-link{ @include fs14; text-align: left; padding: 0 1em; background-color:#ddd; }
  2016. }
  2017. }
  2018. } // end .node-11187
  2019. // hide get free account for user already logged-in
  2020. // hide get flocon for user already flocon (role-6)
  2021. &.logged-in{
  2022. // .column.gratos{.get-link{
  2023. // cursor:auto!important;
  2024. // a{display:none!important;}
  2025. // }}
  2026. // &.role-6{
  2027. // .column.etudiants{.get-link{
  2028. // cursor:auto!important;
  2029. // a{display:none!important;}
  2030. // }}
  2031. // }
  2032. }
  2033. } // princing
  2034. /*
  2035. _____ ____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  2036. | _ | \| | | __| __| | | | | | __| | __ | |
  2037. | | | | | __|__ |- -| | | | | | | __| | | -| | | |
  2038. |__|__|____/|__|__|_____|_____|_____|_____|_|___| |__| |_____|__|__|_|_|_|
  2039. */
  2040. .node-11186{
  2041. nav ul.links a.language-link { display:none; }
  2042. }
  2043. #webform-client-form-11186{
  2044. @media #{$medium-up}{
  2045. padding: 10px 30px;
  2046. #webform-component-column-left--membership-options{
  2047. margin: 10px 0;
  2048. label{width:auto;}
  2049. }
  2050. fieldset{
  2051. @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;
  2052. fieldset{ border: 0 solid #ddd; padding: 0;}
  2053. }
  2054. legend{margin: 0; @include fs18; @include fs700;}
  2055. .form-item{ margin: 0 20px 0 0; }
  2056. label{ @include fs12; width:10em; @include inlineblock; vertical-align:middle; margin-right:1em; border-bottom: 1px solid #cccccc; }
  2057. .description{ @include fs11; width:25em; @include inlineblock; vertical-align:bottom; margin-left:1em; color:#7f7f7f;}
  2058. input.form-text{width:13em;}
  2059. }
  2060. @media #{$medium-only}{
  2061. padding: 10px;
  2062. #webform-component-column-left--membership-options{
  2063. margin: 0 0 10px 0;
  2064. .form-item{width:100%;}
  2065. label{ width:75%; }
  2066. }
  2067. legend{margin: 0; @include fs16; @include fs700;}
  2068. .form-item{ margin: 0; float:none;}
  2069. label{ @include fs12; width:30%; @include inlineblock; vertical-align:middle; margin-right:0.5em; }
  2070. input.form-text, select.form-select{width:60%;}
  2071. #webform-component-infos{@include fs14;}
  2072. } //change this
  2073. background-color: #e6e6e6; @include rounded(10px);
  2074. .fieldset-wrapper>.form-item{ @include inlineblock; }
  2075. #webform-component-column-left{@include inlineblock; width:25%; border:none;}
  2076. #webform-component-column-right{ @include inlineblock; min-width:70%;}
  2077. #webform-component-column-left--membership-options{
  2078. .form-type-radio{
  2079. border:1px solid #ddd; @include rounded(5px); padding: 10px 5px; margin: 5px 0;
  2080. input{ @include inlineblock; vertical-align: middle; margin:0px 5px;}
  2081. label{@include fs20; @include fs700; @include inlineblock; vertical-align: middle; margin: 0;}
  2082. background-color: #fff;
  2083. &:hover{@include drop-shadow(0, 0, 5px, 0.2); }
  2084. &.form-item-submitted-column-left-membership-options:nth-child(1){background-color: #69CDCF;}
  2085. &.form-item-submitted-column-left-membership-options:nth-child(2){background-color: #D476AE;}
  2086. &.form-item-submitted-column-left-membership-options:nth-child(3){background-color: #E6DE1C;}
  2087. &.form-item-submitted-column-left-membership-options:not(.selected){opacity:0.4;}
  2088. }
  2089. &>label{width:200px; @include fs18; @include fs700; }
  2090. label{ border: 0; }
  2091. }
  2092. #webform-component-column-right--me--my-account-email{
  2093. display:block;
  2094. }
  2095. #webform-component-column-right--company--administrative-e-mail{
  2096. .description{@include inlineblock;}
  2097. }
  2098. #addressfield-wrapper{ margin-top:1em; }
  2099. .street-block .form-item{ @include inlineblock; }
  2100. #webform-component-column-right--collaborators{
  2101. margin: 20px 0; overflow:hidden;
  2102. fieldset{@include inlineblock; width:33%;}
  2103. .form-item{display:block;}
  2104. label{width:6em;}
  2105. input{width:11em;}
  2106. }
  2107. #webform-component-infos{margin: 20px 0;}
  2108. .form-actions{
  2109. padding: 0; margin: 0;
  2110. border: 0px;
  2111. background-color: transparent;
  2112. text-align: left;
  2113. .form-submit{
  2114. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff;
  2115. @include fs18; padding: 0.2em 1em 0.3em; @include rounded(0.3em);
  2116. font-weight:bold;
  2117. margin-bottom:9px;
  2118. @include shadowTextBtnBlack();
  2119. }
  2120. }
  2121. #webform-component-column-right--news-letters{
  2122. >label{margin: 0; @include fs18; @include fs700; border:none; line-height:40px}
  2123. .form-item{
  2124. @include inlineblock();
  2125. label{width:auto}
  2126. input, label{margin: 0;}
  2127. }
  2128. }
  2129. #edit-submitted-terms-of-services{
  2130. margin-bottom:0.5em;
  2131. input, label{margin: 0 0.3em 0 0;}
  2132. label{ width:auto; }
  2133. }
  2134. } // adhesion
  2135. /*
  2136. _____ _____ _____ _____ _____ _____ _____ _____ _____ _ _ _ _____ _____ _____ _____
  2137. | | | | | | _ | __ |_ _| | | | | __| | | | | __| | __ | |
  2138. | | | --| | --| | -| | | | | |- -| __| | | | | __| | | -| | | |
  2139. |_____|_____| |_____|__|__|__|__| |_| \___/|_____|_____|_____| |__| |_____|__|__|_|_|_|
  2140. */
  2141. #uc-cart-view-form{
  2142. background-color: #e6e6e6;
  2143. // @include rounded(10px);
  2144. padding: 10px, 30px;
  2145. // max-width:$cardfull_w;
  2146. display:inline-block;
  2147. table{
  2148. width:auto; display:table;
  2149. background-color:#fff;
  2150. thead th{border-bottom:none;padding: 1em;}
  2151. tbody{
  2152. border-top:none;
  2153. tr.even, tr.odd{
  2154. background-color:#fff;
  2155. border-bottom:none;
  2156. }
  2157. td{
  2158. padding: 1em;
  2159. // &.price{ padding: 0.5em 1em; }
  2160. }
  2161. }
  2162. }
  2163. fieldset{ border: none!important;}
  2164. .form-type-uc-quantity input{
  2165. width:2em;
  2166. }
  2167. .form-actions{
  2168. padding: 0; margin: 0;
  2169. border: 0px;
  2170. background-color: transparent;
  2171. text-align: right;
  2172. display:block; width:100%;
  2173. &:before, &:after{
  2174. display:block;
  2175. }
  2176. .form-submit{
  2177. @include bouton();
  2178. margin-left:1em;
  2179. &#edit-checkout--2{
  2180. @include bouton-bleu();
  2181. }
  2182. }
  2183. }
  2184. }
  2185. /*
  2186. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  2187. | | | | | | | | __| | | | | | |_ _| | __| | __ | |
  2188. | | | --| | --| | __| --| -| | | | | | | | __| | | -| | | |
  2189. |_____|_____| |_____|__|__|_____|_____|__|__|_____|_____| |_| |__| |_____|__|__|_|_|_|
  2190. */
  2191. #uc-cart-checkout-form{
  2192. // display:inline-block;
  2193. @mixin price-table(){
  2194. @include fs14;
  2195. min-width:20em;
  2196. td.price{width:4em;};
  2197. }
  2198. background-color: #e6e6e6;
  2199. // @include rounded(10px);
  2200. padding: 10px, 30px;
  2201. fieldset{ border: none!important;}
  2202. fieldset.form-row{
  2203. // @include rounded(5px); border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc;
  2204. padding-bottom:20px; margin-bottom:20px;
  2205. // fieldset{ border: 0 solid #ddd; padding: 0;}
  2206. }
  2207. fieldset.form-column{
  2208. @include inlineblock; max-width:39%; clear:both; float:none;
  2209. margin: 15px 1em;
  2210. > .fieldset-wrapper > .form-wrapper{
  2211. margin: 10px 0;
  2212. }
  2213. }
  2214. fieldset.form-column-left{}
  2215. fieldset.form-column-right{
  2216. border-left:1px solid #ccc;
  2217. margin-left:2em; padding-left:2em;
  2218. // background-color:#fff; @include rounded(5px);
  2219. }
  2220. legend{margin: 0; @include fs18; @include fs700; border:none; line-height:2;}
  2221. .fieldset-description{@include fs12;}
  2222. .fieldset-wrapper{@include fs12;}
  2223. .form-item{ margin: 0 20px 0 0; }
  2224. .description{ @include fs11; width:25em; @include inlineblock; vertical-align:bottom; margin-left:1em; color:#7f7f7f;}
  2225. #cart-pane{
  2226. >.fieldset-wrapper{
  2227. @include inlineblock();
  2228. @include rounded(5px);
  2229. padding: 10px;
  2230. background-color:#fff;
  2231. }
  2232. table{
  2233. @include price-table();
  2234. }
  2235. tbody{border:none; }
  2236. tr{background-color: transparent; border:none; }
  2237. td{
  2238. padding: 0 5px;
  2239. vertical-align: bottom;
  2240. &.products{
  2241. a{color:inherit; @include fs700;}
  2242. width:auto;
  2243. ul.product-description{margin: 0; @include fs12;}
  2244. li{list-style: none;}
  2245. }
  2246. }
  2247. tr.subtotal{
  2248. td{@include fs16; @include fs700;}
  2249. }
  2250. }
  2251. #customer-pane{width:35em;}
  2252. #billing-pane{
  2253. label{ @include fs12; width:8em; @include inlineblock; vertical-align:middle; margin-right:1em; border-bottom: 1px solid #cccccc; }
  2254. input.form-text{width:13em;}
  2255. }
  2256. #coupon_automatic-pane{}
  2257. #coupon-pane{}
  2258. #payment-pane{
  2259. // float:right;
  2260. .fieldset-wrapper{
  2261. background-color:#fff;
  2262. @include rounded(5px);
  2263. padding: 10px;
  2264. }
  2265. #line-items-div{
  2266. float:none; border:none;
  2267. @include inlineblock(); margin: 10px 0 20px;
  2268. table{@include price-table();}
  2269. tbody{border:none;}
  2270. td{
  2271. padding: 0 5px;
  2272. }
  2273. tr{
  2274. td{@include fs500;}
  2275. &.line-item-total td{
  2276. @include fs16; @include fs700; text-align: right;
  2277. }
  2278. }
  2279. }
  2280. #edit-panes-payment-payment-method{
  2281. label{width:auto; border-bottom:none;}
  2282. .form-item-panes-payment-payment-method{
  2283. border:1px solid #ddd;
  2284. border-radius:5px;
  2285. margin: 0.5em; padding: 0.5em;
  2286. label{font-weight:bold;}
  2287. }
  2288. }
  2289. #payment-details{
  2290. width:25em;
  2291. border-top:none; padding: 0; margin: 0;
  2292. }
  2293. }
  2294. #edit-actions{
  2295. width:100%;
  2296. padding:1em 0; margin: 0;
  2297. border: 0px;
  2298. background-color: transparent;
  2299. text-align: center;
  2300. .form-submit{
  2301. @include bouton();
  2302. margin-left:1em;
  2303. &#edit-continue{
  2304. @include bouton-bleu();
  2305. }
  2306. }
  2307. }
  2308. }
  2309. /*
  2310. _____ _____ _____ _____ _____ _____
  2311. | | | | | | _ | __ |_ _|
  2312. | | | --| | --| | -| | |
  2313. |_____|_____| |_____|__|__|__|__| |_|
  2314. &&
  2315. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ __ _____ ____ _____ _____ _____ _____ _____
  2316. | | | | | | | | __| | | | | | |_ _| | | | _ | | | | \| _ |_ _| | | | |
  2317. | | | --| | --| | __| --| -| | | | | | | | | | | |__|- -| | | | | | |- -| | | | | |
  2318. |_____|_____| |_____|__|__|_____|_____|__|__|_____|_____| |_| \___/|__|__|_____|_____|____/|__|__| |_| |_____|_____|_|___|
  2319. */
  2320. //.page-cart,
  2321. .page-cart-checkout-review{
  2322. #content{
  2323. //text-align:center;
  2324. &> .inner-content{
  2325. //.card-box($cardfull_w, $cardfull_h);
  2326. //text-align:left;
  2327. display:inline-block;
  2328. padding: 1em;
  2329. }
  2330. }
  2331. #edit-actions{
  2332. margin: 0; padding: 0;
  2333. &:before, &:after{display:block;}
  2334. }
  2335. #review-instructions{
  2336. width:30em;
  2337. padding: 1em 0;
  2338. // .info;
  2339. }
  2340. table.order-review-table{
  2341. border:none;
  2342. .pane-title-row{
  2343. border:none;
  2344. background-color:transparent;
  2345. text-align:left;
  2346. @include fs18;
  2347. td{ padding: 1em 0 0 0; }
  2348. }
  2349. table.cart-review{
  2350. tr.odd{
  2351. background-color:transparent;
  2352. border:none;
  2353. }
  2354. }
  2355. td.title-col{
  2356. padding: 0;
  2357. text-align:left;
  2358. }
  2359. td.data-col{
  2360. padding: 0;
  2361. width:75%;
  2362. }
  2363. .review-button-row{
  2364. border:none;
  2365. background-color:transparent;
  2366. &>td{
  2367. padding: 3em 0 0 0;
  2368. }
  2369. form{
  2370. margin: 0 0.5em 0 0; @include inlineblock();
  2371. }
  2372. }
  2373. }
  2374. #edit-actions{
  2375. border: 0px;
  2376. background-color: transparent;
  2377. text-align: right;
  2378. }
  2379. input.form-submit{
  2380. @include bouton();
  2381. margin-left:1em;
  2382. &#edit-submit{
  2383. @include bouton-bleu();
  2384. }
  2385. }
  2386. }
  2387. /*
  2388. ____ _____ ____ _____ _____ _____ _____ _____ _____ _____
  2389. | \| | \| _ | |_ _| | | | | __|
  2390. | | |- -| | | | --| | | |- -| | | | | __|
  2391. |____/|_____|____/|__|__|_____| |_| |_____|__ _|_____|_____|
  2392. |__|
  2393. */
  2394. #didactique-page{
  2395. .node-didactique{
  2396. @include rounded(5px); background-color: #FFF;
  2397. @include drop-shadow(0, 0, 5px, 0.2);
  2398. max-width:850px;
  2399. @include fs14; background-color:#fff; //padding: 5px;
  2400. margin: 1em auto; padding: 1em;
  2401. .field-name-field-emvideo{
  2402. margin: 1em 0;
  2403. }
  2404. .field-name-title-field{
  2405. @include fs24; @include fs900; @include italic; padding:5px 0;
  2406. }
  2407. .field-name-field-visuel{
  2408. figure, img{max-width:100%;}
  2409. }
  2410. }
  2411. @media #{$medium-up}{
  2412. .side{ @include inlineblock(); vertical-align: top; }
  2413. .group-sideleft{ width:60%; }
  2414. .group-sideright{ width:39%; }
  2415. }
  2416. // @media #{$small-up}{
  2417. // } // change this
  2418. }
  2419. /*
  2420. _ _ _ _____ _____ _ _ _ _____ _____ _____ _____
  2421. | | | | | | | | | | | __| | _ | __ | __|
  2422. | | | | | | | | | | | __| | | -| __|
  2423. |_____|__|__|_____| |_____|_____| |__|__|__|__|_____|
  2424. */
  2425. .page-whoweare{
  2426. #tool-bar{
  2427. @media #{$small-only}{
  2428. #block-materio-page-title-materio-page-title{display:none;}
  2429. } // chanhe this
  2430. }
  2431. }
  2432. /*
  2433. _ _
  2434. _____ ___|_|___| |_ ___ ___ ___ ___ ___ ___
  2435. | | .'| | | _| -_| | .'| | _| -_|
  2436. |_|_|_|__,|_|_|_|_| |___|_|_|__,|_|_|___|___|
  2437. */
  2438. .maintenance-page{
  2439. #container, #header{ text-align: center; padding: 0; position:relative;}
  2440. #main{background-color: transparent; }
  2441. #header h1.site-name{font-size:36px; margin: 0; padding-left:0;}
  2442. h2.site-slogan{font-size:16px; @include fs300; margin: 0; line-height:1.1;}
  2443. }
  2444. /*
  2445. _____ _____ _____
  2446. | __| _ | |
  2447. | __| | | |
  2448. |__| |__|__|__ _|
  2449. |__|
  2450. */
  2451. .page-faq-page #main{
  2452. background: #fff url('../img/bg-faq.png') no-repeat bottom right;
  2453. }
  2454. #content .faq-content{
  2455. .faq-description{
  2456. @include fs12; padding-bottom:2em;
  2457. }
  2458. ul.faq-ul-questions-top{
  2459. margin: 0;
  2460. li{
  2461. list-style: none;
  2462. a{
  2463. @include fs18; @include fs500;
  2464. }
  2465. }
  2466. }
  2467. h3.faq-header{
  2468. @include fs20; @include fs700; line-height:1.2;
  2469. margin: 0;
  2470. a{color:#000;}
  2471. }
  2472. .faq-dl-hide-answer{
  2473. padding: 0;
  2474. }
  2475. .faq-category-group{
  2476. padding-bottom:1em;
  2477. }
  2478. .faq-question-answer{
  2479. padding: 0.3em 0 0 0.8em;
  2480. .faq-question{
  2481. @include fs16; padding: 0; @include fs500;
  2482. a{color:#000;}
  2483. }
  2484. .faq-answer{
  2485. padding: 0; margin-bottom:2em;
  2486. @include fs12;
  2487. }
  2488. }
  2489. .field-name-body img{
  2490. max-width:50%;
  2491. height:auto;
  2492. }
  2493. }
  2494. /*
  2495. __ __ _ _____
  2496. / / / /___ ____ ___ ___ | | / /__ \
  2497. / /_/ / __ \/ __ `__ \/ _ \ | | / /__/ /
  2498. / __ / /_/ / / / / / / __/ | |/ // __/
  2499. /_/ /_/\____/_/ /_/ /_/\___/ |___//____/
  2500. */
  2501. body.home-v2{
  2502. #center{
  2503. background-color: transparent;
  2504. padding:0;
  2505. }
  2506. }
  2507. @mixin shaddowed(){
  2508. @include drop-shadow(0, 0, 5px, 0.2);
  2509. @include transition-simply-prefix(box-shadow 0.3s ease-out); // opacity 0.3s ease-out); //change this commas
  2510. &:hover{@include drop-shadow(0, 0, 5px, 0.4);}
  2511. }
  2512. #home-v2{
  2513. // padding: 40px 40px;
  2514. h2{font-size: 2.1em; font-weight: 300;}
  2515. a{color: #000};
  2516. .field-name-field-liens{
  2517. margin-top:1em;
  2518. .field-item{@include inlineblock(); margin:0 0.5em 0.5em 0; }
  2519. a{
  2520. font-weight: 700; @include inlineblock();
  2521. padding:0.5em 1em 0.7em;
  2522. @include rounded(5px);
  2523. background-color: rgba(255,255,255, 0.8);
  2524. body.logged-in &.visitor{display:none;}
  2525. body.not-logged-in &.member{display:none;}
  2526. }
  2527. }
  2528. .panel-separator{clear:both;}
  2529. >.panel-panel>div>.panel-pane {
  2530. // padding: 10px 15px;
  2531. overflow:hidden;
  2532. &.pane-node{
  2533. @include rounded(5px);
  2534. overflow:hidden;
  2535. .pane-content, .node{
  2536. position:relative; width:100%; height:100%; overflow:hidden;
  2537. }
  2538. .links a{
  2539. background-color: rgba(255,255,255, 0.7);
  2540. @include rounded(5px);
  2541. padding: 15px;
  2542. }
  2543. }
  2544. &.intro-video{
  2545. height:auto;
  2546. background-color: $creme;
  2547. margin-top:2em;margin-bottom:2em; padding-top:0;
  2548. .field-name-field-emvideo{
  2549. .embedded-video{
  2550. margin:0 auto;
  2551. @media #{$small-only}{ width:320px; height:180px;}
  2552. @media #{$medium-only}{ width:640px; height:360px;}
  2553. @media #{$large-only}{ width:800px; height:450px;}
  2554. @media #{$xlarge-up}{ width:1024px; height:576px;}
  2555. .player, iframe{
  2556. width:100%; height:100%;
  2557. }
  2558. }
  2559. }
  2560. .field-name-title-field{
  2561. display:none;
  2562. }
  2563. .field-name-body{
  2564. // display:none;
  2565. margin-top:1em;
  2566. text-align: center;
  2567. p{
  2568. // @include grid-column(6);
  2569. text-align: left;
  2570. @include inlineblock();
  2571. width:35%; margin-left:2%;
  2572. font-size:0.756em;
  2573. @media #{$small-only}{
  2574. width:48%;
  2575. }
  2576. }
  2577. }
  2578. @media #{$small-only}{
  2579. margin-top: 0.5em;
  2580. }
  2581. }
  2582. &.pane-menu-menu-home-v2, &.pane-menu-menu-menu-home-member{
  2583. margin:2em 0;
  2584. ul.menu{
  2585. margin: 0px; text-align: center;
  2586. }
  2587. li{
  2588. margin:0 1em 0 0; padding:0px; list-style: none; height:2.5em;
  2589. @include inlineblock();
  2590. a{
  2591. background-color: #4d4d4d;
  2592. @include rounded(5px);
  2593. padding: 5px 12px 7px;
  2594. color: $creme;
  2595. font-size: 18px;
  2596. font-weight: 500;
  2597. transition:opacity,background-color 0.2s ease-out;
  2598. &[href="/fr/actuality"]{
  2599. background-color:$vertjaune;
  2600. @include shadowTextBtnBlack();
  2601. }
  2602. }
  2603. }
  2604. // @media #{$small-only}{
  2605. // display:none;
  2606. // }
  2607. }
  2608. &.pane-materio-user-user-register{
  2609. padding: 2em 0;
  2610. background: transparent url('../img/register-block.png') no-repeat 100% 90%;
  2611. text-align: center;
  2612. .pane-content{
  2613. @include inlineblock(); text-align: left;
  2614. }
  2615. h2, h3{@include fs900; @include italic; padding:5px 0; margin: 0; line-height: 1; @include inlineblock(); vertical-align: middle;}
  2616. h2{@include fs24;} h3{@include fs16;}
  2617. form{margin: 0 1em; padding:0px; @include inlineblock(); vertical-align: middle;}
  2618. .form-item, .form-wrapper{
  2619. margin: 0; position:relative; @include inlineblock();vertical-align: middle;
  2620. }
  2621. #edit-account{margin-right:5px;}
  2622. input.form-text{ @include fs12; @include rounded(5px); margin-bottom:4px;.ie8 &{margin-right:5px;}}
  2623. .form-item-mail input.form-text, .form-item-name input.form-text{ width:11em;}
  2624. .form-item-pass input.form-text{ width:7em;}
  2625. #edit-mail-check{
  2626. position:absolute; bottom:100%; z-index:9999; background-image: none;
  2627. height:auto; //width:90%;
  2628. padding: 5px; @include rounded(5px); margin-bottom:10px;
  2629. @include fs11; background-color: #fff;
  2630. @include drop-shadow(0, 0, 5px, 0.6);
  2631. @include transition-simply-prefix(bottom 0.1s ease-out);
  2632. &.error{
  2633. background-color: #f3968d;
  2634. // border: 2px solid #f30002;
  2635. color:#fff;
  2636. }
  2637. &.ok{ display:none; }
  2638. }
  2639. .form-submit{
  2640. //border: 2px solid #69CDCF; background-color:#69CDCF; color:#FF7400; // orange/bleu
  2641. @include fs16; padding: 0.1em 0.6em 0.2em; @include rounded(0.3em);
  2642. font-weight:bold;
  2643. margin-bottom:4px;
  2644. }
  2645. .form-item-termsofservices, #edit-field-newsletter{
  2646. margin-bottom:0; display:block; line-height: 1;
  2647. &>*{ @include inlineblock; vertical-align: middle; margin: 0; }
  2648. label{ @include fs10; background-color: #fff; @include rounded(3px); }
  2649. }
  2650. #user-register-form{
  2651. .form-submit{
  2652. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  2653. @include shadowTextBtnBlack();
  2654. &[disabled]{
  2655. background-color:#ddd; border: 2px solid #ddd;
  2656. }
  2657. }
  2658. }
  2659. #user-login{
  2660. .form-submit{
  2661. border: 2px solid #E6DE1C; background-color:#E6DE1C; color:#fff; // noire/jaune
  2662. @include shadowTextBtnBlack();
  2663. }
  2664. }
  2665. #edit-simplenews{display:none;}
  2666. a.join{
  2667. @include inlineblock(); vertical-align: middle;
  2668. // display:block;
  2669. margin: 0 1em;
  2670. // width:5em;
  2671. @include fs16; padding: 0.1em 0.3em 0.2em; @include rounded(0.3em);
  2672. font-weight:bold;
  2673. border: 2px solid #69CDCF; background-color:#69CDCF; color:#fff; // blanc/bleu
  2674. @include shadowTextBtnBlack();
  2675. text-align: center; text-decoration: none;
  2676. }
  2677. @media #{$small-only}{
  2678. background-position: 160% 50%;
  2679. .form-item-mail input.form-text, .form-item-name input.form-text{ width:7em;}
  2680. min-height:60px; padding: 15px 0;
  2681. // #user-login, >h3:first-child, >h3 span{ display:none; }
  2682. }
  2683. .message-error{
  2684. color:#b94a48; @include fs12;
  2685. }
  2686. }
  2687. &.showroom{
  2688. @include shaddowed();
  2689. height:450px;
  2690. margin-top: 15px;
  2691. background-color: #fff;
  2692. // background: url("http://carnet-aux-petites-choses.fr/wp-content/uploads/2015/02/un-oeil-sur-la-matiere-materiO-26_gagaone.jpg");
  2693. // background-size: cover;
  2694. position: relative;
  2695. .pane-content{
  2696. width:100%; height:100%; position:relative;
  2697. .node{position:absolute;height:100%;width:100%;}
  2698. .field-name-field-bandeau{
  2699. position:absolute; width:100%; height:100%; overflow:hidden;
  2700. img{width:100%; margin-top:-10%;}
  2701. }
  2702. .group-content-wrapper{
  2703. position:relative;
  2704. z-index:2;
  2705. width:30%;
  2706. margin:3em 2em;
  2707. .group-content{
  2708. background-color: rgba(255,255,255, 0.8);
  2709. padding:1em;
  2710. @include rounded(5px);
  2711. .field-name-title-field{
  2712. font-size: 2.1em; font-weight: 300;
  2713. }
  2714. .field-name-body{
  2715. margin-top: 0.5em;
  2716. }
  2717. }
  2718. }
  2719. }
  2720. &:after{
  2721. content:url("../img/bulle.png");
  2722. transform: scale(0.8);
  2723. position: absolute;
  2724. bottom:-120px;
  2725. right: -20px;
  2726. z-index:10;
  2727. }
  2728. @media #{$small-only}{
  2729. height:210px;
  2730. margin-top: 10px;
  2731. .pane-content{
  2732. .field-name-field-bandeau{
  2733. position:absolute; width:200%; height:100%; overflow:hidden;
  2734. img{margin-top:-100px; margin-left:-200px;}
  2735. }
  2736. .group-content-wrapper{
  2737. width:auto;
  2738. padding:2%;
  2739. margin:2%;
  2740. .field-name-body{
  2741. font-size:0.756em;
  2742. margin-top:0.5em;
  2743. }
  2744. }
  2745. }
  2746. &:after{
  2747. opacity:0.4;
  2748. }
  2749. }
  2750. }
  2751. &.bdd{
  2752. @include shaddowed();
  2753. height:450px;
  2754. margin-top: 30px;
  2755. background-color: #FFF;
  2756. position: relative;
  2757. .links a{background-color: #e6e6e6;}
  2758. .field-name-field-bandeau{
  2759. @include inlineblock(); width:60%; height:100%; overflow:hidden;
  2760. img{max-width:2000px;}
  2761. }
  2762. .group-content-wrapper{
  2763. @include inlineblock(); width:35%;
  2764. // background-color: rgba(255,255,255, 0.7);
  2765. padding:1em;
  2766. @include rounded(5px);
  2767. .field-name-title-field{
  2768. font-size: 2.1em; font-weight: 300;
  2769. }
  2770. .field-name-body{
  2771. margin-top: 1em;
  2772. }
  2773. .field-name-field-liens a{background-color: rgba(230,230,230, 0.8);}
  2774. }
  2775. &:after{
  2776. content:url("../img/boule.png");
  2777. transform: scale(0.8);
  2778. position: absolute;
  2779. bottom:-50px;
  2780. left: -50px;
  2781. }
  2782. @media #{$small-only}{
  2783. height:auto;
  2784. .field-name-field-bandeau{
  2785. width:100%; display:block; height:310px; overflow:hidden;
  2786. }
  2787. .group-content-wrapper{display:block; width:100%; z-index:1;}
  2788. &:after{opacity:0.6; z-index:0;}
  2789. }
  2790. }
  2791. &.formations{
  2792. @include shaddowed();
  2793. position: relative;
  2794. height:300px;
  2795. margin-top: 30px;
  2796. background-color: #000;
  2797. color: #FFF;
  2798. a{color: #FFF;}
  2799. .node{
  2800. padding:0 0 0 30%; width:70%;
  2801. &:before{
  2802. content:" ";
  2803. background: transparent url("../img/formations.png") no-repeat center center;
  2804. background-clip: padding-box;
  2805. background-size: contain;
  2806. position: absolute; left:0;
  2807. // border: 1px solid red;
  2808. z-index: 2;
  2809. width:30%; height:100%;
  2810. // padding:0.5em;
  2811. }
  2812. }
  2813. .group-content-wrapper{
  2814. padding:1em; position:relative;
  2815. .field-name-title-field{
  2816. font-size: 2.1em; font-weight: 300;
  2817. }
  2818. .field-name-body{
  2819. margin-top: 1em;
  2820. }
  2821. }
  2822. @media #{$small-only}{
  2823. height:auto;
  2824. }
  2825. }
  2826. &.services{
  2827. @include shaddowed();
  2828. background-color: #FFF;
  2829. height:300px;
  2830. margin-top: 30px;
  2831. .node{
  2832. padding:0 30% 0 0; width:70%;
  2833. &:before{
  2834. content:" ";
  2835. background: transparent url("../img/services.png") no-repeat center center;
  2836. background-clip: padding-box;
  2837. background-size: contain;
  2838. position: absolute; right:0;
  2839. // border: 1px solid red;
  2840. z-index: 2;
  2841. width:30%; height:100%;
  2842. // padding:0.5em;
  2843. }
  2844. }
  2845. .group-content-wrapper{
  2846. padding:1em; position:relative;
  2847. .field-name-title-field{
  2848. font-size: 2.1em; font-weight: 300;
  2849. }
  2850. .field-name-body{
  2851. margin-top: 1em;
  2852. }
  2853. .field-name-field-liens a{background-color: rgba(230,230,230, 0.8);}
  2854. }
  2855. @media #{$small-only}{
  2856. height:auto;
  2857. }
  2858. }
  2859. &.publication{
  2860. @include shaddowed();
  2861. position: relative;
  2862. // height:300px;
  2863. margin-top: 30px;
  2864. padding:1em;
  2865. background-color: #000;
  2866. &, a, h1, h2{color: #fff;}
  2867. @include rounded(10px);
  2868. .view-publication-home-v2{
  2869. .views-row{
  2870. @include inlineblock();
  2871. width:30%;
  2872. h1{display:none;}
  2873. }
  2874. }
  2875. @media #{$small-only}{
  2876. .view-publication-home-v2{
  2877. .views-row{display:block; width:90%; margin-bottom: 1em;}
  2878. }
  2879. }
  2880. }
  2881. }
  2882. //mini panneau news
  2883. >.panel-panel>div>.pane-news-home-v2{
  2884. background-color: #e6e6e6; @include rounded(10px);
  2885. margin-top: 30px; padding-top: 1em; padding-bottom: 1em;
  2886. // padding:0;
  2887. position: relative;
  2888. // .panel-col-first{width:70%;}
  2889. // .panel-col-last{width:29.9%;}
  2890. h2{font-size: 30px;}
  2891. @media #{$medium-up}{
  2892. #mini-panel-news_home_v2 .center-wrapper{
  2893. @include grid-row();
  2894. .panel-panel{
  2895. overflow:hidden;
  2896. @include grid-column(4);
  2897. // width:32.8%;
  2898. padding:0em; margin-left:1em;
  2899. &.panel-col-first{width:auto;}
  2900. &:not(.panel-col-first){width:31%;}
  2901. .inside{margin:0;}
  2902. article.node, article.node-breve.vm-cardbig{margin:0; height:610px;}
  2903. }
  2904. }
  2905. }
  2906. #mini-panel-news_home_v2 .panel-col-bottom{
  2907. @include grid-row(); margin-top: 1.5em; margin-bottom: 1.5em;
  2908. >.inside{
  2909. @include grid-column(12);
  2910. }
  2911. p{display:none;}
  2912. .form-checkboxes{
  2913. margin:0 0 0.5em 0;
  2914. .form-item{
  2915. @include inlineblock(); margin-right: 1em;
  2916. label, input{vertical-align: middle;}
  2917. }
  2918. }
  2919. .form-item-mail{
  2920. @include inlineblock(); margin:0;
  2921. label, input{@include inlineblock(); margin-right: 1em;}
  2922. }
  2923. #edit-subscribe, #edit-unsubscribe{@include inlineblock();}
  2924. }
  2925. // .view-news-home-v2{
  2926. // .views-row{@include inlineblock();}
  2927. // }
  2928. .node-simplenews{
  2929. @include rounded(5px); background-color: #FFF;
  2930. @include drop-shadow(0, 0, 5px, 0.2);
  2931. @include transition-simply-prefix(box-shadow 0.3s ease-out);
  2932. overflow:hidden;
  2933. position:relative;
  2934. margin:7px;
  2935. >a{
  2936. position:absolute;
  2937. bottom:0; width:100%;
  2938. background-color: #FFF;
  2939. text-align: center;
  2940. h1{
  2941. padding: 10px; margin:0;
  2942. font-size:1em;
  2943. }
  2944. }
  2945. }
  2946. //deco
  2947. &:after{
  2948. content:url("../img/point.png");
  2949. //transform: scale(1);
  2950. position: absolute;
  2951. bottom:20px;
  2952. right: 10px;
  2953. }
  2954. @media #{$small-only}{
  2955. background-color: transparent;
  2956. #mini-panel-news_home_v2 .center-wrapper{
  2957. .panel-panel.panel-col-first{max-width:100%;}
  2958. .panel-panel:not(.panel-col-first){display:none;}
  2959. }
  2960. &:after{z-index: -1; opacity:0.4;}
  2961. }
  2962. }
  2963. #contact-pane{
  2964. margin:2em 0; padding:1em;
  2965. background-color: #e6e6e6;
  2966. .field-name-body{
  2967. text-align: center;
  2968. p{
  2969. @include inlineblock();
  2970. min-width: 20%;
  2971. }
  2972. }
  2973. }
  2974. } // homeV2
  2975. /*
  2976. _ __
  2977. _____(_)___ ___ ____ / /__ ____ ___ _ _______
  2978. / ___/ / __ `__ \/ __ \/ / _ \/ __ \/ _ \ | /| / / ___/
  2979. (__ ) / / / / / / /_/ / / __/ / / / __/ |/ |/ (__ )
  2980. /____/_/_/ /_/ /_/ .___/_/\___/_/ /_/\___/|__/|__/____/
  2981. /_/
  2982. */
  2983. .node-type-simplenews{
  2984. img{
  2985. max-width: none !important;
  2986. }
  2987. }
  2988. /*
  2989. _ _ _ _ _
  2990. | | | (_) | | (_)
  2991. _ __ _ _| |__ | |_ ___ __ _| |_ _ ___ _ __ ___
  2992. | '_ \| | | | '_ \| | |/ __/ _` | __| |/ _ \| '_ \/ __|
  2993. | |_) | |_| | |_) | | | (_| (_| | |_| | (_) | | | \__ \
  2994. | .__/ \__,_|_.__/|_|_|\___\__,_|\__|_|\___/|_| |_|___/
  2995. | |
  2996. |_|
  2997. */
  2998. body.node-type-publication{
  2999. article.node-publication{
  3000. .field{
  3001. figure, img{max-width:100%;}
  3002. }
  3003. @media #{$large-up}{
  3004. .field{@include inlineblock();}
  3005. .field-name-field-couverture{width:25%;}
  3006. .field-name-body{
  3007. margin-left: 1em;
  3008. width:70%;
  3009. }
  3010. }
  3011. }
  3012. }
  3013. @import "misc.scss";
  3014. // end