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