app.scss 48 KB

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