app.scss 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190
  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--wrapper{
  1112. legend{
  1113. cursor: pointer;
  1114. display: block;
  1115. width:100%;
  1116. &:after{
  1117. content: '\2304';
  1118. font-size: 2em;
  1119. font-weight: 200;
  1120. display:inline-block;
  1121. line-height: 0;
  1122. letter-spacing: 0;
  1123. // width:15px;
  1124. height:13px;
  1125. overflow: hidden;
  1126. // text-align: center;
  1127. // outline: 1px solid orange;
  1128. float: right;
  1129. margin-top: 0.5em 0 0 0;
  1130. }
  1131. }
  1132. #edit-entries{
  1133. overflow: hidden;
  1134. height:1px;
  1135. margin:0;
  1136. transition: height 0.4s ease-in-out;
  1137. }
  1138. &.opened{
  1139. legend:after{
  1140. // content: '\2303';
  1141. transform: rotateZ(180deg);
  1142. transform-origin: center;
  1143. margin-top: 0 0 0.5em 0;
  1144. }
  1145. #edit-entries{
  1146. height:362px;
  1147. }
  1148. }
  1149. }
  1150. #edit-entries{
  1151. .form-item{
  1152. label, input{
  1153. display: inline-block;
  1154. vertical-align: middle;
  1155. }
  1156. label{
  1157. font-size: 0.756em;
  1158. }
  1159. input[type="checkbox"]{
  1160. appearance:none;
  1161. $w:10px;
  1162. width:$w; height:$w;
  1163. border: 1px double black;
  1164. background-color: white;
  1165. &:checked{
  1166. background-color: black;
  1167. }
  1168. &[value='134']{
  1169. border-color: var(--e-col-134);
  1170. &:checked{background-color: var(--e-col-134);}
  1171. }
  1172. &[value='121']{
  1173. border-color: var(--e-col-121);
  1174. &:checked{background-color: var(--e-col-121);}
  1175. }
  1176. &[value='125']{
  1177. border-color: var(--e-col-125);
  1178. &:checked{background-color: var(--e-col-125);}
  1179. }
  1180. &[value='119']{
  1181. border-color: var(--e-col-119);
  1182. &:checked{background-color: var(--e-col-119);}
  1183. }
  1184. &[value='132']{
  1185. border-color: var(--e-col-132);
  1186. &:checked{background-color: var(--e-col-132);}
  1187. }
  1188. &[value='122']{
  1189. border-color: var(--e-col-122);
  1190. &:checked{background-color: var(--e-col-122);}
  1191. }
  1192. &[value='129']{
  1193. border-color: var(--e-col-129);
  1194. &:checked{background-color: var(--e-col-129);}
  1195. }
  1196. &[value='120']{
  1197. border-color: var(--e-col-120);
  1198. &:checked{background-color: var(--e-col-120);}
  1199. }
  1200. &[value='130']{
  1201. border-color: var(--e-col-130);
  1202. &:checked{background-color: var(--e-col-130);}
  1203. }
  1204. &[value='118']{
  1205. border-color: var(--e-col-118);
  1206. &:checked{background-color: var(--e-col-118);}
  1207. }
  1208. &[value='127']{
  1209. border-color: var(--e-col-127);
  1210. &:checked{background-color: var(--e-col-127);}
  1211. }
  1212. &[value='133']{
  1213. border-color: var(--e-col-133);
  1214. &:checked{background-color: var(--e-col-133);}
  1215. }
  1216. &[value='128']{
  1217. border-color: var(--e-col-128);
  1218. &:checked{background-color: var(--e-col-128);}
  1219. }
  1220. &[value='124']{
  1221. border-color: var(--e-col-124);
  1222. &:checked{background-color: var(--e-col-124);}
  1223. }
  1224. &[value='116']{
  1225. border-color: var(--e-col-116);
  1226. &:checked{background-color: var(--e-col-116);}
  1227. }
  1228. &[value='117']{
  1229. border-color: var(--e-col-117);
  1230. &:checked{background-color: var(--e-col-117);}
  1231. }
  1232. &[value='131']{
  1233. border-color: var(--e-col-131);
  1234. &:checked{background-color: var(--e-col-131);}
  1235. }
  1236. &[value='126']{
  1237. border-color: var(--e-col-126);
  1238. &:checked{background-color: var(--e-col-126);}
  1239. }
  1240. &[value='123']{
  1241. border-color: var(--e-col-123);
  1242. &:checked{background-color: var(--e-col-123);}
  1243. }
  1244. }
  1245. }
  1246. }
  1247. input[type="submit"]{
  1248. font-size: 0.756em;
  1249. padding:0.1em;
  1250. margin:1em 0 0 0;
  1251. float:right;
  1252. opacity: 1;
  1253. transition: opacity 0.3s ease-in-out;
  1254. }
  1255. &.ajax-loading input[type="submit"]{
  1256. opacity:0.2;
  1257. pointer-events: none;
  1258. }
  1259. }
  1260. .col[theme="edlp_search_results"]{
  1261. opacity: 1;
  1262. transition: opacity 0.3s ease-in-out;
  1263. &.ajax-loading{
  1264. opacity:0.2;
  1265. }
  1266. article.node{
  1267. &:first-of-type{
  1268. margin-top: 1em!important;
  1269. }
  1270. .entrees{
  1271. @include entree-micro-square;
  1272. }
  1273. h2.node-title{
  1274. margin:0 0 0.3em 0;
  1275. // font-size: 0.8em;
  1276. // font-weight: 500;
  1277. // text-transform: none;
  1278. }
  1279. // .description{
  1280. // p{
  1281. // margin:0;
  1282. // font-size: 0.75em;
  1283. // }
  1284. // }
  1285. }
  1286. }
  1287. // _ _ _ _ _
  1288. // /_\ (_)__ ___ __ | \| |___ __| |___
  1289. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  1290. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  1291. // |__/
  1292. // body.path-edlp-node main{
  1293. // main .col>.wrapper, .edlp-ajax-node{
  1294. // height: 100%;
  1295. // }
  1296. // }
  1297. // _ _
  1298. // /_\ __ _ ___ _ _ __| |__ _
  1299. // / _ \/ _` / -_) ' \/ _` / _` |
  1300. // /_/ \_\__, \___|_||_\__,_\__,_|
  1301. // |___/
  1302. body.path-agenda main .col{
  1303. &>.wrapper{
  1304. height:100%;
  1305. }
  1306. }
  1307. .agenda{
  1308. // position: relative;
  1309. // white-space: nowrap;
  1310. // height: 100%;
  1311. // >*{
  1312. // white-space: normal;
  1313. // }
  1314. // div.column{
  1315. // display: inline-block;
  1316. // vertical-align: top;
  1317. // height:100%;
  1318. // }
  1319. // div.next-event{
  1320. // width:65%;
  1321. // }
  1322. // div.future-past-events{
  1323. // width:33%;
  1324. // }
  1325. ul,li{
  1326. margin:0; padding:0;
  1327. list-style: none;
  1328. }
  1329. }
  1330. // _ _
  1331. // | || |___ _ __ ___
  1332. // | __ / _ \ ' \/ -_)
  1333. // |_||_\___/_|_|_\___|
  1334. // ___ _ _ _
  1335. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  1336. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  1337. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  1338. body.path-frontpage, body.path-productions{
  1339. .layout-content .row{
  1340. white-space: normal;
  1341. min-height: 100%;
  1342. .grid{
  1343. position: relative;
  1344. min-height: 100%; max-height: 100%;
  1345. }
  1346. .col{
  1347. height:auto;
  1348. opacity:1;
  1349. transition: opacity 0.5s ease-in-out;
  1350. &.offfield{
  1351. opacity: 0;
  1352. }
  1353. &.col-2:last-child{
  1354. padding-left: 0em;
  1355. padding-right: 1em;
  1356. }
  1357. >.wrapper{
  1358. margin-bottom: 1em;
  1359. padding:0;
  1360. >*{padding:0;}
  1361. article.node{
  1362. .field--name-field-visuel{
  1363. a,img{
  1364. display: block;
  1365. width: 100%; height:auto;
  1366. }
  1367. }
  1368. header{
  1369. background-color: rgba(255,255,255,0.95);
  1370. box-sizing: border-box;
  1371. width: 100%;
  1372. padding:0.5em 1em;
  1373. h2.node-title{
  1374. margin:0;
  1375. @include content_titles;
  1376. }
  1377. // p{margin: 0;}
  1378. }
  1379. &.node--view-mode-image-2-columns{
  1380. header{
  1381. position: absolute;
  1382. bottom: 0; left:0;
  1383. h2.node-title{
  1384. @include content_big_titles;
  1385. }
  1386. }
  1387. }
  1388. // &.node--view-mode-image-1-columns{
  1389. // h2.node-title{
  1390. // // font-size: 1em;
  1391. // // font-weight: 500;
  1392. // }
  1393. // }
  1394. &.node--view-mode-text-1-column{
  1395. padding:0 1em;
  1396. }
  1397. }
  1398. }
  1399. }
  1400. }
  1401. }
  1402. // ___ _
  1403. // | __|__ ___| |_ ___ _ _
  1404. // | _/ _ \/ _ \ _/ -_) '_|
  1405. // |_|\___/\___/\__\___|_|
  1406. @mixin oblique-list {
  1407. display: inline-block;
  1408. position: relative;
  1409. list-style: none;
  1410. margin: 0 1.5em 0 0;
  1411. // width:2em; height:10em;
  1412. padding: 0;
  1413. a{
  1414. position: absolute;
  1415. bottom: 0;
  1416. transform-origin: left bottom;
  1417. transform: rotateZ(-45deg);
  1418. color: #000;
  1419. text-decoration: none;
  1420. text-transform: uppercase;
  1421. font-size: 0.756em;
  1422. white-space: nowrap;
  1423. }
  1424. }
  1425. footer{
  1426. position: relative;
  1427. pointer-events: none;
  1428. // outline: 1px dotted blue;
  1429. >.wrapper{
  1430. white-space: nowrap;
  1431. // height:100%;
  1432. >.region{
  1433. // height:100%;
  1434. // display: table-cell;
  1435. display: inline-block;
  1436. vertical-align: baseline;
  1437. white-space:normal;
  1438. // pointer-events: none;
  1439. // outline: 1px dotted purple;
  1440. // position: relative;
  1441. >*{
  1442. display: inline-block; vertical-align: bottom;
  1443. }
  1444. }
  1445. .region-footer-left{
  1446. // float:left;
  1447. width:12%;
  1448. // min-width:50px;
  1449. text-align: left;
  1450. }
  1451. .region-footer-center{
  1452. // float: none;
  1453. width: 72%;
  1454. overflow:hidden;
  1455. text-align: center;
  1456. }
  1457. .region-footer-right{
  1458. // float:right;
  1459. min-width:12%;
  1460. // min-width: 50px;
  1461. text-align: right;
  1462. }
  1463. @media only screen and (max-width: 1270px) {
  1464. .region-footer-left{
  1465. width:9%;
  1466. }
  1467. .region-footer-center{
  1468. width: 80%;
  1469. overflow:hidden;
  1470. text-align: center;
  1471. }
  1472. .region-footer-right{
  1473. box-sizing: content-box;
  1474. min-width:5%;
  1475. }
  1476. }
  1477. }
  1478. #block-footer{
  1479. display: inline-block;
  1480. margin-bottom: 1em;
  1481. ul{
  1482. margin:0;
  1483. padding:0;
  1484. white-space: nowrap;
  1485. li{
  1486. pointer-events: all;
  1487. // @include oblique-list;
  1488. display: inline-block;
  1489. &:first-of-type{
  1490. margin-left: 1em;
  1491. }
  1492. a{
  1493. font-size: 0.756em;
  1494. @include btn;
  1495. &:before{
  1496. content: "";
  1497. display:inline-block;
  1498. $sq:7px;
  1499. width: $sq; height:$sq;
  1500. border: 1px solid black;
  1501. margin-right: 0.5em;
  1502. }
  1503. &:hover:before,
  1504. &.is-active:before{
  1505. background-color: black;
  1506. }
  1507. &.ajax-loading:before{
  1508. @include spining-loader-square;
  1509. }
  1510. }
  1511. }
  1512. }
  1513. @media only screen and (max-width: 1270px) {
  1514. margin-top: 15px;
  1515. ul{
  1516. li{
  1517. display: block;
  1518. margin-left: 0!important;
  1519. padding:0;
  1520. line-height: 0.6;
  1521. a{
  1522. @include content_petit;
  1523. padding:0;
  1524. }
  1525. }
  1526. }
  1527. }
  1528. }
  1529. // remove #block-productions from selector
  1530. // to enable again oblique style for all block-menu
  1531. nav#block-productions.block-menu{
  1532. display: inline-block;
  1533. ul{
  1534. margin:0;
  1535. padding:0;
  1536. li{
  1537. pointer-events: all;
  1538. @include oblique-list;
  1539. &:first-of-type{
  1540. margin-left: 1em;
  1541. }
  1542. a{
  1543. @include btn;
  1544. &:before{
  1545. content: "";
  1546. display:inline-block;
  1547. $sq:7px;
  1548. width: $sq; height:$sq;
  1549. border: 1px solid black;
  1550. margin-right: 0.5em;
  1551. }
  1552. &:hover:before,
  1553. &.is-active:before{
  1554. background-color: black;
  1555. }
  1556. &.ajax-loading:before{
  1557. @include spining-loader-square;
  1558. }
  1559. }
  1560. }
  1561. }
  1562. }
  1563. // .block-language{
  1564. // display: inline-block;
  1565. // position: relative;
  1566. // ul{
  1567. // position: absolute;
  1568. // bottom:0;
  1569. // margin:0;
  1570. // padding:0;
  1571. // transform-origin: left bottom;
  1572. // transform: rotateZ(-45deg);
  1573. // white-space: nowrap;
  1574. // pointer-events: all;
  1575. // li{
  1576. // margin:0; padding:0;
  1577. // list-style: none;
  1578. // display: inline-block;
  1579. // &:last-of-type{
  1580. // &:before{
  1581. // content:"/";
  1582. // margin:0 0.2em;
  1583. // }
  1584. // }
  1585. // a{
  1586. // color: inherit;
  1587. // text-decoration: none;
  1588. // font-size: 0.756em;
  1589. // }
  1590. // &.is-active{
  1591. // a{color: red;}
  1592. // }
  1593. // }
  1594. // }
  1595. // }
  1596. nav#block-productions.block-menu{
  1597. position: relative;
  1598. pointer-events: none;
  1599. display:none;
  1600. body.path-productions &, body.entity-type-node.bundle-page & {display:inline-block;}
  1601. ul{
  1602. margin-left: -3em;
  1603. white-space: nowrap;
  1604. li{
  1605. height:200px; // this is needed to respect the height of oblique links :(
  1606. a{
  1607. // outline: 1px solid blue;
  1608. pointer-events: all;
  1609. @include btn;
  1610. padding-right: 0.4em;
  1611. &:before{
  1612. content: "";
  1613. display:inline-block;
  1614. $sq:7px;
  1615. width: $sq; height:$sq;
  1616. border: 1px solid red;
  1617. margin-right: 0.5em;
  1618. }
  1619. &:hover:before,
  1620. &.is-active:before,
  1621. &.is-active-trail:before{
  1622. background-color: red;
  1623. }
  1624. &.ajax-loading:before{
  1625. @include spining-loader-square;
  1626. }
  1627. }
  1628. }
  1629. }
  1630. }
  1631. .block-block-edlp-entrees{
  1632. pointer-events: none;
  1633. body.path-productions &,
  1634. body.entity-type-node.bundle-page &,
  1635. body.path-agenda & {display:none}
  1636. display: inline-block;
  1637. // vertical-align: top;
  1638. div.item-list{
  1639. ul{
  1640. margin:0;
  1641. white-space: nowrap;
  1642. li{
  1643. @include oblique-list;
  1644. margin:0;
  1645. white-space: nowrap;
  1646. pointer-events: none;
  1647. span.oblique-wrapper{
  1648. height:120px; // this is needed to respect the height of oblique links :(
  1649. display: inline-block;
  1650. vertical-align: bottom;
  1651. position: relative;
  1652. width:1.5em;
  1653. }
  1654. a.term-link, a.articles-link{
  1655. // outline: 1px solid blue;
  1656. pointer-events: all;
  1657. // background-color: #fff;
  1658. // background-color: rgba(255,255,255, 0.6);
  1659. @include btn;
  1660. padding-right: 0.4em;
  1661. color:black;
  1662. transition: color 0.3s ease-in-out;
  1663. &:before{
  1664. content: "";
  1665. display:inline-block;
  1666. $sq:7px;
  1667. width: $sq; height:$sq;
  1668. border: 1px solid #000;
  1669. background-color: #000;
  1670. margin-right: 0.5em;
  1671. transition: background-color 0.1s ease-in-out;
  1672. }
  1673. &.articles-link{
  1674. margin-left: 4em;
  1675. text-transform: capitalize;
  1676. }
  1677. }
  1678. .entree-content{
  1679. display: inline-block;
  1680. // outline: 1px solid green;
  1681. width:0;
  1682. overflow: hidden;
  1683. opacity: 0;
  1684. transition: all 300ms ease-in-out;
  1685. transition-property: width,opacity;
  1686. span.oblique-wrapper:first-of-type{
  1687. margin-left: 0.5em;
  1688. }
  1689. span.oblique-wrapper a{
  1690. text-transform: none;
  1691. pointer-events: auto;
  1692. &:before{
  1693. content: "";
  1694. display:inline-block;
  1695. $sq:5px;
  1696. width: $sq; height:$sq;
  1697. border: 1px solid #000;
  1698. margin-right: 0.5em;
  1699. }
  1700. &.ajax-loading:before{
  1701. @include spining-loader-square;
  1702. }
  1703. }
  1704. .term-description{
  1705. display: inline-block;
  1706. margin-left: 1.5em;
  1707. text-align: left;
  1708. width:250px;
  1709. word-wrap:break-word;
  1710. // word-break:break-all;
  1711. hyphens: auto;
  1712. white-space: normal;
  1713. background-color: $transparent-bg;
  1714. padding:0.5em;
  1715. padding-bottom:0;
  1716. p{
  1717. font-size: 0.65em;
  1718. margin:0;
  1719. }
  1720. }
  1721. }
  1722. // TODO: replace variable system by attribute color
  1723. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1724. // border-color: attr(color);
  1725. // background-color: attr(color);
  1726. // }
  1727. &[tid='134']{
  1728. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1729. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  1730. &[tid='121']{
  1731. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1732. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  1733. &[tid='125']{
  1734. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1735. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  1736. &[tid='119']{
  1737. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1738. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  1739. &[tid='132']{
  1740. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1741. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  1742. &[tid='122']{
  1743. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1744. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  1745. &[tid='129']{
  1746. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1747. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  1748. &[tid='120']{
  1749. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1750. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  1751. &[tid='130']{
  1752. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1753. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  1754. &[tid='118']{
  1755. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1756. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  1757. &[tid='127']{
  1758. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1759. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  1760. &[tid='133']{
  1761. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1762. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  1763. &[tid='128']{
  1764. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1765. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  1766. &[tid='124']{
  1767. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1768. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  1769. &[tid='116']{
  1770. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1771. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  1772. &[tid='117']{
  1773. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1774. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  1775. &[tid='131']{
  1776. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1777. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  1778. &[tid='126']{
  1779. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1780. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  1781. &[tid='123']{
  1782. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1783. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  1784. // &.highlighted{
  1785. // a.term_link{
  1786. // color: red;
  1787. // }
  1788. // }
  1789. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  1790. a.articles-link:not(:hover):not(.is-active):before{
  1791. background-color: #fff!important;
  1792. }
  1793. &:not(.opened):not(.highlighted){
  1794. a.term-link:not(:hover):before{
  1795. background-color: #fff!important;
  1796. }
  1797. }
  1798. &.opened{
  1799. // outline: 1px solid purple;
  1800. a.term-link:after {
  1801. content: '';
  1802. position: absolute;
  1803. left: 15px; right:0;
  1804. bottom: -3px;
  1805. border-bottom: 1px solid grey;
  1806. }
  1807. .entree-content{
  1808. width:350px;
  1809. opacity: 1;
  1810. }
  1811. }
  1812. // &:not(:first-of-type) .entree-content{display: none;}
  1813. }
  1814. }
  1815. &.opened, &.highlighted{
  1816. li:not(.opened):not(.highlighted):not(:hover){
  1817. a.term-link{
  1818. color:#a1a1a1;
  1819. }
  1820. }
  1821. }
  1822. }
  1823. }
  1824. $icons_w:20px;
  1825. @mixin iconlinkblock($bgimgurl) {
  1826. pointer-events: all;
  1827. margin-left: 0.5em;
  1828. // @include btn;
  1829. a{
  1830. box-sizing: border-box;
  1831. $wh:$icons_w;
  1832. display: block;
  1833. width:$wh; height:$wh;
  1834. text-indent: $wh*2;
  1835. margin: 0;
  1836. overflow: hidden;
  1837. mask-image: $bgimgurl;
  1838. mask-size: contain;
  1839. background-color: #000;
  1840. transition: background-color 0.3s ease-in-out;
  1841. cursor: pointer;
  1842. &.is-active{
  1843. background-color: red;
  1844. }
  1845. }
  1846. }
  1847. .block.random-player{
  1848. margin-bottom: 1em;
  1849. @include iconlinkblock(url(../img/random.svg));
  1850. }
  1851. #block-studiolinkblock{
  1852. margin-bottom: 1em;
  1853. margin-left: 0.2em;
  1854. @include iconlinkblock(url(../img/studio.svg));
  1855. }
  1856. #block-userlogin{
  1857. margin-bottom: 1em;
  1858. pointer-events: all;
  1859. margin-left: 0.2em;
  1860. $wh:$icons_w;
  1861. position: relative;
  1862. // box-sizing: border-box;
  1863. width:$wh; height: $wh;
  1864. h2{
  1865. box-sizing: content-box;
  1866. // @include btn;
  1867. // padding:0;
  1868. position: relative;
  1869. width:$wh; height:$wh;
  1870. background-image: url(../img/studio.svg);
  1871. // background-color: red;
  1872. background-size: contain;
  1873. text-indent: $wh*2;
  1874. margin: 0;
  1875. overflow: hidden;
  1876. z-index: 1;
  1877. cursor: pointer;
  1878. }
  1879. .block-content{
  1880. z-index: 0;
  1881. position:absolute;
  1882. right:0;bottom:$wh;
  1883. padding:0.5em;
  1884. padding-bottom: 20px;
  1885. background-color: $transparent-bg;
  1886. border-top: 1px solid red;
  1887. border-bottom: 1px solid red;
  1888. overflow: hidden;
  1889. box-sizing:border-box;
  1890. height: 0px;
  1891. opacity:0;
  1892. pointer-events:none;
  1893. transition: all 0.5s ease-in-out;
  1894. transition-property: height,opacity;
  1895. // &:hover{
  1896. // height:200px;
  1897. // opacity:1;
  1898. // pointer-events: auto;
  1899. // }
  1900. form{
  1901. font-size: 0.75em;
  1902. }
  1903. .item-list{
  1904. ul{margin:0;}
  1905. li{
  1906. margin:0;
  1907. list-style: none;
  1908. a{
  1909. color: inherit;
  1910. text-decoration: none;
  1911. font-size: 0.75em;
  1912. white-space:nowrap;
  1913. }
  1914. }
  1915. }
  1916. }
  1917. &:hover{
  1918. .block-content{
  1919. height:200px;
  1920. opacity: 1;
  1921. pointer-events:auto;
  1922. }
  1923. }
  1924. }
  1925. #block-edlpsearchlinkblock{
  1926. margin-bottom: 1em;
  1927. @include iconlinkblock(url(../img/search.svg));
  1928. margin-left: 0.2em;
  1929. }
  1930. }
  1931. // _ _ _ ___
  1932. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1933. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1934. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1935. // |_| |_|
  1936. .node-popup{
  1937. .inner{
  1938. position: relative;
  1939. .entrees{
  1940. @include entree-micro-square;
  1941. }
  1942. .title{
  1943. margin:0.2em 0 0;
  1944. // margin:0.3em 0;
  1945. font-size: 0.9em;
  1946. font-weight: 600;
  1947. }
  1948. .description{
  1949. p{
  1950. margin:0;
  1951. font-size: 0.756em;
  1952. }
  1953. }
  1954. .chutier-icon{
  1955. &[action="add"]{
  1956. display:none;
  1957. }
  1958. position:absolute;
  1959. top:0.4em; right:0.4em;
  1960. }
  1961. }
  1962. }
  1963. // __ ___ _ ___ _ _ _
  1964. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  1965. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  1966. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  1967. // complete rewrite of url_to_video_filter css
  1968. .url-to-video-container{
  1969. // display:block;
  1970. margin:10px auto;
  1971. // width:100%;
  1972. &.no-js{
  1973. border:solid black 1px;
  1974. .loader{
  1975. // background:url(../images/no-js.png) no-repeat center center;
  1976. // background-size:40px 40px;
  1977. }
  1978. .url-to-video-player{
  1979. cursor:auto;
  1980. }
  1981. }
  1982. .loader{
  1983. // top:240px;
  1984. // left:50%;
  1985. // transform:translate(-50%, -50%);
  1986. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  1987. top:auto; left: auto;
  1988. transform: none;
  1989. }
  1990. span.url-to-video-player{
  1991. // display:block;
  1992. // width:100%;
  1993. /* assuming that the video has a 16:9 ratio */
  1994. // padding-bottom:56.25%;
  1995. padding-bottom:0;
  1996. // overflow:hidden;
  1997. // position:relative;
  1998. // width:100%;
  1999. // height:100%;
  2000. height:auto;
  2001. // cursor:hand;
  2002. // cursor:pointer;
  2003. // display: block;
  2004. &:before{
  2005. content: "";
  2006. display: block;
  2007. /* assuming that the video has a 16:9 ratio */
  2008. padding-top: 56.25%;
  2009. }
  2010. img.player-thumb
  2011. {
  2012. // background-position:center center;
  2013. // background-size:cover;
  2014. // position: absolute;
  2015. // top: 0;
  2016. // left: 0;
  2017. // width: 100%;
  2018. // height: 100%;
  2019. // cursor:pointer;
  2020. }
  2021. .play-button
  2022. {
  2023. z-index: 5;
  2024. // height:40px;
  2025. // width:40px;
  2026. // display:block;
  2027. // background:url(../images/play-button.png) no-repeat center center;
  2028. // background-size:40px 40px;
  2029. // position:absolute;
  2030. // top:240px;
  2031. top:50%;
  2032. // left:50%;
  2033. // transform:translate(-50%, -50%);
  2034. // cursor:pointer;
  2035. }
  2036. iframe.player-iframe
  2037. {
  2038. // width:100%;
  2039. // height:100%;
  2040. // position:absolute;
  2041. // top:0;
  2042. // left:0;
  2043. }
  2044. }
  2045. }
  2046. #user-register-form{
  2047. width:29em;
  2048. input{
  2049. @include content_courant;
  2050. }
  2051. label{
  2052. @include content_subtitles;
  2053. display: inline-block;
  2054. width: 16em;
  2055. white-space: normal;
  2056. }
  2057. .form-item{
  2058. white-space: nowrap;
  2059. }
  2060. .description{
  2061. @include content_petit;
  2062. max-width: 100%;
  2063. white-space: normal;
  2064. }
  2065. input[type='email'], input[type='password']{
  2066. width:17em;
  2067. }
  2068. .password-strength, .password-strength__meter{
  2069. width:98%;
  2070. }
  2071. .password-strength__title, .password-confirm{
  2072. @include content_courant;
  2073. }
  2074. }
  2075. #better-messages-default.better-messages-overlay{
  2076. border-radius: 0;
  2077. padding:0.8em;
  2078. box-shadow: 0 2px 10px #716f6f;
  2079. .better-messages-content{
  2080. }
  2081. .better-messages-footer{
  2082. border-top: none;
  2083. .better-messages-close{
  2084. @include content_courant;
  2085. span{
  2086. height:15px; width:15px;
  2087. background-size: contain;
  2088. }
  2089. }
  2090. }
  2091. }