styles.scss 91 KB

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