app.scss 42 KB

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