app.scss 42 KB

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