app.scss 50 KB

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