app.scss 27 KB

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