app.scss 46 KB

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