app.scss 20 KB

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