app.scss 47 KB

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