app.scss 50 KB

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