app.scss 41 KB

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