styles.scss 94 KB

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