app.scss 47 KB

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