app.scss 30 KB

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