app.scss 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837
  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 entree-micro-square {
  21. white-space: nowrap;
  22. font-size: 0.5em;
  23. line-height: 0;
  24. letter-spacing: 0px;
  25. span{
  26. display:inline-block;
  27. $s:6px;
  28. width:$s; height:$s;
  29. background-color: black;
  30. margin-right: 2px;
  31. &[tid='134']{background-color: var(--e-col-134);}
  32. &[tid='121']{background-color: var(--e-col-121);}
  33. &[tid='125']{background-color: var(--e-col-125);}
  34. &[tid='119']{background-color: var(--e-col-119);}
  35. &[tid='132']{background-color: var(--e-col-132);}
  36. &[tid='122']{background-color: var(--e-col-122);}
  37. &[tid='129']{background-color: var(--e-col-129);}
  38. &[tid='120']{background-color: var(--e-col-120);}
  39. &[tid='130']{background-color: var(--e-col-130);}
  40. &[tid='118']{background-color: var(--e-col-118);}
  41. &[tid='127']{background-color: var(--e-col-127);}
  42. &[tid='133']{background-color: var(--e-col-133);}
  43. &[tid='128']{background-color: var(--e-col-128);}
  44. &[tid='124']{background-color: var(--e-col-124);}
  45. &[tid='116']{background-color: var(--e-col-116);}
  46. &[tid='117']{background-color: var(--e-col-117);}
  47. &[tid='131']{background-color: var(--e-col-131);}
  48. &[tid='126']{background-color: var(--e-col-126);}
  49. &[tid='123']{background-color: var(--e-col-123);}
  50. }
  51. }
  52. // .layout-container{
  53. // pointer-events: none;
  54. // }
  55. // _ _
  56. // | |_ ___ __ _ __| |___ _ _
  57. // | ' \/ -_) _` / _` / -_) '_|
  58. // |_||_\___\__,_\__,_\___|_|
  59. header[role="banner"]{
  60. pointer-events: all;
  61. // TODO: what header height to fit well with player ??
  62. }
  63. #block-edlptheme-branding{
  64. display: inline-block;
  65. h1{
  66. margin:0; display: inline-block;
  67. a.site-name{
  68. display: block;
  69. $w:290px;
  70. width:$w; height:$w * 0.22;
  71. background-image: url(../img/logo.svg);
  72. background-color: white;
  73. background-repeat:no-repeat;
  74. background-size: contain;
  75. white-space: nowrap;
  76. text-indent: 500px;
  77. overflow: hidden;
  78. }
  79. }
  80. }
  81. #block-mainnavigation{
  82. float:right;
  83. margin-top: 25px;
  84. ul{
  85. margin:0; padding: 0;
  86. white-space: nowrap;
  87. li{
  88. margin:0; padding:0;
  89. display: inline-block;
  90. a{
  91. font-size: 0.756em;
  92. color:inherit;
  93. text-decoration: none;
  94. text-transform: uppercase;
  95. margin-left: 1em;
  96. &:before{
  97. content: "";
  98. display:inline-block;
  99. $sq:0.6em;
  100. width: $sq; height:$sq;
  101. border: 1px solid red;
  102. margin-right: 0.3em;
  103. }
  104. &.ajax-loading:before{
  105. @include spining-loader-square;
  106. }
  107. &.is-active:before,
  108. &.is-active-trail:before,
  109. &:hover:before{
  110. // border-color: red;
  111. background-color: red;
  112. }
  113. }
  114. }
  115. }
  116. }
  117. .block-language{
  118. float: right;
  119. margin-top: 24px;
  120. margin-left: 2em;
  121. ul{
  122. margin:0; padding:0;
  123. li{
  124. display: inline-block; vertical-align: middle;
  125. list-style: none;
  126. a{
  127. font-size: 0.690em;
  128. color:inherit;
  129. text-decoration: none;
  130. text-transform: capitalize;
  131. margin-left: 0.8em;
  132. &:before{
  133. content: "";
  134. display:inline-block;
  135. $sq:0.6em;
  136. width: $sq; height:$sq;
  137. border: 1px solid red;
  138. margin-right: 0.3em;
  139. }
  140. }
  141. &.is-active,
  142. &:hover{
  143. a:before{
  144. border-color: red;
  145. background-color: red;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. // ___
  152. // / __|__ _ _ ___ ____ _ ___
  153. // | (__/ _` | ' \ V / _` (_-<
  154. // \___\__,_|_||_\_/\__,_/__/
  155. #corpus-map{
  156. opacity: 0;
  157. body[corpus="map-ready"] &{
  158. transition: opacity 2s ease-out;
  159. opacity: 1;
  160. }
  161. }
  162. // _
  163. // _ __ __ _(_)_ _
  164. // | ' \/ _` | | ' \
  165. // |_|_|_\__,_|_|_||_|
  166. // booting sequence
  167. // and ajax loading effects
  168. main[role="main"]{
  169. .row{
  170. opacity: 0;
  171. .col{
  172. opacity:1;
  173. transition: opacity 0.5s ease-in-out;
  174. }
  175. }
  176. body[booted="booted"] &{
  177. .row{
  178. transition: opacity 1s ease-out;
  179. opacity:1;
  180. }
  181. }
  182. body.ajax-loading &{
  183. .row .col:not([theme="edlp_search_search_form"]){
  184. opacity:0.2;
  185. }
  186. // &:before{
  187. // content:"";
  188. // display: block;
  189. // position: absolute;
  190. // z-index: 10;
  191. // $s:60px;
  192. // width:$s; height:$s;
  193. // top:calc(50% - #{$s/2}); left:calc(50% - #{$s/2});
  194. // // padding:1em;
  195. // background-color: rgba(255,255,255, 0.5);
  196. // background-image: url(../img/edlp-loader-anim.svg);
  197. // background-size: 50%;
  198. // background-repeat: no-repeat;
  199. // background-position: center;
  200. // // border-radius: $s/2;
  201. // }
  202. }
  203. }
  204. main[role="main"]{
  205. .layout-content{
  206. pointer-events: none;
  207. .row{
  208. pointer-events: none;
  209. height:100%;
  210. overflow: hidden;
  211. .col{
  212. pointer-events: none;
  213. height: 100%;
  214. position: relative;
  215. &>.wrapper{
  216. pointer-events:all;
  217. position: relative;
  218. box-sizing: border-box;
  219. border-top: 1px solid red;
  220. border-bottom: 1px solid red;
  221. background-color: $transparent-bg;
  222. padding:0 0 1em;
  223. max-height: 100%;
  224. overflow-y: auto;
  225. &>*{
  226. padding:0 1em;
  227. }
  228. // .os-scroll{
  229. // box-sizing: border-box;
  230. // max-height: 100%;
  231. // padding:0 1em;
  232. // }
  233. }
  234. }
  235. }
  236. .field.text-formatted{
  237. a.audio-link{
  238. border-bottom: 1px dotted red;
  239. }
  240. }
  241. }
  242. h3.sur-title{
  243. @include content_titles;
  244. margin:0.9em 0 0;
  245. }
  246. article.node:not(.node--type-enregistrement)>h2, h2.title{
  247. @include content_titles;
  248. }
  249. article.node.node--type-enregistrement{
  250. margin:0.5em 0;
  251. >h2{
  252. @include document_titles_teaser;
  253. }
  254. }
  255. article.node.node--type-enregistrement.node--view-mode-transcript,
  256. article.node.node--type-enregistrement.node--view-mode-article{
  257. >h2{
  258. @include content_subtitles;
  259. margin:0.9em 0 0 0;
  260. }
  261. html.js &{
  262. h3.sur-title{display:none;}
  263. }
  264. .field--name-field-transcript-vo, .field--name-field-transcript-trad{
  265. .field__label{
  266. @include content_titles;
  267. html.js &{
  268. display: none;
  269. }
  270. }
  271. &:not(.visible){
  272. display:none;
  273. }
  274. }
  275. nav{
  276. padding:1em 0 0;
  277. div.field__label{
  278. @include content_titles;
  279. display: inline-block;
  280. cursor:pointer;
  281. margin-right: 1em;
  282. &:before{
  283. content: "";
  284. display:inline-block;
  285. $sq:7px;
  286. width: $sq; height:$sq;
  287. border: 1px solid red;
  288. margin-right: 0.5em;
  289. }
  290. &:hover:before,
  291. &.is-active:before{
  292. background-color: red;
  293. }
  294. }
  295. }
  296. }
  297. article.node p{
  298. @include content_courant;
  299. }
  300. img{
  301. max-width: 100%;
  302. height: auto;
  303. }
  304. ul, li, ul.inline li:first-child{
  305. margin:0; padding:0;
  306. list-style: none;
  307. }
  308. span.close-col-btn{
  309. // z-index: 10;
  310. pointer-events: all;
  311. cursor: pointer;
  312. position:sticky;
  313. top:0.5em;
  314. padding:0!important;
  315. margin:0.5em;
  316. display: block;
  317. $s:10px;
  318. width:$s; height:$s;
  319. float: right;
  320. background-image: url(../img/close.svg);
  321. background-repeat: no-repeat;
  322. background-position: center;
  323. background-size: contain;
  324. }
  325. }
  326. // _ _ _ ___ _
  327. // /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
  328. // / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
  329. // /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
  330. // |__/
  331. @mixin audio_controls {
  332. // outline: 1px dotted orange;
  333. &>*{
  334. display: inline-block;
  335. vertical-align: middle;
  336. width:20px;height:30px;
  337. background-position: center;
  338. background-size: contain;
  339. }
  340. .play-pause{
  341. background-image: url(../img/audio-player-play.svg);
  342. padding:0 0.3em;
  343. cursor: pointer;
  344. }
  345. &.is-playing{
  346. .play-pause{background-image: url(../img/audio-player-pause.svg);}
  347. }
  348. .previous, .next{
  349. opacity: 0.3;
  350. transition: opacity 0.3s ease-in-out;
  351. cursor: auto;
  352. &.is-active{
  353. opacity: 1;
  354. cursor: pointer;
  355. }
  356. }
  357. .previous{
  358. background-image: url(../img/audio-player-previous.svg);
  359. }
  360. .next{
  361. background-image: url(../img/audio-player-next.svg);
  362. }
  363. }
  364. #audio-player{
  365. position: absolute;
  366. top:0; left:0;
  367. background-color: white;
  368. height:100%; min-width:300px;
  369. z-index: 20;
  370. opacity: 0;
  371. // outline: 1px solid blue;
  372. pointer-events: none;
  373. transition: opacity 0.7s ease-in-out;
  374. &.visible{
  375. opacity: 1;
  376. pointer-events:all;
  377. }
  378. &>*{
  379. display: inline-block;
  380. vertical-align: middle;
  381. // word-break:keep-all;
  382. padding:0;
  383. max-height: 100%;
  384. // outline: 1px solid green;
  385. }
  386. .btns{
  387. @include audio_controls;
  388. }
  389. .time-line-container{
  390. .time-line{
  391. position: relative;
  392. width:70px; height:1px;
  393. background-color: #000;
  394. overflow: visible;
  395. transform: rotateZ(-45deg);
  396. .loader{
  397. width:0; height:100%;
  398. background-color: red;
  399. top:0;left:0;
  400. }
  401. .cursor{
  402. height:10px;width:0;
  403. border-left: 2px solid red;
  404. position:absolute;
  405. left:0; top:-5px;
  406. }
  407. }
  408. }
  409. .time{
  410. &>*{
  411. width:70px;
  412. text-align: right;
  413. }
  414. .current-time{
  415. font-size: 1.4em;
  416. font-weight: 600;
  417. }
  418. .duration{
  419. font-size: 0.75em;
  420. font-weight: 400;
  421. }
  422. }
  423. .favoris{
  424. height:100%;
  425. }
  426. .cartel{
  427. // TODO: set max-width regarding responsive
  428. position: relative;
  429. // max-width: 350px;
  430. margin-left: 1em;
  431. background-color: white;
  432. opacity: 1;
  433. transition: opacity 0.5s ease-in-out;
  434. &.loading{opacity: 0;}
  435. white-space: nowrap;
  436. .actions, .cartels{
  437. display: inline-block;
  438. vertical-align: top;
  439. white-space: normal;
  440. position: relative;
  441. }
  442. .actions{
  443. width:1.5em;
  444. }
  445. .cartels{
  446. .first-cartel{
  447. // visibility: hidden;
  448. .entrees{
  449. @include entree-micro-square;
  450. }
  451. h2.node-title{
  452. margin:0.2em 0 0;
  453. font-size: 0.9em;
  454. font-weight: 600;
  455. }
  456. p{
  457. margin:0;
  458. font-size: 0.756em;
  459. }
  460. }
  461. .second-cartel{
  462. position: absolute;
  463. top: 0; left:0;
  464. background-color: white;
  465. height:100%; min-width: 100%;
  466. opacity: 0;
  467. transition: opacity 0.2s ease-in-out;
  468. white-space: nowrap;
  469. &>*{
  470. display: inline-block;
  471. vertical-align: top;
  472. white-space: normal;
  473. }
  474. .col-left{
  475. a{
  476. display: block;
  477. font-size: 0.82em;
  478. font-weight: 600;
  479. }
  480. }
  481. .col-right{
  482. border-left:1px solid #1A1A1A;
  483. margin-left:5px; padding-left:5px;
  484. h3{
  485. font-size: 0.82em;
  486. margin:0;
  487. }
  488. p{
  489. font-size: 0.756em;
  490. margin:0;
  491. span.cat{
  492. font-weight: 600;
  493. }
  494. }
  495. }
  496. }
  497. }
  498. &:hover{
  499. .second-cartel{
  500. opacity: 1;
  501. }
  502. }
  503. article:not(.has-second-cartel){
  504. .second-cartel{
  505. display:none;
  506. }
  507. }
  508. }
  509. }
  510. // ___ _ _ _
  511. // / __| |_ _ _ __| (_)___
  512. // \__ \ _| || / _` | / _ \
  513. // |___/\__|\_,_\__,_|_\___/
  514. .chutier-icon{
  515. $s:1em;
  516. z-index: 1;
  517. display: block;
  518. position: relative;
  519. width:$s;height:$s;
  520. overflow: hidden;
  521. text-indent: 50em;
  522. // background-color: red;
  523. background-position: center;
  524. background-repeat: no-repeat;
  525. background-size: contain;
  526. background-image: url(../img/favori-off.svg);
  527. &[action="remove"]{
  528. background-image: url(../img/favori-on.svg);
  529. }
  530. transition: opacity 0.2s ease-in-out;
  531. &.ajax-loading{
  532. opacity: 0.2;
  533. }
  534. &.not-logedin{
  535. overflow: visible;
  536. }
  537. .popup{
  538. display:none;
  539. position: absolute;
  540. top:0; left:0;
  541. width:300px; height:auto; min-height: 100px;
  542. .inner{
  543. background-color: rgba(255,255,255,0.9);
  544. border: 1px solid red;
  545. text-indent: 0;
  546. padding: 0.5em;
  547. margin:$s*1.2 0 0 $s*1.2;
  548. p{
  549. font-size: 0.756em;
  550. margin:0;
  551. &:not(:last-of-type){
  552. margin: 0 0 0.4em 0;
  553. }
  554. }
  555. }
  556. }
  557. &:hover{
  558. .popup{
  559. display: block;
  560. }
  561. }
  562. }
  563. .row .col .studio-ui-wrapper{
  564. height: 100%;
  565. }
  566. #studio-ui{
  567. height:100%;
  568. @mixin draggable_sortable_field__item {
  569. display: inline-block;
  570. position: relative;
  571. white-space: nowrap;
  572. pointer-events: none;
  573. // margin-right: 25px;
  574. width:25px;
  575. height: 100%;
  576. &.ui-draggable-dragging{
  577. height:100px;
  578. }
  579. opacity: 1;
  580. transition: opacity 0.1s ease-in-out;
  581. &.ready-to-remove{
  582. opacity:0.3;
  583. cursor:crosshair;
  584. }
  585. &>*{
  586. pointer-events: all;
  587. }
  588. article{
  589. // outline: 1px dotted purple;
  590. position: absolute;
  591. bottom:0;
  592. transform-origin: left top;
  593. transform: rotateZ(-45deg);
  594. h2{
  595. margin:0;
  596. text-transform: none;
  597. a{
  598. white-space: nowrap!important;
  599. &:before{
  600. content:"";
  601. display: inline-block;
  602. vertical-align: middle;
  603. width:$compo_square_size; height:$compo_square_size;
  604. border: 1px solid white;
  605. background-color: white;
  606. // TODO: entries color;
  607. }
  608. font-size: 0.756em;
  609. }
  610. }
  611. }
  612. .handler{
  613. z-index: 99;
  614. cursor: grab;
  615. position: absolute;
  616. bottom:0; left:1px;
  617. display: block;
  618. width:$compo_square_size; height:$compo_square_size;
  619. transform-origin: left top;
  620. transform: rotateZ(-45deg);
  621. border: 1px solid red;
  622. background-color: white;
  623. // TODO: entries color;
  624. }
  625. &.is-active .handler{
  626. background-color: red;
  627. }
  628. } // end mixin
  629. .chutier_ui{
  630. height: 50%;
  631. border-bottom: 1px solid red;
  632. position: relative;
  633. &>h2{
  634. z-index: 10;
  635. position: absolute;
  636. width: calc(100% - 20px);
  637. margin: 0;
  638. padding:0.5em 0;
  639. font-size: 1em;
  640. font-weight: 500;
  641. text-transform: uppercase;
  642. // outline: 1px solid orange;
  643. background-color: white;
  644. }
  645. .documents{
  646. padding-top: 35px;
  647. height:calc(100% - 35px);
  648. overflow-y: auto;
  649. overflow-x: hidden;
  650. // box-sizing: content-box;
  651. // outline: 1px solid green;
  652. ul,li{
  653. margin:0; padding:0;
  654. line-height: 1.2;
  655. }
  656. li{
  657. display: inline-block; vertical-align: top;
  658. width:49%; margin-bottom: 0.5em;
  659. white-space: nowrap;
  660. >div{
  661. display:inline-block;
  662. padding-right: 2em;
  663. &.ui-draggable{
  664. cursor:grab;
  665. }
  666. }
  667. .entrees{
  668. @include entree-micro-square;
  669. }
  670. a.audio-link{
  671. text-transform: capitalize;
  672. font-size: 0.756em;
  673. margin-right: 0.5em;
  674. white-space: normal;
  675. }
  676. .chutier-icon{
  677. display: inline-block;
  678. width:0.7em; height:0.7em;
  679. opacity: 0.8;
  680. }
  681. }
  682. }
  683. }
  684. $compo_square_size:12px;
  685. .composition_ui{
  686. height:50%;
  687. &>h2{
  688. z-index: 10;
  689. position: absolute;
  690. width: calc(100% - 20px);
  691. margin: 0;
  692. padding:0.5em 0;
  693. font-size: 1em;
  694. font-weight: 500;
  695. text-transform: uppercase;
  696. // outline: 1px solid orange;
  697. background-color: white;
  698. }
  699. >.wrapper{
  700. padding-top: 35px;
  701. height:calc(100% - 35px);
  702. overflow: hidden;
  703. white-space: nowrap;
  704. section.compositions-list, section.composer{
  705. display: inline-block; vertical-align: bottom;
  706. height: 100%;
  707. }
  708. .compositions-list{
  709. width:30%;
  710. height:100%; // this is not working
  711. overflow-y: auto;
  712. box-sizing: border-box;
  713. padding-right: 0.5em;
  714. border-right: 1px solid #aaa;
  715. li{
  716. opacity: 1;
  717. transition: opacity 0.3s ease-in-out;
  718. &:hover{
  719. a.delete-composition-link{
  720. opacity: 1;
  721. }
  722. }
  723. &.ajax-loading{
  724. opacity: 0.4;
  725. }
  726. }
  727. a{
  728. font-size: 0.756em;
  729. $w:7px;
  730. $s:7px; $m:5px;
  731. &.composition-link{
  732. display: inline-block;
  733. box-sizing: border-box;
  734. // width:100%;
  735. width: calc(100% - #{$w +$s +$m +2});
  736. &:before{
  737. content: "";
  738. width:$w; height:$w;
  739. border: 1px solid black;
  740. background-color: white;
  741. display: inline-block;
  742. vertical-align: middle;
  743. margin-right: $m;
  744. }
  745. &.ajax-loading:before{
  746. @include spining-loader-square;
  747. }
  748. &.is-active:before{
  749. background-color: black;
  750. }
  751. }
  752. &.delete-composition-link{
  753. display: inline-block;
  754. vertical-align: middle;
  755. $s:7px; width:$s; height:$s;
  756. margin-left: $m;
  757. text-indent: 300px; overflow: hidden;
  758. background-image: url('../img/delete.svg');
  759. background-repeat: no-repeat;
  760. background-size: contain;
  761. opacity: 0;
  762. transition: opacity 0.3s ease-in-out;
  763. }
  764. &.new-composition-link{
  765. // padding-left: 1em;
  766. &:before{
  767. content:"+";
  768. // font-weight: bold;
  769. margin-right: $m;
  770. }
  771. display: inline-block;
  772. vertical-align: top;
  773. overflow: hidden;
  774. margin-top: 0.4em;
  775. height:1em;
  776. transition: height 0.2s ease-in-out;
  777. &.folded{
  778. height:0;
  779. }
  780. }
  781. }
  782. .new-compo-form{
  783. input[type="text"]{
  784. font-size: 0.756em;
  785. padding:0 0.5em;
  786. width:calc(100% - 50px);
  787. height:1.7em;
  788. border: none;
  789. border-top:1px dotted red;
  790. border-bottom:1px dotted red;
  791. }
  792. button{
  793. background: none;
  794. border: none;
  795. font-size: 1em;
  796. line-height: 1;
  797. font-weight: bold;
  798. }
  799. opacity: 1;
  800. transition: opacity 0.2s ease-in-out;
  801. &.ajax-loading{
  802. opacity: 0.4;
  803. }
  804. }
  805. }
  806. .composer{
  807. position: relative;
  808. box-sizing: border-box;
  809. padding-left: 0.5em;
  810. width:69%;
  811. $header_height:25px;
  812. $actions_height:25px;
  813. $padding:5px;
  814. opacity:1;
  815. transition: opacity 0.3s ease-in-out;
  816. &.ajax-loading{
  817. opacity:0.3;
  818. }
  819. >*{
  820. box-sizing: border-box;
  821. }
  822. >header{
  823. height:$header_height;
  824. padding-bottom:$padding;
  825. font-size: 0.756em;
  826. }
  827. >.composition{
  828. position: relative;
  829. height:calc(100% - #{$header_height + $actions_height + $padding*2});
  830. // outline: 1px solid red;
  831. padding-bottom: 1em;
  832. .field--name-documents{
  833. position: relative;
  834. box-sizing: border-box;
  835. height: 100%;
  836. width: 100%; padding:0 0.5em;
  837. $h:29px; $w:calc(100% - 2px); $c:#A1A1A1;
  838. &:before, &:after{
  839. content: "";
  840. width:$w;
  841. position: absolute;
  842. bottom:0; left:0;
  843. // z-index: -1;
  844. }
  845. &:before{
  846. border-top: 1px solid $c;
  847. height:$h /2;
  848. }
  849. &:after{
  850. border-left: 1px solid $c;
  851. border-right: 1px solid $c;
  852. height:$h;
  853. }
  854. .field__item{
  855. @include draggable_sortable_field__item;
  856. }
  857. }
  858. .remove-drop-zone{
  859. position: absolute;
  860. top:0; left:0; width:100%; height:45%;
  861. z-index: 150;
  862. // &.ui-droppable-hover{
  863. // background-color: red;
  864. // }
  865. }
  866. }
  867. >.actions{
  868. padding-top:$padding;
  869. height:$actions_height;
  870. // outline: 1px solid blue;
  871. .compo-player-controls{
  872. @include audio_controls;
  873. }
  874. }
  875. }
  876. }
  877. }
  878. // drag and drop specifics
  879. // created by js
  880. .field__item.ui-draggable-dragging{
  881. // outline: 1px solid green;
  882. @include draggable_sortable_field__item;
  883. }
  884. }
  885. // ___ _
  886. // / __| ___ __ _ _ _ __| |_
  887. // \__ \/ -_) _` | '_/ _| ' \
  888. // |___/\___\__,_|_| \__|_||_|
  889. .col[theme="edlp_search_search_form"]{
  890. &, >.wrapper{
  891. position: relative;
  892. height:100%;
  893. }
  894. }
  895. #edlp-search-form{
  896. height:100%;
  897. .fieldgroup{
  898. border-bottom: 1px solid red;
  899. margin-top:1em;
  900. margin-bottom: 0em;
  901. legend{
  902. font-size: 0.9em;
  903. margin: 0;
  904. font-weight: 500;
  905. }
  906. .fieldset-wrapper{
  907. padding-bottom: 1em;
  908. }
  909. .form-item{
  910. margin:0;
  911. }
  912. }
  913. input[type="text"], input[type="search"]{
  914. font-size: 0.8em;
  915. padding:0.2em; margin:0;
  916. border: 1px solid #aaa;
  917. border-radius: 3px;
  918. width:90%;
  919. }
  920. #edit-entries{
  921. .form-item{
  922. label, input{
  923. display: inline-block;
  924. vertical-align: middle;
  925. }
  926. label{
  927. font-size: 0.756em;
  928. }
  929. input[type="checkbox"]{
  930. appearance:none;
  931. $w:10px;
  932. width:$w; height:$w;
  933. border: 1px double black;
  934. background-color: white;
  935. &:checked{
  936. background-color: black;
  937. }
  938. &[value='134']{
  939. border-color: var(--e-col-134);
  940. &:checked{background-color: var(--e-col-134);}
  941. }
  942. &[value='121']{
  943. border-color: var(--e-col-121);
  944. &:checked{background-color: var(--e-col-121);}
  945. }
  946. &[value='125']{
  947. border-color: var(--e-col-125);
  948. &:checked{background-color: var(--e-col-125);}
  949. }
  950. &[value='119']{
  951. border-color: var(--e-col-119);
  952. &:checked{background-color: var(--e-col-119);}
  953. }
  954. &[value='132']{
  955. border-color: var(--e-col-132);
  956. &:checked{background-color: var(--e-col-132);}
  957. }
  958. &[value='122']{
  959. border-color: var(--e-col-122);
  960. &:checked{background-color: var(--e-col-122);}
  961. }
  962. &[value='129']{
  963. border-color: var(--e-col-129);
  964. &:checked{background-color: var(--e-col-129);}
  965. }
  966. &[value='120']{
  967. border-color: var(--e-col-120);
  968. &:checked{background-color: var(--e-col-120);}
  969. }
  970. &[value='130']{
  971. border-color: var(--e-col-130);
  972. &:checked{background-color: var(--e-col-130);}
  973. }
  974. &[value='118']{
  975. border-color: var(--e-col-118);
  976. &:checked{background-color: var(--e-col-118);}
  977. }
  978. &[value='127']{
  979. border-color: var(--e-col-127);
  980. &:checked{background-color: var(--e-col-127);}
  981. }
  982. &[value='133']{
  983. border-color: var(--e-col-133);
  984. &:checked{background-color: var(--e-col-133);}
  985. }
  986. &[value='128']{
  987. border-color: var(--e-col-128);
  988. &:checked{background-color: var(--e-col-128);}
  989. }
  990. &[value='124']{
  991. border-color: var(--e-col-124);
  992. &:checked{background-color: var(--e-col-124);}
  993. }
  994. &[value='116']{
  995. border-color: var(--e-col-116);
  996. &:checked{background-color: var(--e-col-116);}
  997. }
  998. &[value='117']{
  999. border-color: var(--e-col-117);
  1000. &:checked{background-color: var(--e-col-117);}
  1001. }
  1002. &[value='131']{
  1003. border-color: var(--e-col-131);
  1004. &:checked{background-color: var(--e-col-131);}
  1005. }
  1006. &[value='126']{
  1007. border-color: var(--e-col-126);
  1008. &:checked{background-color: var(--e-col-126);}
  1009. }
  1010. &[value='123']{
  1011. border-color: var(--e-col-123);
  1012. &:checked{background-color: var(--e-col-123);}
  1013. }
  1014. }
  1015. }
  1016. }
  1017. input[type="submit"]{
  1018. font-size: 0.756em;
  1019. padding:0.1em;
  1020. margin:1em 0 0 0;
  1021. float:right;
  1022. opacity: 1;
  1023. transition: opacity 0.3s ease-in-out;
  1024. }
  1025. &.ajax-loading input[type="submit"]{
  1026. opacity:0.2;
  1027. pointer-events: none;
  1028. }
  1029. }
  1030. .col[theme="edlp_search_results"]{
  1031. opacity: 1;
  1032. transition: opacity 0.3s ease-in-out;
  1033. &.ajax-loading{
  1034. opacity:0.2;
  1035. }
  1036. article.node{
  1037. &:first-of-type{
  1038. margin-top: 1em!important;
  1039. }
  1040. .entrees{
  1041. @include entree-micro-square;
  1042. }
  1043. h2.node-title{
  1044. margin:0 0 0.3em 0;
  1045. // font-size: 0.8em;
  1046. // font-weight: 500;
  1047. // text-transform: none;
  1048. }
  1049. // .description{
  1050. // p{
  1051. // margin:0;
  1052. // font-size: 0.75em;
  1053. // }
  1054. // }
  1055. }
  1056. }
  1057. // _ _ _ _ _
  1058. // /_\ (_)__ ___ __ | \| |___ __| |___
  1059. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  1060. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  1061. // |__/
  1062. // body.path-edlp-node main{
  1063. // main .col>.wrapper, .edlp-ajax-node{
  1064. // height: 100%;
  1065. // }
  1066. // }
  1067. // _ _
  1068. // /_\ __ _ ___ _ _ __| |__ _
  1069. // / _ \/ _` / -_) ' \/ _` / _` |
  1070. // /_/ \_\__, \___|_||_\__,_\__,_|
  1071. // |___/
  1072. body.path-agenda main .col{
  1073. &>.wrapper{
  1074. height:100%;
  1075. }
  1076. }
  1077. #agenda{
  1078. position: relative;
  1079. white-space: nowrap;
  1080. height: 100%;
  1081. div.column{
  1082. white-space: normal;
  1083. display: inline-block;
  1084. vertical-align: top;
  1085. height:100%;
  1086. }
  1087. div.next-event{
  1088. width:65%;
  1089. }
  1090. div.future-past-events{
  1091. width:33%;
  1092. }
  1093. ul,li{
  1094. margin:0; padding:0;
  1095. list-style: none;
  1096. }
  1097. article.node--type-evenement{
  1098. h2{ @include content_titles; }
  1099. }
  1100. }
  1101. // _ _
  1102. // | || |___ _ __ ___
  1103. // | __ / _ \ ' \/ -_)
  1104. // |_||_\___/_|_|_\___|
  1105. // ___ _ _ _
  1106. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  1107. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  1108. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  1109. body.path-frontpage, body.path-productions{
  1110. .layout-content .row{
  1111. white-space: normal;
  1112. min-height: 100%;
  1113. .col{
  1114. height:auto;
  1115. &.col-2:last-child{
  1116. padding-left: 0em;
  1117. padding-right: 1em;
  1118. }
  1119. >.wrapper{
  1120. margin-bottom: 1em;
  1121. padding:0;
  1122. >*{padding:0;}
  1123. article.node{
  1124. .field--name-field-visuel{
  1125. a,img{
  1126. display: block;
  1127. width: 100%; height:auto;
  1128. }
  1129. }
  1130. header{
  1131. background-color: rgba(255,255,255,0.95);
  1132. box-sizing: border-box;
  1133. width: 100%;
  1134. padding:0.5em 1em;
  1135. h2.node-title{
  1136. margin:0;
  1137. font-size: 0.8em;
  1138. text-transform: lowercase;
  1139. }
  1140. // p{margin: 0;}
  1141. }
  1142. &.node--view-mode-image-2-columns{
  1143. header{
  1144. position: absolute;
  1145. bottom: 0; left:0;
  1146. h2.node-title{
  1147. font-size: 1.2em;
  1148. font-weight: 500;
  1149. }
  1150. }
  1151. }
  1152. &.node--view-mode-image-1-columns{
  1153. h2.node-title{
  1154. font-size: 1em;
  1155. font-weight: 500;
  1156. }
  1157. }
  1158. &.node--view-mode-text-1-column{
  1159. padding:0 1em;
  1160. }
  1161. }
  1162. }
  1163. }
  1164. }
  1165. }
  1166. // ___ _
  1167. // | __|__ ___| |_ ___ _ _
  1168. // | _/ _ \/ _ \ _/ -_) '_|
  1169. // |_|\___/\___/\__\___|_|
  1170. @mixin oblique-list {
  1171. display: inline-block;
  1172. position: relative;
  1173. list-style: none;
  1174. margin: 0 1.5em 0 0;
  1175. // width:2em; height:10em;
  1176. padding: 0;
  1177. a{
  1178. position: absolute;
  1179. bottom: 0;
  1180. transform-origin: left bottom;
  1181. transform: rotateZ(-45deg);
  1182. color: #000;
  1183. text-decoration: none;
  1184. text-transform: uppercase;
  1185. font-size: 0.756em;
  1186. white-space: nowrap;
  1187. }
  1188. }
  1189. footer{
  1190. position: relative;
  1191. pointer-events: none;
  1192. // outline: 1px dotted blue;
  1193. >.wrapper{
  1194. white-space: nowrap;
  1195. // height:100%;
  1196. >.region{
  1197. // height:100%;
  1198. // display: table-cell;
  1199. display: inline-block;
  1200. vertical-align: baseline;
  1201. white-space:normal;
  1202. // pointer-events: none;
  1203. // outline: 1px dotted purple;
  1204. // position: relative;
  1205. >*{
  1206. display: inline-block; vertical-align: bottom;
  1207. }
  1208. }
  1209. .region-footer-left{
  1210. // float:left;
  1211. width:12%;
  1212. // min-width:50px;
  1213. text-align: left;
  1214. }
  1215. .region-footer-center{
  1216. // float: none;
  1217. width: 72%;
  1218. overflow:hidden;
  1219. text-align: center;
  1220. }
  1221. .region-footer-right{
  1222. // float:right;
  1223. min-width:12%;
  1224. // min-width: 50px;
  1225. text-align: right;
  1226. }
  1227. }
  1228. #block-footer{
  1229. display: inline-block;
  1230. margin-bottom: 1em;
  1231. ul{
  1232. margin:0;
  1233. padding:0;
  1234. white-space: nowrap;
  1235. li{
  1236. pointer-events: all;
  1237. // @include oblique-list;
  1238. display: inline-block;
  1239. &:first-of-type{
  1240. margin-left: 1em;
  1241. }
  1242. a{
  1243. font-size: 0.756em;
  1244. &:before{
  1245. content: "";
  1246. display:inline-block;
  1247. $sq:7px;
  1248. width: $sq; height:$sq;
  1249. border: 1px solid black;
  1250. margin-right: 0.5em;
  1251. }
  1252. &:hover:before,
  1253. &.is-active:before{
  1254. background-color: black;
  1255. }
  1256. &.ajax-loading:before{
  1257. @include spining-loader-square;
  1258. }
  1259. }
  1260. }
  1261. }
  1262. }
  1263. // remove #block-productions from selector
  1264. // to enable again oblique style for all block-menu
  1265. nav#block-productions.block-menu{
  1266. display: inline-block;
  1267. ul{
  1268. margin:0;
  1269. padding:0;
  1270. li{
  1271. pointer-events: all;
  1272. @include oblique-list;
  1273. &:first-of-type{
  1274. margin-left: 1em;
  1275. }
  1276. a{
  1277. &:before{
  1278. content: "";
  1279. display:inline-block;
  1280. $sq:7px;
  1281. width: $sq; height:$sq;
  1282. border: 1px solid black;
  1283. margin-right: 0.5em;
  1284. }
  1285. &:hover:before,
  1286. &.is-active:before{
  1287. background-color: black;
  1288. }
  1289. &.ajax-loading:before{
  1290. @include spining-loader-square;
  1291. }
  1292. }
  1293. }
  1294. }
  1295. }
  1296. // .block-language{
  1297. // display: inline-block;
  1298. // position: relative;
  1299. // ul{
  1300. // position: absolute;
  1301. // bottom:0;
  1302. // margin:0;
  1303. // padding:0;
  1304. // transform-origin: left bottom;
  1305. // transform: rotateZ(-45deg);
  1306. // white-space: nowrap;
  1307. // pointer-events: all;
  1308. // li{
  1309. // margin:0; padding:0;
  1310. // list-style: none;
  1311. // display: inline-block;
  1312. // &:last-of-type{
  1313. // &:before{
  1314. // content:"/";
  1315. // margin:0 0.2em;
  1316. // }
  1317. // }
  1318. // a{
  1319. // color: inherit;
  1320. // text-decoration: none;
  1321. // font-size: 0.756em;
  1322. // }
  1323. // &.is-active{
  1324. // a{color: red;}
  1325. // }
  1326. // }
  1327. // }
  1328. // }
  1329. nav#block-productions.block-menu{
  1330. position: relative;
  1331. pointer-events: none;
  1332. display:none;
  1333. body.path-productions &, body.entity-type-node.bundle-page & {display:inline-block;}
  1334. ul{
  1335. margin-left: -3em;
  1336. white-space: nowrap;
  1337. li{
  1338. height:200px; // this is needed to respect the height of oblique links :(
  1339. a{
  1340. // outline: 1px solid blue;
  1341. pointer-events: all;
  1342. background-color: #fff;
  1343. padding-right: 0.4em;
  1344. &:before{
  1345. content: "";
  1346. display:inline-block;
  1347. $sq:7px;
  1348. width: $sq; height:$sq;
  1349. border: 1px solid red;
  1350. margin-right: 0.5em;
  1351. }
  1352. &:hover:before,
  1353. &.is-active:before,
  1354. &.is-active-trail:before{
  1355. background-color: red;
  1356. }
  1357. &.ajax-loading:before{
  1358. @include spining-loader-square;
  1359. }
  1360. }
  1361. }
  1362. }
  1363. }
  1364. .block-block-edlp-entrees{
  1365. pointer-events: none;
  1366. body.path-productions &,
  1367. body.entity-type-node.bundle-page &,
  1368. body.path-agenda & {display:none}
  1369. display: inline-block;
  1370. // vertical-align: top;
  1371. ul{
  1372. margin:0;
  1373. white-space: nowrap;
  1374. li{
  1375. @include oblique-list;
  1376. margin:0;
  1377. white-space: nowrap;
  1378. pointer-events: none;
  1379. span.oblique-wrapper{
  1380. height:120px; // this is needed to respect the height of oblique links :(
  1381. display: inline-block;
  1382. vertical-align: bottom;
  1383. position: relative;
  1384. width:1.5em;
  1385. }
  1386. a.term-link, a.articles-link{
  1387. // outline: 1px solid blue;
  1388. pointer-events: all;
  1389. background-color: #fff;
  1390. padding-right: 0.4em;
  1391. &:before{
  1392. content: "";
  1393. display:inline-block;
  1394. $sq:7px;
  1395. width: $sq; height:$sq;
  1396. border: 1px solid #000;
  1397. background-color: #000;
  1398. margin-right: 0.5em;
  1399. transition: background-color 0.1s ease-in-out;
  1400. }
  1401. &.articles-link{
  1402. margin-left: 4em;
  1403. text-transform: capitalize;
  1404. }
  1405. }
  1406. .entree-content{
  1407. display: inline-block;
  1408. // outline: 1px solid green;
  1409. width:0;
  1410. overflow: hidden;
  1411. opacity: 0;
  1412. transition: all 300ms ease-in-out;
  1413. transition-property: width,opacity;
  1414. span.oblique-wrapper:first-of-type{
  1415. margin-left: 0.5em;
  1416. }
  1417. span.oblique-wrapper a{
  1418. text-transform: none;
  1419. pointer-events: auto;
  1420. &:before{
  1421. content: "";
  1422. display:inline-block;
  1423. $sq:5px;
  1424. width: $sq; height:$sq;
  1425. border: 1px solid #000;
  1426. margin-right: 0.5em;
  1427. }
  1428. &.ajax-loading:before{
  1429. @include spining-loader-square;
  1430. }
  1431. }
  1432. .term-description{
  1433. display: inline-block;
  1434. margin-left: 1.5em;
  1435. text-align: left;
  1436. width:250px;
  1437. word-wrap:break-word;
  1438. // word-break:break-all;
  1439. hyphens: auto;
  1440. white-space: normal;
  1441. background-color: $transparent-bg;
  1442. padding:0.5em;
  1443. padding-bottom:0;
  1444. p{
  1445. font-size: 0.65em;
  1446. margin:0;
  1447. }
  1448. }
  1449. }
  1450. // TODO: replace variable system by attribute color
  1451. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1452. // border-color: attr(color);
  1453. // background-color: attr(color);
  1454. // }
  1455. &[tid='134']{
  1456. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1457. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  1458. &[tid='121']{
  1459. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1460. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  1461. &[tid='125']{
  1462. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1463. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  1464. &[tid='119']{
  1465. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1466. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  1467. &[tid='132']{
  1468. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1469. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  1470. &[tid='122']{
  1471. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1472. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  1473. &[tid='129']{
  1474. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1475. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  1476. &[tid='120']{
  1477. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1478. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  1479. &[tid='130']{
  1480. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1481. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  1482. &[tid='118']{
  1483. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1484. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  1485. &[tid='127']{
  1486. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1487. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  1488. &[tid='133']{
  1489. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1490. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  1491. &[tid='128']{
  1492. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1493. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  1494. &[tid='124']{
  1495. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1496. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  1497. &[tid='116']{
  1498. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1499. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  1500. &[tid='117']{
  1501. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1502. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  1503. &[tid='131']{
  1504. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1505. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  1506. &[tid='126']{
  1507. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1508. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  1509. &[tid='123']{
  1510. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1511. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  1512. // &.highlighted{
  1513. // a.term_link{
  1514. // color: red;
  1515. // }
  1516. // }
  1517. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  1518. a.articles-link:not(:hover):not(.is-active):before{
  1519. background-color: #fff!important;
  1520. }
  1521. &:not(.opened){
  1522. a.term-link:not(:hover):not(.highlighted):before{
  1523. background-color: #fff!important;
  1524. }
  1525. }
  1526. &.opened{
  1527. // outline: 1px solid purple;
  1528. a.term-link:after {
  1529. content: '';
  1530. position: absolute;
  1531. left: 15px; right:0;
  1532. bottom: -3px;
  1533. border-bottom: 1px solid grey;
  1534. }
  1535. .entree-content{
  1536. width:350px;
  1537. opacity: 1;
  1538. }
  1539. }
  1540. // &:not(:first-of-type) .entree-content{display: none;}
  1541. }
  1542. }
  1543. }
  1544. $icons_w:20px;
  1545. @mixin iconlinkblock($bgimgurl) {
  1546. pointer-events: all;
  1547. margin-left: 0.5em;
  1548. a{
  1549. $wh:$icons_w;
  1550. display: block;
  1551. width:$wh; height:$wh;
  1552. text-indent: $wh*2;
  1553. margin: 0;
  1554. overflow: hidden;
  1555. mask-image: $bgimgurl;
  1556. mask-size: contain;
  1557. background-color: #000;
  1558. transition: background-color 0.3s ease-in-out;
  1559. cursor: pointer;
  1560. &.is-active{
  1561. background-color: red;
  1562. }
  1563. }
  1564. }
  1565. .block.random-player{
  1566. margin-bottom: 1em;
  1567. @include iconlinkblock(url(../img/random.svg));
  1568. }
  1569. #block-studiolinkblock{
  1570. margin-bottom: 1em;
  1571. margin-left: 0.2em;
  1572. @include iconlinkblock(url(../img/studio.svg));
  1573. }
  1574. #block-userlogin{
  1575. margin-bottom: 1em;
  1576. pointer-events: all;
  1577. margin-left: 0.2em;
  1578. // outline: 1px solid blue;
  1579. $wh:$icons_w;
  1580. position: relative;
  1581. width:$wh; height: $wh;
  1582. // background-color: blue;
  1583. h2{
  1584. position: relative;
  1585. width:$wh; height:$wh;
  1586. background-image: url(../img/studio.svg);
  1587. // background-color: red;
  1588. background-size: contain;
  1589. text-indent: $wh*2;
  1590. margin: 0;
  1591. overflow: hidden;
  1592. z-index: 1;
  1593. cursor: pointer;
  1594. }
  1595. .block-content{
  1596. z-index: 0;
  1597. position:absolute;
  1598. right:0;bottom:$wh;
  1599. padding:0.5em;
  1600. padding-bottom: 20px;
  1601. background-color: $transparent-bg;
  1602. border-top: 1px solid red;
  1603. border-bottom: 1px solid red;
  1604. overflow: hidden;
  1605. box-sizing:border-box;
  1606. height: 0px;
  1607. opacity:0;
  1608. pointer-events:none;
  1609. transition: all 0.5s ease-in-out;
  1610. transition-property: height,opacity;
  1611. // &:hover{
  1612. // height:200px;
  1613. // opacity:1;
  1614. // pointer-events: auto;
  1615. // }
  1616. form{
  1617. font-size: 0.75em;
  1618. }
  1619. .item-list{
  1620. ul{margin:0;}
  1621. li{
  1622. margin:0;
  1623. list-style: none;
  1624. a{
  1625. color: inherit;
  1626. text-decoration: none;
  1627. font-size: 0.75em;
  1628. white-space:nowrap;
  1629. }
  1630. }
  1631. }
  1632. }
  1633. &:hover{
  1634. .block-content{
  1635. height:200px;
  1636. opacity: 1;
  1637. pointer-events:auto;
  1638. }
  1639. }
  1640. }
  1641. #block-edlpsearchlinkblock{
  1642. margin-bottom: 1em;
  1643. @include iconlinkblock(url(../img/search.svg));
  1644. margin-left: 0.2em;
  1645. }
  1646. }
  1647. // _ _ _ ___
  1648. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1649. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1650. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1651. // |_| |_|
  1652. .node-popup{
  1653. .inner{
  1654. position: relative;
  1655. .entrees{
  1656. @include entree-micro-square;
  1657. }
  1658. .title{
  1659. margin:0.2em 0 0;
  1660. // margin:0.3em 0;
  1661. font-size: 0.9em;
  1662. font-weight: 600;
  1663. }
  1664. .description{
  1665. p{
  1666. margin:0;
  1667. font-size: 0.756em;
  1668. }
  1669. }
  1670. .chutier-icon{
  1671. position:absolute;
  1672. top:0.4em; right:0.4em;
  1673. }
  1674. }
  1675. }
  1676. // __ ___ _ ___ _ _ _
  1677. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  1678. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  1679. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  1680. // complete rewrite of url_to_video_filter css
  1681. .url-to-video-container{
  1682. // display:block;
  1683. margin:10px auto;
  1684. // width:100%;
  1685. &.no-js{
  1686. border:solid black 1px;
  1687. .loader{
  1688. // background:url(../images/no-js.png) no-repeat center center;
  1689. // background-size:40px 40px;
  1690. }
  1691. .url-to-video-player{
  1692. cursor:auto;
  1693. }
  1694. }
  1695. .loader{
  1696. // top:240px;
  1697. // left:50%;
  1698. // transform:translate(-50%, -50%);
  1699. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  1700. top:auto; left: auto;
  1701. transform: none;
  1702. }
  1703. span.url-to-video-player{
  1704. // display:block;
  1705. // width:100%;
  1706. /* assuming that the video has a 16:9 ratio */
  1707. // padding-bottom:56.25%;
  1708. padding-bottom:0;
  1709. // overflow:hidden;
  1710. // position:relative;
  1711. // width:100%;
  1712. // height:100%;
  1713. height:auto;
  1714. // cursor:hand;
  1715. // cursor:pointer;
  1716. // display: block;
  1717. &:before{
  1718. content: "";
  1719. display: block;
  1720. /* assuming that the video has a 16:9 ratio */
  1721. padding-top: 56.25%;
  1722. }
  1723. img.player-thumb
  1724. {
  1725. // background-position:center center;
  1726. // background-size:cover;
  1727. // position: absolute;
  1728. // top: 0;
  1729. // left: 0;
  1730. // width: 100%;
  1731. // height: 100%;
  1732. // cursor:pointer;
  1733. }
  1734. .play-button
  1735. {
  1736. z-index: 5;
  1737. // height:40px;
  1738. // width:40px;
  1739. // display:block;
  1740. // background:url(../images/play-button.png) no-repeat center center;
  1741. // background-size:40px 40px;
  1742. // position:absolute;
  1743. // top:240px;
  1744. top:50%;
  1745. // left:50%;
  1746. // transform:translate(-50%, -50%);
  1747. // cursor:pointer;
  1748. }
  1749. iframe.player-iframe
  1750. {
  1751. // width:100%;
  1752. // height:100%;
  1753. // position:absolute;
  1754. // top:0;
  1755. // left:0;
  1756. }
  1757. }
  1758. }