app.scss 43 KB

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