app.scss 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126
  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/shared_variables';
  11. @import 'base/grid';
  12. @import 'base/layout';
  13. @import 'base/fonts';
  14. @mixin spining-loader-square{
  15. @keyframes rotation {
  16. from {transform: rotate(0deg);}
  17. to {transform: rotate(359deg);}
  18. }
  19. animation: rotation 2s infinite linear;
  20. }
  21. @mixin entrie-micro-square {
  22. display:inline-block;
  23. $s:8px;
  24. width:$s; height:$s;
  25. background-color: black;
  26. margin-right: 3px;
  27. &[tid='134']{background-color: $e_col_134;}
  28. &[tid='121']{background-color: $e_col_121;}
  29. &[tid='125']{background-color: $e_col_125;}
  30. &[tid='119']{background-color: $e_col_119;}
  31. &[tid='132']{background-color: $e_col_132;}
  32. &[tid='122']{background-color: $e_col_122;}
  33. &[tid='129']{background-color: $e_col_129;}
  34. &[tid='120']{background-color: $e_col_120;}
  35. &[tid='130']{background-color: $e_col_130;}
  36. &[tid='118']{background-color: $e_col_118;}
  37. &[tid='127']{background-color: $e_col_127;}
  38. &[tid='133']{background-color: $e_col_133;}
  39. &[tid='128']{background-color: $e_col_128;}
  40. &[tid='124']{background-color: $e_col_124;}
  41. &[tid='116']{background-color: $e_col_116;}
  42. &[tid='117']{background-color: $e_col_117;}
  43. &[tid='131']{background-color: $e_col_131;}
  44. &[tid='126']{background-color: $e_col_126;}
  45. &[tid='123']{background-color: $e_col_123;}
  46. }
  47. // .layout-container{
  48. // pointer-events: none;
  49. // }
  50. // _ _
  51. // | |_ ___ __ _ __| |___ _ _
  52. // | ' \/ -_) _` / _` / -_) '_|
  53. // |_||_\___\__,_\__,_\___|_|
  54. header[role="banner"]{
  55. pointer-events: all;
  56. // TODO: what header height to fit well with player ??
  57. }
  58. #block-edlptheme-branding{
  59. display: inline-block;
  60. h1{
  61. margin:0; display: inline-block;
  62. a.site-name{
  63. display: block;
  64. $w:290px;
  65. width:$w; height:$w * 0.22;
  66. background-image: url(../img/logo.svg);
  67. background-color: white;
  68. background-repeat:no-repeat;
  69. background-size: contain;
  70. white-space: nowrap;
  71. text-indent: 500px;
  72. overflow: hidden;
  73. }
  74. }
  75. }
  76. #block-mainnavigation{
  77. float:right;
  78. margin-top: 30px;
  79. ul{
  80. margin:0; padding: 0;
  81. white-space: nowrap;
  82. li{
  83. margin:0; padding:0;
  84. display: inline-block;
  85. a{
  86. font-size: 0.756em;
  87. color:inherit;
  88. text-decoration: none;
  89. text-transform: uppercase;
  90. margin-left: 1em;
  91. &:before{
  92. content: "";
  93. display:inline-block;
  94. $sq:0.6em;
  95. width: $sq; height:$sq;
  96. border: 1px solid red;
  97. margin-right: 0.3em;
  98. }
  99. &.ajax-loading:before{
  100. @include spining-loader-square;
  101. }
  102. &.is-active:before,
  103. &:hover:before{
  104. border-color: red;
  105. background-color: red;
  106. }
  107. }
  108. }
  109. }
  110. }
  111. .block-language{
  112. float: right;
  113. margin-top: 29px;
  114. margin-left: 2em;
  115. ul{
  116. margin:0; padding:0;
  117. li{
  118. display: inline-block; vertical-align: middle;
  119. list-style: none;
  120. a{
  121. font-size: 0.690em;
  122. color:inherit;
  123. text-decoration: none;
  124. text-transform: capitalize;
  125. margin-left: 0.8em;
  126. &:before{
  127. content: "";
  128. display:inline-block;
  129. $sq:0.6em;
  130. width: $sq; height:$sq;
  131. border: 1px solid red;
  132. margin-right: 0.3em;
  133. }
  134. }
  135. &.is-active,
  136. &:hover{
  137. a:before{
  138. border-color: red;
  139. background-color: red;
  140. }
  141. }
  142. }
  143. }
  144. }
  145. // _
  146. // _ __ __ _(_)_ _
  147. // | ' \/ _` | | ' \
  148. // |_|_|_\__,_|_|_||_|
  149. main[role="main"]{
  150. .layout-content{
  151. pointer-events: none;
  152. .row{
  153. pointer-events: none;
  154. height:100%;
  155. overflow: hidden;
  156. .col{
  157. pointer-events: none;
  158. height: 100%;
  159. position: relative;
  160. &>.wrapper{
  161. pointer-events:all;
  162. position: relative;
  163. box-sizing: border-box;
  164. border-top: 1px solid red;
  165. border-bottom: 1px solid red;
  166. background-color: $transparent-bg;
  167. max-height: 100%; // this is not working :(
  168. padding:0 0 1em;
  169. &>*{
  170. padding:0 1em;
  171. }
  172. }
  173. }
  174. }
  175. .field.text-formatted{
  176. a.audio-link{
  177. border-bottom: 1px dotted red;
  178. }
  179. }
  180. }
  181. article.node>h2{
  182. @include content_titles;
  183. }
  184. article.node p{
  185. @include content_courant;
  186. }
  187. img{
  188. max-width: 100%;
  189. height: auto;
  190. }
  191. ul, li, ul.inline li:first-child{
  192. margin:0; padding:0;
  193. list-style: none;
  194. }
  195. // ajax loading effects
  196. .layout-content{
  197. transition: opacity 0.5s ease-in-out;
  198. opacity: 1;
  199. }
  200. body.ajax-loading &{
  201. .layout-content{
  202. opacity:0.2;
  203. }
  204. &:before{
  205. content:"";
  206. display: block;
  207. position: absolute;
  208. z-index: 10;
  209. $s:60px;
  210. width:$s; height:$s;
  211. top:calc(50% - #{$s/2}); left:calc(50% - #{$s/2});
  212. // padding:1em;
  213. background-color: rgba(255,255,255, 0.5);
  214. background-image: url(../img/edlp-loader-anim.svg);
  215. background-size: 50%;
  216. background-repeat: no-repeat;
  217. background-position: center;
  218. // border-radius: $s/2;
  219. }
  220. }
  221. }
  222. // _ _ _ ___ _
  223. // /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
  224. // / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
  225. // /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
  226. // |__/
  227. #audio-player{
  228. position: absolute;
  229. top:0; left:0;
  230. background-color: white;
  231. height:100%; min-width:300px;
  232. z-index: 20;
  233. opacity: 0;
  234. // outline: 1px solid blue;
  235. pointer-events: none;
  236. transition: opacity 0.7s ease-in-out;
  237. &.visible{
  238. opacity: 1;
  239. pointer-events:all;
  240. }
  241. &>*{
  242. display: inline-block;
  243. vertical-align: middle;
  244. // word-break:keep-all;
  245. padding:0;
  246. max-height: 100%;
  247. // outline: 1px solid green;
  248. }
  249. .btns{
  250. // outline: 1px dotted orange;
  251. &>*{
  252. display: inline-block;
  253. vertical-align: middle;
  254. width:20px;height:30px;
  255. background-position: center;
  256. background-size: contain;
  257. }
  258. .previous{
  259. background-image: url(../img/audio-player-previous.svg);
  260. opacity: 0.3;}
  261. .play-pause{
  262. background-image: url(../img/audio-player-play.svg);
  263. padding:0 0.3em;}
  264. cursor: pointer;
  265. .next{
  266. background-image: url(../img/audio-player-next.svg);
  267. opacity: 0.3;}
  268. }
  269. .time-line-container{
  270. .time-line{
  271. position: relative;
  272. width:70px; height:1px;
  273. background-color: #000;
  274. overflow: visible;
  275. transform: rotateZ(-45deg);
  276. .loader{
  277. width:0; height:100%;
  278. background-color: red;
  279. top:0;left:0;
  280. }
  281. .cursor{
  282. height:10px;width:0;
  283. border-left: 2px solid red;
  284. position:absolute;
  285. left:0; top:-5px;
  286. }
  287. }
  288. }
  289. .time{
  290. &>*{
  291. width:70px;
  292. text-align: right;
  293. }
  294. .current-time{
  295. font-size: 1.4em;
  296. font-weight: 600;
  297. }
  298. .duration{
  299. font-size: 0.75em;
  300. font-weight: 400;
  301. }
  302. }
  303. .favoris{
  304. height:100%;
  305. }
  306. .cartel{
  307. // TODO: set max-width regarding responsive
  308. position: relative;
  309. max-width: 350px;
  310. margin-left: 1em;
  311. background-color: white;
  312. opacity: 1;
  313. transition: opacity 0.5s ease-in-out;
  314. &.loading{opacity: 0;}
  315. white-space: nowrap;
  316. .actions, .cartels{
  317. display: inline-block;
  318. vertical-align: top;
  319. white-space: normal;
  320. position: relative;
  321. }
  322. .actions{
  323. width:1.5em;
  324. }
  325. .cartels{
  326. .first-cartel{
  327. .entrees{
  328. line-height: 0;
  329. span{
  330. @include entrie-micro-square;
  331. }
  332. }
  333. h2.node-title{
  334. margin:0.2em 0 0;
  335. font-size: 1em;
  336. }
  337. p{
  338. margin:0;
  339. font-size: 0.75em;
  340. }
  341. }
  342. .second-cartel{
  343. position: absolute;
  344. top: 0; left:0;
  345. background-color: white;
  346. height:100%; min-width: 100%;
  347. opacity: 0;
  348. transition: opacity 0.2s ease-in-out;
  349. &>*{
  350. display: inline-block;
  351. vertical-align: top;
  352. }
  353. .col-left{
  354. a{
  355. display: block;
  356. font-size: 0.90em;
  357. font-weight: 600;
  358. }
  359. }
  360. .col-right{
  361. font-size: 0.75em;
  362. }
  363. }
  364. }
  365. &:hover{
  366. .second-cartel{
  367. opacity: 1;
  368. }
  369. }
  370. }
  371. &.is-playing{
  372. .btns .play-pause{background-image: url(../img/audio-player-pause.svg);}
  373. }
  374. }
  375. // ___ _ _ _
  376. // / __| |_ _ _ __| (_)___
  377. // \__ \ _| || / _` | / _ \
  378. // |___/\__|\_,_\__,_|_\___/
  379. .chutier-icon{
  380. $s:1em;
  381. display: block;
  382. position: relative;
  383. width:$s;height:$s;
  384. overflow: hidden;
  385. text-indent: 50em;
  386. // background-color: red;
  387. background-position: center;
  388. background-repeat: no-repeat;
  389. background-size: contain;
  390. background-image: url(../img/favori-off.svg);
  391. &[action="remove"]{
  392. background-image: url(../img/favori-on.svg);
  393. }
  394. transition: opacity 0.2s ease-in-out;
  395. &.ajax-loading{
  396. opacity: 0.2;
  397. }
  398. &.not-logedin{
  399. overflow: visible;
  400. }
  401. .popup{
  402. z-index: 10;
  403. display:none;
  404. position: absolute;
  405. top:0; left:0;
  406. width:300px; height:auto; min-height: 100px;
  407. .inner{
  408. background-color: rgba(255,255,255,0.9);
  409. border: 1px solid red;
  410. text-indent: 0;
  411. padding: 0.5em;
  412. margin:$s*1.2 0 0 $s*1.2;
  413. p{margin: 0;}
  414. }
  415. }
  416. &:hover{
  417. .popup{
  418. display: block;
  419. }
  420. }
  421. }
  422. .row .col .studio-ui-wrapper{
  423. height: 100%;
  424. }
  425. #studio-ui{
  426. height:100%;
  427. .chutier_ui{
  428. height: 50%;
  429. border-bottom: 1px solid red;
  430. position: relative;
  431. &>h2{
  432. z-index: 10;
  433. position: absolute;
  434. width: calc(100% - 20px);
  435. margin: 0;
  436. padding:0.5em 0;
  437. font-size: 1em;
  438. font-weight: 500;
  439. text-transform: uppercase;
  440. // outline: 1px solid orange;
  441. background-color: white;
  442. }
  443. .documents{
  444. padding-top: 35px;
  445. height:calc(100% - 35px);
  446. overflow-y: auto;
  447. // box-sizing: content-box;
  448. // outline: 1px solid green;
  449. ul,li{
  450. margin:0; padding:0;
  451. line-height: 1.2;
  452. }
  453. li{
  454. display: inline-block; vertical-align: top;
  455. width:49%; margin-bottom: 0.5em;
  456. white-space: nowrap;
  457. .entrees{
  458. line-height: 0;
  459. span{
  460. @include entrie-micro-square;
  461. }
  462. }
  463. a.audio-link{
  464. text-transform: capitalize;
  465. font-size: 0.756em;
  466. margin-right: 0.5em;
  467. white-space: normal;
  468. }
  469. .chutier-icon{
  470. display: inline-block;
  471. width:0.7em; height:0.7em;
  472. opacity: 0.8;
  473. }
  474. }
  475. }
  476. }
  477. .composition_ui{
  478. height:50%;
  479. &>h2{
  480. z-index: 10;
  481. position: absolute;
  482. width: calc(100% - 20px);
  483. margin: 0;
  484. padding:0.5em 0;
  485. font-size: 1em;
  486. font-weight: 500;
  487. text-transform: uppercase;
  488. // outline: 1px solid orange;
  489. background-color: white;
  490. }
  491. >.wrapper{
  492. padding-top: 35px;
  493. height:calc(100% - 35px);
  494. overflow: hidden;
  495. white-space: nowrap;
  496. section.compositions-list, section.composer{
  497. display: inline-block; vertical-align: top;
  498. height: 100%;
  499. }
  500. .compositions-list{
  501. width:30%; height:100%;
  502. overflow-y: auto;
  503. a{
  504. font-size: 0.756em;
  505. &.new-composition-link{
  506. // padding-left: 1em;
  507. &:before{
  508. content:"+";
  509. font-weight: bold;
  510. margin-right: 0.2em;
  511. }
  512. display: inline-block;
  513. vertical-align: top;
  514. overflow: hidden;
  515. height:1em;
  516. transition: height 0.2s ease-in-out;
  517. &.folded{
  518. height:0;
  519. }
  520. }
  521. }
  522. .new-compo-form{
  523. input[type="text"]{
  524. font-size: 0.756em;
  525. padding:0 0.5em;
  526. width:calc(100% - 50px);
  527. height:1.7em;
  528. border: none;
  529. border-top:1px dotted red;
  530. border-bottom:1px dotted red;
  531. }
  532. button{
  533. background: none;
  534. border: none;
  535. font-size: 1em;
  536. line-height: 1;
  537. font-weight: bold;
  538. }
  539. opacity: 1;
  540. transition: opacity 0.2s ease-in-out;
  541. &.ajax-loading{
  542. opacity: 0.4;
  543. }
  544. }
  545. }
  546. .composer{
  547. box-sizing: content-box;
  548. width:69%;
  549. padding-left: 1em;
  550. border-left: 1px solid #aaa;
  551. }
  552. }
  553. }
  554. }
  555. // _ _ _ _ _
  556. // /_\ (_)__ ___ __ | \| |___ __| |___
  557. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  558. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  559. // |__/
  560. // body.path-edlp-node main{
  561. // main .col>.wrapper, .edlp-ajax-node{
  562. // height: 100%;
  563. // }
  564. // }
  565. // _ _
  566. // /_\ __ _ ___ _ _ __| |__ _
  567. // / _ \/ _` / -_) ' \/ _` / _` |
  568. // /_/ \_\__, \___|_||_\__,_\__,_|
  569. // |___/
  570. body.path-agenda main .col{
  571. &>.wrapper{
  572. height:100%;
  573. }
  574. }
  575. #agenda{
  576. position: relative;
  577. white-space: nowrap;
  578. height: 100%;
  579. div.column{
  580. white-space: normal;
  581. display: inline-block;
  582. vertical-align: top;
  583. height:100%;
  584. }
  585. div.next-event{
  586. width:65%;
  587. }
  588. div.future-past-events{
  589. width:33%;
  590. }
  591. ul,li{
  592. margin:0; padding:0;
  593. list-style: none;
  594. }
  595. article.node--type-evenement{
  596. h2{ @include content_titles; }
  597. }
  598. }
  599. // ___ _ _ _
  600. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  601. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  602. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  603. body.path-productions{
  604. .layout-content .row{
  605. white-space: normal;
  606. .col{
  607. height:auto;
  608. &.col-2:last-child{
  609. padding-left: 0em;
  610. padding-right: 1em;
  611. }
  612. >.wrapper{
  613. margin-bottom: 1em;
  614. padding:0;
  615. >*{padding:0;}
  616. article.node{
  617. .field--name-field-visuel{
  618. a,img{
  619. display: block;
  620. width: 100%; height:auto;
  621. }
  622. }
  623. header{
  624. background-color: rgba(255,255,255,0.95);
  625. padding:0.5em 1em;
  626. h2.node-title{
  627. margin:0;
  628. }
  629. p{margin: 0;}
  630. }
  631. &.node--view-mode-image-2-columns{
  632. header{
  633. position: absolute;
  634. bottom: 0; left:0;
  635. h2.node-title{
  636. font-size: 1.6em;
  637. font-weight: 500;
  638. }
  639. }
  640. }
  641. &.node--view-mode-image-1-columns{
  642. h2.node-title{
  643. font-size: 1.2em;
  644. font-weight: 500;
  645. }
  646. }
  647. &.node--view-mode-text-1-column{
  648. padding:0 1em;
  649. }
  650. }
  651. }
  652. }
  653. }
  654. }
  655. // ___ _
  656. // | __|__ ___| |_ ___ _ _
  657. // | _/ _ \/ _ \ _/ -_) '_|
  658. // |_|\___/\___/\__\___|_|
  659. @mixin oblique-list {
  660. display: inline-block;
  661. position: relative;
  662. list-style: none;
  663. margin: 0 1.5em 0 0;
  664. // width:2em; height:10em;
  665. padding: 0;
  666. a{
  667. position: absolute;
  668. bottom: 0;
  669. transform-origin: left bottom;
  670. transform: rotateZ(-45deg);
  671. color: #000;
  672. text-decoration: none;
  673. text-transform: uppercase;
  674. font-size: 0.756em;
  675. white-space: nowrap;
  676. }
  677. }
  678. footer{
  679. position: relative;
  680. pointer-events: none;
  681. // outline: 1px dotted blue;
  682. >.wrapper{
  683. white-space: nowrap;
  684. // height:100%;
  685. >.region{
  686. // height:100%;
  687. // display: table-cell;
  688. display: inline-block;
  689. vertical-align: baseline;
  690. white-space:normal;
  691. // pointer-events: none;
  692. // outline: 1px dotted purple;
  693. // position: relative;
  694. >*{
  695. display: inline-block; vertical-align: bottom;
  696. }
  697. }
  698. .region-footer-left{
  699. // float:left;
  700. width:12%;
  701. // min-width:50px;
  702. text-align: left;
  703. }
  704. .region-footer-center{
  705. // float: none;
  706. width: 72%;
  707. overflow:hidden;
  708. text-align: center;
  709. }
  710. .region-footer-right{
  711. // float:right;
  712. width:12%;
  713. // min-width: 50px;
  714. text-align: right;
  715. }
  716. }
  717. nav.block-menu{
  718. display: inline-block;
  719. ul{
  720. margin:0;
  721. padding:0;
  722. li{
  723. pointer-events: all;
  724. @include oblique-list;
  725. &:first-of-type{
  726. margin-left: 1em;
  727. }
  728. }
  729. }
  730. }
  731. .block-language{
  732. display: inline-block;
  733. position: relative;
  734. ul{
  735. position: absolute;
  736. bottom:0;
  737. margin:0;
  738. padding:0;
  739. transform-origin: left bottom;
  740. transform: rotateZ(-45deg);
  741. white-space: nowrap;
  742. pointer-events: all;
  743. li{
  744. margin:0; padding:0;
  745. list-style: none;
  746. display: inline-block;
  747. &:last-of-type{
  748. &:before{
  749. content:"/";
  750. margin:0 0.2em;
  751. }
  752. }
  753. a{
  754. color: inherit;
  755. text-decoration: none;
  756. font-size: 0.756em;
  757. }
  758. &.is-active{
  759. a{color: red;}
  760. }
  761. }
  762. }
  763. }
  764. #block-productions{
  765. position: relative;
  766. pointer-events: none;
  767. body:not(.path-productions) & {display:none}
  768. ul{
  769. margin-left: -3em;
  770. white-space: nowrap;
  771. li{
  772. height:200px; // this is needed to respect the height of oblique links :(
  773. a{
  774. // outline: 1px solid blue;
  775. pointer-events: all;
  776. background-color: #fff;
  777. padding-right: 0.4em;
  778. &:before{
  779. content: "";
  780. display:inline-block;
  781. $sq:7px;
  782. width: $sq; height:$sq;
  783. border: 1px solid red;
  784. margin-right: 0.5em;
  785. }
  786. &:hover:before{
  787. background-color: red;
  788. }
  789. &.ajax-loading:before{
  790. @include spining-loader-square;
  791. }
  792. }
  793. }
  794. }
  795. }
  796. .block-block-edlp-entrees{
  797. pointer-events: none;
  798. body.path-productions & {display:none}
  799. display: inline-block;
  800. // vertical-align: top;
  801. ul{
  802. margin:0;
  803. white-space: nowrap;
  804. li{
  805. @include oblique-list;
  806. margin:0;
  807. white-space: nowrap;
  808. pointer-events: none;
  809. span.oblique-wrapper{
  810. height:120px; // this is needed to respect the height of oblique links :(
  811. display: inline-block;
  812. vertical-align: bottom;
  813. position: relative;
  814. width:1.5em;
  815. }
  816. a.term-link, a.articles-link{
  817. // outline: 1px solid blue;
  818. pointer-events: all;
  819. background-color: #fff;
  820. padding-right: 0.4em;
  821. &:before{
  822. content: "";
  823. display:inline-block;
  824. $sq:7px;
  825. width: $sq; height:$sq;
  826. border: 1px solid #000;
  827. background-color: #000;
  828. margin-right: 0.5em;
  829. transition: background-color 0.1s ease-in-out;
  830. }
  831. &.articles-link{
  832. margin-left: 2em;
  833. text-transform: capitalize;
  834. }
  835. }
  836. .entree-content{
  837. display: inline-block;
  838. // outline: 1px solid green;
  839. width:0;
  840. overflow: hidden;
  841. opacity: 0;
  842. transition: all 300ms ease-in-out;
  843. transition-property: width,opacity;
  844. span.oblique-wrapper:first-of-type{
  845. margin-left: 0.5em;
  846. }
  847. span.oblique-wrapper a{
  848. text-transform: none;
  849. pointer-events: auto;
  850. &:before{
  851. content: "";
  852. display:inline-block;
  853. $sq:5px;
  854. width: $sq; height:$sq;
  855. border: 1px solid #000;
  856. margin-right: 0.5em;
  857. }
  858. }
  859. .term-description{
  860. display: inline-block;
  861. margin-left: 1.5em;
  862. text-align: left;
  863. width:250px;
  864. word-wrap:break-word;
  865. // word-break:break-all;
  866. hyphens: auto;
  867. white-space: normal;
  868. background-color: $transparent-bg;
  869. padding:0.5em;
  870. padding-bottom:0;
  871. p{
  872. font-size: 0.65em;
  873. margin:0;
  874. }
  875. }
  876. }
  877. &[tid='134']{
  878. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  879. border-color: $e_col_134;background-color: $e_col_134;}}
  880. &[tid='121']{
  881. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  882. border-color: $e_col_121;background-color: $e_col_121;}}
  883. &[tid='125']{
  884. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  885. border-color: $e_col_125;background-color: $e_col_125;}}
  886. &[tid='119']{
  887. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  888. border-color: $e_col_119;background-color: $e_col_119;}}
  889. &[tid='132']{
  890. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  891. border-color: $e_col_132;background-color: $e_col_132;}}
  892. &[tid='122']{
  893. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  894. border-color: $e_col_122;background-color: $e_col_122;}}
  895. &[tid='129']{
  896. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  897. border-color: $e_col_129;background-color: $e_col_129;}}
  898. &[tid='120']{
  899. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  900. border-color: $e_col_120;background-color: $e_col_120;}}
  901. &[tid='130']{
  902. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  903. border-color: $e_col_130;background-color: $e_col_130;}}
  904. &[tid='118']{
  905. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  906. border-color: $e_col_118;background-color: $e_col_118;}}
  907. &[tid='127']{
  908. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  909. border-color: $e_col_127;background-color: $e_col_127;}}
  910. &[tid='133']{
  911. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  912. border-color: $e_col_133;background-color: $e_col_133;}}
  913. &[tid='128']{
  914. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  915. border-color: $e_col_128;background-color: $e_col_128;}}
  916. &[tid='124']{
  917. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  918. border-color: $e_col_124;background-color: $e_col_124;}}
  919. &[tid='116']{
  920. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  921. border-color: $e_col_116;background-color: $e_col_116;}}
  922. &[tid='117']{
  923. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  924. border-color: $e_col_117;background-color: $e_col_117;}}
  925. &[tid='131']{
  926. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  927. border-color: $e_col_131;background-color: $e_col_131;}}
  928. &[tid='126']{
  929. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  930. border-color: $e_col_126;background-color: $e_col_126;}}
  931. &[tid='123']{
  932. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  933. border-color: $e_col_123;background-color: $e_col_123;}}
  934. // &.highlighted{
  935. // a.term_link{
  936. // color: red;
  937. // }
  938. // }
  939. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  940. a.articles-link:not(:hover):not(.is-active):before{
  941. background-color: #fff!important;
  942. }
  943. &:not(.opened){
  944. a.term-link:not(:hover):not(.highlighted):before{
  945. background-color: #fff!important;
  946. }
  947. }
  948. &.opened{
  949. // outline: 1px solid purple;
  950. a.term-link:after {
  951. content: '';
  952. position: absolute;
  953. left: 15px; right:0;
  954. bottom: -3px;
  955. border-bottom: 1px solid grey;
  956. }
  957. .entree-content{
  958. width:350px;
  959. opacity: 1;
  960. }
  961. }
  962. // &:not(:first-of-type) .entree-content{display: none;}
  963. }
  964. }
  965. }
  966. $icons_w:20px;
  967. #block-studiolinkblock{
  968. pointer-events: all;
  969. a{
  970. $wh:$icons_w;
  971. display: block;
  972. width:$wh; height:$wh;
  973. background-image: url(../img/studio.svg);
  974. background-size: contain;
  975. text-indent: $wh*2;
  976. margin: 0;
  977. overflow: hidden;
  978. }
  979. }
  980. // #block-fancylogin{
  981. // pointer-events: all;
  982. //
  983. // }
  984. #block-userlogin{
  985. pointer-events: all;
  986. // outline: 1px solid blue;
  987. $wh:$icons_w;
  988. position: relative;
  989. width:$wh; height: $wh;
  990. // background-color: blue;
  991. h2{
  992. position: relative;
  993. width:$wh; height:$wh;
  994. background-image: url(../img/studio.svg);
  995. // background-color: red;
  996. background-size: contain;
  997. text-indent: $wh*2;
  998. margin: 0;
  999. overflow: hidden;
  1000. z-index: 1;
  1001. cursor: pointer;
  1002. }
  1003. .block-content{
  1004. z-index: 0;
  1005. position:absolute;
  1006. right:0;bottom:$wh;
  1007. padding:0.5em;
  1008. padding-bottom: 20px;
  1009. background-color: $transparent-bg;
  1010. border-top: 1px solid red;
  1011. border-bottom: 1px solid red;
  1012. overflow: hidden;
  1013. box-sizing:border-box;
  1014. height: 0px;
  1015. opacity:0;
  1016. pointer-events:none;
  1017. transition: all 0.5s ease-in-out;
  1018. transition-property: height,opacity;
  1019. // &:hover{
  1020. // height:200px;
  1021. // opacity:1;
  1022. // pointer-events: auto;
  1023. // }
  1024. form{
  1025. font-size: 0.75em;
  1026. }
  1027. .item-list{
  1028. ul{margin:0;}
  1029. li{
  1030. margin:0;
  1031. list-style: none;
  1032. a{
  1033. color: inherit;
  1034. text-decoration: none;
  1035. font-size: 0.75em;
  1036. white-space:nowrap;
  1037. }
  1038. }
  1039. }
  1040. }
  1041. &:hover{
  1042. .block-content{
  1043. height:200px;
  1044. opacity: 1;
  1045. pointer-events:auto;
  1046. }
  1047. }
  1048. }
  1049. }
  1050. // _ _ _ ___
  1051. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1052. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1053. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1054. // |_| |_|
  1055. .node-popup{
  1056. .inner{
  1057. position: relative;
  1058. .entrees{
  1059. span{
  1060. @include entrie-micro-square;
  1061. }
  1062. }
  1063. .title{
  1064. margin:0.3em 0;
  1065. font-size: 1.2em;
  1066. font-weight: 500;
  1067. }
  1068. .description{
  1069. p{
  1070. margin:0;
  1071. font-size: 0.75em;
  1072. }
  1073. }
  1074. .chutier-icon{
  1075. position:absolute;
  1076. top:1em; right:1em;
  1077. }
  1078. }
  1079. }