app.scss 48 KB

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