app.scss 41 KB

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