app.scss 48 KB

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