app.scss 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534
  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 entrie-micro-square {
  21. display:inline-block;
  22. $s:8px;
  23. width:$s; height:$s;
  24. background-color: black;
  25. margin-right: 3px;
  26. &[tid='134']{background-color: var(--e-col-134);}
  27. &[tid='121']{background-color: var(--e-col-121);}
  28. &[tid='125']{background-color: var(--e-col-125);}
  29. &[tid='119']{background-color: var(--e-col-119);}
  30. &[tid='132']{background-color: var(--e-col-132);}
  31. &[tid='122']{background-color: var(--e-col-122);}
  32. &[tid='129']{background-color: var(--e-col-129);}
  33. &[tid='120']{background-color: var(--e-col-120);}
  34. &[tid='130']{background-color: var(--e-col-130);}
  35. &[tid='118']{background-color: var(--e-col-118);}
  36. &[tid='127']{background-color: var(--e-col-127);}
  37. &[tid='133']{background-color: var(--e-col-133);}
  38. &[tid='128']{background-color: var(--e-col-128);}
  39. &[tid='124']{background-color: var(--e-col-124);}
  40. &[tid='116']{background-color: var(--e-col-116);}
  41. &[tid='117']{background-color: var(--e-col-117);}
  42. &[tid='131']{background-color: var(--e-col-131);}
  43. &[tid='126']{background-color: var(--e-col-126);}
  44. &[tid='123']{background-color: var(--e-col-123);}
  45. }
  46. // .layout-container{
  47. // pointer-events: none;
  48. // }
  49. // _ _
  50. // | |_ ___ __ _ __| |___ _ _
  51. // | ' \/ -_) _` / _` / -_) '_|
  52. // |_||_\___\__,_\__,_\___|_|
  53. header[role="banner"]{
  54. pointer-events: all;
  55. // TODO: what header height to fit well with player ??
  56. }
  57. #block-edlptheme-branding{
  58. display: inline-block;
  59. h1{
  60. margin:0; display: inline-block;
  61. a.site-name{
  62. display: block;
  63. $w:290px;
  64. width:$w; height:$w * 0.22;
  65. background-image: url(../img/logo.svg);
  66. background-color: white;
  67. background-repeat:no-repeat;
  68. background-size: contain;
  69. white-space: nowrap;
  70. text-indent: 500px;
  71. overflow: hidden;
  72. }
  73. }
  74. }
  75. #block-mainnavigation{
  76. float:right;
  77. margin-top: 25px;
  78. ul{
  79. margin:0; padding: 0;
  80. white-space: nowrap;
  81. li{
  82. margin:0; padding:0;
  83. display: inline-block;
  84. a{
  85. font-size: 0.756em;
  86. color:inherit;
  87. text-decoration: none;
  88. text-transform: uppercase;
  89. margin-left: 1em;
  90. &:before{
  91. content: "";
  92. display:inline-block;
  93. $sq:0.6em;
  94. width: $sq; height:$sq;
  95. border: 1px solid red;
  96. margin-right: 0.3em;
  97. }
  98. &.ajax-loading:before{
  99. @include spining-loader-square;
  100. }
  101. &.is-active:before,
  102. &:hover:before{
  103. border-color: red;
  104. background-color: red;
  105. }
  106. }
  107. }
  108. }
  109. }
  110. .block-language{
  111. float: right;
  112. margin-top: 24px;
  113. margin-left: 2em;
  114. ul{
  115. margin:0; padding:0;
  116. li{
  117. display: inline-block; vertical-align: middle;
  118. list-style: none;
  119. a{
  120. font-size: 0.690em;
  121. color:inherit;
  122. text-decoration: none;
  123. text-transform: capitalize;
  124. margin-left: 0.8em;
  125. &:before{
  126. content: "";
  127. display:inline-block;
  128. $sq:0.6em;
  129. width: $sq; height:$sq;
  130. border: 1px solid red;
  131. margin-right: 0.3em;
  132. }
  133. }
  134. &.is-active,
  135. &:hover{
  136. a:before{
  137. border-color: red;
  138. background-color: red;
  139. }
  140. }
  141. }
  142. }
  143. }
  144. // _
  145. // _ __ __ _(_)_ _
  146. // | ' \/ _` | | ' \
  147. // |_|_|_\__,_|_|_||_|
  148. main[role="main"]{
  149. .layout-content{
  150. pointer-events: none;
  151. .row{
  152. pointer-events: none;
  153. height:100%;
  154. overflow: hidden;
  155. .col{
  156. pointer-events: none;
  157. height: 100%;
  158. position: relative;
  159. &>.wrapper{
  160. pointer-events:all;
  161. position: relative;
  162. box-sizing: border-box;
  163. border-top: 1px solid red;
  164. border-bottom: 1px solid red;
  165. background-color: $transparent-bg;
  166. padding:0 0 1em;
  167. max-height: 100%;
  168. overflow-y: auto;
  169. &>*{
  170. padding:0 1em;
  171. }
  172. // .os-scroll{
  173. // box-sizing: border-box;
  174. // max-height: 100%;
  175. // padding:0 1em;
  176. // }
  177. }
  178. }
  179. }
  180. .field.text-formatted{
  181. a.audio-link{
  182. border-bottom: 1px dotted red;
  183. }
  184. }
  185. }
  186. article.node>h2, h2.title{
  187. @include content_titles;
  188. }
  189. article.node p{
  190. @include content_courant;
  191. }
  192. img{
  193. max-width: 100%;
  194. height: auto;
  195. }
  196. ul, li, ul.inline li:first-child{
  197. margin:0; padding:0;
  198. list-style: none;
  199. }
  200. // ajax loading effects
  201. .layout-content{
  202. transition: opacity 0.5s ease-in-out;
  203. opacity: 1;
  204. }
  205. body.ajax-loading &{
  206. .layout-content .col:not([theme="edlp_search_search_form"]){
  207. opacity:0.2;
  208. }
  209. &:before{
  210. content:"";
  211. display: block;
  212. position: absolute;
  213. z-index: 10;
  214. $s:60px;
  215. width:$s; height:$s;
  216. top:calc(50% - #{$s/2}); left:calc(50% - #{$s/2});
  217. // padding:1em;
  218. background-color: rgba(255,255,255, 0.5);
  219. background-image: url(../img/edlp-loader-anim.svg);
  220. background-size: 50%;
  221. background-repeat: no-repeat;
  222. background-position: center;
  223. // border-radius: $s/2;
  224. }
  225. }
  226. span.close-col-btn{
  227. // z-index: 10;
  228. pointer-events: all;
  229. cursor: pointer;
  230. position:absolute;
  231. top:0; right:0;
  232. padding:0!important; margin:0.5em;
  233. display: block;
  234. $s:10px;
  235. width:$s; height:$s;
  236. background-image: url(../img/close.svg);
  237. background-repeat: no-repeat;
  238. background-position: center;
  239. background-size: contain;
  240. }
  241. }
  242. // _ _ _ ___ _
  243. // /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
  244. // / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
  245. // /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
  246. // |__/
  247. #audio-player{
  248. position: absolute;
  249. top:0; left:0;
  250. background-color: white;
  251. height:100%; min-width:300px;
  252. z-index: 20;
  253. opacity: 0;
  254. // outline: 1px solid blue;
  255. pointer-events: none;
  256. transition: opacity 0.7s ease-in-out;
  257. &.visible{
  258. opacity: 1;
  259. pointer-events:all;
  260. }
  261. &>*{
  262. display: inline-block;
  263. vertical-align: middle;
  264. // word-break:keep-all;
  265. padding:0;
  266. max-height: 100%;
  267. // outline: 1px solid green;
  268. }
  269. .btns{
  270. // outline: 1px dotted orange;
  271. &>*{
  272. display: inline-block;
  273. vertical-align: middle;
  274. width:20px;height:30px;
  275. background-position: center;
  276. background-size: contain;
  277. }
  278. .play-pause{
  279. background-image: url(../img/audio-player-play.svg);
  280. padding:0 0.3em;
  281. cursor: pointer;
  282. }
  283. .previous, .next{
  284. opacity: 0.3;
  285. transition: opacity 0.3s ease-in-out;
  286. cursor: auto;
  287. &.is-active{
  288. opacity: 1;
  289. cursor: pointer;
  290. }
  291. }
  292. .previous{
  293. background-image: url(../img/audio-player-previous.svg);
  294. }
  295. .next{
  296. background-image: url(../img/audio-player-next.svg);
  297. }
  298. }
  299. .time-line-container{
  300. .time-line{
  301. position: relative;
  302. width:70px; height:1px;
  303. background-color: #000;
  304. overflow: visible;
  305. transform: rotateZ(-45deg);
  306. .loader{
  307. width:0; height:100%;
  308. background-color: red;
  309. top:0;left:0;
  310. }
  311. .cursor{
  312. height:10px;width:0;
  313. border-left: 2px solid red;
  314. position:absolute;
  315. left:0; top:-5px;
  316. }
  317. }
  318. }
  319. .time{
  320. &>*{
  321. width:70px;
  322. text-align: right;
  323. }
  324. .current-time{
  325. font-size: 1.4em;
  326. font-weight: 600;
  327. }
  328. .duration{
  329. font-size: 0.75em;
  330. font-weight: 400;
  331. }
  332. }
  333. .favoris{
  334. height:100%;
  335. }
  336. .cartel{
  337. // TODO: set max-width regarding responsive
  338. position: relative;
  339. max-width: 350px;
  340. margin-left: 1em;
  341. background-color: white;
  342. opacity: 1;
  343. transition: opacity 0.5s ease-in-out;
  344. &.loading{opacity: 0;}
  345. white-space: nowrap;
  346. .actions, .cartels{
  347. display: inline-block;
  348. vertical-align: top;
  349. white-space: normal;
  350. position: relative;
  351. }
  352. .actions{
  353. width:1.5em;
  354. }
  355. .cartels{
  356. .first-cartel{
  357. .entrees{
  358. line-height: 0;
  359. span{
  360. @include entrie-micro-square;
  361. }
  362. }
  363. h2.node-title{
  364. margin:0.2em 0 0;
  365. font-size: 1em;
  366. }
  367. p{
  368. margin:0;
  369. font-size: 0.75em;
  370. }
  371. }
  372. .second-cartel{
  373. position: absolute;
  374. top: 0; left:0;
  375. background-color: white;
  376. height:100%; min-width: 100%;
  377. opacity: 0;
  378. transition: opacity 0.2s ease-in-out;
  379. &>*{
  380. display: inline-block;
  381. vertical-align: top;
  382. }
  383. .col-left{
  384. a{
  385. display: block;
  386. font-size: 0.90em;
  387. font-weight: 600;
  388. }
  389. }
  390. .col-right{
  391. font-size: 0.75em;
  392. }
  393. }
  394. }
  395. &:hover{
  396. .second-cartel{
  397. opacity: 1;
  398. }
  399. }
  400. }
  401. &.is-playing{
  402. .btns .play-pause{background-image: url(../img/audio-player-pause.svg);}
  403. }
  404. }
  405. // ___ _ _ _
  406. // / __| |_ _ _ __| (_)___
  407. // \__ \ _| || / _` | / _ \
  408. // |___/\__|\_,_\__,_|_\___/
  409. .chutier-icon{
  410. $s:1em;
  411. z-index: 1;
  412. display: block;
  413. position: relative;
  414. width:$s;height:$s;
  415. overflow: hidden;
  416. text-indent: 50em;
  417. // background-color: red;
  418. background-position: center;
  419. background-repeat: no-repeat;
  420. background-size: contain;
  421. background-image: url(../img/favori-off.svg);
  422. &[action="remove"]{
  423. background-image: url(../img/favori-on.svg);
  424. }
  425. transition: opacity 0.2s ease-in-out;
  426. &.ajax-loading{
  427. opacity: 0.2;
  428. }
  429. &.not-logedin{
  430. overflow: visible;
  431. }
  432. .popup{
  433. display:none;
  434. position: absolute;
  435. top:0; left:0;
  436. width:300px; height:auto; min-height: 100px;
  437. .inner{
  438. background-color: rgba(255,255,255,0.9);
  439. border: 1px solid red;
  440. text-indent: 0;
  441. padding: 0.5em;
  442. margin:$s*1.2 0 0 $s*1.2;
  443. p{margin: 0;}
  444. }
  445. }
  446. &:hover{
  447. .popup{
  448. display: block;
  449. }
  450. }
  451. }
  452. .row .col .studio-ui-wrapper{
  453. height: 100%;
  454. }
  455. #studio-ui{
  456. height:100%;
  457. .chutier_ui{
  458. height: 50%;
  459. border-bottom: 1px solid red;
  460. position: relative;
  461. &>h2{
  462. z-index: 10;
  463. position: absolute;
  464. width: calc(100% - 20px);
  465. margin: 0;
  466. padding:0.5em 0;
  467. font-size: 1em;
  468. font-weight: 500;
  469. text-transform: uppercase;
  470. // outline: 1px solid orange;
  471. background-color: white;
  472. }
  473. .documents{
  474. padding-top: 35px;
  475. height:calc(100% - 35px);
  476. overflow-y: auto;
  477. // box-sizing: content-box;
  478. // outline: 1px solid green;
  479. ul,li{
  480. margin:0; padding:0;
  481. line-height: 1.2;
  482. }
  483. li{
  484. display: inline-block; vertical-align: top;
  485. width:49%; margin-bottom: 0.5em;
  486. white-space: nowrap;
  487. .entrees{
  488. line-height: 0;
  489. span{
  490. @include entrie-micro-square;
  491. }
  492. }
  493. a.audio-link{
  494. text-transform: capitalize;
  495. font-size: 0.756em;
  496. margin-right: 0.5em;
  497. white-space: normal;
  498. }
  499. .chutier-icon{
  500. display: inline-block;
  501. width:0.7em; height:0.7em;
  502. opacity: 0.8;
  503. }
  504. }
  505. }
  506. }
  507. .composition_ui{
  508. height:50%;
  509. &>h2{
  510. z-index: 10;
  511. position: absolute;
  512. width: calc(100% - 20px);
  513. margin: 0;
  514. padding:0.5em 0;
  515. font-size: 1em;
  516. font-weight: 500;
  517. text-transform: uppercase;
  518. // outline: 1px solid orange;
  519. background-color: white;
  520. }
  521. >.wrapper{
  522. padding-top: 35px;
  523. height:calc(100% - 35px);
  524. overflow: hidden;
  525. white-space: nowrap;
  526. section.compositions-list, section.composer{
  527. display: inline-block; vertical-align: top;
  528. height: 100%;
  529. }
  530. .compositions-list{
  531. width:30%; height:100%;
  532. overflow-y: auto;
  533. li{
  534. opacity: 1;
  535. transition: opacity 0.3s ease-in-out;
  536. &:hover{
  537. a.delete-composition-link{
  538. opacity: 1;
  539. }
  540. }
  541. &.ajax-loading{
  542. opacity: 0.4;
  543. }
  544. }
  545. a{
  546. font-size: 0.756em;
  547. $s:7px; $m:5px;
  548. &.composition-link{
  549. display: inline-block;
  550. width: calc(100% - #{$s +$m +2});
  551. }
  552. &.delete-composition-link{
  553. display: inline-block;
  554. vertical-align: middle;
  555. $s:7px; width:$s; height:$s;
  556. margin-left: $m;
  557. text-indent: 300px; overflow: hidden;
  558. background-image: url('../img/delete.svg');
  559. background-repeat: no-repeat;
  560. background-size: contain;
  561. opacity: 0;
  562. transition: opacity 0.3s ease-in-out;
  563. }
  564. &.new-composition-link{
  565. // padding-left: 1em;
  566. &:before{
  567. content:"+";
  568. font-weight: bold;
  569. margin-right: 0.2em;
  570. }
  571. display: inline-block;
  572. vertical-align: top;
  573. overflow: hidden;
  574. height:1em;
  575. transition: height 0.2s ease-in-out;
  576. &.folded{
  577. height:0;
  578. }
  579. }
  580. }
  581. .new-compo-form{
  582. input[type="text"]{
  583. font-size: 0.756em;
  584. padding:0 0.5em;
  585. width:calc(100% - 50px);
  586. height:1.7em;
  587. border: none;
  588. border-top:1px dotted red;
  589. border-bottom:1px dotted red;
  590. }
  591. button{
  592. background: none;
  593. border: none;
  594. font-size: 1em;
  595. line-height: 1;
  596. font-weight: bold;
  597. }
  598. opacity: 1;
  599. transition: opacity 0.2s ease-in-out;
  600. &.ajax-loading{
  601. opacity: 0.4;
  602. }
  603. }
  604. }
  605. .composer{
  606. box-sizing: content-box;
  607. width:69%;
  608. padding-left: 1em;
  609. border-left: 1px solid #aaa;
  610. }
  611. }
  612. }
  613. }
  614. // ___ _
  615. // / __| ___ __ _ _ _ __| |_
  616. // \__ \/ -_) _` | '_/ _| ' \
  617. // |___/\___\__,_|_| \__|_||_|
  618. .col[theme="edlp_search_search_form"]{
  619. &, >.wrapper{
  620. position: relative;
  621. height:100%;
  622. }
  623. }
  624. #edlp-search-form{
  625. height:100%;
  626. .fieldgroup{
  627. border-bottom: 1px solid red;
  628. margin-top:1em;
  629. margin-bottom: 0em;
  630. legend{
  631. font-size: 0.9em;
  632. margin: 0;
  633. font-weight: 500;
  634. }
  635. .fieldset-wrapper{
  636. padding-bottom: 1em;
  637. }
  638. .form-item{
  639. margin:0;
  640. }
  641. }
  642. input[type="text"], input[type="search"]{
  643. font-size: 0.8em;
  644. padding:0.2em; margin:0;
  645. border: 1px solid #aaa;
  646. border-radius: 3px;
  647. width:90%;
  648. }
  649. #edit-entries{
  650. .form-item{
  651. label, input{
  652. display: inline-block;
  653. vertical-align: middle;
  654. }
  655. label{
  656. font-size: 0.756em;
  657. }
  658. input[type="checkbox"]{
  659. appearance:none;
  660. $w:10px;
  661. width:$w; height:$w;
  662. border: 1px double black;
  663. background-color: white;
  664. &:checked{
  665. background-color: black;
  666. }
  667. &[value='134']{
  668. border-color: var(--e-col-134);
  669. &:checked{background-color: var(--e-col-134);}
  670. }
  671. &[value='121']{
  672. border-color: var(--e-col-121);
  673. &:checked{background-color: var(--e-col-121);}
  674. }
  675. &[value='125']{
  676. border-color: var(--e-col-125);
  677. &:checked{background-color: var(--e-col-125);}
  678. }
  679. &[value='119']{
  680. border-color: var(--e-col-119);
  681. &:checked{background-color: var(--e-col-119);}
  682. }
  683. &[value='132']{
  684. border-color: var(--e-col-132);
  685. &:checked{background-color: var(--e-col-132);}
  686. }
  687. &[value='122']{
  688. border-color: var(--e-col-122);
  689. &:checked{background-color: var(--e-col-122);}
  690. }
  691. &[value='129']{
  692. border-color: var(--e-col-129);
  693. &:checked{background-color: var(--e-col-129);}
  694. }
  695. &[value='120']{
  696. border-color: var(--e-col-120);
  697. &:checked{background-color: var(--e-col-120);}
  698. }
  699. &[value='130']{
  700. border-color: var(--e-col-130);
  701. &:checked{background-color: var(--e-col-130);}
  702. }
  703. &[value='118']{
  704. border-color: var(--e-col-118);
  705. &:checked{background-color: var(--e-col-118);}
  706. }
  707. &[value='127']{
  708. border-color: var(--e-col-127);
  709. &:checked{background-color: var(--e-col-127);}
  710. }
  711. &[value='133']{
  712. border-color: var(--e-col-133);
  713. &:checked{background-color: var(--e-col-133);}
  714. }
  715. &[value='128']{
  716. border-color: var(--e-col-128);
  717. &:checked{background-color: var(--e-col-128);}
  718. }
  719. &[value='124']{
  720. border-color: var(--e-col-124);
  721. &:checked{background-color: var(--e-col-124);}
  722. }
  723. &[value='116']{
  724. border-color: var(--e-col-116);
  725. &:checked{background-color: var(--e-col-116);}
  726. }
  727. &[value='117']{
  728. border-color: var(--e-col-117);
  729. &:checked{background-color: var(--e-col-117);}
  730. }
  731. &[value='131']{
  732. border-color: var(--e-col-131);
  733. &:checked{background-color: var(--e-col-131);}
  734. }
  735. &[value='126']{
  736. border-color: var(--e-col-126);
  737. &:checked{background-color: var(--e-col-126);}
  738. }
  739. &[value='123']{
  740. border-color: var(--e-col-123);
  741. &:checked{background-color: var(--e-col-123);}
  742. }
  743. }
  744. }
  745. }
  746. input[type="submit"]{
  747. font-size: 0.756em;
  748. padding:0.1em;
  749. margin:1em 0 0 0;
  750. float:right;
  751. opacity: 1;
  752. transition: opacity 0.3s ease-in-out;
  753. }
  754. &.ajax-loading input[type="submit"]{
  755. opacity:0.2;
  756. pointer-events: none;
  757. }
  758. }
  759. .col[theme="edlp_search_results"]{
  760. opacity: 1;
  761. transition: opacity 0.3s ease-in-out;
  762. &.ajax-loading{
  763. opacity:0.2;
  764. }
  765. article{
  766. .entrees{
  767. span{
  768. @include entrie-micro-square;
  769. }
  770. }
  771. h2.node-title{
  772. margin:0 0 0.3em 0;
  773. font-size: 0.8em;
  774. font-weight: 500;
  775. text-transform: none;
  776. }
  777. // .description{
  778. // p{
  779. // margin:0;
  780. // font-size: 0.75em;
  781. // }
  782. // }
  783. }
  784. }
  785. // _ _ _ _ _
  786. // /_\ (_)__ ___ __ | \| |___ __| |___
  787. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  788. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  789. // |__/
  790. // body.path-edlp-node main{
  791. // main .col>.wrapper, .edlp-ajax-node{
  792. // height: 100%;
  793. // }
  794. // }
  795. // _ _
  796. // /_\ __ _ ___ _ _ __| |__ _
  797. // / _ \/ _` / -_) ' \/ _` / _` |
  798. // /_/ \_\__, \___|_||_\__,_\__,_|
  799. // |___/
  800. body.path-agenda main .col{
  801. &>.wrapper{
  802. height:100%;
  803. }
  804. }
  805. #agenda{
  806. position: relative;
  807. white-space: nowrap;
  808. height: 100%;
  809. div.column{
  810. white-space: normal;
  811. display: inline-block;
  812. vertical-align: top;
  813. height:100%;
  814. }
  815. div.next-event{
  816. width:65%;
  817. }
  818. div.future-past-events{
  819. width:33%;
  820. }
  821. ul,li{
  822. margin:0; padding:0;
  823. list-style: none;
  824. }
  825. article.node--type-evenement{
  826. h2{ @include content_titles; }
  827. }
  828. }
  829. // ___ _ _ _
  830. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  831. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  832. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  833. body.path-productions{
  834. .layout-content .row{
  835. white-space: normal;
  836. .col{
  837. height:auto;
  838. &.col-2:last-child{
  839. padding-left: 0em;
  840. padding-right: 1em;
  841. }
  842. >.wrapper{
  843. margin-bottom: 1em;
  844. padding:0;
  845. >*{padding:0;}
  846. article.node{
  847. .field--name-field-visuel{
  848. a,img{
  849. display: block;
  850. width: 100%; height:auto;
  851. }
  852. }
  853. header{
  854. background-color: rgba(255,255,255,0.95);
  855. padding:0.5em 1em;
  856. h2.node-title{
  857. margin:0;
  858. }
  859. p{margin: 0;}
  860. }
  861. &.node--view-mode-image-2-columns{
  862. header{
  863. position: absolute;
  864. bottom: 0; left:0;
  865. h2.node-title{
  866. font-size: 1.6em;
  867. font-weight: 500;
  868. }
  869. }
  870. }
  871. &.node--view-mode-image-1-columns{
  872. h2.node-title{
  873. font-size: 1.2em;
  874. font-weight: 500;
  875. }
  876. }
  877. &.node--view-mode-text-1-column{
  878. padding:0 1em;
  879. }
  880. }
  881. }
  882. }
  883. }
  884. }
  885. // ___ _
  886. // | __|__ ___| |_ ___ _ _
  887. // | _/ _ \/ _ \ _/ -_) '_|
  888. // |_|\___/\___/\__\___|_|
  889. @mixin oblique-list {
  890. display: inline-block;
  891. position: relative;
  892. list-style: none;
  893. margin: 0 1.5em 0 0;
  894. // width:2em; height:10em;
  895. padding: 0;
  896. a{
  897. position: absolute;
  898. bottom: 0;
  899. transform-origin: left bottom;
  900. transform: rotateZ(-45deg);
  901. color: #000;
  902. text-decoration: none;
  903. text-transform: uppercase;
  904. font-size: 0.756em;
  905. white-space: nowrap;
  906. }
  907. }
  908. footer{
  909. position: relative;
  910. pointer-events: none;
  911. // outline: 1px dotted blue;
  912. >.wrapper{
  913. white-space: nowrap;
  914. // height:100%;
  915. >.region{
  916. // height:100%;
  917. // display: table-cell;
  918. display: inline-block;
  919. vertical-align: baseline;
  920. white-space:normal;
  921. // pointer-events: none;
  922. // outline: 1px dotted purple;
  923. // position: relative;
  924. >*{
  925. display: inline-block; vertical-align: bottom;
  926. }
  927. }
  928. .region-footer-left{
  929. // float:left;
  930. width:12%;
  931. // min-width:50px;
  932. text-align: left;
  933. }
  934. .region-footer-center{
  935. // float: none;
  936. width: 72%;
  937. overflow:hidden;
  938. text-align: center;
  939. }
  940. .region-footer-right{
  941. // float:right;
  942. min-width:12%;
  943. // min-width: 50px;
  944. text-align: right;
  945. }
  946. }
  947. #block-footer{
  948. display: inline-block;
  949. margin-bottom: 1em;
  950. ul{
  951. margin:0;
  952. padding:0;
  953. li{
  954. pointer-events: all;
  955. // @include oblique-list;
  956. display: inline-block;
  957. &:first-of-type{
  958. margin-left: 1em;
  959. }
  960. a{
  961. font-size: 0.756em;
  962. &:before{
  963. content: "";
  964. display:inline-block;
  965. $sq:7px;
  966. width: $sq; height:$sq;
  967. border: 1px solid black;
  968. margin-right: 0.5em;
  969. }
  970. &:hover:before,
  971. &.is-active:before{
  972. background-color: black;
  973. }
  974. &.ajax-loading:before{
  975. @include spining-loader-square;
  976. }
  977. }
  978. }
  979. }
  980. }
  981. // remove #block-productions to enable again oblique style for all block-menu
  982. nav#block-productions.block-menu{
  983. display: inline-block;
  984. ul{
  985. margin:0;
  986. padding:0;
  987. li{
  988. pointer-events: all;
  989. @include oblique-list;
  990. &:first-of-type{
  991. margin-left: 1em;
  992. }
  993. a{
  994. &:before{
  995. content: "";
  996. display:inline-block;
  997. $sq:7px;
  998. width: $sq; height:$sq;
  999. border: 1px solid black;
  1000. margin-right: 0.5em;
  1001. }
  1002. &:hover:before,
  1003. &.is-active:before{
  1004. background-color: black;
  1005. }
  1006. &.ajax-loading:before{
  1007. @include spining-loader-square;
  1008. }
  1009. }
  1010. }
  1011. }
  1012. }
  1013. // .block-language{
  1014. // display: inline-block;
  1015. // position: relative;
  1016. // ul{
  1017. // position: absolute;
  1018. // bottom:0;
  1019. // margin:0;
  1020. // padding:0;
  1021. // transform-origin: left bottom;
  1022. // transform: rotateZ(-45deg);
  1023. // white-space: nowrap;
  1024. // pointer-events: all;
  1025. // li{
  1026. // margin:0; padding:0;
  1027. // list-style: none;
  1028. // display: inline-block;
  1029. // &:last-of-type{
  1030. // &:before{
  1031. // content:"/";
  1032. // margin:0 0.2em;
  1033. // }
  1034. // }
  1035. // a{
  1036. // color: inherit;
  1037. // text-decoration: none;
  1038. // font-size: 0.756em;
  1039. // }
  1040. // &.is-active{
  1041. // a{color: red;}
  1042. // }
  1043. // }
  1044. // }
  1045. // }
  1046. #block-productions{
  1047. position: relative;
  1048. pointer-events: none;
  1049. body:not(.path-productions) & {display:none}
  1050. ul{
  1051. margin-left: -3em;
  1052. white-space: nowrap;
  1053. li{
  1054. height:200px; // this is needed to respect the height of oblique links :(
  1055. a{
  1056. // outline: 1px solid blue;
  1057. pointer-events: all;
  1058. background-color: #fff;
  1059. padding-right: 0.4em;
  1060. &:before{
  1061. content: "";
  1062. display:inline-block;
  1063. $sq:7px;
  1064. width: $sq; height:$sq;
  1065. border: 1px solid red;
  1066. margin-right: 0.5em;
  1067. }
  1068. &:hover:before{
  1069. background-color: red;
  1070. }
  1071. &.ajax-loading:before{
  1072. @include spining-loader-square;
  1073. }
  1074. }
  1075. }
  1076. }
  1077. }
  1078. .block-block-edlp-entrees{
  1079. pointer-events: none;
  1080. body.path-productions &,
  1081. body.path-agenda & {display:none}
  1082. display: inline-block;
  1083. // vertical-align: top;
  1084. ul{
  1085. margin:0;
  1086. white-space: nowrap;
  1087. li{
  1088. @include oblique-list;
  1089. margin:0;
  1090. white-space: nowrap;
  1091. pointer-events: none;
  1092. span.oblique-wrapper{
  1093. height:120px; // this is needed to respect the height of oblique links :(
  1094. display: inline-block;
  1095. vertical-align: bottom;
  1096. position: relative;
  1097. width:1.5em;
  1098. }
  1099. a.term-link, a.articles-link{
  1100. // outline: 1px solid blue;
  1101. pointer-events: all;
  1102. background-color: #fff;
  1103. padding-right: 0.4em;
  1104. &:before{
  1105. content: "";
  1106. display:inline-block;
  1107. $sq:7px;
  1108. width: $sq; height:$sq;
  1109. border: 1px solid #000;
  1110. background-color: #000;
  1111. margin-right: 0.5em;
  1112. transition: background-color 0.1s ease-in-out;
  1113. }
  1114. &.articles-link{
  1115. margin-left: 2em;
  1116. text-transform: capitalize;
  1117. }
  1118. }
  1119. .entree-content{
  1120. display: inline-block;
  1121. // outline: 1px solid green;
  1122. width:0;
  1123. overflow: hidden;
  1124. opacity: 0;
  1125. transition: all 300ms ease-in-out;
  1126. transition-property: width,opacity;
  1127. span.oblique-wrapper:first-of-type{
  1128. margin-left: 0.5em;
  1129. }
  1130. span.oblique-wrapper a{
  1131. text-transform: none;
  1132. pointer-events: auto;
  1133. &:before{
  1134. content: "";
  1135. display:inline-block;
  1136. $sq:5px;
  1137. width: $sq; height:$sq;
  1138. border: 1px solid #000;
  1139. margin-right: 0.5em;
  1140. }
  1141. }
  1142. .term-description{
  1143. display: inline-block;
  1144. margin-left: 1.5em;
  1145. text-align: left;
  1146. width:250px;
  1147. word-wrap:break-word;
  1148. // word-break:break-all;
  1149. hyphens: auto;
  1150. white-space: normal;
  1151. background-color: $transparent-bg;
  1152. padding:0.5em;
  1153. padding-bottom:0;
  1154. p{
  1155. font-size: 0.65em;
  1156. margin:0;
  1157. }
  1158. }
  1159. }
  1160. // TODO: replace variable system by attribute color
  1161. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1162. // border-color: attr(color);
  1163. // background-color: attr(color);
  1164. // }
  1165. &[tid='134']{
  1166. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1167. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  1168. &[tid='121']{
  1169. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1170. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  1171. &[tid='125']{
  1172. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1173. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  1174. &[tid='119']{
  1175. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1176. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  1177. &[tid='132']{
  1178. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1179. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  1180. &[tid='122']{
  1181. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1182. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  1183. &[tid='129']{
  1184. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1185. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  1186. &[tid='120']{
  1187. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1188. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  1189. &[tid='130']{
  1190. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1191. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  1192. &[tid='118']{
  1193. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1194. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  1195. &[tid='127']{
  1196. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1197. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  1198. &[tid='133']{
  1199. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1200. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  1201. &[tid='128']{
  1202. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1203. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  1204. &[tid='124']{
  1205. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1206. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  1207. &[tid='116']{
  1208. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1209. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  1210. &[tid='117']{
  1211. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1212. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  1213. &[tid='131']{
  1214. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1215. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  1216. &[tid='126']{
  1217. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1218. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  1219. &[tid='123']{
  1220. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1221. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  1222. // &.highlighted{
  1223. // a.term_link{
  1224. // color: red;
  1225. // }
  1226. // }
  1227. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  1228. a.articles-link:not(:hover):not(.is-active):before{
  1229. background-color: #fff!important;
  1230. }
  1231. &:not(.opened){
  1232. a.term-link:not(:hover):not(.highlighted):before{
  1233. background-color: #fff!important;
  1234. }
  1235. }
  1236. &.opened{
  1237. // outline: 1px solid purple;
  1238. a.term-link:after {
  1239. content: '';
  1240. position: absolute;
  1241. left: 15px; right:0;
  1242. bottom: -3px;
  1243. border-bottom: 1px solid grey;
  1244. }
  1245. .entree-content{
  1246. width:350px;
  1247. opacity: 1;
  1248. }
  1249. }
  1250. // &:not(:first-of-type) .entree-content{display: none;}
  1251. }
  1252. }
  1253. }
  1254. $icons_w:20px;
  1255. @mixin iconlinkblock($bgimgurl) {
  1256. pointer-events: all;
  1257. margin-left: 0.5em;
  1258. a{
  1259. $wh:$icons_w;
  1260. display: block;
  1261. width:$wh; height:$wh;
  1262. text-indent: $wh*2;
  1263. margin: 0;
  1264. overflow: hidden;
  1265. mask-image: $bgimgurl;
  1266. mask-size: contain;
  1267. background-color: #000;
  1268. transition: background-color 0.3s ease-in-out;
  1269. cursor: pointer;
  1270. &.is-active{
  1271. background-color: red;
  1272. }
  1273. }
  1274. }
  1275. #block-studiolinkblock{
  1276. margin-bottom: 1em;
  1277. @include iconlinkblock(url(../img/studio.svg));
  1278. }
  1279. .block.random-player{
  1280. margin-bottom: 1em;
  1281. @include iconlinkblock(url(../img/random.svg));
  1282. }
  1283. #block-userlogin{
  1284. margin-bottom: 1em;
  1285. pointer-events: all;
  1286. // outline: 1px solid blue;
  1287. $wh:$icons_w;
  1288. position: relative;
  1289. width:$wh; height: $wh;
  1290. // background-color: blue;
  1291. h2{
  1292. position: relative;
  1293. width:$wh; height:$wh;
  1294. background-image: url(../img/studio.svg);
  1295. // background-color: red;
  1296. background-size: contain;
  1297. text-indent: $wh*2;
  1298. margin: 0;
  1299. overflow: hidden;
  1300. z-index: 1;
  1301. cursor: pointer;
  1302. }
  1303. .block-content{
  1304. z-index: 0;
  1305. position:absolute;
  1306. right:0;bottom:$wh;
  1307. padding:0.5em;
  1308. padding-bottom: 20px;
  1309. background-color: $transparent-bg;
  1310. border-top: 1px solid red;
  1311. border-bottom: 1px solid red;
  1312. overflow: hidden;
  1313. box-sizing:border-box;
  1314. height: 0px;
  1315. opacity:0;
  1316. pointer-events:none;
  1317. transition: all 0.5s ease-in-out;
  1318. transition-property: height,opacity;
  1319. // &:hover{
  1320. // height:200px;
  1321. // opacity:1;
  1322. // pointer-events: auto;
  1323. // }
  1324. form{
  1325. font-size: 0.75em;
  1326. }
  1327. .item-list{
  1328. ul{margin:0;}
  1329. li{
  1330. margin:0;
  1331. list-style: none;
  1332. a{
  1333. color: inherit;
  1334. text-decoration: none;
  1335. font-size: 0.75em;
  1336. white-space:nowrap;
  1337. }
  1338. }
  1339. }
  1340. }
  1341. &:hover{
  1342. .block-content{
  1343. height:200px;
  1344. opacity: 1;
  1345. pointer-events:auto;
  1346. }
  1347. }
  1348. }
  1349. #block-edlpsearchlinkblock{
  1350. margin-bottom: 1em;
  1351. @include iconlinkblock(url(../img/search.svg));
  1352. margin-left: 0.2em;
  1353. }
  1354. }
  1355. // _ _ _ ___
  1356. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1357. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1358. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1359. // |_| |_|
  1360. .node-popup{
  1361. .inner{
  1362. position: relative;
  1363. .entrees{
  1364. span{
  1365. @include entrie-micro-square;
  1366. }
  1367. }
  1368. .title{
  1369. margin:0.3em 0;
  1370. font-size: 1.2em;
  1371. font-weight: 500;
  1372. }
  1373. .description{
  1374. p{
  1375. margin:0;
  1376. font-size: 0.75em;
  1377. }
  1378. }
  1379. .chutier-icon{
  1380. position:absolute;
  1381. top:1em; right:1em;
  1382. }
  1383. }
  1384. }
  1385. // __ ___ _ ___ _ _ _
  1386. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  1387. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  1388. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  1389. // complete rewrite of url_to_video_filter css
  1390. .url-to-video-container{
  1391. // display:block;
  1392. margin:10px auto;
  1393. // width:100%;
  1394. &.no-js{
  1395. border:solid black 1px;
  1396. .loader{
  1397. // background:url(../images/no-js.png) no-repeat center center;
  1398. // background-size:40px 40px;
  1399. }
  1400. .url-to-video-player{
  1401. cursor:auto;
  1402. }
  1403. }
  1404. .loader{
  1405. // top:240px;
  1406. // left:50%;
  1407. // transform:translate(-50%, -50%);
  1408. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  1409. top:auto; left: auto;
  1410. transform: none;
  1411. }
  1412. span.url-to-video-player{
  1413. // display:block;
  1414. // width:100%;
  1415. /* assuming that the video has a 16:9 ratio */
  1416. // padding-bottom:56.25%;
  1417. padding-bottom:0;
  1418. // overflow:hidden;
  1419. // position:relative;
  1420. // width:100%;
  1421. // height:100%;
  1422. height:auto;
  1423. // cursor:hand;
  1424. // cursor:pointer;
  1425. // display: block;
  1426. &:before{
  1427. content: "";
  1428. display: block;
  1429. /* assuming that the video has a 16:9 ratio */
  1430. padding-top: 56.25%;
  1431. }
  1432. img.player-thumb
  1433. {
  1434. // background-position:center center;
  1435. // background-size:cover;
  1436. // position: absolute;
  1437. // top: 0;
  1438. // left: 0;
  1439. // width: 100%;
  1440. // height: 100%;
  1441. // cursor:pointer;
  1442. }
  1443. .play-button
  1444. {
  1445. z-index: 5;
  1446. // height:40px;
  1447. // width:40px;
  1448. // display:block;
  1449. // background:url(../images/play-button.png) no-repeat center center;
  1450. // background-size:40px 40px;
  1451. // position:absolute;
  1452. // top:240px;
  1453. top:50%;
  1454. // left:50%;
  1455. // transform:translate(-50%, -50%);
  1456. // cursor:pointer;
  1457. }
  1458. iframe.player-iframe
  1459. {
  1460. // width:100%;
  1461. // height:100%;
  1462. // position:absolute;
  1463. // top:0;
  1464. // left:0;
  1465. }
  1466. }
  1467. }