app.scss 30 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270
  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{
  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. }
  227. // _ _ _ ___ _
  228. // /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
  229. // / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
  230. // /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
  231. // |__/
  232. #audio-player{
  233. position: absolute;
  234. top:0; left:0;
  235. background-color: white;
  236. height:100%; min-width:300px;
  237. z-index: 20;
  238. opacity: 0;
  239. // outline: 1px solid blue;
  240. pointer-events: none;
  241. transition: opacity 0.7s ease-in-out;
  242. &.visible{
  243. opacity: 1;
  244. pointer-events:all;
  245. }
  246. &>*{
  247. display: inline-block;
  248. vertical-align: middle;
  249. // word-break:keep-all;
  250. padding:0;
  251. max-height: 100%;
  252. // outline: 1px solid green;
  253. }
  254. .btns{
  255. // outline: 1px dotted orange;
  256. &>*{
  257. display: inline-block;
  258. vertical-align: middle;
  259. width:20px;height:30px;
  260. background-position: center;
  261. background-size: contain;
  262. }
  263. .play-pause{
  264. background-image: url(../img/audio-player-play.svg);
  265. padding:0 0.3em;
  266. cursor: pointer;
  267. }
  268. .previous, .next{
  269. opacity: 0.3;
  270. transition: opacity 0.3s ease-in-out;
  271. cursor: auto;
  272. &.is-active{
  273. opacity: 1;
  274. cursor: pointer;
  275. }
  276. }
  277. .previous{
  278. background-image: url(../img/audio-player-previous.svg);
  279. }
  280. .next{
  281. background-image: url(../img/audio-player-next.svg);
  282. }
  283. }
  284. .time-line-container{
  285. .time-line{
  286. position: relative;
  287. width:70px; height:1px;
  288. background-color: #000;
  289. overflow: visible;
  290. transform: rotateZ(-45deg);
  291. .loader{
  292. width:0; height:100%;
  293. background-color: red;
  294. top:0;left:0;
  295. }
  296. .cursor{
  297. height:10px;width:0;
  298. border-left: 2px solid red;
  299. position:absolute;
  300. left:0; top:-5px;
  301. }
  302. }
  303. }
  304. .time{
  305. &>*{
  306. width:70px;
  307. text-align: right;
  308. }
  309. .current-time{
  310. font-size: 1.4em;
  311. font-weight: 600;
  312. }
  313. .duration{
  314. font-size: 0.75em;
  315. font-weight: 400;
  316. }
  317. }
  318. .favoris{
  319. height:100%;
  320. }
  321. .cartel{
  322. // TODO: set max-width regarding responsive
  323. position: relative;
  324. max-width: 350px;
  325. margin-left: 1em;
  326. background-color: white;
  327. opacity: 1;
  328. transition: opacity 0.5s ease-in-out;
  329. &.loading{opacity: 0;}
  330. white-space: nowrap;
  331. .actions, .cartels{
  332. display: inline-block;
  333. vertical-align: top;
  334. white-space: normal;
  335. position: relative;
  336. }
  337. .actions{
  338. width:1.5em;
  339. }
  340. .cartels{
  341. .first-cartel{
  342. .entrees{
  343. line-height: 0;
  344. span{
  345. @include entrie-micro-square;
  346. }
  347. }
  348. h2.node-title{
  349. margin:0.2em 0 0;
  350. font-size: 1em;
  351. }
  352. p{
  353. margin:0;
  354. font-size: 0.75em;
  355. }
  356. }
  357. .second-cartel{
  358. position: absolute;
  359. top: 0; left:0;
  360. background-color: white;
  361. height:100%; min-width: 100%;
  362. opacity: 0;
  363. transition: opacity 0.2s ease-in-out;
  364. &>*{
  365. display: inline-block;
  366. vertical-align: top;
  367. }
  368. .col-left{
  369. a{
  370. display: block;
  371. font-size: 0.90em;
  372. font-weight: 600;
  373. }
  374. }
  375. .col-right{
  376. font-size: 0.75em;
  377. }
  378. }
  379. }
  380. &:hover{
  381. .second-cartel{
  382. opacity: 1;
  383. }
  384. }
  385. }
  386. &.is-playing{
  387. .btns .play-pause{background-image: url(../img/audio-player-pause.svg);}
  388. }
  389. }
  390. // ___ _ _ _
  391. // / __| |_ _ _ __| (_)___
  392. // \__ \ _| || / _` | / _ \
  393. // |___/\__|\_,_\__,_|_\___/
  394. .chutier-icon{
  395. $s:1em;
  396. z-index: 1;
  397. display: block;
  398. position: relative;
  399. width:$s;height:$s;
  400. overflow: hidden;
  401. text-indent: 50em;
  402. // background-color: red;
  403. background-position: center;
  404. background-repeat: no-repeat;
  405. background-size: contain;
  406. background-image: url(../img/favori-off.svg);
  407. &[action="remove"]{
  408. background-image: url(../img/favori-on.svg);
  409. }
  410. transition: opacity 0.2s ease-in-out;
  411. &.ajax-loading{
  412. opacity: 0.2;
  413. }
  414. &.not-logedin{
  415. overflow: visible;
  416. }
  417. .popup{
  418. display:none;
  419. position: absolute;
  420. top:0; left:0;
  421. width:300px; height:auto; min-height: 100px;
  422. .inner{
  423. background-color: rgba(255,255,255,0.9);
  424. border: 1px solid red;
  425. text-indent: 0;
  426. padding: 0.5em;
  427. margin:$s*1.2 0 0 $s*1.2;
  428. p{margin: 0;}
  429. }
  430. }
  431. &:hover{
  432. .popup{
  433. display: block;
  434. }
  435. }
  436. }
  437. .row .col .studio-ui-wrapper{
  438. height: 100%;
  439. }
  440. #studio-ui{
  441. height:100%;
  442. .chutier_ui{
  443. height: 50%;
  444. border-bottom: 1px solid red;
  445. position: relative;
  446. &>h2{
  447. z-index: 10;
  448. position: absolute;
  449. width: calc(100% - 20px);
  450. margin: 0;
  451. padding:0.5em 0;
  452. font-size: 1em;
  453. font-weight: 500;
  454. text-transform: uppercase;
  455. // outline: 1px solid orange;
  456. background-color: white;
  457. }
  458. .documents{
  459. padding-top: 35px;
  460. height:calc(100% - 35px);
  461. overflow-y: auto;
  462. // box-sizing: content-box;
  463. // outline: 1px solid green;
  464. ul,li{
  465. margin:0; padding:0;
  466. line-height: 1.2;
  467. }
  468. li{
  469. display: inline-block; vertical-align: top;
  470. width:49%; margin-bottom: 0.5em;
  471. white-space: nowrap;
  472. .entrees{
  473. line-height: 0;
  474. span{
  475. @include entrie-micro-square;
  476. }
  477. }
  478. a.audio-link{
  479. text-transform: capitalize;
  480. font-size: 0.756em;
  481. margin-right: 0.5em;
  482. white-space: normal;
  483. }
  484. .chutier-icon{
  485. display: inline-block;
  486. width:0.7em; height:0.7em;
  487. opacity: 0.8;
  488. }
  489. }
  490. }
  491. }
  492. .composition_ui{
  493. height:50%;
  494. &>h2{
  495. z-index: 10;
  496. position: absolute;
  497. width: calc(100% - 20px);
  498. margin: 0;
  499. padding:0.5em 0;
  500. font-size: 1em;
  501. font-weight: 500;
  502. text-transform: uppercase;
  503. // outline: 1px solid orange;
  504. background-color: white;
  505. }
  506. >.wrapper{
  507. padding-top: 35px;
  508. height:calc(100% - 35px);
  509. overflow: hidden;
  510. white-space: nowrap;
  511. section.compositions-list, section.composer{
  512. display: inline-block; vertical-align: top;
  513. height: 100%;
  514. }
  515. .compositions-list{
  516. width:30%; height:100%;
  517. overflow-y: auto;
  518. a{
  519. font-size: 0.756em;
  520. &.new-composition-link{
  521. // padding-left: 1em;
  522. &:before{
  523. content:"+";
  524. font-weight: bold;
  525. margin-right: 0.2em;
  526. }
  527. display: inline-block;
  528. vertical-align: top;
  529. overflow: hidden;
  530. height:1em;
  531. transition: height 0.2s ease-in-out;
  532. &.folded{
  533. height:0;
  534. }
  535. }
  536. }
  537. .new-compo-form{
  538. input[type="text"]{
  539. font-size: 0.756em;
  540. padding:0 0.5em;
  541. width:calc(100% - 50px);
  542. height:1.7em;
  543. border: none;
  544. border-top:1px dotted red;
  545. border-bottom:1px dotted red;
  546. }
  547. button{
  548. background: none;
  549. border: none;
  550. font-size: 1em;
  551. line-height: 1;
  552. font-weight: bold;
  553. }
  554. opacity: 1;
  555. transition: opacity 0.2s ease-in-out;
  556. &.ajax-loading{
  557. opacity: 0.4;
  558. }
  559. }
  560. }
  561. .composer{
  562. box-sizing: content-box;
  563. width:69%;
  564. padding-left: 1em;
  565. border-left: 1px solid #aaa;
  566. }
  567. }
  568. }
  569. }
  570. // _ _ _ _ _
  571. // /_\ (_)__ ___ __ | \| |___ __| |___
  572. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  573. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  574. // |__/
  575. // body.path-edlp-node main{
  576. // main .col>.wrapper, .edlp-ajax-node{
  577. // height: 100%;
  578. // }
  579. // }
  580. // _ _
  581. // /_\ __ _ ___ _ _ __| |__ _
  582. // / _ \/ _` / -_) ' \/ _` / _` |
  583. // /_/ \_\__, \___|_||_\__,_\__,_|
  584. // |___/
  585. body.path-agenda main .col{
  586. &>.wrapper{
  587. height:100%;
  588. }
  589. }
  590. #agenda{
  591. position: relative;
  592. white-space: nowrap;
  593. height: 100%;
  594. div.column{
  595. white-space: normal;
  596. display: inline-block;
  597. vertical-align: top;
  598. height:100%;
  599. }
  600. div.next-event{
  601. width:65%;
  602. }
  603. div.future-past-events{
  604. width:33%;
  605. }
  606. ul,li{
  607. margin:0; padding:0;
  608. list-style: none;
  609. }
  610. article.node--type-evenement{
  611. h2{ @include content_titles; }
  612. }
  613. }
  614. // ___ _ _ _
  615. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  616. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  617. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  618. body.path-productions{
  619. .layout-content .row{
  620. white-space: normal;
  621. .col{
  622. height:auto;
  623. &.col-2:last-child{
  624. padding-left: 0em;
  625. padding-right: 1em;
  626. }
  627. >.wrapper{
  628. margin-bottom: 1em;
  629. padding:0;
  630. >*{padding:0;}
  631. article.node{
  632. .field--name-field-visuel{
  633. a,img{
  634. display: block;
  635. width: 100%; height:auto;
  636. }
  637. }
  638. header{
  639. background-color: rgba(255,255,255,0.95);
  640. padding:0.5em 1em;
  641. h2.node-title{
  642. margin:0;
  643. }
  644. p{margin: 0;}
  645. }
  646. &.node--view-mode-image-2-columns{
  647. header{
  648. position: absolute;
  649. bottom: 0; left:0;
  650. h2.node-title{
  651. font-size: 1.6em;
  652. font-weight: 500;
  653. }
  654. }
  655. }
  656. &.node--view-mode-image-1-columns{
  657. h2.node-title{
  658. font-size: 1.2em;
  659. font-weight: 500;
  660. }
  661. }
  662. &.node--view-mode-text-1-column{
  663. padding:0 1em;
  664. }
  665. }
  666. }
  667. }
  668. }
  669. }
  670. // ___ _
  671. // | __|__ ___| |_ ___ _ _
  672. // | _/ _ \/ _ \ _/ -_) '_|
  673. // |_|\___/\___/\__\___|_|
  674. @mixin oblique-list {
  675. display: inline-block;
  676. position: relative;
  677. list-style: none;
  678. margin: 0 1.5em 0 0;
  679. // width:2em; height:10em;
  680. padding: 0;
  681. a{
  682. position: absolute;
  683. bottom: 0;
  684. transform-origin: left bottom;
  685. transform: rotateZ(-45deg);
  686. color: #000;
  687. text-decoration: none;
  688. text-transform: uppercase;
  689. font-size: 0.756em;
  690. white-space: nowrap;
  691. }
  692. }
  693. footer{
  694. position: relative;
  695. pointer-events: none;
  696. // outline: 1px dotted blue;
  697. >.wrapper{
  698. white-space: nowrap;
  699. // height:100%;
  700. >.region{
  701. // height:100%;
  702. // display: table-cell;
  703. display: inline-block;
  704. vertical-align: baseline;
  705. white-space:normal;
  706. // pointer-events: none;
  707. // outline: 1px dotted purple;
  708. // position: relative;
  709. >*{
  710. display: inline-block; vertical-align: bottom;
  711. }
  712. }
  713. .region-footer-left{
  714. // float:left;
  715. width:12%;
  716. // min-width:50px;
  717. text-align: left;
  718. }
  719. .region-footer-center{
  720. // float: none;
  721. width: 72%;
  722. overflow:hidden;
  723. text-align: center;
  724. }
  725. .region-footer-right{
  726. // float:right;
  727. width:12%;
  728. // min-width: 50px;
  729. text-align: right;
  730. }
  731. }
  732. nav.block-menu{
  733. display: inline-block;
  734. ul{
  735. margin:0;
  736. padding:0;
  737. li{
  738. pointer-events: all;
  739. @include oblique-list;
  740. &:first-of-type{
  741. margin-left: 1em;
  742. }
  743. a{
  744. &:before{
  745. content: "";
  746. display:inline-block;
  747. $sq:7px;
  748. width: $sq; height:$sq;
  749. border: 1px solid black;
  750. margin-right: 0.5em;
  751. }
  752. &:hover:before,
  753. &.is-active:before{
  754. background-color: black;
  755. }
  756. &.ajax-loading:before{
  757. @include spining-loader-square;
  758. }
  759. }
  760. }
  761. }
  762. }
  763. .block-language{
  764. display: inline-block;
  765. position: relative;
  766. ul{
  767. position: absolute;
  768. bottom:0;
  769. margin:0;
  770. padding:0;
  771. transform-origin: left bottom;
  772. transform: rotateZ(-45deg);
  773. white-space: nowrap;
  774. pointer-events: all;
  775. li{
  776. margin:0; padding:0;
  777. list-style: none;
  778. display: inline-block;
  779. &:last-of-type{
  780. &:before{
  781. content:"/";
  782. margin:0 0.2em;
  783. }
  784. }
  785. a{
  786. color: inherit;
  787. text-decoration: none;
  788. font-size: 0.756em;
  789. }
  790. &.is-active{
  791. a{color: red;}
  792. }
  793. }
  794. }
  795. }
  796. #block-productions{
  797. position: relative;
  798. pointer-events: none;
  799. body:not(.path-productions) & {display:none}
  800. ul{
  801. margin-left: -3em;
  802. white-space: nowrap;
  803. li{
  804. height:200px; // this is needed to respect the height of oblique links :(
  805. a{
  806. // outline: 1px solid blue;
  807. pointer-events: all;
  808. background-color: #fff;
  809. padding-right: 0.4em;
  810. &:before{
  811. content: "";
  812. display:inline-block;
  813. $sq:7px;
  814. width: $sq; height:$sq;
  815. border: 1px solid red;
  816. margin-right: 0.5em;
  817. }
  818. &:hover:before{
  819. background-color: red;
  820. }
  821. &.ajax-loading:before{
  822. @include spining-loader-square;
  823. }
  824. }
  825. }
  826. }
  827. }
  828. .block-block-edlp-entrees{
  829. pointer-events: none;
  830. body.path-productions &,
  831. body.path-agenda & {display:none}
  832. display: inline-block;
  833. // vertical-align: top;
  834. ul{
  835. margin:0;
  836. white-space: nowrap;
  837. li{
  838. @include oblique-list;
  839. margin:0;
  840. white-space: nowrap;
  841. pointer-events: none;
  842. span.oblique-wrapper{
  843. height:120px; // this is needed to respect the height of oblique links :(
  844. display: inline-block;
  845. vertical-align: bottom;
  846. position: relative;
  847. width:1.5em;
  848. }
  849. a.term-link, a.articles-link{
  850. // outline: 1px solid blue;
  851. pointer-events: all;
  852. background-color: #fff;
  853. padding-right: 0.4em;
  854. &:before{
  855. content: "";
  856. display:inline-block;
  857. $sq:7px;
  858. width: $sq; height:$sq;
  859. border: 1px solid #000;
  860. background-color: #000;
  861. margin-right: 0.5em;
  862. transition: background-color 0.1s ease-in-out;
  863. }
  864. &.articles-link{
  865. margin-left: 2em;
  866. text-transform: capitalize;
  867. }
  868. }
  869. .entree-content{
  870. display: inline-block;
  871. // outline: 1px solid green;
  872. width:0;
  873. overflow: hidden;
  874. opacity: 0;
  875. transition: all 300ms ease-in-out;
  876. transition-property: width,opacity;
  877. span.oblique-wrapper:first-of-type{
  878. margin-left: 0.5em;
  879. }
  880. span.oblique-wrapper a{
  881. text-transform: none;
  882. pointer-events: auto;
  883. &:before{
  884. content: "";
  885. display:inline-block;
  886. $sq:5px;
  887. width: $sq; height:$sq;
  888. border: 1px solid #000;
  889. margin-right: 0.5em;
  890. }
  891. }
  892. .term-description{
  893. display: inline-block;
  894. margin-left: 1.5em;
  895. text-align: left;
  896. width:250px;
  897. word-wrap:break-word;
  898. // word-break:break-all;
  899. hyphens: auto;
  900. white-space: normal;
  901. background-color: $transparent-bg;
  902. padding:0.5em;
  903. padding-bottom:0;
  904. p{
  905. font-size: 0.65em;
  906. margin:0;
  907. }
  908. }
  909. }
  910. &[tid='134']{
  911. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  912. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  913. &[tid='121']{
  914. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  915. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  916. &[tid='125']{
  917. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  918. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  919. &[tid='119']{
  920. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  921. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  922. &[tid='132']{
  923. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  924. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  925. &[tid='122']{
  926. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  927. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  928. &[tid='129']{
  929. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  930. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  931. &[tid='120']{
  932. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  933. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  934. &[tid='130']{
  935. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  936. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  937. &[tid='118']{
  938. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  939. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  940. &[tid='127']{
  941. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  942. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  943. &[tid='133']{
  944. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  945. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  946. &[tid='128']{
  947. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  948. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  949. &[tid='124']{
  950. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  951. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  952. &[tid='116']{
  953. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  954. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  955. &[tid='117']{
  956. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  957. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  958. &[tid='131']{
  959. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  960. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  961. &[tid='126']{
  962. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  963. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  964. &[tid='123']{
  965. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  966. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  967. // &.highlighted{
  968. // a.term_link{
  969. // color: red;
  970. // }
  971. // }
  972. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  973. a.articles-link:not(:hover):not(.is-active):before{
  974. background-color: #fff!important;
  975. }
  976. &:not(.opened){
  977. a.term-link:not(:hover):not(.highlighted):before{
  978. background-color: #fff!important;
  979. }
  980. }
  981. &.opened{
  982. // outline: 1px solid purple;
  983. a.term-link:after {
  984. content: '';
  985. position: absolute;
  986. left: 15px; right:0;
  987. bottom: -3px;
  988. border-bottom: 1px solid grey;
  989. }
  990. .entree-content{
  991. width:350px;
  992. opacity: 1;
  993. }
  994. }
  995. // &:not(:first-of-type) .entree-content{display: none;}
  996. }
  997. }
  998. }
  999. $icons_w:20px;
  1000. #block-studiolinkblock{
  1001. pointer-events: all;
  1002. a{
  1003. $wh:$icons_w;
  1004. display: block;
  1005. width:$wh; height:$wh;
  1006. text-indent: $wh*2;
  1007. margin: 0;
  1008. overflow: hidden;
  1009. mask-image: url(../img/studio.svg);
  1010. mask-size: contain;
  1011. background-color: #000;
  1012. transition: background-color 0.3s ease-in-out;
  1013. cursor: pointer;
  1014. &.is-active{
  1015. background-color: red;
  1016. }
  1017. }
  1018. }
  1019. .block.random-player{
  1020. pointer-events: all;
  1021. margin-left: 0.5em;
  1022. a{
  1023. $wh:$icons_w;
  1024. display: block;
  1025. width:$wh; height:$wh;
  1026. text-indent: $wh*2;
  1027. margin: 0;
  1028. overflow: hidden;
  1029. mask-image: url(../img/random.svg);
  1030. mask-size: contain;
  1031. background-color: #000;
  1032. transition: background-color 0.3s ease-in-out;
  1033. cursor: pointer;
  1034. &.is-active{
  1035. background-color: red;
  1036. }
  1037. }
  1038. }
  1039. #block-userlogin{
  1040. pointer-events: all;
  1041. // outline: 1px solid blue;
  1042. $wh:$icons_w;
  1043. position: relative;
  1044. width:$wh; height: $wh;
  1045. // background-color: blue;
  1046. h2{
  1047. position: relative;
  1048. width:$wh; height:$wh;
  1049. background-image: url(../img/studio.svg);
  1050. // background-color: red;
  1051. background-size: contain;
  1052. text-indent: $wh*2;
  1053. margin: 0;
  1054. overflow: hidden;
  1055. z-index: 1;
  1056. cursor: pointer;
  1057. }
  1058. .block-content{
  1059. z-index: 0;
  1060. position:absolute;
  1061. right:0;bottom:$wh;
  1062. padding:0.5em;
  1063. padding-bottom: 20px;
  1064. background-color: $transparent-bg;
  1065. border-top: 1px solid red;
  1066. border-bottom: 1px solid red;
  1067. overflow: hidden;
  1068. box-sizing:border-box;
  1069. height: 0px;
  1070. opacity:0;
  1071. pointer-events:none;
  1072. transition: all 0.5s ease-in-out;
  1073. transition-property: height,opacity;
  1074. // &:hover{
  1075. // height:200px;
  1076. // opacity:1;
  1077. // pointer-events: auto;
  1078. // }
  1079. form{
  1080. font-size: 0.75em;
  1081. }
  1082. .item-list{
  1083. ul{margin:0;}
  1084. li{
  1085. margin:0;
  1086. list-style: none;
  1087. a{
  1088. color: inherit;
  1089. text-decoration: none;
  1090. font-size: 0.75em;
  1091. white-space:nowrap;
  1092. }
  1093. }
  1094. }
  1095. }
  1096. &:hover{
  1097. .block-content{
  1098. height:200px;
  1099. opacity: 1;
  1100. pointer-events:auto;
  1101. }
  1102. }
  1103. }
  1104. }
  1105. // _ _ _ ___
  1106. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1107. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1108. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1109. // |_| |_|
  1110. .node-popup{
  1111. .inner{
  1112. position: relative;
  1113. .entrees{
  1114. span{
  1115. @include entrie-micro-square;
  1116. }
  1117. }
  1118. .title{
  1119. margin:0.3em 0;
  1120. font-size: 1.2em;
  1121. font-weight: 500;
  1122. }
  1123. .description{
  1124. p{
  1125. margin:0;
  1126. font-size: 0.75em;
  1127. }
  1128. }
  1129. .chutier-icon{
  1130. position:absolute;
  1131. top:1em; right:1em;
  1132. }
  1133. }
  1134. }
  1135. // __ ___ _ ___ _ _ _
  1136. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  1137. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  1138. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  1139. // complete rewrite of url_to_video_filter css
  1140. .url-to-video-container{
  1141. // display:block;
  1142. margin:10px auto;
  1143. // width:100%;
  1144. &.no-js{
  1145. border:solid black 1px;
  1146. .loader{
  1147. // background:url(../images/no-js.png) no-repeat center center;
  1148. // background-size:40px 40px;
  1149. }
  1150. .url-to-video-player{
  1151. cursor:auto;
  1152. }
  1153. }
  1154. .loader{
  1155. // top:240px;
  1156. // left:50%;
  1157. // transform:translate(-50%, -50%);
  1158. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  1159. top:auto; left: auto;
  1160. transform: none;
  1161. }
  1162. span.url-to-video-player{
  1163. // display:block;
  1164. // width:100%;
  1165. /* assuming that the video has a 16:9 ratio */
  1166. // padding-bottom:56.25%;
  1167. padding-bottom:0;
  1168. // overflow:hidden;
  1169. // position:relative;
  1170. // width:100%;
  1171. // height:100%;
  1172. height:auto;
  1173. // cursor:hand;
  1174. // cursor:pointer;
  1175. // display: block;
  1176. &:before{
  1177. content: "";
  1178. display: block;
  1179. /* assuming that the video has a 16:9 ratio */
  1180. padding-top: 56.25%;
  1181. }
  1182. img.player-thumb
  1183. {
  1184. // background-position:center center;
  1185. // background-size:cover;
  1186. // position: absolute;
  1187. // top: 0;
  1188. // left: 0;
  1189. // width: 100%;
  1190. // height: 100%;
  1191. // cursor:pointer;
  1192. }
  1193. .play-button
  1194. {
  1195. z-index: 5;
  1196. // height:40px;
  1197. // width:40px;
  1198. // display:block;
  1199. // background:url(../images/play-button.png) no-repeat center center;
  1200. // background-size:40px 40px;
  1201. // position:absolute;
  1202. // top:240px;
  1203. top:50%;
  1204. // left:50%;
  1205. // transform:translate(-50%, -50%);
  1206. // cursor:pointer;
  1207. }
  1208. iframe.player-iframe
  1209. {
  1210. // width:100%;
  1211. // height:100%;
  1212. // position:absolute;
  1213. // top:0;
  1214. // left:0;
  1215. }
  1216. }
  1217. }