app.scss 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590
  1. // @Author: Bachir Soussi Chiadmi <bach>
  2. // @Date: 18-12-2017
  3. // @Email: bachir@figureslibres.io
  4. // @Filename: app.scss
  5. // @Last modified by: bach
  6. // @Last modified time: 20-12-2017
  7. // @License: GPL-V3
  8. @import 'base/reset';
  9. @import 'base/colors';
  10. @import 'base/grid';
  11. @import 'base/layout';
  12. @import 'base/fonts';
  13. @mixin spining-loader-square{
  14. @keyframes rotation {
  15. from {transform: rotate(0deg);}
  16. to {transform: rotate(359deg);}
  17. }
  18. animation: rotation 2s infinite linear;
  19. }
  20. @mixin entree-micro-square {
  21. white-space: nowrap;
  22. font-size: 0.5em;
  23. line-height: 0;
  24. letter-spacing: 0px;
  25. span{
  26. display:inline-block;
  27. $s:6px;
  28. width:$s; height:$s;
  29. background-color: black;
  30. margin-right: 2px;
  31. &[tid='134']{background-color: var(--e-col-134);}
  32. &[tid='121']{background-color: var(--e-col-121);}
  33. &[tid='125']{background-color: var(--e-col-125);}
  34. &[tid='119']{background-color: var(--e-col-119);}
  35. &[tid='132']{background-color: var(--e-col-132);}
  36. &[tid='122']{background-color: var(--e-col-122);}
  37. &[tid='129']{background-color: var(--e-col-129);}
  38. &[tid='120']{background-color: var(--e-col-120);}
  39. &[tid='130']{background-color: var(--e-col-130);}
  40. &[tid='118']{background-color: var(--e-col-118);}
  41. &[tid='127']{background-color: var(--e-col-127);}
  42. &[tid='133']{background-color: var(--e-col-133);}
  43. &[tid='128']{background-color: var(--e-col-128);}
  44. &[tid='124']{background-color: var(--e-col-124);}
  45. &[tid='116']{background-color: var(--e-col-116);}
  46. &[tid='117']{background-color: var(--e-col-117);}
  47. &[tid='131']{background-color: var(--e-col-131);}
  48. &[tid='126']{background-color: var(--e-col-126);}
  49. &[tid='123']{background-color: var(--e-col-123);}
  50. }
  51. }
  52. @mixin btn {
  53. padding: 3px;
  54. background-color: white;
  55. border-radius: 3px;
  56. }
  57. // .layout-container{
  58. // pointer-events: none;
  59. // }
  60. // _ _
  61. // | |_ ___ __ _ __| |___ _ _
  62. // | ' \/ -_) _` / _` / -_) '_|
  63. // |_||_\___\__,_\__,_\___|_|
  64. header[role="banner"]{
  65. pointer-events: all;
  66. // TODO: what header height to fit well with player ??
  67. }
  68. #block-edlptheme-branding{
  69. display: inline-block;
  70. h1{
  71. margin:0; display: inline-block;
  72. a.site-name{
  73. display: block;
  74. $w:260px;
  75. width:$w; height:$w * 0.22;
  76. margin-top: 0.15em;
  77. background-image: url(../img/logo.svg);
  78. // background-color: white;
  79. background-repeat:no-repeat;
  80. background-size: contain;
  81. white-space: nowrap;
  82. text-indent: 500px;
  83. overflow: hidden;
  84. html.is-mobile &{
  85. $w:170px;
  86. width:$w; height:$w * 0.22;
  87. }
  88. }
  89. }
  90. opacity: 1;
  91. transition: opacity 0.7s ease-in-out;
  92. .audio-player-visible &{
  93. opacity: 0;
  94. }
  95. }
  96. #block-mainnavigation, #block-mainnavigation-2{
  97. float:right;
  98. margin-top: 25px;
  99. z-index: 21;
  100. position: relative;
  101. >h2{
  102. display: none;
  103. }
  104. ul{
  105. margin:0; padding: 0;
  106. white-space: nowrap;
  107. li{
  108. margin:0; padding:0;
  109. display: inline-block;
  110. a{
  111. font-size: 0.756em;
  112. color:inherit;
  113. text-decoration: none;
  114. text-transform: uppercase;
  115. margin-left: 1em;
  116. @include btn;
  117. &:before{
  118. content: "";
  119. display:inline-block;
  120. $sq:0.6em;
  121. width: $sq; height:$sq;
  122. border: 1px solid red;
  123. margin-right: 0.3em;
  124. }
  125. &.ajax-loading:before{
  126. @include spining-loader-square;
  127. }
  128. &.is-active:before,
  129. &.is-active-trail:before,
  130. &:hover:before{
  131. // border-color: red;
  132. background-color: red;
  133. }
  134. }
  135. }
  136. }
  137. @media only screen and (max-width: 1270px) {
  138. margin-top: 15px;
  139. ul{
  140. li{
  141. display: block;
  142. a{
  143. @include content_petit;
  144. }
  145. }
  146. li:first-of-type{
  147. display:none;
  148. }
  149. }
  150. }
  151. html.is-mobile &{
  152. // outline: 1px solid blue;
  153. margin-top:4px;
  154. width:50px; //height:25px;
  155. overflow: visible;
  156. $square-size:15px;
  157. >h2#block-mainnavigation-menu.visually-hidden,
  158. >h2{
  159. // outline: 1px solid green;
  160. display:block;
  161. right:0;
  162. clip: auto;
  163. margin:0;
  164. text-indent: 100px;
  165. overflow: hidden;
  166. cursor: pointer;
  167. width:$square-size*2; height:$square-size*2;
  168. background-size:$square-size $square-size;
  169. background-color: white;
  170. background-repeat: repeat;
  171. background-image:
  172. // hiddings off-square lines
  173. linear-gradient(90deg, white 0, white 2px, transparent 2px, transparent),
  174. linear-gradient(90deg, transparent 0, transparent $square-size - 2, white $square-size - 2, white),
  175. linear-gradient(0deg, white 0, white 2px, transparent 2px, transparent),
  176. linear-gradient(0deg, transparent 0, transparent $square-size - 2, white $square-size - 2, white),
  177. // drawing the lines
  178. linear-gradient(90deg, transparent 0, transparent 2px, red 2px, transparent 3px, transparent),
  179. linear-gradient(90deg, transparent 0, transparent $square-size - 3, red $square-size - 3, transparent $square-size - 2, transparent),
  180. linear-gradient(0deg, transparent 0, transparent 2px, red 2px, transparent 3px, transparent),
  181. linear-gradient(0deg, transparent 0, transparent $square-size - 3, red $square-size - 3, transparent $square-size - 2, transparent);
  182. }
  183. ul.menu{
  184. // outline: 1px solid orange;
  185. border-top: 1px solid red;
  186. border-bottom: 1px solid red;
  187. position:absolute;
  188. background-color: white;
  189. width:300px;
  190. padding: 1em;
  191. top:$square-size * 3; left:100px;
  192. transition: left 0.2s ease-in-out;
  193. li{
  194. &:first-of-type{
  195. display:block;
  196. }
  197. a{
  198. font-size: 0.680em;
  199. padding:0; margin:0;
  200. }
  201. }
  202. }
  203. &.opened ul.menu{
  204. left:-130px;
  205. }
  206. }
  207. }
  208. .block-language{
  209. float: right;
  210. margin-top: 24px;
  211. margin-left: 2em;
  212. ul{
  213. margin:0; padding:0;
  214. li{
  215. display: inline-block; vertical-align: middle;
  216. list-style: none;
  217. a{
  218. font-size: 0.690em;
  219. color:inherit;
  220. text-decoration: none;
  221. text-transform: capitalize;
  222. margin-left: 0.8em;
  223. @include btn;
  224. &:before{
  225. content: "";
  226. display:inline-block;
  227. $sq:0.6em;
  228. width: $sq; height:$sq;
  229. border: 1px solid red;
  230. margin-right: 0.3em;
  231. }
  232. }
  233. &.is-active,
  234. &:hover{
  235. a:before{
  236. border-color: red;
  237. background-color: red;
  238. }
  239. }
  240. }
  241. }
  242. @media only screen and (max-width: 1270px) {
  243. margin-top: 15px;
  244. margin-left: 0.5em;
  245. border-left: 1px solid red;
  246. ul{
  247. li{
  248. display: block;
  249. a{
  250. @include content_petit;
  251. }
  252. }
  253. }
  254. }
  255. }
  256. // ___
  257. // / __|__ _ _ ___ ____ _ ___
  258. // | (__/ _` | ' \ V / _` (_-<
  259. // \___\__,_|_||_\_/\__,_/__/
  260. #corpus-map{
  261. opacity: 0;
  262. body[corpus="map-ready"] &{
  263. transition: opacity 2s ease-out;
  264. opacity: 1;
  265. }
  266. }
  267. // _
  268. // _ __ __ _(_)_ _
  269. // | ' \/ _` | | ' \
  270. // |_|_|_\__,_|_|_||_|
  271. // booting sequence
  272. // and ajax loading effects
  273. main[role="main"]{
  274. .row{
  275. html.js &{opacity: 0;}
  276. .col{
  277. opacity:1;
  278. transition: opacity 0.5s ease-in-out;
  279. }
  280. }
  281. body[booted="booted"] &{
  282. .row{
  283. transition: opacity 1s ease-out;
  284. opacity:1;
  285. }
  286. }
  287. body.ajax-loading &{
  288. .row .col:not([theme="edlp_search_search_form"]){
  289. opacity:0.2;
  290. }
  291. // &:before{
  292. // content:"";
  293. // display: block;
  294. // position: absolute;
  295. // z-index: 10;
  296. // $s:60px;
  297. // width:$s; height:$s;
  298. // top:calc(50% - #{$s/2}); left:calc(50% - #{$s/2});
  299. // // padding:1em;
  300. // background-color: rgba(255,255,255, 0.5);
  301. // background-image: url(../img/edlp-loader-anim.svg);
  302. // background-size: 50%;
  303. // background-repeat: no-repeat;
  304. // background-position: center;
  305. // // border-radius: $s/2;
  306. // }
  307. }
  308. html.is-mobile &{
  309. *{pointer-events: all!important;}
  310. }
  311. }
  312. main[role="main"]{
  313. .layout-content{
  314. pointer-events: none;
  315. .row{
  316. pointer-events: none;
  317. height:100%;
  318. overflow: hidden;
  319. .col{
  320. pointer-events: none;
  321. height: 100%;
  322. position: relative;
  323. &>.wrapper{
  324. pointer-events:all;
  325. position: relative;
  326. box-sizing: border-box;
  327. border-top: 1px solid red;
  328. border-bottom: 1px solid red;
  329. background-color: $transparent-bg;
  330. padding:0 0 1em;
  331. max-height: 100%;
  332. overflow-y: auto;
  333. &>*{
  334. padding:0 1.5em;
  335. }
  336. // .os-scroll{
  337. // box-sizing: border-box;
  338. // max-height: 100%;
  339. // padding:0 1em;
  340. // }
  341. }
  342. }
  343. }
  344. }
  345. h3.sur-title{
  346. @include content_titles;
  347. margin:0.9em 0 0;
  348. }
  349. article.node:not(.node--type-enregistrement)>h2, h2.title{
  350. @include content_titles;
  351. }
  352. article.node.node--type-enregistrement{
  353. margin:0.5em 0;
  354. >h2{
  355. @include document_titles_teaser;
  356. }
  357. }
  358. article.node.node--type-enregistrement.node--view-mode-transcript,
  359. article.node.node--type-enregistrement.node--view-mode-article{
  360. >h2{
  361. // display: none;
  362. @include content_subtitles;
  363. margin:1em 0 0.9em 0;
  364. }
  365. h3.sur-title{
  366. display: none;
  367. }
  368. }
  369. article.node.node--type-enregistrement.node--view-mode-index{
  370. &{margin:0}
  371. h2.node-title{margin-top: 0.6em; line-height: 1;}
  372. p{margin:0.1em 0;}
  373. }
  374. article.node.node--type-enregistrement.node--view-mode-transcript{
  375. html.js &{
  376. h3.sur-title{display:none;}
  377. }
  378. .field--name-field-transcript-vo, .field--name-field-transcript-trad{
  379. .field__label{
  380. @include content_titles;
  381. html.js &{
  382. display: none;
  383. }
  384. }
  385. &:not(.visible){
  386. display:none;
  387. }
  388. }
  389. nav{
  390. padding:1em 0 0;
  391. div.field__label{
  392. @include content_titles;
  393. display: inline-block;
  394. cursor:pointer;
  395. margin-right: 1em;
  396. &:before{
  397. content: "";
  398. display:inline-block;
  399. $sq:7px;
  400. width: $sq; height:$sq;
  401. border: 1px solid red;
  402. margin-right: 0.5em;
  403. }
  404. &:hover:before,
  405. &.is-active:before{
  406. background-color: red;
  407. }
  408. }
  409. }
  410. }
  411. article.node--type-page.node--view-mode-default{
  412. >h2.node-title{
  413. @include content_big_titles;
  414. margin:0.3em 0;
  415. }
  416. .field--name-field-visuel{
  417. margin-bottom: 1em;
  418. }
  419. }
  420. .agenda{
  421. .past-events{
  422. border-top: 1px solid red;
  423. margin-top: 1em;
  424. }
  425. text-align: center;
  426. h3{
  427. @include content_titles;
  428. }
  429. article.node > h2.node-title{
  430. @include content_subtitles;
  431. margin-bottom: 0;
  432. }
  433. .field--name-field-date{
  434. time{
  435. @include content_courant;
  436. }
  437. }
  438. }
  439. article.node--type-evenement{
  440. .field--name-field-page-liee{
  441. @include content_subtitles;
  442. }
  443. .field--name-field-date{
  444. @include content_courant;
  445. }
  446. .field--name-title{
  447. @include content_courant;
  448. }
  449. // .field--name-body{}
  450. }
  451. article.node--type-evenement.node--view-mode-aside{
  452. .field--name-field-date{
  453. @include content_subtitles;
  454. }
  455. }
  456. div.taxonomy-term{
  457. padding-top:1em!important;
  458. &:not(.home_mobile)>h2{
  459. display:none;
  460. // @include content_subtitles;
  461. // margin: 1em 0 0.5em;
  462. }
  463. &.home_mobile h2{
  464. margin:0;
  465. @include content_titles;
  466. }
  467. >.content{
  468. }
  469. &:not(.home_mobile) .field__label{
  470. display:none;
  471. // @include content_titles;
  472. }
  473. .field--name-field-notice{
  474. .field__label{
  475. margin-bottom: 1em;
  476. }
  477. }
  478. &.home_mobile .field__label{
  479. margin: 0;
  480. @include content_subtitles;
  481. }
  482. article.node--type-enregistrement{
  483. h2.node-title{
  484. @include content_subtitles;
  485. margin:0.9em 0 0 0;
  486. }
  487. }
  488. }
  489. div.articles{
  490. padding-top:1em!important;
  491. &:not(.home_mobile)>h3{
  492. display:none;
  493. // @include content_subtitles;
  494. // margin: 1em 0 0.5em;
  495. }
  496. &.home_mobile h2{
  497. margin:0;
  498. @include content_titles;
  499. }
  500. article.node--type-enregistrement{
  501. h2.node-title{
  502. @include content_subtitles;
  503. margin:0.9em 0 0 0;
  504. }
  505. }
  506. }
  507. div.lastdocs{
  508. article.node--type-enregistrement{
  509. h2.node-title{
  510. @include content_subtitles;
  511. margin:0.9em 0 0 0;
  512. // margin:0 0 0.3em 0;
  513. }
  514. .entrees{
  515. @include entree-micro-square;
  516. }
  517. }
  518. }
  519. div.lastdocs-home{
  520. >.wrapper{
  521. padding:0 1em!important;
  522. }
  523. h3{
  524. @include content_titles;
  525. }
  526. article.node--type-enregistrement{
  527. h2.node-title{
  528. // @include content_subtitles;
  529. // margin:0.9em 0 0 0;
  530. margin:0 0 0.3em 0;
  531. }
  532. .entrees{
  533. @include entree-micro-square;
  534. }
  535. }
  536. }
  537. div.lastdocs{
  538. h3{
  539. @include content_titles;
  540. }
  541. article.node--type-enregistrement{
  542. .entrees{
  543. @include entree-micro-square;
  544. }
  545. h2.node-title{
  546. @include content_subtitles;
  547. margin:0.3em 0 0 0;
  548. // margin:0 0 0.3em 0;
  549. }
  550. .description{
  551. p{
  552. margin:0 0 0.3em 0;
  553. }
  554. }
  555. }
  556. }
  557. .collection{
  558. h3{
  559. @include content_titles;
  560. text-align: center;
  561. padding-top: 0.5em;
  562. }
  563. }
  564. html.is-mobile & .col[sys_path="collection"]{
  565. h3{
  566. @include content_titles;
  567. text-align: center;
  568. padding-top: 0.5em;
  569. }
  570. article.node--type-enregistrement{
  571. margin:0.7em 0 0 0;
  572. h2.node-title{
  573. margin: 0;
  574. }
  575. div.entrees{
  576. @include entree-micro-square;
  577. }
  578. p{margin: 0;}
  579. }
  580. }
  581. div.taxonomy-term.vocabulary-entrees.home_mobile{
  582. // &:not(:first-of-type){
  583. padding-bottom: 1em;
  584. // border-bottom: 1px solid red;
  585. // }
  586. > h2{
  587. white-space:nowrap;
  588. &:before{
  589. content: "";
  590. display:inline-block;
  591. $sq:10px;
  592. width: $sq; height:$sq;
  593. border: 1px solid #000;
  594. margin-right: 0.5em;
  595. }
  596. div{display: inline-block;}
  597. }
  598. &[tid='134']{>h2:before{border-color: var(--e-col-134);}}
  599. &[tid='121']{>h2:before{border-color: var(--e-col-121);}}
  600. &[tid='125']{>h2:before{border-color: var(--e-col-125);}}
  601. &[tid='119']{>h2:before{border-color: var(--e-col-119);}}
  602. &[tid='132']{>h2:before{border-color: var(--e-col-132);}}
  603. &[tid='122']{>h2:before{border-color: var(--e-col-122);}}
  604. &[tid='129']{>h2:before{border-color: var(--e-col-129);}}
  605. &[tid='120']{>h2:before{border-color: var(--e-col-120);}}
  606. &[tid='130']{>h2:before{border-color: var(--e-col-130);}}
  607. &[tid='118']{>h2:before{border-color: var(--e-col-118);}}
  608. &[tid='127']{>h2:before{border-color: var(--e-col-127);}}
  609. &[tid='133']{>h2:before{border-color: var(--e-col-133);}}
  610. &[tid='128']{>h2:before{border-color: var(--e-col-128);}}
  611. &[tid='124']{>h2:before{border-color: var(--e-col-124);}}
  612. &[tid='116']{>h2:before{border-color: var(--e-col-116);}}
  613. &[tid='117']{>h2:before{border-color: var(--e-col-117);}}
  614. &[tid='131']{>h2:before{border-color: var(--e-col-131);}}
  615. &[tid='126']{>h2:before{border-color: var(--e-col-126);}}
  616. &[tid='123']{>h2:before{border-color: var(--e-col-123);}}
  617. .field--name-field-notice, .index{
  618. >.field__label{
  619. cursor: pointer;
  620. }
  621. .field__item, .item-list{
  622. height: auto;
  623. transition: height 0.3s ease-in-out;
  624. }
  625. &.closed{
  626. .field__item, .item-list{
  627. overflow: hidden;
  628. height:1px;
  629. transition: height 0.01s ease-in-out;
  630. }
  631. }
  632. }
  633. &.notice-opened, &.index-opened{
  634. .field--name-description{
  635. overflow: hidden;
  636. height: 1px;
  637. }
  638. }
  639. }
  640. h4.inter-titre{
  641. @include content_courant;
  642. font-weight: normal;
  643. font-style: italic;
  644. margin:1.5em 0 0.5em 0;
  645. }
  646. article.node p, div.taxonomy-term p{
  647. @include content_courant;
  648. margin:0 0 1em 0;
  649. }
  650. .field.text-formatted{
  651. a{
  652. border-bottom: 1px dotted #1A1A1A;
  653. &.audio-link{
  654. border-color: red;
  655. }
  656. }
  657. }
  658. .productions-subtree{
  659. a{
  660. @include nav_link;
  661. &:before{
  662. content: "";
  663. display:inline-block;
  664. $sq:7px;
  665. width: $sq; height:$sq;
  666. border: 1px solid black;
  667. margin-right: 0.5em;
  668. }
  669. &:hover:before,
  670. &.is-active:before{
  671. background-color: black;
  672. }
  673. &.ajax-loading:before{
  674. @include spining-loader-square;
  675. }
  676. }
  677. }
  678. .productions-parent{
  679. margin-top: 1em;
  680. margin-bottom: 0.5em;
  681. a{
  682. @include nav_link;
  683. &:before{
  684. content:'\2039';
  685. // font-weight: bold;
  686. font-size: 1.7em;
  687. line-height: 0.95;
  688. margin-right:0.1em;
  689. margin-left: -0.4em;
  690. display: inline-block;
  691. vertical-align:bottom;
  692. }
  693. }
  694. }
  695. img{
  696. max-width: 100%;
  697. height: auto;
  698. }
  699. ul, li, ul.inline li:first-child{
  700. margin:0; padding:0;
  701. list-style: none;
  702. }
  703. span.close-col-btn{
  704. // z-index: 10;
  705. pointer-events: all;
  706. cursor: pointer;
  707. position:sticky;
  708. top:0.5em;
  709. padding:0!important;
  710. margin:0.7em 0 0 0.5em;
  711. display: block;
  712. $s:10px;
  713. width:$s; height:$s;
  714. float: left;
  715. background-image: url(../img/close.svg);
  716. background-repeat: no-repeat;
  717. background-position: center;
  718. background-size: contain;
  719. }
  720. html.is-mobile & .node--type-enregistrement.node--view-mode-full{
  721. h2.node-title{
  722. @include content_titles;
  723. }
  724. .audiofield label{display: none;}
  725. }
  726. }
  727. // _ _ _ ___ _
  728. // /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
  729. // / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
  730. // /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
  731. // |__/
  732. @mixin audio_controls {
  733. // outline: 1px dotted orange;
  734. &>*{
  735. display: inline-block;
  736. vertical-align: middle;
  737. width:20px;height:30px;
  738. background-position: center;
  739. background-size: contain;
  740. }
  741. .play-pause{
  742. background-image: url(../img/audio-player-play.svg);
  743. padding:0 0.3em;
  744. cursor: pointer;
  745. }
  746. &.is-playing{
  747. .play-pause{background-image: url(../img/audio-player-pause.svg);}
  748. }
  749. .previous, .next{
  750. opacity: 0.3;
  751. transition: opacity 0.3s ease-in-out;
  752. cursor: auto;
  753. &.is-active{
  754. opacity: 1;
  755. cursor: pointer;
  756. }
  757. }
  758. .previous{
  759. background-image: url(../img/audio-player-previous.svg);
  760. }
  761. .next{
  762. background-image: url(../img/audio-player-next.svg);
  763. }
  764. }
  765. #audio-player{
  766. // outline: 1px solid blue;
  767. position: absolute;
  768. box-sizing: border-box;
  769. // overflow: hidden;
  770. top:0; left:0;
  771. padding-left:0.7em;
  772. // background-color: white;
  773. height:100%;
  774. min-width:700px;
  775. z-index: 20;
  776. opacity: 0;
  777. pointer-events: none;
  778. transition: opacity 0.7s ease-in-out;
  779. &.visible{
  780. opacity: 1;
  781. pointer-events:all;
  782. }
  783. white-space: nowrap;
  784. &>*{
  785. display: inline-block;
  786. vertical-align: middle;
  787. // word-break:keep-all;
  788. padding:0;
  789. max-height: 100%;
  790. white-space: normal;
  791. @include btn;
  792. background-color: transparent;
  793. }
  794. .btns{
  795. @include audio_controls;
  796. }
  797. .time-line-container{
  798. // height:50%;
  799. background:transparent;
  800. .time-line{
  801. position: relative;
  802. width:70px; height:1px;
  803. background-color: #000;
  804. overflow: visible;
  805. transform: rotateZ(-46deg);
  806. // outline: 3px solid blue;
  807. .loader{
  808. width:0; height:1px;
  809. background-color: red;
  810. border-top: 2px solid white;
  811. border-bottom: 2px solid white;
  812. position: absolute;
  813. top:-2px;left:0;
  814. cursor: pointer;
  815. }
  816. .cursor{
  817. height:10px;width:0;
  818. border-left: 2px solid red;
  819. position:absolute;
  820. left:0; top:-5px;
  821. pointer-events: none;
  822. }
  823. }
  824. }
  825. .time{
  826. &>*{
  827. width:70px;
  828. text-align: right;
  829. }
  830. .current-time{
  831. font-size: 1.4em;
  832. font-weight: 600;
  833. }
  834. .duration{
  835. font-size: 0.75em;
  836. font-weight: 400;
  837. }
  838. }
  839. .favoris{
  840. height:100%;
  841. }
  842. .cartel{
  843. position: relative;
  844. // min-width: 200px;
  845. width: calc(100% - 260px);
  846. // outline: 1px solid orange;
  847. margin-left: 1em;
  848. // background-color: white;
  849. opacity: 1;
  850. transition: opacity 0.5s ease-in-out;
  851. &.loading{opacity: 0;}
  852. white-space: nowrap;
  853. .actions, .cartels{
  854. display: inline-block;
  855. vertical-align: top;
  856. white-space: normal;
  857. position: relative;
  858. }
  859. .actions{
  860. width:1.5em;
  861. }
  862. .cartels{
  863. width:calc(100% - 1.5em);
  864. // outline: 1px solid green;
  865. .first-cartel{
  866. // visibility: hidden;
  867. opacity:1;
  868. transition: opacity 0.2s ease-in-out;
  869. .entrees{
  870. @include entree-micro-square;
  871. }
  872. h2.node-title{
  873. margin:0.2em 0 0;
  874. font-size: 0.9em;
  875. font-weight: 600;
  876. }
  877. p{
  878. margin:0;
  879. font-size: 0.756em;
  880. }
  881. }
  882. .second-cartel{
  883. position: absolute;
  884. top: 0; left:0;
  885. // background-color: white;
  886. height:100%; min-width: 100%;
  887. opacity: 0;
  888. transition: opacity 0.2s ease-in-out;
  889. white-space: nowrap;
  890. &>*{
  891. display: inline-block;
  892. vertical-align: top;
  893. white-space: normal;
  894. }
  895. .col-left{
  896. a.ajax-link{
  897. display: block;
  898. font-size: 0.82em;
  899. font-weight: 600;
  900. }
  901. .addtoany_list > a:first-child{
  902. padding-left: 0;
  903. margin-left:-4px;
  904. }
  905. }
  906. .col-right{
  907. border-left:1px solid #1A1A1A;
  908. margin-left:5px; padding-left:5px;
  909. max-width: calc(100% - 100px);
  910. h3{
  911. // display: inline;
  912. // float: left;
  913. @include content_subtitles;
  914. margin:0;
  915. }
  916. div.item-list{
  917. // float: left;
  918. // display: inline;
  919. max-width: 100%;
  920. }
  921. ul{
  922. // display: inline;
  923. max-width: 100%;
  924. padding:0; margin:0;
  925. li{
  926. padding:0; margin:0;
  927. display: inline-block;
  928. list-style: none;
  929. &:not(:last-of-type){
  930. margin-right:0.4em;
  931. &:after{
  932. content:","
  933. }
  934. }
  935. a{
  936. @include content_courant;
  937. }
  938. }
  939. }
  940. }
  941. }
  942. }
  943. &:hover, &.second-visible{
  944. .first-cartel{
  945. opacity: 0;
  946. }
  947. .second-cartel{
  948. opacity: 1;
  949. }
  950. }
  951. // article:not(.has-second-cartel){
  952. // .second-cartel{
  953. // display:none;
  954. // }
  955. // }
  956. }
  957. }
  958. // ___ _ _ _
  959. // / __| |_ _ _ __| (_)___
  960. // \__ \ _| || / _` | / _ \
  961. // |___/\__|\_,_\__,_|_\___/
  962. .chutier-icon{
  963. $s:1em;
  964. z-index: 1;
  965. display: block;
  966. position: relative;
  967. width:$s;height:$s;
  968. overflow: hidden;
  969. text-indent: 50em;
  970. // background-color: red;
  971. background-position: center;
  972. background-repeat: no-repeat;
  973. background-size: contain;
  974. background-image: url(../img/favori-off.svg);
  975. &[action="remove"]{
  976. background-image: url(../img/favori-on.svg);
  977. }
  978. transition: opacity 0.2s ease-in-out;
  979. &.ajax-loading{
  980. opacity: 0.2;
  981. }
  982. &.not-logedin{
  983. overflow: visible;
  984. }
  985. .popup{
  986. display:none;
  987. position: absolute;
  988. top:0; left:0;
  989. width:300px; height:auto; min-height: 100px;
  990. .inner{
  991. background-color: rgba(255,255,255,0.9);
  992. border: 1px solid red;
  993. text-indent: 0;
  994. padding: 0.5em;
  995. margin:$s*1.2 0 0 $s*1.2;
  996. p{
  997. font-size: 0.756em;
  998. margin:0;
  999. &:not(:last-of-type){
  1000. margin: 0 0 0.4em 0;
  1001. }
  1002. }
  1003. }
  1004. }
  1005. &:hover{
  1006. .popup{
  1007. display: block;
  1008. }
  1009. }
  1010. }
  1011. .row .col .studio-ui-wrapper{
  1012. height: 100%;
  1013. }
  1014. #studio-ui{
  1015. height:100%;
  1016. @mixin draggable_sortable_field__item {
  1017. display: inline-block;
  1018. position: relative;
  1019. white-space: nowrap;
  1020. pointer-events: none;
  1021. // margin-right: 25px;
  1022. width:25px;
  1023. height: 100%;
  1024. &.ui-draggable-dragging{
  1025. height:100px;
  1026. }
  1027. opacity: 1;
  1028. transition: opacity 0.1s ease-in-out;
  1029. &.ready-to-remove{
  1030. opacity:0.3;
  1031. cursor:crosshair;
  1032. }
  1033. &>*{
  1034. pointer-events: all;
  1035. }
  1036. article{
  1037. // outline: 1px dotted purple;
  1038. position: absolute;
  1039. bottom:0;
  1040. transform-origin: left top;
  1041. transform: rotateZ(-45deg);
  1042. h2{
  1043. margin:0;
  1044. text-transform: none;
  1045. a{
  1046. white-space: nowrap!important;
  1047. &:before{
  1048. content:"";
  1049. display: inline-block;
  1050. vertical-align: middle;
  1051. width:$compo_square_size; height:$compo_square_size;
  1052. border: 1px solid white;
  1053. background-color: white;
  1054. // TODO: entries color;
  1055. }
  1056. font-size: 0.756em;
  1057. }
  1058. }
  1059. }
  1060. .handler{
  1061. z-index: 99;
  1062. cursor: grab;
  1063. position: absolute;
  1064. bottom:0; left:1px;
  1065. display: block;
  1066. width:$compo_square_size; height:$compo_square_size;
  1067. transform-origin: left top;
  1068. transform: rotateZ(-45deg);
  1069. border: 1px solid red;
  1070. background-color: white;
  1071. // TODO: entries color;
  1072. }
  1073. &.is-active .handler{
  1074. background-color: red;
  1075. }
  1076. } // end mixin
  1077. .chutier_ui{
  1078. height: 50%;
  1079. border-bottom: 1px solid red;
  1080. position: relative;
  1081. &>h2{
  1082. z-index: 10;
  1083. position: absolute;
  1084. width: calc(100% - 20px);
  1085. margin: 0;
  1086. padding:0.5em 0;
  1087. font-size: 1em;
  1088. font-weight: 500;
  1089. text-transform: uppercase;
  1090. // outline: 1px solid orange;
  1091. background-color: white;
  1092. }
  1093. .documents{
  1094. padding-top: 35px;
  1095. height:calc(100% - 35px);
  1096. overflow-y: auto;
  1097. overflow-x: hidden;
  1098. // box-sizing: content-box;
  1099. // outline: 1px solid green;
  1100. ul,li{
  1101. margin:0; padding:0;
  1102. line-height: 1.2;
  1103. }
  1104. li{
  1105. display: inline-block; vertical-align: top;
  1106. width:49%; margin-bottom: 0.5em;
  1107. white-space: nowrap;
  1108. >div{
  1109. display:inline-block;
  1110. padding-right: 2em;
  1111. &.ui-draggable{
  1112. cursor:grab;
  1113. }
  1114. }
  1115. .entrees{
  1116. @include entree-micro-square;
  1117. }
  1118. a.audio-link{
  1119. // text-transform: capitalize;
  1120. font-size: 0.756em;
  1121. margin-right: 0.5em;
  1122. white-space: normal;
  1123. }
  1124. .chutier-icon{
  1125. display: inline-block;
  1126. width:0.7em; height:0.7em;
  1127. opacity: 0.8;
  1128. }
  1129. }
  1130. }
  1131. }
  1132. $compo_square_size:12px;
  1133. .composition_ui{
  1134. height:50%;
  1135. &>h2{
  1136. z-index: 10;
  1137. position: absolute;
  1138. width: calc(100% - 20px);
  1139. margin: 0;
  1140. padding:0.5em 0;
  1141. font-size: 1em;
  1142. font-weight: 500;
  1143. text-transform: uppercase;
  1144. // outline: 1px solid orange;
  1145. background-color: white;
  1146. }
  1147. >.wrapper{
  1148. padding-top: 35px;
  1149. height:calc(100% - 35px);
  1150. overflow: hidden;
  1151. white-space: nowrap;
  1152. section.compositions-list, section.composer{
  1153. display: inline-block; vertical-align: bottom;
  1154. height: 100%;
  1155. }
  1156. .compositions-list{
  1157. width:30%;
  1158. height:100%; // this is not working
  1159. overflow-y: auto;
  1160. box-sizing: border-box;
  1161. padding-right: 0.5em;
  1162. border-right: 1px solid #aaa;
  1163. li{
  1164. opacity: 1;
  1165. transition: opacity 0.3s ease-in-out;
  1166. &:hover{
  1167. a.delete-composition-link{
  1168. opacity: 1;
  1169. }
  1170. }
  1171. &.ajax-loading{
  1172. opacity: 0.4;
  1173. }
  1174. }
  1175. a{
  1176. font-size: 0.756em;
  1177. $w:7px;
  1178. $s:7px; $m:5px;
  1179. &.composition-link{
  1180. display: inline-block;
  1181. box-sizing: border-box;
  1182. // width:100%;
  1183. width: calc(100% - #{$w +$s +$m +2});
  1184. &:before{
  1185. content: "";
  1186. width:$w; height:$w;
  1187. border: 1px solid black;
  1188. background-color: white;
  1189. display: inline-block;
  1190. vertical-align: middle;
  1191. margin-right: $m;
  1192. }
  1193. &.ajax-loading:before{
  1194. @include spining-loader-square;
  1195. }
  1196. &.is-active:before{
  1197. background-color: black;
  1198. }
  1199. }
  1200. &.delete-composition-link{
  1201. display: inline-block;
  1202. vertical-align: middle;
  1203. $s:7px; width:$s; height:$s;
  1204. margin-left: $m;
  1205. text-indent: 300px; overflow: hidden;
  1206. background-image: url('../img/delete.svg');
  1207. background-repeat: no-repeat;
  1208. background-size: contain;
  1209. opacity: 0;
  1210. transition: opacity 0.3s ease-in-out;
  1211. }
  1212. &.new-composition-link{
  1213. // padding-left: 1em;
  1214. &:before{
  1215. content:"+";
  1216. // font-weight: bold;
  1217. margin-right: $m;
  1218. }
  1219. display: inline-block;
  1220. vertical-align: top;
  1221. overflow: hidden;
  1222. margin-top: 0.4em;
  1223. height:1em;
  1224. transition: height 0.2s ease-in-out;
  1225. &.folded{
  1226. height:0;
  1227. }
  1228. }
  1229. }
  1230. .new-compo-form{
  1231. input[type="text"]{
  1232. font-size: 0.756em;
  1233. padding:0 0.5em;
  1234. width:calc(100% - 50px);
  1235. height:1.7em;
  1236. border: none;
  1237. border-top:1px dotted red;
  1238. border-bottom:1px dotted red;
  1239. }
  1240. button{
  1241. background: none;
  1242. border: none;
  1243. font-size: 1em;
  1244. line-height: 1;
  1245. font-weight: bold;
  1246. }
  1247. opacity: 1;
  1248. transition: opacity 0.2s ease-in-out;
  1249. &.ajax-loading{
  1250. opacity: 0.4;
  1251. }
  1252. }
  1253. }
  1254. .composer{
  1255. position: relative;
  1256. box-sizing: border-box;
  1257. padding-left: 0.5em;
  1258. width:69%;
  1259. $header_height:25px;
  1260. $actions_height:25px;
  1261. $padding:5px;
  1262. opacity:1;
  1263. transition: opacity 0.3s ease-in-out;
  1264. &.ajax-loading{
  1265. opacity:0.3;
  1266. }
  1267. >*{
  1268. box-sizing: border-box;
  1269. }
  1270. >header{
  1271. height:$header_height;
  1272. padding-bottom:$padding;
  1273. font-size: 0.756em;
  1274. }
  1275. >.composition{
  1276. position: relative;
  1277. height:calc(100% - #{$header_height + $actions_height + $padding*2});
  1278. // outline: 1px solid red;
  1279. padding-bottom: 1em;
  1280. .field--name-documents{
  1281. position: relative;
  1282. box-sizing: border-box;
  1283. height: 100%;
  1284. width: 100%; padding:0 0.5em;
  1285. $h:29px; $w:calc(100% - 2px); $c:#A1A1A1;
  1286. &:before, &:after{
  1287. content: "";
  1288. width:$w;
  1289. position: absolute;
  1290. bottom:0; left:0;
  1291. // z-index: -1;
  1292. }
  1293. &:before{
  1294. border-top: 1px solid $c;
  1295. height:$h /2;
  1296. }
  1297. &:after{
  1298. border-left: 1px solid $c;
  1299. border-right: 1px solid $c;
  1300. height:$h;
  1301. }
  1302. .field__item{
  1303. @include draggable_sortable_field__item;
  1304. }
  1305. }
  1306. .remove-drop-zone{
  1307. position: absolute;
  1308. top:0; left:0; width:100%; height:45%;
  1309. z-index: 150;
  1310. // &.ui-droppable-hover{
  1311. // background-color: red;
  1312. // }
  1313. }
  1314. }
  1315. >.actions{
  1316. padding-top:$padding;
  1317. height:$actions_height;
  1318. // outline: 1px solid blue;
  1319. .compo-player-controls{
  1320. @include audio_controls;
  1321. }
  1322. }
  1323. }
  1324. }
  1325. }
  1326. // drag and drop specifics
  1327. // created by js
  1328. .field__item.ui-draggable-dragging{
  1329. // outline: 1px solid green;
  1330. @include draggable_sortable_field__item;
  1331. }
  1332. }
  1333. // ___ _
  1334. // / __| ___ __ _ _ _ __| |_
  1335. // \__ \/ -_) _` | '_/ _| ' \
  1336. // |___/\___\__,_|_| \__|_||_|
  1337. .col[theme="edlp_search_search_form"]{
  1338. &, >.wrapper{
  1339. position: relative;
  1340. height:100%;
  1341. }
  1342. }
  1343. #edlp-search-form{
  1344. height:100%;
  1345. .fieldgroup{
  1346. border-bottom: 1px solid red;
  1347. margin-top:1em;
  1348. margin-bottom: 0em;
  1349. legend{
  1350. font-size: 0.9em;
  1351. margin: 0;
  1352. font-weight: 500;
  1353. }
  1354. .fieldset-wrapper{
  1355. padding-bottom: 1em;
  1356. }
  1357. .form-item{
  1358. margin:0;
  1359. }
  1360. }
  1361. input[type="text"], input[type="search"]{
  1362. font-size: 0.8em;
  1363. padding:0.2em; margin:0;
  1364. border: 1px solid #aaa;
  1365. border-radius: 3px;
  1366. width:90%;
  1367. }
  1368. #edit-entries--wrapper{
  1369. legend{
  1370. cursor: pointer;
  1371. display: block;
  1372. width:100%;
  1373. &:after{
  1374. content: '\2304';
  1375. font-size: 2em;
  1376. font-weight: 200;
  1377. display:inline-block;
  1378. line-height: 0;
  1379. letter-spacing: 0;
  1380. // width:15px;
  1381. height:13px;
  1382. overflow: hidden;
  1383. // text-align: center;
  1384. // outline: 1px solid orange;
  1385. float: right;
  1386. margin-top: 0.5em 0 0 0;
  1387. }
  1388. }
  1389. #edit-entries{
  1390. overflow: hidden;
  1391. height:1px;
  1392. margin:0;
  1393. transition: height 0.4s ease-in-out;
  1394. }
  1395. &.opened{
  1396. legend:after{
  1397. // content: '\2303';
  1398. transform: rotateZ(180deg);
  1399. transform-origin: center;
  1400. margin-top: 0 0 0.5em 0;
  1401. }
  1402. #edit-entries{
  1403. height:362px;
  1404. }
  1405. }
  1406. }
  1407. #edit-entries{
  1408. .form-item{
  1409. label, input{
  1410. display: inline-block;
  1411. vertical-align: middle;
  1412. }
  1413. label{
  1414. font-size: 0.756em;
  1415. }
  1416. input[type="checkbox"]{
  1417. appearance:none;
  1418. $w:10px;
  1419. width:$w; height:$w;
  1420. border: 1px double black;
  1421. background-color: white;
  1422. &:checked{
  1423. background-color: black;
  1424. }
  1425. &[value='134']{
  1426. border-color: var(--e-col-134);
  1427. &:checked{background-color: var(--e-col-134);}
  1428. }
  1429. &[value='121']{
  1430. border-color: var(--e-col-121);
  1431. &:checked{background-color: var(--e-col-121);}
  1432. }
  1433. &[value='125']{
  1434. border-color: var(--e-col-125);
  1435. &:checked{background-color: var(--e-col-125);}
  1436. }
  1437. &[value='119']{
  1438. border-color: var(--e-col-119);
  1439. &:checked{background-color: var(--e-col-119);}
  1440. }
  1441. &[value='132']{
  1442. border-color: var(--e-col-132);
  1443. &:checked{background-color: var(--e-col-132);}
  1444. }
  1445. &[value='122']{
  1446. border-color: var(--e-col-122);
  1447. &:checked{background-color: var(--e-col-122);}
  1448. }
  1449. &[value='129']{
  1450. border-color: var(--e-col-129);
  1451. &:checked{background-color: var(--e-col-129);}
  1452. }
  1453. &[value='120']{
  1454. border-color: var(--e-col-120);
  1455. &:checked{background-color: var(--e-col-120);}
  1456. }
  1457. &[value='130']{
  1458. border-color: var(--e-col-130);
  1459. &:checked{background-color: var(--e-col-130);}
  1460. }
  1461. &[value='118']{
  1462. border-color: var(--e-col-118);
  1463. &:checked{background-color: var(--e-col-118);}
  1464. }
  1465. &[value='127']{
  1466. border-color: var(--e-col-127);
  1467. &:checked{background-color: var(--e-col-127);}
  1468. }
  1469. &[value='133']{
  1470. border-color: var(--e-col-133);
  1471. &:checked{background-color: var(--e-col-133);}
  1472. }
  1473. &[value='128']{
  1474. border-color: var(--e-col-128);
  1475. &:checked{background-color: var(--e-col-128);}
  1476. }
  1477. &[value='124']{
  1478. border-color: var(--e-col-124);
  1479. &:checked{background-color: var(--e-col-124);}
  1480. }
  1481. &[value='116']{
  1482. border-color: var(--e-col-116);
  1483. &:checked{background-color: var(--e-col-116);}
  1484. }
  1485. &[value='117']{
  1486. border-color: var(--e-col-117);
  1487. &:checked{background-color: var(--e-col-117);}
  1488. }
  1489. &[value='131']{
  1490. border-color: var(--e-col-131);
  1491. &:checked{background-color: var(--e-col-131);}
  1492. }
  1493. &[value='126']{
  1494. border-color: var(--e-col-126);
  1495. &:checked{background-color: var(--e-col-126);}
  1496. }
  1497. &[value='123']{
  1498. border-color: var(--e-col-123);
  1499. &:checked{background-color: var(--e-col-123);}
  1500. }
  1501. }
  1502. }
  1503. }
  1504. input[type="submit"]{
  1505. font-size: 0.756em;
  1506. padding:0.1em;
  1507. margin:1em 0 0 0;
  1508. float:right;
  1509. opacity: 1;
  1510. transition: opacity 0.3s ease-in-out;
  1511. }
  1512. &.ajax-loading input[type="submit"]{
  1513. opacity:0.2;
  1514. pointer-events: none;
  1515. }
  1516. }
  1517. .col[theme="edlp_search_results"]{
  1518. opacity: 1;
  1519. transition: opacity 0.3s ease-in-out;
  1520. &.ajax-loading{
  1521. opacity:0.2;
  1522. }
  1523. article.node{
  1524. &:first-of-type{
  1525. margin-top: 1em!important;
  1526. }
  1527. .entrees{
  1528. @include entree-micro-square;
  1529. }
  1530. h2.node-title{
  1531. margin:0 0 0.3em 0;
  1532. // font-size: 0.8em;
  1533. // font-weight: 500;
  1534. // text-transform: none;
  1535. }
  1536. // .description{
  1537. // p{
  1538. // margin:0;
  1539. // font-size: 0.75em;
  1540. // }
  1541. // }
  1542. }
  1543. }
  1544. // _ _ _ _ _
  1545. // /_\ (_)__ ___ __ | \| |___ __| |___
  1546. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  1547. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  1548. // |__/
  1549. // body.path-edlp-node main{
  1550. // main .col>.wrapper, .edlp-ajax-node{
  1551. // height: 100%;
  1552. // }
  1553. // }
  1554. // _ _
  1555. // /_\ __ _ ___ _ _ __| |__ _
  1556. // / _ \/ _` / -_) ' \/ _` / _` |
  1557. // /_/ \_\__, \___|_||_\__,_\__,_|
  1558. // |___/
  1559. body.path-agenda main .col{
  1560. &>.wrapper{
  1561. height:100%;
  1562. }
  1563. }
  1564. .agenda{
  1565. // position: relative;
  1566. // white-space: nowrap;
  1567. // height: 100%;
  1568. // >*{
  1569. // white-space: normal;
  1570. // }
  1571. // div.column{
  1572. // display: inline-block;
  1573. // vertical-align: top;
  1574. // height:100%;
  1575. // }
  1576. // div.next-event{
  1577. // width:65%;
  1578. // }
  1579. // div.future-past-events{
  1580. // width:33%;
  1581. // }
  1582. ul,li{
  1583. margin:0; padding:0;
  1584. list-style: none;
  1585. }
  1586. nav{
  1587. a{
  1588. font-size: 0.756em;
  1589. }
  1590. }
  1591. }
  1592. // _ _
  1593. // | || |___ _ __ ___
  1594. // | __ / _ \ ' \/ -_)
  1595. // |_||_\___/_|_|_\___|
  1596. // ___ _ _ _
  1597. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  1598. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  1599. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  1600. body.path-frontpage, body.path-productions{
  1601. .layout-content .row{
  1602. // opacity: 1;
  1603. white-space: normal;
  1604. min-height: 100%;
  1605. .grid{
  1606. position: relative;
  1607. min-height: 100%; max-height: 100%;
  1608. }
  1609. .col{
  1610. height:auto;
  1611. opacity:1;
  1612. transition: opacity 0.5s ease-in-out;
  1613. // box-sizing: content-box;
  1614. &.offfield{
  1615. opacity: 0;
  1616. transition: opacity 0s ease-in-out;
  1617. }
  1618. &.col-2:last-child{
  1619. padding-left: 0em;
  1620. padding-right: 1em;
  1621. }
  1622. >.wrapper{
  1623. margin-bottom: 1em;
  1624. padding:0;
  1625. >*{padding:0;}
  1626. article.node{
  1627. .field--name-field-visuel{
  1628. // a,img{
  1629. // display: block;
  1630. // width: 100%;
  1631. // height:auto;
  1632. // }
  1633. // http://www.goldenapplewebdesign.com/responsive-aspect-ratios-with-pure-css/
  1634. // maintain box size without waiting for image loading
  1635. a{
  1636. display: block;
  1637. width: 100%;
  1638. padding-bottom: 56.25%; // ratio 800*450;
  1639. // height:auto;
  1640. }
  1641. img{
  1642. // display: none;
  1643. position: absolute;
  1644. top: 0; bottom: 0; left: 0; right: 0;
  1645. }
  1646. }
  1647. header{
  1648. background-color: rgba(255,255,255,0.95);
  1649. box-sizing: border-box;
  1650. width: 100%;
  1651. padding:0.5em 1em;
  1652. h2.node-title{
  1653. margin:0;
  1654. @include content_titles;
  1655. }
  1656. // p{margin: 0;}
  1657. }
  1658. &.node--view-mode-image-2-columns{
  1659. header{
  1660. position: absolute;
  1661. bottom: 0; left:0;
  1662. h2.node-title{
  1663. @include content_big_titles;
  1664. }
  1665. }
  1666. }
  1667. &.node--view-mode-image-1-columns{
  1668. .field--name-field-visuel{
  1669. padding-bottom: 35px;
  1670. }
  1671. header{
  1672. box-sizing: border-box;
  1673. position: absolute;
  1674. bottom: 0; left:0;
  1675. }
  1676. }
  1677. &.node--view-mode-text-1-column{
  1678. // box-sizing: border-box;
  1679. padding:0 1em;
  1680. }
  1681. }
  1682. }
  1683. }
  1684. }
  1685. }
  1686. // ___ _
  1687. // | __|__ ___| |_ ___ _ _
  1688. // | _/ _ \/ _ \ _/ -_) '_|
  1689. // |_|\___/\___/\__\___|_|
  1690. @mixin oblique-list {
  1691. display: inline-block;
  1692. position: relative;
  1693. list-style: none;
  1694. margin: 0 1.5em 0 0;
  1695. // width:2em; height:10em;
  1696. padding: 0;
  1697. a{
  1698. position: absolute;
  1699. bottom: 0;
  1700. transform-origin: left bottom;
  1701. transform: rotateZ(-45deg);
  1702. color: #000;
  1703. text-decoration: none;
  1704. text-transform: uppercase;
  1705. font-size: 0.756em;
  1706. white-space: nowrap;
  1707. }
  1708. }
  1709. footer{
  1710. position: relative;
  1711. pointer-events: none;
  1712. // outline: 1px dotted blue;
  1713. >.wrapper{
  1714. white-space: nowrap;
  1715. // height:100%;
  1716. >.region{
  1717. // height:100%;
  1718. // display: table-cell;
  1719. display: inline-block;
  1720. vertical-align: baseline;
  1721. white-space:normal;
  1722. // pointer-events: none;
  1723. // outline: 1px dotted purple;
  1724. // position: relative;
  1725. >*{
  1726. display: inline-block; vertical-align: bottom;
  1727. }
  1728. }
  1729. .region-footer-left{
  1730. // float:left;
  1731. width:12%;
  1732. // min-width:50px;
  1733. text-align: left;
  1734. }
  1735. .region-footer-center{
  1736. // float: none;
  1737. width: 73%;
  1738. overflow:hidden;
  1739. text-align: center;
  1740. // z-index: 2;
  1741. }
  1742. .region-footer-right{
  1743. // float:right;
  1744. min-width:12%;
  1745. // min-width: 50px;
  1746. text-align: right;
  1747. // position: absolute;
  1748. // bottom:0; right:0;
  1749. // z-index: 1;
  1750. }
  1751. @media only screen and (max-width: 1270px) {
  1752. .region-footer-left{
  1753. width:9%;
  1754. }
  1755. .region-footer-center{
  1756. width: 80%;
  1757. overflow:hidden;
  1758. // text-align: left; // why ??
  1759. text-align: center;
  1760. }
  1761. .region-footer-right{
  1762. box-sizing: content-box;
  1763. min-width:5%;
  1764. }
  1765. }
  1766. }
  1767. #block-footer{
  1768. display: inline-block;
  1769. margin-bottom: 1em;
  1770. ul{
  1771. margin:0;
  1772. padding:0;
  1773. // white-space: nowrap;
  1774. li{
  1775. pointer-events: all;
  1776. // @include oblique-list;
  1777. display: inline-block;
  1778. padding:0;
  1779. // &:first-of-type{
  1780. // margin-left: 1em;
  1781. // }
  1782. white-space:nowrap;
  1783. a{
  1784. font-size: 0.756em;
  1785. @include btn;
  1786. &:before{
  1787. content: "";
  1788. display:inline-block;
  1789. $sq:7px;
  1790. width: $sq; height:$sq;
  1791. border: 1px solid black;
  1792. margin-right: 0.5em;
  1793. }
  1794. &:hover:before,
  1795. &.is-active:before{
  1796. background-color: black;
  1797. }
  1798. &.ajax-loading:before{
  1799. @include spining-loader-square;
  1800. }
  1801. }
  1802. }
  1803. }
  1804. @media only screen and (max-width: 1270px) {
  1805. margin-top: 15px;
  1806. ul{
  1807. li{
  1808. display: block;
  1809. margin-left: 0!important;
  1810. padding:0;
  1811. line-height: 0.6;
  1812. a{
  1813. @include content_petit;
  1814. padding:0;
  1815. }
  1816. }
  1817. }
  1818. }
  1819. }
  1820. // remove #block-productions from selector
  1821. // to enable again oblique style for all block-menu
  1822. nav#block-productions.block-menu{
  1823. display: inline-block;
  1824. ul{
  1825. margin:0;
  1826. padding:0;
  1827. li{
  1828. pointer-events: all;
  1829. @include oblique-list;
  1830. &:first-of-type{
  1831. margin-left: 1em;
  1832. }
  1833. a{
  1834. @include btn;
  1835. &:before{
  1836. content: "";
  1837. display:inline-block;
  1838. $sq:7px;
  1839. width: $sq; height:$sq;
  1840. border: 1px solid black;
  1841. margin-right: 0.5em;
  1842. }
  1843. &:hover:before,
  1844. &.is-active:before{
  1845. background-color: black;
  1846. }
  1847. &.ajax-loading:before{
  1848. @include spining-loader-square;
  1849. }
  1850. }
  1851. }
  1852. }
  1853. }
  1854. nav#block-productions.block-menu{
  1855. position: relative;
  1856. pointer-events: none;
  1857. display:none;
  1858. body.path-productions &, body.entity-type-node.bundle-page & {display:inline-block;}
  1859. ul{
  1860. margin-left: -3em;
  1861. white-space: nowrap;
  1862. li{
  1863. height:200px; // this is needed to respect the height of oblique links :(
  1864. a{
  1865. // outline: 1px solid blue;
  1866. pointer-events: all;
  1867. // @include btn;
  1868. background-color: rgba(255,255,255, 0.6);
  1869. padding-right: 0.4em;
  1870. &:before{
  1871. content: "";
  1872. display:inline-block;
  1873. $sq:7px;
  1874. width: $sq; height:$sq;
  1875. border: 1px solid red;
  1876. margin-right: 0.5em;
  1877. }
  1878. &:hover:before,
  1879. &.is-active:before,
  1880. &.is-active-trail:before{
  1881. background-color: red;
  1882. }
  1883. &.ajax-loading:before{
  1884. @include spining-loader-square;
  1885. }
  1886. }
  1887. }
  1888. }
  1889. }
  1890. .block-block-edlp-entrees{
  1891. pointer-events: none;
  1892. body.path-productions &,
  1893. body.entity-type-node.bundle-page &,
  1894. body.path-agenda & {display:none}
  1895. display: inline-block;
  1896. // vertical-align: top;
  1897. // outline: 1px dotted green;
  1898. div.item-list{
  1899. ul{
  1900. margin:0;
  1901. white-space: nowrap;
  1902. li{
  1903. @include oblique-list;
  1904. margin:0;
  1905. white-space: nowrap;
  1906. pointer-events: none;
  1907. &:last-of-type:not(.entree){
  1908. margin-right: 5em;
  1909. }
  1910. span.oblique-wrapper{
  1911. height:120px; // this is needed to respect the height of oblique links :(
  1912. display: inline-block;
  1913. vertical-align: bottom;
  1914. position: relative;
  1915. width:1.5em;
  1916. }
  1917. a.term-link, a.articles-link{
  1918. // outline: 1px solid blue;
  1919. pointer-events: all;
  1920. // background-color: #fff;
  1921. background-color: rgba(255,255,255, 0.6);
  1922. // @include btn;
  1923. padding-right: 0.4em;
  1924. color:black;
  1925. transition: color 0.3s ease-in-out;
  1926. &:before{
  1927. content: "";
  1928. display:inline-block;
  1929. $sq:7px;
  1930. width: $sq; height:$sq;
  1931. border: 1px solid #000;
  1932. background-color: #000;
  1933. margin-right: 0.5em;
  1934. transition: background-color 0.1s ease-in-out;
  1935. }
  1936. &.articles-link{
  1937. margin-left: 4em;
  1938. text-transform: capitalize;
  1939. }
  1940. }
  1941. .entree-content{
  1942. display: inline-block;
  1943. // outline: 1px solid green;
  1944. width:0;
  1945. overflow: hidden;
  1946. opacity: 0;
  1947. transition: all 300ms ease-in-out;
  1948. transition-property: width,opacity;
  1949. span.oblique-wrapper:first-of-type{
  1950. margin-left: 0.5em;
  1951. }
  1952. span.oblique-wrapper a{
  1953. text-transform: none;
  1954. pointer-events: auto;
  1955. &:before{
  1956. content: "";
  1957. display:inline-block;
  1958. $sq:5px;
  1959. width: $sq; height:$sq;
  1960. border: 1px solid #000;
  1961. margin-right: 0.5em;
  1962. }
  1963. &.ajax-loading:before{
  1964. @include spining-loader-square;
  1965. }
  1966. }
  1967. .term-description{
  1968. display: inline-block;
  1969. margin-left: 1.5em;
  1970. text-align: left;
  1971. width:250px;
  1972. word-wrap:break-word;
  1973. // word-break:break-all;
  1974. hyphens: auto;
  1975. white-space: normal;
  1976. background-color: $transparent-bg;
  1977. padding:0.5em;
  1978. padding-bottom:0;
  1979. p{
  1980. font-size: 0.65em;
  1981. margin:0;
  1982. }
  1983. }
  1984. }
  1985. // TODO: replace variable system by attribute color
  1986. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1987. // border-color: attr(color);
  1988. // background-color: attr(color);
  1989. // }
  1990. &[tid='134']{
  1991. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1992. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  1993. &[tid='121']{
  1994. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1995. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  1996. &[tid='125']{
  1997. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1998. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  1999. &[tid='119']{
  2000. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2001. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  2002. &[tid='132']{
  2003. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2004. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  2005. &[tid='122']{
  2006. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2007. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  2008. &[tid='129']{
  2009. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2010. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  2011. &[tid='120']{
  2012. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2013. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  2014. &[tid='130']{
  2015. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2016. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  2017. &[tid='118']{
  2018. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2019. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  2020. &[tid='127']{
  2021. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2022. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  2023. &[tid='133']{
  2024. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2025. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  2026. &[tid='128']{
  2027. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2028. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  2029. &[tid='124']{
  2030. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2031. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  2032. &[tid='116']{
  2033. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2034. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  2035. &[tid='117']{
  2036. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2037. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  2038. &[tid='131']{
  2039. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2040. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  2041. &[tid='126']{
  2042. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2043. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  2044. &[tid='123']{
  2045. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2046. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  2047. // &.highlighted{
  2048. // a.term_link{
  2049. // color: red;
  2050. // }
  2051. // }
  2052. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  2053. a.articles-link:not(:hover):not(.is-active):before{
  2054. background-color: #fff!important;
  2055. }
  2056. &:not(.opened):not(.highlighted){
  2057. a.term-link:not(:hover):before{
  2058. background-color: #fff!important;
  2059. }
  2060. }
  2061. &.opened{
  2062. // outline: 1px solid purple;
  2063. a.term-link:after {
  2064. content: '';
  2065. position: absolute;
  2066. left: 15px; right:0;
  2067. bottom: -3px;
  2068. border-bottom: 1px solid grey;
  2069. }
  2070. .entree-content{
  2071. width:350px;
  2072. opacity: 1;
  2073. }
  2074. }
  2075. // &:not(:first-of-type) .entree-content{display: none;}
  2076. }
  2077. }
  2078. &.opened, &.highlighted{
  2079. li:not(.opened):not(.highlighted):not(:hover){
  2080. a.term-link{
  2081. color:#a1a1a1;
  2082. }
  2083. }
  2084. }
  2085. }
  2086. }
  2087. $icons_w:20px;
  2088. $mobile_icon_w:15px;
  2089. @mixin iconlinkblock($bgimgurl, $bgimgurlactive) {
  2090. pointer-events: all;
  2091. margin-left: 0.5em;
  2092. position: relative;
  2093. // @include btn;
  2094. a{
  2095. box-sizing: border-box;
  2096. display: block;
  2097. $wh:$icons_w;
  2098. width:$wh; height:$wh;
  2099. text-indent: $wh*2;
  2100. margin: 0;
  2101. overflow: hidden;
  2102. // mask-image: $bgimgurl;
  2103. // mask-size: contain;
  2104. // background-color: #000;
  2105. // transition: background-color 0.3s ease-in-out;
  2106. background-image: $bgimgurl;
  2107. background-repeat: no-repeat;
  2108. background-size: contain;
  2109. cursor: pointer;
  2110. &:hover, &.is-active{
  2111. // background-color: red;
  2112. background-image: $bgimgurlactive;
  2113. }
  2114. &[alt]:hover{
  2115. // position:relative;
  2116. &:after{
  2117. content:attr(alt);
  2118. position:absolute;
  2119. right:0; bottom:$icons_w*1.2;
  2120. width:170px;
  2121. border: 1px solid red;
  2122. padding:0.5em;
  2123. font-size: 0.756em;
  2124. background-color: white;
  2125. z-index: 50;
  2126. }
  2127. }
  2128. html.is-mobile &{
  2129. $wh:$mobile_icon_w;
  2130. width:$wh; height:$wh;
  2131. text-indent: $wh*2;
  2132. }
  2133. }
  2134. }
  2135. .block.random-player{
  2136. margin-bottom: 1em;
  2137. @include iconlinkblock(url(../img/random.svg), url(../img/random-active.svg));
  2138. }
  2139. #block-studiolinkblock{
  2140. margin-bottom: 1em;
  2141. margin-left: 0.2em;
  2142. @include iconlinkblock(url(../img/studio.svg), url(../img/studio-active.svg));
  2143. }
  2144. #block-userlogin{
  2145. margin-bottom: 1em;
  2146. pointer-events: all;
  2147. margin-left: 0.2em;
  2148. $wh:$icons_w;
  2149. position: relative;
  2150. // box-sizing: border-box;
  2151. width:$wh; height: $wh;
  2152. h2{
  2153. box-sizing: content-box;
  2154. // @include btn;
  2155. // padding:0;
  2156. position: relative;
  2157. width:$wh; height:$wh;
  2158. background-image: url(../img/studio.svg);
  2159. // background-color: red;
  2160. background-size: contain;
  2161. text-indent: $wh*2;
  2162. margin: 0;
  2163. overflow: hidden;
  2164. z-index: 1;
  2165. cursor: pointer;
  2166. }
  2167. .block-content{
  2168. z-index: 0;
  2169. position:absolute;
  2170. right:0;bottom:$wh;
  2171. padding:0.5em;
  2172. padding-bottom: 20px;
  2173. background-color: $transparent-bg;
  2174. border-top: 1px solid red;
  2175. border-bottom: 1px solid red;
  2176. overflow: hidden;
  2177. box-sizing:border-box;
  2178. height: 0px;
  2179. opacity:0;
  2180. pointer-events:none;
  2181. transition: all 0.5s ease-in-out;
  2182. transition-property: height,opacity;
  2183. // &:hover{
  2184. // height:200px;
  2185. // opacity:1;
  2186. // pointer-events: auto;
  2187. // }
  2188. form{
  2189. font-size: 0.75em;
  2190. }
  2191. .item-list{
  2192. ul{margin:0;}
  2193. li{
  2194. margin:0;
  2195. list-style: none;
  2196. a{
  2197. color: inherit;
  2198. text-decoration: none;
  2199. font-size: 0.75em;
  2200. white-space:nowrap;
  2201. }
  2202. }
  2203. }
  2204. }
  2205. &:hover{
  2206. .block-content{
  2207. height:200px;
  2208. opacity: 1;
  2209. pointer-events:auto;
  2210. }
  2211. }
  2212. }
  2213. #block-edlpsearchlinkblock{
  2214. margin-bottom: 1em;
  2215. @include iconlinkblock(url(../img/search.svg), url(../img/search-active.svg));
  2216. margin-left: 0.2em;
  2217. }
  2218. .block-language{
  2219. float: none;
  2220. margin-top: 0;
  2221. margin-right: 2em;
  2222. ul{
  2223. margin:0; padding:0;
  2224. li{
  2225. display: inline-block; vertical-align: middle;
  2226. list-style: none;
  2227. pointer-events: all;
  2228. a{
  2229. font-size: 0.690em;
  2230. color:inherit;
  2231. text-decoration: none;
  2232. text-transform: capitalize;
  2233. margin-left: 0.8em;
  2234. @include btn;
  2235. &:before{
  2236. content: "";
  2237. display:inline-block;
  2238. $sq:0.6em;
  2239. width: $sq; height:$sq;
  2240. border: 1px solid red;
  2241. margin-right: 0.3em;
  2242. }
  2243. }
  2244. &.is-active,
  2245. &:hover{
  2246. a:before{
  2247. border-color: red;
  2248. background-color: red;
  2249. }
  2250. }
  2251. }
  2252. }
  2253. html.is-mobile &{
  2254. // outline: 1px solid green;
  2255. border-left: none;
  2256. ul{
  2257. margin-right:0.5em;
  2258. }
  2259. li{
  2260. line-height: 0;
  2261. a{
  2262. padding:0;
  2263. margin:0;
  2264. // &:before{display: none;}
  2265. &.is-active{
  2266. display:none;
  2267. }
  2268. }
  2269. }
  2270. }
  2271. }
  2272. html.is-mobile &{
  2273. position: fixed;
  2274. box-sizing: border-box;
  2275. bottom:0; left:0;
  2276. width:100%;
  2277. background-color: #fff;
  2278. padding-top:0;
  2279. padding-bottom:0;
  2280. .region-footer-left, .region-footer-right{
  2281. width: 50%;
  2282. >*{
  2283. margin:0.4em 0!important;
  2284. }
  2285. }
  2286. #block-footer, .block-language{
  2287. // margin-top: 0;
  2288. li{
  2289. display: inline-block;
  2290. a{
  2291. font-size: 0.680em;
  2292. &:before{
  2293. $sq:5px;
  2294. width: $sq; height:$sq;
  2295. }
  2296. }
  2297. }
  2298. }
  2299. .region-footer-right{
  2300. text-align: right;
  2301. }
  2302. }
  2303. }
  2304. // _ _ _ ___
  2305. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  2306. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  2307. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  2308. // |_| |_|
  2309. .node-popup{
  2310. .inner{
  2311. position: relative;
  2312. .entrees{
  2313. @include entree-micro-square;
  2314. }
  2315. .title{
  2316. margin:0.2em 0 0;
  2317. // margin:0.3em 0;
  2318. font-size: 0.9em;
  2319. font-weight: 600;
  2320. }
  2321. .description{
  2322. p{
  2323. margin:0;
  2324. font-size: 0.756em;
  2325. }
  2326. }
  2327. .chutier-icon{
  2328. &[action="add"]{
  2329. display:none;
  2330. }
  2331. position:absolute;
  2332. top:0.4em; right:0.4em;
  2333. }
  2334. }
  2335. }
  2336. // __ ___ _ ___ _ _ _
  2337. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  2338. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  2339. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  2340. // complete rewrite of url_to_video_filter css
  2341. .url-to-video-container{
  2342. // display:block;
  2343. margin:10px auto;
  2344. // width:100%;
  2345. &.no-js{
  2346. border:solid black 1px;
  2347. .loader{
  2348. // background:url(../images/no-js.png) no-repeat center center;
  2349. // background-size:40px 40px;
  2350. }
  2351. .url-to-video-player{
  2352. cursor:auto;
  2353. }
  2354. }
  2355. .loader{
  2356. // top:240px;
  2357. // left:50%;
  2358. // transform:translate(-50%, -50%);
  2359. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  2360. top:auto; left: auto;
  2361. transform: none;
  2362. }
  2363. span.url-to-video-player{
  2364. // display:block;
  2365. // width:100%;
  2366. /* assuming that the video has a 16:9 ratio */
  2367. // padding-bottom:56.25%;
  2368. padding-bottom:0;
  2369. // overflow:hidden;
  2370. // position:relative;
  2371. // width:100%;
  2372. // height:100%;
  2373. height:auto;
  2374. // cursor:hand;
  2375. // cursor:pointer;
  2376. // display: block;
  2377. &:before{
  2378. content: "";
  2379. display: block;
  2380. /* assuming that the video has a 16:9 ratio */
  2381. padding-top: 56.25%;
  2382. }
  2383. img.player-thumb
  2384. {
  2385. // background-position:center center;
  2386. // background-size:cover;
  2387. // position: absolute;
  2388. // top: 0;
  2389. // left: 0;
  2390. // width: 100%;
  2391. // height: 100%;
  2392. // cursor:pointer;
  2393. }
  2394. .play-button
  2395. {
  2396. z-index: 5;
  2397. // height:40px;
  2398. // width:40px;
  2399. // display:block;
  2400. // background:url(../images/play-button.png) no-repeat center center;
  2401. // background-size:40px 40px;
  2402. // position:absolute;
  2403. // top:240px;
  2404. top:50%;
  2405. // left:50%;
  2406. // transform:translate(-50%, -50%);
  2407. // cursor:pointer;
  2408. }
  2409. iframe.player-iframe
  2410. {
  2411. // width:100%;
  2412. // height:100%;
  2413. // position:absolute;
  2414. // top:0;
  2415. // left:0;
  2416. }
  2417. }
  2418. }
  2419. #user-register-form{
  2420. width:29em;
  2421. input{
  2422. @include content_courant;
  2423. }
  2424. label{
  2425. @include content_subtitles;
  2426. display: inline-block;
  2427. width: 16em;
  2428. white-space: normal;
  2429. }
  2430. .form-item{
  2431. white-space: nowrap;
  2432. }
  2433. .description{
  2434. @include content_petit;
  2435. max-width: 100%;
  2436. white-space: normal;
  2437. }
  2438. input[type='email'], input[type='password']{
  2439. width:17em;
  2440. }
  2441. .password-strength, .password-strength__meter{
  2442. width:98%;
  2443. }
  2444. .password-strength__title, .password-confirm{
  2445. @include content_courant;
  2446. }
  2447. }
  2448. #better-messages-default.better-messages-overlay{
  2449. border-radius: 0;
  2450. padding:0.8em;
  2451. box-shadow: 0 2px 10px #716f6f;
  2452. .better-messages-content{
  2453. }
  2454. .better-messages-footer{
  2455. border-top: none;
  2456. .better-messages-close{
  2457. @include content_courant;
  2458. span{
  2459. height:15px; width:15px;
  2460. background-size: contain;
  2461. }
  2462. }
  2463. }
  2464. }