styles.scss 86 KB

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