app.scss 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017
  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. &>h2{
  420. margin:0.5em 0;
  421. font-size: 1em;
  422. font-weight: 500;
  423. text-transform: uppercase;
  424. }
  425. .documents{
  426. ul,li{
  427. margin:0; padding:0;
  428. line-height: 1.2;
  429. }
  430. li{
  431. display: inline-block; vertical-align: top;
  432. width:49%; margin-bottom: 0.5em;
  433. .entrees{
  434. line-height: 0;
  435. display:inline-block;
  436. span{
  437. @include entrie-micro-square;
  438. }
  439. }
  440. a{
  441. text-transform: capitalize;
  442. font-size: 1em;
  443. }
  444. }
  445. }
  446. }
  447. .composition_ui{
  448. height:50%;
  449. }
  450. }
  451. // _ _ _ _ _
  452. // /_\ (_)__ ___ __ | \| |___ __| |___
  453. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  454. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  455. // |__/
  456. // body.path-edlp-node main{
  457. // main .col>.wrapper, .edlp-ajax-node{
  458. // height: 100%;
  459. // }
  460. // }
  461. // _ _
  462. // /_\ __ _ ___ _ _ __| |__ _
  463. // / _ \/ _` / -_) ' \/ _` / _` |
  464. // /_/ \_\__, \___|_||_\__,_\__,_|
  465. // |___/
  466. body.path-agenda main .col{
  467. &>.wrapper{
  468. height:100%;
  469. }
  470. }
  471. #agenda{
  472. position: relative;
  473. white-space: nowrap;
  474. height: 100%;
  475. div.column{
  476. white-space: normal;
  477. display: inline-block;
  478. vertical-align: top;
  479. height:100%;
  480. }
  481. div.next-event{
  482. width:65%;
  483. }
  484. div.future-past-events{
  485. width:33%;
  486. }
  487. ul,li{
  488. margin:0; padding:0;
  489. list-style: none;
  490. }
  491. article.node--type-evenement{
  492. h2{ @include content_titles; }
  493. }
  494. }
  495. // ___ _ _ _
  496. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  497. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  498. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  499. body.path-productions{
  500. .layout-content .row{
  501. white-space: normal;
  502. .col{
  503. height:auto;
  504. &.col-2:last-child{
  505. padding-left: 0em;
  506. padding-right: 1em;
  507. }
  508. >.wrapper{
  509. margin-bottom: 1em;
  510. padding:0;
  511. >*{padding:0;}
  512. article.node{
  513. .field--name-field-visuel{
  514. a,img{
  515. display: block;
  516. width: 100%; height:auto;
  517. }
  518. }
  519. header{
  520. background-color: rgba(255,255,255,0.95);
  521. padding:0.5em 1em;
  522. h2.node-title{
  523. margin:0;
  524. }
  525. p{margin: 0;}
  526. }
  527. &.node--view-mode-image-2-columns{
  528. header{
  529. position: absolute;
  530. bottom: 0; left:0;
  531. h2.node-title{
  532. font-size: 1.6em;
  533. font-weight: 500;
  534. }
  535. }
  536. }
  537. &.node--view-mode-image-1-columns{
  538. h2.node-title{
  539. font-size: 1.2em;
  540. font-weight: 500;
  541. }
  542. }
  543. &.node--view-mode-text-1-column{
  544. padding:0 1em;
  545. }
  546. }
  547. }
  548. }
  549. }
  550. }
  551. // ___ _
  552. // | __|__ ___| |_ ___ _ _
  553. // | _/ _ \/ _ \ _/ -_) '_|
  554. // |_|\___/\___/\__\___|_|
  555. @mixin oblique-list {
  556. display: inline-block;
  557. position: relative;
  558. list-style: none;
  559. margin: 0 1.5em 0 0;
  560. // width:2em; height:10em;
  561. padding: 0;
  562. a{
  563. position: absolute;
  564. bottom: 0;
  565. transform-origin: left bottom;
  566. transform: rotateZ(-45deg);
  567. color: #000;
  568. text-decoration: none;
  569. text-transform: uppercase;
  570. font-size: 0.756em;
  571. white-space: nowrap;
  572. }
  573. }
  574. footer{
  575. position: relative;
  576. pointer-events: none;
  577. // outline: 1px dotted blue;
  578. >.wrapper{
  579. white-space: nowrap;
  580. >.region{
  581. // display: table-cell;
  582. display: inline-block;
  583. vertical-align: baseline;
  584. white-space:normal;
  585. // pointer-events: none;
  586. // outline: 1px dotted purple;
  587. // position: relative;
  588. >*{
  589. display: inline-block; vertical-align: bottom;
  590. }
  591. }
  592. .region-footer-left{
  593. // float:left;
  594. width:12%;
  595. // min-width:50px;
  596. text-align: left;
  597. }
  598. .region-footer-center{
  599. // float: none;
  600. width: 72%;
  601. overflow:hidden;
  602. text-align: center;
  603. }
  604. .region-footer-right{
  605. // float:right;
  606. width:12%;
  607. // min-width: 50px;
  608. text-align: right;
  609. }
  610. }
  611. nav.block-menu{
  612. display: inline-block;
  613. ul{
  614. margin:0;
  615. padding:0;
  616. li{
  617. pointer-events: all;
  618. @include oblique-list;
  619. &:first-of-type{
  620. margin-left: 1em;
  621. }
  622. }
  623. }
  624. }
  625. .block-language{
  626. display: inline-block;
  627. position: relative;
  628. ul{
  629. position: absolute;
  630. bottom:0;
  631. margin:0;
  632. padding:0;
  633. transform-origin: left bottom;
  634. transform: rotateZ(-45deg);
  635. white-space: nowrap;
  636. pointer-events: all;
  637. li{
  638. margin:0; padding:0;
  639. list-style: none;
  640. display: inline-block;
  641. &:last-of-type{
  642. &:before{
  643. content:"/";
  644. margin:0 0.2em;
  645. }
  646. }
  647. a{
  648. color: inherit;
  649. text-decoration: none;
  650. font-size: 0.756em;
  651. }
  652. &.is-active{
  653. a{color: red;}
  654. }
  655. }
  656. }
  657. }
  658. #block-productions{
  659. pointer-events: none;
  660. body:not(.path-productions) & {display:none}
  661. ul{
  662. margin-left: -3em;
  663. white-space: nowrap;
  664. li{
  665. a{
  666. // outline: 1px solid blue;
  667. pointer-events: all;
  668. background-color: #fff;
  669. padding-right: 0.4em;
  670. &:before{
  671. content: "";
  672. display:inline-block;
  673. $sq:7px;
  674. width: $sq; height:$sq;
  675. border: 1px solid red;
  676. margin-right: 0.5em;
  677. }
  678. &:hover:before{
  679. background-color: red;
  680. }
  681. &.ajax-loading:before{
  682. @include spining-loader-square;
  683. }
  684. }
  685. }
  686. }
  687. }
  688. .block-block-edlp-entrees{
  689. pointer-events: none;
  690. body.path-productions & {display:none}
  691. display: inline-block;
  692. // vertical-align: top;
  693. ul{
  694. margin:0;
  695. white-space: nowrap;
  696. li{
  697. @include oblique-list;
  698. margin:0;
  699. white-space: nowrap;
  700. pointer-events: none;
  701. span.oblique-wrapper{
  702. display: inline-block;
  703. vertical-align: bottom;
  704. position: relative;
  705. width:1.5em;
  706. }
  707. a.term-link, a.articles-link{
  708. // outline: 1px solid blue;
  709. pointer-events: all;
  710. background-color: #fff;
  711. padding-right: 0.4em;
  712. &:before{
  713. content: "";
  714. display:inline-block;
  715. $sq:7px;
  716. width: $sq; height:$sq;
  717. border: 1px solid #000;
  718. background-color: #000;
  719. margin-right: 0.5em;
  720. transition: background-color 0.1s ease-in-out;
  721. }
  722. &.articles-link{
  723. margin-left: 2em;
  724. text-transform: capitalize;
  725. }
  726. }
  727. .entree-content{
  728. display: inline-block;
  729. // outline: 1px solid green;
  730. width:0;
  731. overflow: hidden;
  732. opacity: 0;
  733. transition: all 300ms ease-in-out;
  734. transition-property: width,opacity;
  735. span.oblique-wrapper:first-of-type{
  736. margin-left: 0.5em;
  737. }
  738. span.oblique-wrapper a{
  739. text-transform: none;
  740. pointer-events: auto;
  741. &:before{
  742. content: "";
  743. display:inline-block;
  744. $sq:5px;
  745. width: $sq; height:$sq;
  746. border: 1px solid #000;
  747. margin-right: 0.5em;
  748. }
  749. }
  750. .term-description{
  751. display: inline-block;
  752. margin-left: 1.5em;
  753. text-align: left;
  754. width:250px;
  755. word-wrap:break-word;
  756. // word-break:break-all;
  757. hyphens: auto;
  758. white-space: normal;
  759. background-color: $transparent-bg;
  760. padding:0.5em;
  761. padding-bottom:0;
  762. p{
  763. font-size: 0.65em;
  764. margin:0;
  765. }
  766. }
  767. }
  768. &[tid='134']{
  769. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  770. border-color: $e_col_134;background-color: $e_col_134;}}
  771. &[tid='121']{
  772. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  773. border-color: $e_col_121;background-color: $e_col_121;}}
  774. &[tid='125']{
  775. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  776. border-color: $e_col_125;background-color: $e_col_125;}}
  777. &[tid='119']{
  778. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  779. border-color: $e_col_119;background-color: $e_col_119;}}
  780. &[tid='132']{
  781. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  782. border-color: $e_col_132;background-color: $e_col_132;}}
  783. &[tid='122']{
  784. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  785. border-color: $e_col_122;background-color: $e_col_122;}}
  786. &[tid='129']{
  787. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  788. border-color: $e_col_129;background-color: $e_col_129;}}
  789. &[tid='120']{
  790. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  791. border-color: $e_col_120;background-color: $e_col_120;}}
  792. &[tid='130']{
  793. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  794. border-color: $e_col_130;background-color: $e_col_130;}}
  795. &[tid='118']{
  796. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  797. border-color: $e_col_118;background-color: $e_col_118;}}
  798. &[tid='127']{
  799. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  800. border-color: $e_col_127;background-color: $e_col_127;}}
  801. &[tid='133']{
  802. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  803. border-color: $e_col_133;background-color: $e_col_133;}}
  804. &[tid='128']{
  805. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  806. border-color: $e_col_128;background-color: $e_col_128;}}
  807. &[tid='124']{
  808. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  809. border-color: $e_col_124;background-color: $e_col_124;}}
  810. &[tid='116']{
  811. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  812. border-color: $e_col_116;background-color: $e_col_116;}}
  813. &[tid='117']{
  814. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  815. border-color: $e_col_117;background-color: $e_col_117;}}
  816. &[tid='131']{
  817. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  818. border-color: $e_col_131;background-color: $e_col_131;}}
  819. &[tid='126']{
  820. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  821. border-color: $e_col_126;background-color: $e_col_126;}}
  822. &[tid='123']{
  823. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  824. border-color: $e_col_123;background-color: $e_col_123;}}
  825. // &.highlighted{
  826. // a.term_link{
  827. // color: red;
  828. // }
  829. // }
  830. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  831. a.articles-link:not(:hover):not(.is-active):before{
  832. background-color: #fff!important;
  833. }
  834. &:not(.opened){
  835. a.term-link:not(:hover):not(.highlighted):before{
  836. background-color: #fff!important;
  837. }
  838. }
  839. &.opened{
  840. // outline: 1px solid purple;
  841. a.term-link:after {
  842. content: '';
  843. position: absolute;
  844. left: 15px; right:0;
  845. bottom: -3px;
  846. border-bottom: 1px solid grey;
  847. }
  848. .entree-content{
  849. width:350px;
  850. opacity: 1;
  851. }
  852. }
  853. // &:not(:first-of-type) .entree-content{display: none;}
  854. }
  855. }
  856. }
  857. $icons_w:20px;
  858. #block-studiolinkblock{
  859. pointer-events: all;
  860. a{
  861. $wh:$icons_w;
  862. display: block;
  863. width:$wh; height:$wh;
  864. background-image: url(../img/studio.svg);
  865. background-size: contain;
  866. text-indent: $wh*2;
  867. margin: 0;
  868. overflow: hidden;
  869. }
  870. }
  871. // #block-fancylogin{
  872. // pointer-events: all;
  873. //
  874. // }
  875. #block-userlogin{
  876. pointer-events: all;
  877. // outline: 1px solid blue;
  878. $wh:$icons_w;
  879. position: relative;
  880. width:$wh; height: $wh;
  881. // background-color: blue;
  882. h2{
  883. position: relative;
  884. width:$wh; height:$wh;
  885. background-image: url(../img/studio.svg);
  886. // background-color: red;
  887. background-size: contain;
  888. text-indent: $wh*2;
  889. margin: 0;
  890. overflow: hidden;
  891. z-index: 1;
  892. cursor: pointer;
  893. }
  894. .block-content{
  895. z-index: 0;
  896. position:absolute;
  897. right:0;bottom:$wh;
  898. padding:0.5em;
  899. padding-bottom: 20px;
  900. background-color: $transparent-bg;
  901. border-top: 1px solid red;
  902. border-bottom: 1px solid red;
  903. overflow: hidden;
  904. box-sizing:border-box;
  905. height: 0px;
  906. opacity:0;
  907. pointer-events:none;
  908. transition: all 0.5s ease-in-out;
  909. transition-property: height,opacity;
  910. // &:hover{
  911. // height:200px;
  912. // opacity:1;
  913. // pointer-events: auto;
  914. // }
  915. form{
  916. font-size: 0.75em;
  917. }
  918. .item-list{
  919. ul{margin:0;}
  920. li{
  921. margin:0;
  922. list-style: none;
  923. a{
  924. color: inherit;
  925. text-decoration: none;
  926. font-size: 0.75em;
  927. white-space:nowrap;
  928. }
  929. }
  930. }
  931. }
  932. &:hover{
  933. .block-content{
  934. height:200px;
  935. opacity: 1;
  936. pointer-events:auto;
  937. }
  938. }
  939. }
  940. }
  941. // _ _ _ ___
  942. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  943. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  944. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  945. // |_| |_|
  946. .node-popup{
  947. .inner{
  948. position: relative;
  949. .entrees{
  950. span{
  951. @include entrie-micro-square;
  952. }
  953. }
  954. .title{
  955. margin:0.3em 0;
  956. font-size: 1.2em;
  957. font-weight: 500;
  958. }
  959. .description{
  960. p{
  961. margin:0;
  962. font-size: 0.75em;
  963. }
  964. }
  965. .chutier-icon{
  966. position:absolute;
  967. top:1em; right:1em;
  968. }
  969. }
  970. }