app.scss 47 KB

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