app.scss 44 KB

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