styles.scss 103 KB

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