app.scss 20 KB

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