app.scss 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296
  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. #edlp-search-form{
  575. }
  576. .col[theme="edlp_search_results"]{
  577. article{
  578. .entrees{
  579. span{
  580. @include entrie-micro-square;
  581. }
  582. }
  583. h2.node-title{
  584. margin:0 0 0.3em 0;
  585. font-size: 1em;
  586. font-weight: 500;
  587. text-transform: none;
  588. }
  589. // .description{
  590. // p{
  591. // margin:0;
  592. // font-size: 0.75em;
  593. // }
  594. // }
  595. }
  596. }
  597. // _ _ _ _ _
  598. // /_\ (_)__ ___ __ | \| |___ __| |___
  599. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  600. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  601. // |__/
  602. // body.path-edlp-node main{
  603. // main .col>.wrapper, .edlp-ajax-node{
  604. // height: 100%;
  605. // }
  606. // }
  607. // _ _
  608. // /_\ __ _ ___ _ _ __| |__ _
  609. // / _ \/ _` / -_) ' \/ _` / _` |
  610. // /_/ \_\__, \___|_||_\__,_\__,_|
  611. // |___/
  612. body.path-agenda main .col{
  613. &>.wrapper{
  614. height:100%;
  615. }
  616. }
  617. #agenda{
  618. position: relative;
  619. white-space: nowrap;
  620. height: 100%;
  621. div.column{
  622. white-space: normal;
  623. display: inline-block;
  624. vertical-align: top;
  625. height:100%;
  626. }
  627. div.next-event{
  628. width:65%;
  629. }
  630. div.future-past-events{
  631. width:33%;
  632. }
  633. ul,li{
  634. margin:0; padding:0;
  635. list-style: none;
  636. }
  637. article.node--type-evenement{
  638. h2{ @include content_titles; }
  639. }
  640. }
  641. // ___ _ _ _
  642. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  643. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  644. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  645. body.path-productions{
  646. .layout-content .row{
  647. white-space: normal;
  648. .col{
  649. height:auto;
  650. &.col-2:last-child{
  651. padding-left: 0em;
  652. padding-right: 1em;
  653. }
  654. >.wrapper{
  655. margin-bottom: 1em;
  656. padding:0;
  657. >*{padding:0;}
  658. article.node{
  659. .field--name-field-visuel{
  660. a,img{
  661. display: block;
  662. width: 100%; height:auto;
  663. }
  664. }
  665. header{
  666. background-color: rgba(255,255,255,0.95);
  667. padding:0.5em 1em;
  668. h2.node-title{
  669. margin:0;
  670. }
  671. p{margin: 0;}
  672. }
  673. &.node--view-mode-image-2-columns{
  674. header{
  675. position: absolute;
  676. bottom: 0; left:0;
  677. h2.node-title{
  678. font-size: 1.6em;
  679. font-weight: 500;
  680. }
  681. }
  682. }
  683. &.node--view-mode-image-1-columns{
  684. h2.node-title{
  685. font-size: 1.2em;
  686. font-weight: 500;
  687. }
  688. }
  689. &.node--view-mode-text-1-column{
  690. padding:0 1em;
  691. }
  692. }
  693. }
  694. }
  695. }
  696. }
  697. // ___ _
  698. // | __|__ ___| |_ ___ _ _
  699. // | _/ _ \/ _ \ _/ -_) '_|
  700. // |_|\___/\___/\__\___|_|
  701. @mixin oblique-list {
  702. display: inline-block;
  703. position: relative;
  704. list-style: none;
  705. margin: 0 1.5em 0 0;
  706. // width:2em; height:10em;
  707. padding: 0;
  708. a{
  709. position: absolute;
  710. bottom: 0;
  711. transform-origin: left bottom;
  712. transform: rotateZ(-45deg);
  713. color: #000;
  714. text-decoration: none;
  715. text-transform: uppercase;
  716. font-size: 0.756em;
  717. white-space: nowrap;
  718. }
  719. }
  720. footer{
  721. position: relative;
  722. pointer-events: none;
  723. // outline: 1px dotted blue;
  724. >.wrapper{
  725. white-space: nowrap;
  726. // height:100%;
  727. >.region{
  728. // height:100%;
  729. // display: table-cell;
  730. display: inline-block;
  731. vertical-align: baseline;
  732. white-space:normal;
  733. // pointer-events: none;
  734. // outline: 1px dotted purple;
  735. // position: relative;
  736. >*{
  737. display: inline-block; vertical-align: bottom;
  738. }
  739. }
  740. .region-footer-left{
  741. // float:left;
  742. width:12%;
  743. // min-width:50px;
  744. text-align: left;
  745. }
  746. .region-footer-center{
  747. // float: none;
  748. width: 72%;
  749. overflow:hidden;
  750. text-align: center;
  751. }
  752. .region-footer-right{
  753. // float:right;
  754. min-width:12%;
  755. // min-width: 50px;
  756. text-align: right;
  757. }
  758. }
  759. nav.block-menu{
  760. display: inline-block;
  761. ul{
  762. margin:0;
  763. padding:0;
  764. li{
  765. pointer-events: all;
  766. @include oblique-list;
  767. &:first-of-type{
  768. margin-left: 1em;
  769. }
  770. a{
  771. &:before{
  772. content: "";
  773. display:inline-block;
  774. $sq:7px;
  775. width: $sq; height:$sq;
  776. border: 1px solid black;
  777. margin-right: 0.5em;
  778. }
  779. &:hover:before,
  780. &.is-active:before{
  781. background-color: black;
  782. }
  783. &.ajax-loading:before{
  784. @include spining-loader-square;
  785. }
  786. }
  787. }
  788. }
  789. }
  790. .block-language{
  791. display: inline-block;
  792. position: relative;
  793. ul{
  794. position: absolute;
  795. bottom:0;
  796. margin:0;
  797. padding:0;
  798. transform-origin: left bottom;
  799. transform: rotateZ(-45deg);
  800. white-space: nowrap;
  801. pointer-events: all;
  802. li{
  803. margin:0; padding:0;
  804. list-style: none;
  805. display: inline-block;
  806. &:last-of-type{
  807. &:before{
  808. content:"/";
  809. margin:0 0.2em;
  810. }
  811. }
  812. a{
  813. color: inherit;
  814. text-decoration: none;
  815. font-size: 0.756em;
  816. }
  817. &.is-active{
  818. a{color: red;}
  819. }
  820. }
  821. }
  822. }
  823. #block-productions{
  824. position: relative;
  825. pointer-events: none;
  826. body:not(.path-productions) & {display:none}
  827. ul{
  828. margin-left: -3em;
  829. white-space: nowrap;
  830. li{
  831. height:200px; // this is needed to respect the height of oblique links :(
  832. a{
  833. // outline: 1px solid blue;
  834. pointer-events: all;
  835. background-color: #fff;
  836. padding-right: 0.4em;
  837. &:before{
  838. content: "";
  839. display:inline-block;
  840. $sq:7px;
  841. width: $sq; height:$sq;
  842. border: 1px solid red;
  843. margin-right: 0.5em;
  844. }
  845. &:hover:before{
  846. background-color: red;
  847. }
  848. &.ajax-loading:before{
  849. @include spining-loader-square;
  850. }
  851. }
  852. }
  853. }
  854. }
  855. .block-block-edlp-entrees{
  856. pointer-events: none;
  857. body.path-productions &,
  858. body.path-agenda & {display:none}
  859. display: inline-block;
  860. // vertical-align: top;
  861. ul{
  862. margin:0;
  863. white-space: nowrap;
  864. li{
  865. @include oblique-list;
  866. margin:0;
  867. white-space: nowrap;
  868. pointer-events: none;
  869. span.oblique-wrapper{
  870. height:120px; // this is needed to respect the height of oblique links :(
  871. display: inline-block;
  872. vertical-align: bottom;
  873. position: relative;
  874. width:1.5em;
  875. }
  876. a.term-link, a.articles-link{
  877. // outline: 1px solid blue;
  878. pointer-events: all;
  879. background-color: #fff;
  880. padding-right: 0.4em;
  881. &:before{
  882. content: "";
  883. display:inline-block;
  884. $sq:7px;
  885. width: $sq; height:$sq;
  886. border: 1px solid #000;
  887. background-color: #000;
  888. margin-right: 0.5em;
  889. transition: background-color 0.1s ease-in-out;
  890. }
  891. &.articles-link{
  892. margin-left: 2em;
  893. text-transform: capitalize;
  894. }
  895. }
  896. .entree-content{
  897. display: inline-block;
  898. // outline: 1px solid green;
  899. width:0;
  900. overflow: hidden;
  901. opacity: 0;
  902. transition: all 300ms ease-in-out;
  903. transition-property: width,opacity;
  904. span.oblique-wrapper:first-of-type{
  905. margin-left: 0.5em;
  906. }
  907. span.oblique-wrapper a{
  908. text-transform: none;
  909. pointer-events: auto;
  910. &:before{
  911. content: "";
  912. display:inline-block;
  913. $sq:5px;
  914. width: $sq; height:$sq;
  915. border: 1px solid #000;
  916. margin-right: 0.5em;
  917. }
  918. }
  919. .term-description{
  920. display: inline-block;
  921. margin-left: 1.5em;
  922. text-align: left;
  923. width:250px;
  924. word-wrap:break-word;
  925. // word-break:break-all;
  926. hyphens: auto;
  927. white-space: normal;
  928. background-color: $transparent-bg;
  929. padding:0.5em;
  930. padding-bottom:0;
  931. p{
  932. font-size: 0.65em;
  933. margin:0;
  934. }
  935. }
  936. }
  937. &[tid='134']{
  938. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  939. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  940. &[tid='121']{
  941. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  942. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  943. &[tid='125']{
  944. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  945. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  946. &[tid='119']{
  947. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  948. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  949. &[tid='132']{
  950. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  951. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  952. &[tid='122']{
  953. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  954. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  955. &[tid='129']{
  956. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  957. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  958. &[tid='120']{
  959. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  960. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  961. &[tid='130']{
  962. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  963. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  964. &[tid='118']{
  965. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  966. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  967. &[tid='127']{
  968. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  969. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  970. &[tid='133']{
  971. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  972. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  973. &[tid='128']{
  974. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  975. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  976. &[tid='124']{
  977. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  978. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  979. &[tid='116']{
  980. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  981. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  982. &[tid='117']{
  983. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  984. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  985. &[tid='131']{
  986. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  987. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  988. &[tid='126']{
  989. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  990. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  991. &[tid='123']{
  992. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  993. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  994. // &.highlighted{
  995. // a.term_link{
  996. // color: red;
  997. // }
  998. // }
  999. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  1000. a.articles-link:not(:hover):not(.is-active):before{
  1001. background-color: #fff!important;
  1002. }
  1003. &:not(.opened){
  1004. a.term-link:not(:hover):not(.highlighted):before{
  1005. background-color: #fff!important;
  1006. }
  1007. }
  1008. &.opened{
  1009. // outline: 1px solid purple;
  1010. a.term-link:after {
  1011. content: '';
  1012. position: absolute;
  1013. left: 15px; right:0;
  1014. bottom: -3px;
  1015. border-bottom: 1px solid grey;
  1016. }
  1017. .entree-content{
  1018. width:350px;
  1019. opacity: 1;
  1020. }
  1021. }
  1022. // &:not(:first-of-type) .entree-content{display: none;}
  1023. }
  1024. }
  1025. }
  1026. $icons_w:20px;
  1027. @mixin iconlinkblock($bgimgurl) {
  1028. pointer-events: all;
  1029. margin-left: 0.5em;
  1030. a{
  1031. $wh:$icons_w;
  1032. display: block;
  1033. width:$wh; height:$wh;
  1034. text-indent: $wh*2;
  1035. margin: 0;
  1036. overflow: hidden;
  1037. mask-image: $bgimgurl;
  1038. mask-size: contain;
  1039. background-color: #000;
  1040. transition: background-color 0.3s ease-in-out;
  1041. cursor: pointer;
  1042. &.is-active{
  1043. background-color: red;
  1044. }
  1045. }
  1046. }
  1047. #block-studiolinkblock{
  1048. @include iconlinkblock(url(../img/studio.svg));
  1049. }
  1050. .block.random-player{
  1051. @include iconlinkblock(url(../img/random.svg));
  1052. }
  1053. #block-userlogin{
  1054. pointer-events: all;
  1055. // outline: 1px solid blue;
  1056. $wh:$icons_w;
  1057. position: relative;
  1058. width:$wh; height: $wh;
  1059. // background-color: blue;
  1060. h2{
  1061. position: relative;
  1062. width:$wh; height:$wh;
  1063. background-image: url(../img/studio.svg);
  1064. // background-color: red;
  1065. background-size: contain;
  1066. text-indent: $wh*2;
  1067. margin: 0;
  1068. overflow: hidden;
  1069. z-index: 1;
  1070. cursor: pointer;
  1071. }
  1072. .block-content{
  1073. z-index: 0;
  1074. position:absolute;
  1075. right:0;bottom:$wh;
  1076. padding:0.5em;
  1077. padding-bottom: 20px;
  1078. background-color: $transparent-bg;
  1079. border-top: 1px solid red;
  1080. border-bottom: 1px solid red;
  1081. overflow: hidden;
  1082. box-sizing:border-box;
  1083. height: 0px;
  1084. opacity:0;
  1085. pointer-events:none;
  1086. transition: all 0.5s ease-in-out;
  1087. transition-property: height,opacity;
  1088. // &:hover{
  1089. // height:200px;
  1090. // opacity:1;
  1091. // pointer-events: auto;
  1092. // }
  1093. form{
  1094. font-size: 0.75em;
  1095. }
  1096. .item-list{
  1097. ul{margin:0;}
  1098. li{
  1099. margin:0;
  1100. list-style: none;
  1101. a{
  1102. color: inherit;
  1103. text-decoration: none;
  1104. font-size: 0.75em;
  1105. white-space:nowrap;
  1106. }
  1107. }
  1108. }
  1109. }
  1110. &:hover{
  1111. .block-content{
  1112. height:200px;
  1113. opacity: 1;
  1114. pointer-events:auto;
  1115. }
  1116. }
  1117. }
  1118. #block-edlpsearchlinkblock{
  1119. @include iconlinkblock(url(../img/search.svg));
  1120. }
  1121. }
  1122. // _ _ _ ___
  1123. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1124. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1125. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1126. // |_| |_|
  1127. .node-popup{
  1128. .inner{
  1129. position: relative;
  1130. .entrees{
  1131. span{
  1132. @include entrie-micro-square;
  1133. }
  1134. }
  1135. .title{
  1136. margin:0.3em 0;
  1137. font-size: 1.2em;
  1138. font-weight: 500;
  1139. }
  1140. .description{
  1141. p{
  1142. margin:0;
  1143. font-size: 0.75em;
  1144. }
  1145. }
  1146. .chutier-icon{
  1147. position:absolute;
  1148. top:1em; right:1em;
  1149. }
  1150. }
  1151. }
  1152. // __ ___ _ ___ _ _ _
  1153. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  1154. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  1155. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  1156. // complete rewrite of url_to_video_filter css
  1157. .url-to-video-container{
  1158. // display:block;
  1159. margin:10px auto;
  1160. // width:100%;
  1161. &.no-js{
  1162. border:solid black 1px;
  1163. .loader{
  1164. // background:url(../images/no-js.png) no-repeat center center;
  1165. // background-size:40px 40px;
  1166. }
  1167. .url-to-video-player{
  1168. cursor:auto;
  1169. }
  1170. }
  1171. .loader{
  1172. // top:240px;
  1173. // left:50%;
  1174. // transform:translate(-50%, -50%);
  1175. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  1176. top:auto; left: auto;
  1177. transform: none;
  1178. }
  1179. span.url-to-video-player{
  1180. // display:block;
  1181. // width:100%;
  1182. /* assuming that the video has a 16:9 ratio */
  1183. // padding-bottom:56.25%;
  1184. padding-bottom:0;
  1185. // overflow:hidden;
  1186. // position:relative;
  1187. // width:100%;
  1188. // height:100%;
  1189. height:auto;
  1190. // cursor:hand;
  1191. // cursor:pointer;
  1192. // display: block;
  1193. &:before{
  1194. content: "";
  1195. display: block;
  1196. /* assuming that the video has a 16:9 ratio */
  1197. padding-top: 56.25%;
  1198. }
  1199. img.player-thumb
  1200. {
  1201. // background-position:center center;
  1202. // background-size:cover;
  1203. // position: absolute;
  1204. // top: 0;
  1205. // left: 0;
  1206. // width: 100%;
  1207. // height: 100%;
  1208. // cursor:pointer;
  1209. }
  1210. .play-button
  1211. {
  1212. z-index: 5;
  1213. // height:40px;
  1214. // width:40px;
  1215. // display:block;
  1216. // background:url(../images/play-button.png) no-repeat center center;
  1217. // background-size:40px 40px;
  1218. // position:absolute;
  1219. // top:240px;
  1220. top:50%;
  1221. // left:50%;
  1222. // transform:translate(-50%, -50%);
  1223. // cursor:pointer;
  1224. }
  1225. iframe.player-iframe
  1226. {
  1227. // width:100%;
  1228. // height:100%;
  1229. // position:absolute;
  1230. // top:0;
  1231. // left:0;
  1232. }
  1233. }
  1234. }