styles.scss 100 KB

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