styles.scss 100 KB

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