app.scss 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236
  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{
  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-fancylogin{
  1004. // pointer-events: all;
  1005. //
  1006. // }
  1007. #block-userlogin{
  1008. pointer-events: all;
  1009. // outline: 1px solid blue;
  1010. $wh:$icons_w;
  1011. position: relative;
  1012. width:$wh; height: $wh;
  1013. // background-color: blue;
  1014. h2{
  1015. position: relative;
  1016. width:$wh; height:$wh;
  1017. background-image: url(../img/studio.svg);
  1018. // background-color: red;
  1019. background-size: contain;
  1020. text-indent: $wh*2;
  1021. margin: 0;
  1022. overflow: hidden;
  1023. z-index: 1;
  1024. cursor: pointer;
  1025. }
  1026. .block-content{
  1027. z-index: 0;
  1028. position:absolute;
  1029. right:0;bottom:$wh;
  1030. padding:0.5em;
  1031. padding-bottom: 20px;
  1032. background-color: $transparent-bg;
  1033. border-top: 1px solid red;
  1034. border-bottom: 1px solid red;
  1035. overflow: hidden;
  1036. box-sizing:border-box;
  1037. height: 0px;
  1038. opacity:0;
  1039. pointer-events:none;
  1040. transition: all 0.5s ease-in-out;
  1041. transition-property: height,opacity;
  1042. // &:hover{
  1043. // height:200px;
  1044. // opacity:1;
  1045. // pointer-events: auto;
  1046. // }
  1047. form{
  1048. font-size: 0.75em;
  1049. }
  1050. .item-list{
  1051. ul{margin:0;}
  1052. li{
  1053. margin:0;
  1054. list-style: none;
  1055. a{
  1056. color: inherit;
  1057. text-decoration: none;
  1058. font-size: 0.75em;
  1059. white-space:nowrap;
  1060. }
  1061. }
  1062. }
  1063. }
  1064. &:hover{
  1065. .block-content{
  1066. height:200px;
  1067. opacity: 1;
  1068. pointer-events:auto;
  1069. }
  1070. }
  1071. }
  1072. }
  1073. // _ _ _ ___
  1074. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1075. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1076. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1077. // |_| |_|
  1078. .node-popup{
  1079. .inner{
  1080. position: relative;
  1081. .entrees{
  1082. span{
  1083. @include entrie-micro-square;
  1084. }
  1085. }
  1086. .title{
  1087. margin:0.3em 0;
  1088. font-size: 1.2em;
  1089. font-weight: 500;
  1090. }
  1091. .description{
  1092. p{
  1093. margin:0;
  1094. font-size: 0.75em;
  1095. }
  1096. }
  1097. .chutier-icon{
  1098. position:absolute;
  1099. top:1em; right:1em;
  1100. }
  1101. }
  1102. }
  1103. // __ ___ _ ___ _ _ _
  1104. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  1105. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  1106. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  1107. // complete rewrite of url_to_video_filter css
  1108. .url-to-video-container{
  1109. // display:block;
  1110. margin:10px auto;
  1111. // width:100%;
  1112. &.no-js{
  1113. border:solid black 1px;
  1114. .loader{
  1115. // background:url(../images/no-js.png) no-repeat center center;
  1116. // background-size:40px 40px;
  1117. }
  1118. .url-to-video-player{
  1119. cursor:auto;
  1120. }
  1121. }
  1122. .loader{
  1123. // top:240px;
  1124. // left:50%;
  1125. // transform:translate(-50%, -50%);
  1126. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  1127. top:auto; left: auto;
  1128. transform: none;
  1129. }
  1130. span.url-to-video-player{
  1131. // display:block;
  1132. // width:100%;
  1133. /* assuming that the video has a 16:9 ratio */
  1134. // padding-bottom:56.25%;
  1135. padding-bottom:0;
  1136. // overflow:hidden;
  1137. // position:relative;
  1138. // width:100%;
  1139. // height:100%;
  1140. height:auto;
  1141. // cursor:hand;
  1142. // cursor:pointer;
  1143. // display: block;
  1144. &:before{
  1145. content: "";
  1146. display: block;
  1147. /* assuming that the video has a 16:9 ratio */
  1148. padding-top: 56.25%;
  1149. }
  1150. img.player-thumb
  1151. {
  1152. // background-position:center center;
  1153. // background-size:cover;
  1154. // position: absolute;
  1155. // top: 0;
  1156. // left: 0;
  1157. // width: 100%;
  1158. // height: 100%;
  1159. // cursor:pointer;
  1160. }
  1161. .play-button
  1162. {
  1163. z-index: 5;
  1164. // height:40px;
  1165. // width:40px;
  1166. // display:block;
  1167. // background:url(../images/play-button.png) no-repeat center center;
  1168. // background-size:40px 40px;
  1169. // position:absolute;
  1170. // top:240px;
  1171. top:50%;
  1172. // left:50%;
  1173. // transform:translate(-50%, -50%);
  1174. // cursor:pointer;
  1175. }
  1176. iframe.player-iframe
  1177. {
  1178. // width:100%;
  1179. // height:100%;
  1180. // position:absolute;
  1181. // top:0;
  1182. // left:0;
  1183. }
  1184. }
  1185. }