app.scss 44 KB

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