app.scss 29 KB

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