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