app.scss 29 KB

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