app.scss 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706
  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. body.path-productions{
  1000. .layout-content .row{
  1001. white-space: normal;
  1002. .col{
  1003. height:auto;
  1004. &.col-2:last-child{
  1005. padding-left: 0em;
  1006. padding-right: 1em;
  1007. }
  1008. >.wrapper{
  1009. margin-bottom: 1em;
  1010. padding:0;
  1011. >*{padding:0;}
  1012. article.node{
  1013. .field--name-field-visuel{
  1014. a,img{
  1015. display: block;
  1016. width: 100%; height:auto;
  1017. }
  1018. }
  1019. header{
  1020. background-color: rgba(255,255,255,0.95);
  1021. padding:0.5em 1em;
  1022. h2.node-title{
  1023. margin:0;
  1024. }
  1025. p{margin: 0;}
  1026. }
  1027. &.node--view-mode-image-2-columns{
  1028. header{
  1029. position: absolute;
  1030. bottom: 0; left:0;
  1031. h2.node-title{
  1032. font-size: 1.6em;
  1033. font-weight: 500;
  1034. }
  1035. }
  1036. }
  1037. &.node--view-mode-image-1-columns{
  1038. h2.node-title{
  1039. font-size: 1.2em;
  1040. font-weight: 500;
  1041. }
  1042. }
  1043. &.node--view-mode-text-1-column{
  1044. padding:0 1em;
  1045. }
  1046. }
  1047. }
  1048. }
  1049. }
  1050. }
  1051. // ___ _
  1052. // | __|__ ___| |_ ___ _ _
  1053. // | _/ _ \/ _ \ _/ -_) '_|
  1054. // |_|\___/\___/\__\___|_|
  1055. @mixin oblique-list {
  1056. display: inline-block;
  1057. position: relative;
  1058. list-style: none;
  1059. margin: 0 1.5em 0 0;
  1060. // width:2em; height:10em;
  1061. padding: 0;
  1062. a{
  1063. position: absolute;
  1064. bottom: 0;
  1065. transform-origin: left bottom;
  1066. transform: rotateZ(-45deg);
  1067. color: #000;
  1068. text-decoration: none;
  1069. text-transform: uppercase;
  1070. font-size: 0.756em;
  1071. white-space: nowrap;
  1072. }
  1073. }
  1074. footer{
  1075. position: relative;
  1076. pointer-events: none;
  1077. // outline: 1px dotted blue;
  1078. >.wrapper{
  1079. white-space: nowrap;
  1080. // height:100%;
  1081. >.region{
  1082. // height:100%;
  1083. // display: table-cell;
  1084. display: inline-block;
  1085. vertical-align: baseline;
  1086. white-space:normal;
  1087. // pointer-events: none;
  1088. // outline: 1px dotted purple;
  1089. // position: relative;
  1090. >*{
  1091. display: inline-block; vertical-align: bottom;
  1092. }
  1093. }
  1094. .region-footer-left{
  1095. // float:left;
  1096. width:12%;
  1097. // min-width:50px;
  1098. text-align: left;
  1099. }
  1100. .region-footer-center{
  1101. // float: none;
  1102. width: 72%;
  1103. overflow:hidden;
  1104. text-align: center;
  1105. }
  1106. .region-footer-right{
  1107. // float:right;
  1108. min-width:12%;
  1109. // min-width: 50px;
  1110. text-align: right;
  1111. }
  1112. }
  1113. #block-footer{
  1114. display: inline-block;
  1115. margin-bottom: 1em;
  1116. ul{
  1117. margin:0;
  1118. padding:0;
  1119. li{
  1120. pointer-events: all;
  1121. // @include oblique-list;
  1122. display: inline-block;
  1123. &:first-of-type{
  1124. margin-left: 1em;
  1125. }
  1126. a{
  1127. font-size: 0.756em;
  1128. &:before{
  1129. content: "";
  1130. display:inline-block;
  1131. $sq:7px;
  1132. width: $sq; height:$sq;
  1133. border: 1px solid black;
  1134. margin-right: 0.5em;
  1135. }
  1136. &:hover:before,
  1137. &.is-active:before{
  1138. background-color: black;
  1139. }
  1140. &.ajax-loading:before{
  1141. @include spining-loader-square;
  1142. }
  1143. }
  1144. }
  1145. }
  1146. }
  1147. // remove #block-productions to enable again oblique style for all block-menu
  1148. nav#block-productions.block-menu{
  1149. display: inline-block;
  1150. ul{
  1151. margin:0;
  1152. padding:0;
  1153. li{
  1154. pointer-events: all;
  1155. @include oblique-list;
  1156. &:first-of-type{
  1157. margin-left: 1em;
  1158. }
  1159. a{
  1160. &:before{
  1161. content: "";
  1162. display:inline-block;
  1163. $sq:7px;
  1164. width: $sq; height:$sq;
  1165. border: 1px solid black;
  1166. margin-right: 0.5em;
  1167. }
  1168. &:hover:before,
  1169. &.is-active:before{
  1170. background-color: black;
  1171. }
  1172. &.ajax-loading:before{
  1173. @include spining-loader-square;
  1174. }
  1175. }
  1176. }
  1177. }
  1178. }
  1179. // .block-language{
  1180. // display: inline-block;
  1181. // position: relative;
  1182. // ul{
  1183. // position: absolute;
  1184. // bottom:0;
  1185. // margin:0;
  1186. // padding:0;
  1187. // transform-origin: left bottom;
  1188. // transform: rotateZ(-45deg);
  1189. // white-space: nowrap;
  1190. // pointer-events: all;
  1191. // li{
  1192. // margin:0; padding:0;
  1193. // list-style: none;
  1194. // display: inline-block;
  1195. // &:last-of-type{
  1196. // &:before{
  1197. // content:"/";
  1198. // margin:0 0.2em;
  1199. // }
  1200. // }
  1201. // a{
  1202. // color: inherit;
  1203. // text-decoration: none;
  1204. // font-size: 0.756em;
  1205. // }
  1206. // &.is-active{
  1207. // a{color: red;}
  1208. // }
  1209. // }
  1210. // }
  1211. // }
  1212. #block-productions{
  1213. position: relative;
  1214. pointer-events: none;
  1215. body:not(.path-productions) & {display:none}
  1216. ul{
  1217. margin-left: -3em;
  1218. white-space: nowrap;
  1219. li{
  1220. height:200px; // this is needed to respect the height of oblique links :(
  1221. a{
  1222. // outline: 1px solid blue;
  1223. pointer-events: all;
  1224. background-color: #fff;
  1225. padding-right: 0.4em;
  1226. &:before{
  1227. content: "";
  1228. display:inline-block;
  1229. $sq:7px;
  1230. width: $sq; height:$sq;
  1231. border: 1px solid red;
  1232. margin-right: 0.5em;
  1233. }
  1234. &:hover:before{
  1235. background-color: red;
  1236. }
  1237. &.ajax-loading:before{
  1238. @include spining-loader-square;
  1239. }
  1240. }
  1241. }
  1242. }
  1243. }
  1244. .block-block-edlp-entrees{
  1245. pointer-events: none;
  1246. body.path-productions &,
  1247. body.path-agenda & {display:none}
  1248. display: inline-block;
  1249. // vertical-align: top;
  1250. ul{
  1251. margin:0;
  1252. white-space: nowrap;
  1253. li{
  1254. @include oblique-list;
  1255. margin:0;
  1256. white-space: nowrap;
  1257. pointer-events: none;
  1258. span.oblique-wrapper{
  1259. height:120px; // this is needed to respect the height of oblique links :(
  1260. display: inline-block;
  1261. vertical-align: bottom;
  1262. position: relative;
  1263. width:1.5em;
  1264. }
  1265. a.term-link, a.articles-link{
  1266. // outline: 1px solid blue;
  1267. pointer-events: all;
  1268. background-color: #fff;
  1269. padding-right: 0.4em;
  1270. &:before{
  1271. content: "";
  1272. display:inline-block;
  1273. $sq:7px;
  1274. width: $sq; height:$sq;
  1275. border: 1px solid #000;
  1276. background-color: #000;
  1277. margin-right: 0.5em;
  1278. transition: background-color 0.1s ease-in-out;
  1279. }
  1280. &.articles-link{
  1281. margin-left: 2em;
  1282. text-transform: capitalize;
  1283. }
  1284. }
  1285. .entree-content{
  1286. display: inline-block;
  1287. // outline: 1px solid green;
  1288. width:0;
  1289. overflow: hidden;
  1290. opacity: 0;
  1291. transition: all 300ms ease-in-out;
  1292. transition-property: width,opacity;
  1293. span.oblique-wrapper:first-of-type{
  1294. margin-left: 0.5em;
  1295. }
  1296. span.oblique-wrapper a{
  1297. text-transform: none;
  1298. pointer-events: auto;
  1299. &:before{
  1300. content: "";
  1301. display:inline-block;
  1302. $sq:5px;
  1303. width: $sq; height:$sq;
  1304. border: 1px solid #000;
  1305. margin-right: 0.5em;
  1306. }
  1307. }
  1308. .term-description{
  1309. display: inline-block;
  1310. margin-left: 1.5em;
  1311. text-align: left;
  1312. width:250px;
  1313. word-wrap:break-word;
  1314. // word-break:break-all;
  1315. hyphens: auto;
  1316. white-space: normal;
  1317. background-color: $transparent-bg;
  1318. padding:0.5em;
  1319. padding-bottom:0;
  1320. p{
  1321. font-size: 0.65em;
  1322. margin:0;
  1323. }
  1324. }
  1325. }
  1326. // TODO: replace variable system by attribute color
  1327. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1328. // border-color: attr(color);
  1329. // background-color: attr(color);
  1330. // }
  1331. &[tid='134']{
  1332. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1333. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  1334. &[tid='121']{
  1335. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1336. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  1337. &[tid='125']{
  1338. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1339. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  1340. &[tid='119']{
  1341. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1342. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  1343. &[tid='132']{
  1344. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1345. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  1346. &[tid='122']{
  1347. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1348. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  1349. &[tid='129']{
  1350. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1351. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  1352. &[tid='120']{
  1353. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1354. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  1355. &[tid='130']{
  1356. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1357. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  1358. &[tid='118']{
  1359. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1360. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  1361. &[tid='127']{
  1362. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1363. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  1364. &[tid='133']{
  1365. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1366. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  1367. &[tid='128']{
  1368. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1369. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  1370. &[tid='124']{
  1371. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1372. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  1373. &[tid='116']{
  1374. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1375. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  1376. &[tid='117']{
  1377. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1378. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  1379. &[tid='131']{
  1380. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1381. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  1382. &[tid='126']{
  1383. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1384. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  1385. &[tid='123']{
  1386. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1387. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  1388. // &.highlighted{
  1389. // a.term_link{
  1390. // color: red;
  1391. // }
  1392. // }
  1393. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  1394. a.articles-link:not(:hover):not(.is-active):before{
  1395. background-color: #fff!important;
  1396. }
  1397. &:not(.opened){
  1398. a.term-link:not(:hover):not(.highlighted):before{
  1399. background-color: #fff!important;
  1400. }
  1401. }
  1402. &.opened{
  1403. // outline: 1px solid purple;
  1404. a.term-link:after {
  1405. content: '';
  1406. position: absolute;
  1407. left: 15px; right:0;
  1408. bottom: -3px;
  1409. border-bottom: 1px solid grey;
  1410. }
  1411. .entree-content{
  1412. width:350px;
  1413. opacity: 1;
  1414. }
  1415. }
  1416. // &:not(:first-of-type) .entree-content{display: none;}
  1417. }
  1418. }
  1419. }
  1420. $icons_w:20px;
  1421. @mixin iconlinkblock($bgimgurl) {
  1422. pointer-events: all;
  1423. margin-left: 0.5em;
  1424. a{
  1425. $wh:$icons_w;
  1426. display: block;
  1427. width:$wh; height:$wh;
  1428. text-indent: $wh*2;
  1429. margin: 0;
  1430. overflow: hidden;
  1431. mask-image: $bgimgurl;
  1432. mask-size: contain;
  1433. background-color: #000;
  1434. transition: background-color 0.3s ease-in-out;
  1435. cursor: pointer;
  1436. &.is-active{
  1437. background-color: red;
  1438. }
  1439. }
  1440. }
  1441. #block-studiolinkblock{
  1442. margin-bottom: 1em;
  1443. @include iconlinkblock(url(../img/studio.svg));
  1444. }
  1445. .block.random-player{
  1446. margin-bottom: 1em;
  1447. @include iconlinkblock(url(../img/random.svg));
  1448. }
  1449. #block-userlogin{
  1450. margin-bottom: 1em;
  1451. pointer-events: all;
  1452. // outline: 1px solid blue;
  1453. $wh:$icons_w;
  1454. position: relative;
  1455. width:$wh; height: $wh;
  1456. // background-color: blue;
  1457. h2{
  1458. position: relative;
  1459. width:$wh; height:$wh;
  1460. background-image: url(../img/studio.svg);
  1461. // background-color: red;
  1462. background-size: contain;
  1463. text-indent: $wh*2;
  1464. margin: 0;
  1465. overflow: hidden;
  1466. z-index: 1;
  1467. cursor: pointer;
  1468. }
  1469. .block-content{
  1470. z-index: 0;
  1471. position:absolute;
  1472. right:0;bottom:$wh;
  1473. padding:0.5em;
  1474. padding-bottom: 20px;
  1475. background-color: $transparent-bg;
  1476. border-top: 1px solid red;
  1477. border-bottom: 1px solid red;
  1478. overflow: hidden;
  1479. box-sizing:border-box;
  1480. height: 0px;
  1481. opacity:0;
  1482. pointer-events:none;
  1483. transition: all 0.5s ease-in-out;
  1484. transition-property: height,opacity;
  1485. // &:hover{
  1486. // height:200px;
  1487. // opacity:1;
  1488. // pointer-events: auto;
  1489. // }
  1490. form{
  1491. font-size: 0.75em;
  1492. }
  1493. .item-list{
  1494. ul{margin:0;}
  1495. li{
  1496. margin:0;
  1497. list-style: none;
  1498. a{
  1499. color: inherit;
  1500. text-decoration: none;
  1501. font-size: 0.75em;
  1502. white-space:nowrap;
  1503. }
  1504. }
  1505. }
  1506. }
  1507. &:hover{
  1508. .block-content{
  1509. height:200px;
  1510. opacity: 1;
  1511. pointer-events:auto;
  1512. }
  1513. }
  1514. }
  1515. #block-edlpsearchlinkblock{
  1516. margin-bottom: 1em;
  1517. @include iconlinkblock(url(../img/search.svg));
  1518. margin-left: 0.2em;
  1519. }
  1520. }
  1521. // _ _ _ ___
  1522. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1523. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1524. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1525. // |_| |_|
  1526. .node-popup{
  1527. .inner{
  1528. position: relative;
  1529. .entrees{
  1530. span{
  1531. @include entrie-micro-square;
  1532. }
  1533. }
  1534. .title{
  1535. margin:0.3em 0;
  1536. font-size: 1.2em;
  1537. font-weight: 500;
  1538. }
  1539. .description{
  1540. p{
  1541. margin:0;
  1542. font-size: 0.75em;
  1543. }
  1544. }
  1545. .chutier-icon{
  1546. position:absolute;
  1547. top:1em; right:1em;
  1548. }
  1549. }
  1550. }
  1551. // __ ___ _ ___ _ _ _
  1552. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  1553. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  1554. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  1555. // complete rewrite of url_to_video_filter css
  1556. .url-to-video-container{
  1557. // display:block;
  1558. margin:10px auto;
  1559. // width:100%;
  1560. &.no-js{
  1561. border:solid black 1px;
  1562. .loader{
  1563. // background:url(../images/no-js.png) no-repeat center center;
  1564. // background-size:40px 40px;
  1565. }
  1566. .url-to-video-player{
  1567. cursor:auto;
  1568. }
  1569. }
  1570. .loader{
  1571. // top:240px;
  1572. // left:50%;
  1573. // transform:translate(-50%, -50%);
  1574. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  1575. top:auto; left: auto;
  1576. transform: none;
  1577. }
  1578. span.url-to-video-player{
  1579. // display:block;
  1580. // width:100%;
  1581. /* assuming that the video has a 16:9 ratio */
  1582. // padding-bottom:56.25%;
  1583. padding-bottom:0;
  1584. // overflow:hidden;
  1585. // position:relative;
  1586. // width:100%;
  1587. // height:100%;
  1588. height:auto;
  1589. // cursor:hand;
  1590. // cursor:pointer;
  1591. // display: block;
  1592. &:before{
  1593. content: "";
  1594. display: block;
  1595. /* assuming that the video has a 16:9 ratio */
  1596. padding-top: 56.25%;
  1597. }
  1598. img.player-thumb
  1599. {
  1600. // background-position:center center;
  1601. // background-size:cover;
  1602. // position: absolute;
  1603. // top: 0;
  1604. // left: 0;
  1605. // width: 100%;
  1606. // height: 100%;
  1607. // cursor:pointer;
  1608. }
  1609. .play-button
  1610. {
  1611. z-index: 5;
  1612. // height:40px;
  1613. // width:40px;
  1614. // display:block;
  1615. // background:url(../images/play-button.png) no-repeat center center;
  1616. // background-size:40px 40px;
  1617. // position:absolute;
  1618. // top:240px;
  1619. top:50%;
  1620. // left:50%;
  1621. // transform:translate(-50%, -50%);
  1622. // cursor:pointer;
  1623. }
  1624. iframe.player-iframe
  1625. {
  1626. // width:100%;
  1627. // height:100%;
  1628. // position:absolute;
  1629. // top:0;
  1630. // left:0;
  1631. }
  1632. }
  1633. }