app.scss 24 KB

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