app.scss 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214
  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:1.1em 0 0.4em 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. max-width: calc(100% - 100px);
  676. h3{
  677. // display: inline;
  678. // float: left;
  679. @include content_subtitles;
  680. margin:0;
  681. }
  682. div.item-list{
  683. // float: left;
  684. // display: inline;
  685. max-width: 100%;
  686. }
  687. ul{
  688. // display: inline;
  689. max-width: 100%;
  690. padding:0; margin:0;
  691. li{
  692. padding:0; margin:0;
  693. display: inline-block;
  694. list-style: none;
  695. &:not(:last-of-type){
  696. margin-right:0.4em;
  697. &:after{
  698. content:","
  699. }
  700. }
  701. a{
  702. @include content_courant;
  703. }
  704. }
  705. }
  706. }
  707. }
  708. }
  709. &:hover{
  710. .second-cartel{
  711. opacity: 1;
  712. }
  713. }
  714. article:not(.has-second-cartel){
  715. .second-cartel{
  716. display:none;
  717. }
  718. }
  719. }
  720. }
  721. // ___ _ _ _
  722. // / __| |_ _ _ __| (_)___
  723. // \__ \ _| || / _` | / _ \
  724. // |___/\__|\_,_\__,_|_\___/
  725. .chutier-icon{
  726. $s:1em;
  727. z-index: 1;
  728. display: block;
  729. position: relative;
  730. width:$s;height:$s;
  731. overflow: hidden;
  732. text-indent: 50em;
  733. // background-color: red;
  734. background-position: center;
  735. background-repeat: no-repeat;
  736. background-size: contain;
  737. background-image: url(../img/favori-off.svg);
  738. &[action="remove"]{
  739. background-image: url(../img/favori-on.svg);
  740. }
  741. transition: opacity 0.2s ease-in-out;
  742. &.ajax-loading{
  743. opacity: 0.2;
  744. }
  745. &.not-logedin{
  746. overflow: visible;
  747. }
  748. .popup{
  749. display:none;
  750. position: absolute;
  751. top:0; left:0;
  752. width:300px; height:auto; min-height: 100px;
  753. .inner{
  754. background-color: rgba(255,255,255,0.9);
  755. border: 1px solid red;
  756. text-indent: 0;
  757. padding: 0.5em;
  758. margin:$s*1.2 0 0 $s*1.2;
  759. p{
  760. font-size: 0.756em;
  761. margin:0;
  762. &:not(:last-of-type){
  763. margin: 0 0 0.4em 0;
  764. }
  765. }
  766. }
  767. }
  768. &:hover{
  769. .popup{
  770. display: block;
  771. }
  772. }
  773. }
  774. .row .col .studio-ui-wrapper{
  775. height: 100%;
  776. }
  777. #studio-ui{
  778. height:100%;
  779. @mixin draggable_sortable_field__item {
  780. display: inline-block;
  781. position: relative;
  782. white-space: nowrap;
  783. pointer-events: none;
  784. // margin-right: 25px;
  785. width:25px;
  786. height: 100%;
  787. &.ui-draggable-dragging{
  788. height:100px;
  789. }
  790. opacity: 1;
  791. transition: opacity 0.1s ease-in-out;
  792. &.ready-to-remove{
  793. opacity:0.3;
  794. cursor:crosshair;
  795. }
  796. &>*{
  797. pointer-events: all;
  798. }
  799. article{
  800. // outline: 1px dotted purple;
  801. position: absolute;
  802. bottom:0;
  803. transform-origin: left top;
  804. transform: rotateZ(-45deg);
  805. h2{
  806. margin:0;
  807. text-transform: none;
  808. a{
  809. white-space: nowrap!important;
  810. &:before{
  811. content:"";
  812. display: inline-block;
  813. vertical-align: middle;
  814. width:$compo_square_size; height:$compo_square_size;
  815. border: 1px solid white;
  816. background-color: white;
  817. // TODO: entries color;
  818. }
  819. font-size: 0.756em;
  820. }
  821. }
  822. }
  823. .handler{
  824. z-index: 99;
  825. cursor: grab;
  826. position: absolute;
  827. bottom:0; left:1px;
  828. display: block;
  829. width:$compo_square_size; height:$compo_square_size;
  830. transform-origin: left top;
  831. transform: rotateZ(-45deg);
  832. border: 1px solid red;
  833. background-color: white;
  834. // TODO: entries color;
  835. }
  836. &.is-active .handler{
  837. background-color: red;
  838. }
  839. } // end mixin
  840. .chutier_ui{
  841. height: 50%;
  842. border-bottom: 1px solid red;
  843. position: relative;
  844. &>h2{
  845. z-index: 10;
  846. position: absolute;
  847. width: calc(100% - 20px);
  848. margin: 0;
  849. padding:0.5em 0;
  850. font-size: 1em;
  851. font-weight: 500;
  852. text-transform: uppercase;
  853. // outline: 1px solid orange;
  854. background-color: white;
  855. }
  856. .documents{
  857. padding-top: 35px;
  858. height:calc(100% - 35px);
  859. overflow-y: auto;
  860. overflow-x: hidden;
  861. // box-sizing: content-box;
  862. // outline: 1px solid green;
  863. ul,li{
  864. margin:0; padding:0;
  865. line-height: 1.2;
  866. }
  867. li{
  868. display: inline-block; vertical-align: top;
  869. width:49%; margin-bottom: 0.5em;
  870. white-space: nowrap;
  871. >div{
  872. display:inline-block;
  873. padding-right: 2em;
  874. &.ui-draggable{
  875. cursor:grab;
  876. }
  877. }
  878. .entrees{
  879. @include entree-micro-square;
  880. }
  881. a.audio-link{
  882. text-transform: capitalize;
  883. font-size: 0.756em;
  884. margin-right: 0.5em;
  885. white-space: normal;
  886. }
  887. .chutier-icon{
  888. display: inline-block;
  889. width:0.7em; height:0.7em;
  890. opacity: 0.8;
  891. }
  892. }
  893. }
  894. }
  895. $compo_square_size:12px;
  896. .composition_ui{
  897. height:50%;
  898. &>h2{
  899. z-index: 10;
  900. position: absolute;
  901. width: calc(100% - 20px);
  902. margin: 0;
  903. padding:0.5em 0;
  904. font-size: 1em;
  905. font-weight: 500;
  906. text-transform: uppercase;
  907. // outline: 1px solid orange;
  908. background-color: white;
  909. }
  910. >.wrapper{
  911. padding-top: 35px;
  912. height:calc(100% - 35px);
  913. overflow: hidden;
  914. white-space: nowrap;
  915. section.compositions-list, section.composer{
  916. display: inline-block; vertical-align: bottom;
  917. height: 100%;
  918. }
  919. .compositions-list{
  920. width:30%;
  921. height:100%; // this is not working
  922. overflow-y: auto;
  923. box-sizing: border-box;
  924. padding-right: 0.5em;
  925. border-right: 1px solid #aaa;
  926. li{
  927. opacity: 1;
  928. transition: opacity 0.3s ease-in-out;
  929. &:hover{
  930. a.delete-composition-link{
  931. opacity: 1;
  932. }
  933. }
  934. &.ajax-loading{
  935. opacity: 0.4;
  936. }
  937. }
  938. a{
  939. font-size: 0.756em;
  940. $w:7px;
  941. $s:7px; $m:5px;
  942. &.composition-link{
  943. display: inline-block;
  944. box-sizing: border-box;
  945. // width:100%;
  946. width: calc(100% - #{$w +$s +$m +2});
  947. &:before{
  948. content: "";
  949. width:$w; height:$w;
  950. border: 1px solid black;
  951. background-color: white;
  952. display: inline-block;
  953. vertical-align: middle;
  954. margin-right: $m;
  955. }
  956. &.ajax-loading:before{
  957. @include spining-loader-square;
  958. }
  959. &.is-active:before{
  960. background-color: black;
  961. }
  962. }
  963. &.delete-composition-link{
  964. display: inline-block;
  965. vertical-align: middle;
  966. $s:7px; width:$s; height:$s;
  967. margin-left: $m;
  968. text-indent: 300px; overflow: hidden;
  969. background-image: url('../img/delete.svg');
  970. background-repeat: no-repeat;
  971. background-size: contain;
  972. opacity: 0;
  973. transition: opacity 0.3s ease-in-out;
  974. }
  975. &.new-composition-link{
  976. // padding-left: 1em;
  977. &:before{
  978. content:"+";
  979. // font-weight: bold;
  980. margin-right: $m;
  981. }
  982. display: inline-block;
  983. vertical-align: top;
  984. overflow: hidden;
  985. margin-top: 0.4em;
  986. height:1em;
  987. transition: height 0.2s ease-in-out;
  988. &.folded{
  989. height:0;
  990. }
  991. }
  992. }
  993. .new-compo-form{
  994. input[type="text"]{
  995. font-size: 0.756em;
  996. padding:0 0.5em;
  997. width:calc(100% - 50px);
  998. height:1.7em;
  999. border: none;
  1000. border-top:1px dotted red;
  1001. border-bottom:1px dotted red;
  1002. }
  1003. button{
  1004. background: none;
  1005. border: none;
  1006. font-size: 1em;
  1007. line-height: 1;
  1008. font-weight: bold;
  1009. }
  1010. opacity: 1;
  1011. transition: opacity 0.2s ease-in-out;
  1012. &.ajax-loading{
  1013. opacity: 0.4;
  1014. }
  1015. }
  1016. }
  1017. .composer{
  1018. position: relative;
  1019. box-sizing: border-box;
  1020. padding-left: 0.5em;
  1021. width:69%;
  1022. $header_height:25px;
  1023. $actions_height:25px;
  1024. $padding:5px;
  1025. opacity:1;
  1026. transition: opacity 0.3s ease-in-out;
  1027. &.ajax-loading{
  1028. opacity:0.3;
  1029. }
  1030. >*{
  1031. box-sizing: border-box;
  1032. }
  1033. >header{
  1034. height:$header_height;
  1035. padding-bottom:$padding;
  1036. font-size: 0.756em;
  1037. }
  1038. >.composition{
  1039. position: relative;
  1040. height:calc(100% - #{$header_height + $actions_height + $padding*2});
  1041. // outline: 1px solid red;
  1042. padding-bottom: 1em;
  1043. .field--name-documents{
  1044. position: relative;
  1045. box-sizing: border-box;
  1046. height: 100%;
  1047. width: 100%; padding:0 0.5em;
  1048. $h:29px; $w:calc(100% - 2px); $c:#A1A1A1;
  1049. &:before, &:after{
  1050. content: "";
  1051. width:$w;
  1052. position: absolute;
  1053. bottom:0; left:0;
  1054. // z-index: -1;
  1055. }
  1056. &:before{
  1057. border-top: 1px solid $c;
  1058. height:$h /2;
  1059. }
  1060. &:after{
  1061. border-left: 1px solid $c;
  1062. border-right: 1px solid $c;
  1063. height:$h;
  1064. }
  1065. .field__item{
  1066. @include draggable_sortable_field__item;
  1067. }
  1068. }
  1069. .remove-drop-zone{
  1070. position: absolute;
  1071. top:0; left:0; width:100%; height:45%;
  1072. z-index: 150;
  1073. // &.ui-droppable-hover{
  1074. // background-color: red;
  1075. // }
  1076. }
  1077. }
  1078. >.actions{
  1079. padding-top:$padding;
  1080. height:$actions_height;
  1081. // outline: 1px solid blue;
  1082. .compo-player-controls{
  1083. @include audio_controls;
  1084. }
  1085. }
  1086. }
  1087. }
  1088. }
  1089. // drag and drop specifics
  1090. // created by js
  1091. .field__item.ui-draggable-dragging{
  1092. // outline: 1px solid green;
  1093. @include draggable_sortable_field__item;
  1094. }
  1095. }
  1096. // ___ _
  1097. // / __| ___ __ _ _ _ __| |_
  1098. // \__ \/ -_) _` | '_/ _| ' \
  1099. // |___/\___\__,_|_| \__|_||_|
  1100. .col[theme="edlp_search_search_form"]{
  1101. &, >.wrapper{
  1102. position: relative;
  1103. height:100%;
  1104. }
  1105. }
  1106. #edlp-search-form{
  1107. height:100%;
  1108. .fieldgroup{
  1109. border-bottom: 1px solid red;
  1110. margin-top:1em;
  1111. margin-bottom: 0em;
  1112. legend{
  1113. font-size: 0.9em;
  1114. margin: 0;
  1115. font-weight: 500;
  1116. }
  1117. .fieldset-wrapper{
  1118. padding-bottom: 1em;
  1119. }
  1120. .form-item{
  1121. margin:0;
  1122. }
  1123. }
  1124. input[type="text"], input[type="search"]{
  1125. font-size: 0.8em;
  1126. padding:0.2em; margin:0;
  1127. border: 1px solid #aaa;
  1128. border-radius: 3px;
  1129. width:90%;
  1130. }
  1131. #edit-entries--wrapper{
  1132. legend{
  1133. cursor: pointer;
  1134. display: block;
  1135. width:100%;
  1136. &:after{
  1137. content: '\2304';
  1138. font-size: 2em;
  1139. font-weight: 200;
  1140. display:inline-block;
  1141. line-height: 0;
  1142. letter-spacing: 0;
  1143. // width:15px;
  1144. height:13px;
  1145. overflow: hidden;
  1146. // text-align: center;
  1147. // outline: 1px solid orange;
  1148. float: right;
  1149. margin-top: 0.5em 0 0 0;
  1150. }
  1151. }
  1152. #edit-entries{
  1153. overflow: hidden;
  1154. height:1px;
  1155. margin:0;
  1156. transition: height 0.4s ease-in-out;
  1157. }
  1158. &.opened{
  1159. legend:after{
  1160. // content: '\2303';
  1161. transform: rotateZ(180deg);
  1162. transform-origin: center;
  1163. margin-top: 0 0 0.5em 0;
  1164. }
  1165. #edit-entries{
  1166. height:362px;
  1167. }
  1168. }
  1169. }
  1170. #edit-entries{
  1171. .form-item{
  1172. label, input{
  1173. display: inline-block;
  1174. vertical-align: middle;
  1175. }
  1176. label{
  1177. font-size: 0.756em;
  1178. }
  1179. input[type="checkbox"]{
  1180. appearance:none;
  1181. $w:10px;
  1182. width:$w; height:$w;
  1183. border: 1px double black;
  1184. background-color: white;
  1185. &:checked{
  1186. background-color: black;
  1187. }
  1188. &[value='134']{
  1189. border-color: var(--e-col-134);
  1190. &:checked{background-color: var(--e-col-134);}
  1191. }
  1192. &[value='121']{
  1193. border-color: var(--e-col-121);
  1194. &:checked{background-color: var(--e-col-121);}
  1195. }
  1196. &[value='125']{
  1197. border-color: var(--e-col-125);
  1198. &:checked{background-color: var(--e-col-125);}
  1199. }
  1200. &[value='119']{
  1201. border-color: var(--e-col-119);
  1202. &:checked{background-color: var(--e-col-119);}
  1203. }
  1204. &[value='132']{
  1205. border-color: var(--e-col-132);
  1206. &:checked{background-color: var(--e-col-132);}
  1207. }
  1208. &[value='122']{
  1209. border-color: var(--e-col-122);
  1210. &:checked{background-color: var(--e-col-122);}
  1211. }
  1212. &[value='129']{
  1213. border-color: var(--e-col-129);
  1214. &:checked{background-color: var(--e-col-129);}
  1215. }
  1216. &[value='120']{
  1217. border-color: var(--e-col-120);
  1218. &:checked{background-color: var(--e-col-120);}
  1219. }
  1220. &[value='130']{
  1221. border-color: var(--e-col-130);
  1222. &:checked{background-color: var(--e-col-130);}
  1223. }
  1224. &[value='118']{
  1225. border-color: var(--e-col-118);
  1226. &:checked{background-color: var(--e-col-118);}
  1227. }
  1228. &[value='127']{
  1229. border-color: var(--e-col-127);
  1230. &:checked{background-color: var(--e-col-127);}
  1231. }
  1232. &[value='133']{
  1233. border-color: var(--e-col-133);
  1234. &:checked{background-color: var(--e-col-133);}
  1235. }
  1236. &[value='128']{
  1237. border-color: var(--e-col-128);
  1238. &:checked{background-color: var(--e-col-128);}
  1239. }
  1240. &[value='124']{
  1241. border-color: var(--e-col-124);
  1242. &:checked{background-color: var(--e-col-124);}
  1243. }
  1244. &[value='116']{
  1245. border-color: var(--e-col-116);
  1246. &:checked{background-color: var(--e-col-116);}
  1247. }
  1248. &[value='117']{
  1249. border-color: var(--e-col-117);
  1250. &:checked{background-color: var(--e-col-117);}
  1251. }
  1252. &[value='131']{
  1253. border-color: var(--e-col-131);
  1254. &:checked{background-color: var(--e-col-131);}
  1255. }
  1256. &[value='126']{
  1257. border-color: var(--e-col-126);
  1258. &:checked{background-color: var(--e-col-126);}
  1259. }
  1260. &[value='123']{
  1261. border-color: var(--e-col-123);
  1262. &:checked{background-color: var(--e-col-123);}
  1263. }
  1264. }
  1265. }
  1266. }
  1267. input[type="submit"]{
  1268. font-size: 0.756em;
  1269. padding:0.1em;
  1270. margin:1em 0 0 0;
  1271. float:right;
  1272. opacity: 1;
  1273. transition: opacity 0.3s ease-in-out;
  1274. }
  1275. &.ajax-loading input[type="submit"]{
  1276. opacity:0.2;
  1277. pointer-events: none;
  1278. }
  1279. }
  1280. .col[theme="edlp_search_results"]{
  1281. opacity: 1;
  1282. transition: opacity 0.3s ease-in-out;
  1283. &.ajax-loading{
  1284. opacity:0.2;
  1285. }
  1286. article.node{
  1287. &:first-of-type{
  1288. margin-top: 1em!important;
  1289. }
  1290. .entrees{
  1291. @include entree-micro-square;
  1292. }
  1293. h2.node-title{
  1294. margin:0 0 0.3em 0;
  1295. // font-size: 0.8em;
  1296. // font-weight: 500;
  1297. // text-transform: none;
  1298. }
  1299. // .description{
  1300. // p{
  1301. // margin:0;
  1302. // font-size: 0.75em;
  1303. // }
  1304. // }
  1305. }
  1306. }
  1307. // _ _ _ _ _
  1308. // /_\ (_)__ ___ __ | \| |___ __| |___
  1309. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  1310. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  1311. // |__/
  1312. // body.path-edlp-node main{
  1313. // main .col>.wrapper, .edlp-ajax-node{
  1314. // height: 100%;
  1315. // }
  1316. // }
  1317. // _ _
  1318. // /_\ __ _ ___ _ _ __| |__ _
  1319. // / _ \/ _` / -_) ' \/ _` / _` |
  1320. // /_/ \_\__, \___|_||_\__,_\__,_|
  1321. // |___/
  1322. body.path-agenda main .col{
  1323. &>.wrapper{
  1324. height:100%;
  1325. }
  1326. }
  1327. .agenda{
  1328. // position: relative;
  1329. // white-space: nowrap;
  1330. // height: 100%;
  1331. // >*{
  1332. // white-space: normal;
  1333. // }
  1334. // div.column{
  1335. // display: inline-block;
  1336. // vertical-align: top;
  1337. // height:100%;
  1338. // }
  1339. // div.next-event{
  1340. // width:65%;
  1341. // }
  1342. // div.future-past-events{
  1343. // width:33%;
  1344. // }
  1345. ul,li{
  1346. margin:0; padding:0;
  1347. list-style: none;
  1348. }
  1349. }
  1350. // _ _
  1351. // | || |___ _ __ ___
  1352. // | __ / _ \ ' \/ -_)
  1353. // |_||_\___/_|_|_\___|
  1354. // ___ _ _ _
  1355. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  1356. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  1357. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  1358. body.path-frontpage, body.path-productions{
  1359. .layout-content .row{
  1360. white-space: normal;
  1361. min-height: 100%;
  1362. .grid{
  1363. position: relative;
  1364. min-height: 100%; max-height: 100%;
  1365. }
  1366. .col{
  1367. height:auto;
  1368. opacity:1;
  1369. transition: opacity 0.5s ease-in-out;
  1370. &.offfield{
  1371. opacity: 0;
  1372. }
  1373. &.col-2:last-child{
  1374. padding-left: 0em;
  1375. padding-right: 1em;
  1376. }
  1377. >.wrapper{
  1378. margin-bottom: 1em;
  1379. padding:0;
  1380. >*{padding:0;}
  1381. article.node{
  1382. .field--name-field-visuel{
  1383. a,img{
  1384. display: block;
  1385. width: 100%; height:auto;
  1386. }
  1387. }
  1388. header{
  1389. background-color: rgba(255,255,255,0.95);
  1390. box-sizing: border-box;
  1391. width: 100%;
  1392. padding:0.5em 1em;
  1393. h2.node-title{
  1394. margin:0;
  1395. @include content_titles;
  1396. }
  1397. // p{margin: 0;}
  1398. }
  1399. &.node--view-mode-image-2-columns{
  1400. header{
  1401. position: absolute;
  1402. bottom: 0; left:0;
  1403. h2.node-title{
  1404. @include content_big_titles;
  1405. }
  1406. }
  1407. }
  1408. // &.node--view-mode-image-1-columns{
  1409. // h2.node-title{
  1410. // // font-size: 1em;
  1411. // // font-weight: 500;
  1412. // }
  1413. // }
  1414. &.node--view-mode-text-1-column{
  1415. padding:0 1em;
  1416. }
  1417. }
  1418. }
  1419. }
  1420. }
  1421. }
  1422. // ___ _
  1423. // | __|__ ___| |_ ___ _ _
  1424. // | _/ _ \/ _ \ _/ -_) '_|
  1425. // |_|\___/\___/\__\___|_|
  1426. @mixin oblique-list {
  1427. display: inline-block;
  1428. position: relative;
  1429. list-style: none;
  1430. margin: 0 1.5em 0 0;
  1431. // width:2em; height:10em;
  1432. padding: 0;
  1433. a{
  1434. position: absolute;
  1435. bottom: 0;
  1436. transform-origin: left bottom;
  1437. transform: rotateZ(-45deg);
  1438. color: #000;
  1439. text-decoration: none;
  1440. text-transform: uppercase;
  1441. font-size: 0.756em;
  1442. white-space: nowrap;
  1443. }
  1444. }
  1445. footer{
  1446. position: relative;
  1447. pointer-events: none;
  1448. // outline: 1px dotted blue;
  1449. >.wrapper{
  1450. white-space: nowrap;
  1451. // height:100%;
  1452. >.region{
  1453. // height:100%;
  1454. // display: table-cell;
  1455. display: inline-block;
  1456. vertical-align: baseline;
  1457. white-space:normal;
  1458. // pointer-events: none;
  1459. // outline: 1px dotted purple;
  1460. // position: relative;
  1461. >*{
  1462. display: inline-block; vertical-align: bottom;
  1463. }
  1464. }
  1465. .region-footer-left{
  1466. // float:left;
  1467. width:12%;
  1468. // min-width:50px;
  1469. text-align: left;
  1470. }
  1471. .region-footer-center{
  1472. // float: none;
  1473. width: 72%;
  1474. overflow:hidden;
  1475. text-align: center;
  1476. }
  1477. .region-footer-right{
  1478. // float:right;
  1479. min-width:12%;
  1480. // min-width: 50px;
  1481. text-align: right;
  1482. }
  1483. @media only screen and (max-width: 1270px) {
  1484. .region-footer-left{
  1485. width:9%;
  1486. }
  1487. .region-footer-center{
  1488. width: 80%;
  1489. overflow:hidden;
  1490. text-align: center;
  1491. }
  1492. .region-footer-right{
  1493. box-sizing: content-box;
  1494. min-width:5%;
  1495. }
  1496. }
  1497. }
  1498. #block-footer{
  1499. display: inline-block;
  1500. margin-bottom: 1em;
  1501. ul{
  1502. margin:0;
  1503. padding:0;
  1504. white-space: nowrap;
  1505. li{
  1506. pointer-events: all;
  1507. // @include oblique-list;
  1508. display: inline-block;
  1509. &:first-of-type{
  1510. margin-left: 1em;
  1511. }
  1512. a{
  1513. font-size: 0.756em;
  1514. @include btn;
  1515. &:before{
  1516. content: "";
  1517. display:inline-block;
  1518. $sq:7px;
  1519. width: $sq; height:$sq;
  1520. border: 1px solid black;
  1521. margin-right: 0.5em;
  1522. }
  1523. &:hover:before,
  1524. &.is-active:before{
  1525. background-color: black;
  1526. }
  1527. &.ajax-loading:before{
  1528. @include spining-loader-square;
  1529. }
  1530. }
  1531. }
  1532. }
  1533. @media only screen and (max-width: 1270px) {
  1534. margin-top: 15px;
  1535. ul{
  1536. li{
  1537. display: block;
  1538. margin-left: 0!important;
  1539. padding:0;
  1540. line-height: 0.6;
  1541. a{
  1542. @include content_petit;
  1543. padding:0;
  1544. }
  1545. }
  1546. }
  1547. }
  1548. }
  1549. // remove #block-productions from selector
  1550. // to enable again oblique style for all block-menu
  1551. nav#block-productions.block-menu{
  1552. display: inline-block;
  1553. ul{
  1554. margin:0;
  1555. padding:0;
  1556. li{
  1557. pointer-events: all;
  1558. @include oblique-list;
  1559. &:first-of-type{
  1560. margin-left: 1em;
  1561. }
  1562. a{
  1563. @include btn;
  1564. &:before{
  1565. content: "";
  1566. display:inline-block;
  1567. $sq:7px;
  1568. width: $sq; height:$sq;
  1569. border: 1px solid black;
  1570. margin-right: 0.5em;
  1571. }
  1572. &:hover:before,
  1573. &.is-active:before{
  1574. background-color: black;
  1575. }
  1576. &.ajax-loading:before{
  1577. @include spining-loader-square;
  1578. }
  1579. }
  1580. }
  1581. }
  1582. }
  1583. // .block-language{
  1584. // display: inline-block;
  1585. // position: relative;
  1586. // ul{
  1587. // position: absolute;
  1588. // bottom:0;
  1589. // margin:0;
  1590. // padding:0;
  1591. // transform-origin: left bottom;
  1592. // transform: rotateZ(-45deg);
  1593. // white-space: nowrap;
  1594. // pointer-events: all;
  1595. // li{
  1596. // margin:0; padding:0;
  1597. // list-style: none;
  1598. // display: inline-block;
  1599. // &:last-of-type{
  1600. // &:before{
  1601. // content:"/";
  1602. // margin:0 0.2em;
  1603. // }
  1604. // }
  1605. // a{
  1606. // color: inherit;
  1607. // text-decoration: none;
  1608. // font-size: 0.756em;
  1609. // }
  1610. // &.is-active{
  1611. // a{color: red;}
  1612. // }
  1613. // }
  1614. // }
  1615. // }
  1616. nav#block-productions.block-menu{
  1617. position: relative;
  1618. pointer-events: none;
  1619. display:none;
  1620. body.path-productions &, body.entity-type-node.bundle-page & {display:inline-block;}
  1621. ul{
  1622. margin-left: -3em;
  1623. white-space: nowrap;
  1624. li{
  1625. height:200px; // this is needed to respect the height of oblique links :(
  1626. a{
  1627. // outline: 1px solid blue;
  1628. pointer-events: all;
  1629. @include btn;
  1630. padding-right: 0.4em;
  1631. &:before{
  1632. content: "";
  1633. display:inline-block;
  1634. $sq:7px;
  1635. width: $sq; height:$sq;
  1636. border: 1px solid red;
  1637. margin-right: 0.5em;
  1638. }
  1639. &:hover:before,
  1640. &.is-active:before,
  1641. &.is-active-trail:before{
  1642. background-color: red;
  1643. }
  1644. &.ajax-loading:before{
  1645. @include spining-loader-square;
  1646. }
  1647. }
  1648. }
  1649. }
  1650. }
  1651. .block-block-edlp-entrees{
  1652. pointer-events: none;
  1653. body.path-productions &,
  1654. body.entity-type-node.bundle-page &,
  1655. body.path-agenda & {display:none}
  1656. display: inline-block;
  1657. // vertical-align: top;
  1658. div.item-list{
  1659. ul{
  1660. margin:0;
  1661. white-space: nowrap;
  1662. li{
  1663. @include oblique-list;
  1664. margin:0;
  1665. white-space: nowrap;
  1666. pointer-events: none;
  1667. span.oblique-wrapper{
  1668. height:120px; // this is needed to respect the height of oblique links :(
  1669. display: inline-block;
  1670. vertical-align: bottom;
  1671. position: relative;
  1672. width:1.5em;
  1673. }
  1674. a.term-link, a.articles-link{
  1675. // outline: 1px solid blue;
  1676. pointer-events: all;
  1677. // background-color: #fff;
  1678. // background-color: rgba(255,255,255, 0.6);
  1679. @include btn;
  1680. padding-right: 0.4em;
  1681. color:black;
  1682. transition: color 0.3s ease-in-out;
  1683. &:before{
  1684. content: "";
  1685. display:inline-block;
  1686. $sq:7px;
  1687. width: $sq; height:$sq;
  1688. border: 1px solid #000;
  1689. background-color: #000;
  1690. margin-right: 0.5em;
  1691. transition: background-color 0.1s ease-in-out;
  1692. }
  1693. &.articles-link{
  1694. margin-left: 4em;
  1695. text-transform: capitalize;
  1696. }
  1697. }
  1698. .entree-content{
  1699. display: inline-block;
  1700. // outline: 1px solid green;
  1701. width:0;
  1702. overflow: hidden;
  1703. opacity: 0;
  1704. transition: all 300ms ease-in-out;
  1705. transition-property: width,opacity;
  1706. span.oblique-wrapper:first-of-type{
  1707. margin-left: 0.5em;
  1708. }
  1709. span.oblique-wrapper a{
  1710. text-transform: none;
  1711. pointer-events: auto;
  1712. &:before{
  1713. content: "";
  1714. display:inline-block;
  1715. $sq:5px;
  1716. width: $sq; height:$sq;
  1717. border: 1px solid #000;
  1718. margin-right: 0.5em;
  1719. }
  1720. &.ajax-loading:before{
  1721. @include spining-loader-square;
  1722. }
  1723. }
  1724. .term-description{
  1725. display: inline-block;
  1726. margin-left: 1.5em;
  1727. text-align: left;
  1728. width:250px;
  1729. word-wrap:break-word;
  1730. // word-break:break-all;
  1731. hyphens: auto;
  1732. white-space: normal;
  1733. background-color: $transparent-bg;
  1734. padding:0.5em;
  1735. padding-bottom:0;
  1736. p{
  1737. font-size: 0.65em;
  1738. margin:0;
  1739. }
  1740. }
  1741. }
  1742. // TODO: replace variable system by attribute color
  1743. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1744. // border-color: attr(color);
  1745. // background-color: attr(color);
  1746. // }
  1747. &[tid='134']{
  1748. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1749. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  1750. &[tid='121']{
  1751. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1752. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  1753. &[tid='125']{
  1754. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1755. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  1756. &[tid='119']{
  1757. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1758. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  1759. &[tid='132']{
  1760. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1761. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  1762. &[tid='122']{
  1763. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1764. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  1765. &[tid='129']{
  1766. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1767. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  1768. &[tid='120']{
  1769. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1770. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  1771. &[tid='130']{
  1772. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1773. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  1774. &[tid='118']{
  1775. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1776. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  1777. &[tid='127']{
  1778. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1779. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  1780. &[tid='133']{
  1781. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1782. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  1783. &[tid='128']{
  1784. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1785. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  1786. &[tid='124']{
  1787. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1788. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  1789. &[tid='116']{
  1790. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1791. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  1792. &[tid='117']{
  1793. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1794. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  1795. &[tid='131']{
  1796. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1797. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  1798. &[tid='126']{
  1799. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1800. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  1801. &[tid='123']{
  1802. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1803. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  1804. // &.highlighted{
  1805. // a.term_link{
  1806. // color: red;
  1807. // }
  1808. // }
  1809. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  1810. a.articles-link:not(:hover):not(.is-active):before{
  1811. background-color: #fff!important;
  1812. }
  1813. &:not(.opened):not(.highlighted){
  1814. a.term-link:not(:hover):before{
  1815. background-color: #fff!important;
  1816. }
  1817. }
  1818. &.opened{
  1819. // outline: 1px solid purple;
  1820. a.term-link:after {
  1821. content: '';
  1822. position: absolute;
  1823. left: 15px; right:0;
  1824. bottom: -3px;
  1825. border-bottom: 1px solid grey;
  1826. }
  1827. .entree-content{
  1828. width:350px;
  1829. opacity: 1;
  1830. }
  1831. }
  1832. // &:not(:first-of-type) .entree-content{display: none;}
  1833. }
  1834. }
  1835. &.opened, &.highlighted{
  1836. li:not(.opened):not(.highlighted):not(:hover){
  1837. a.term-link{
  1838. color:#a1a1a1;
  1839. }
  1840. }
  1841. }
  1842. }
  1843. }
  1844. $icons_w:20px;
  1845. @mixin iconlinkblock($bgimgurl, $bgimgurlactive) {
  1846. pointer-events: all;
  1847. margin-left: 0.5em;
  1848. // @include btn;
  1849. a{
  1850. box-sizing: border-box;
  1851. $wh:$icons_w;
  1852. display: block;
  1853. width:$wh; height:$wh;
  1854. text-indent: $wh*2;
  1855. margin: 0;
  1856. overflow: hidden;
  1857. // mask-image: $bgimgurl;
  1858. // mask-size: contain;
  1859. // background-color: #000;
  1860. // transition: background-color 0.3s ease-in-out;
  1861. background-image: $bgimgurl;
  1862. background-repeat: no-repeat;
  1863. background-size: contain;
  1864. cursor: pointer;
  1865. &:hover, &.is-active{
  1866. // background-color: red;
  1867. background-image: $bgimgurlactive;
  1868. }
  1869. }
  1870. }
  1871. .block.random-player{
  1872. margin-bottom: 1em;
  1873. @include iconlinkblock(url(../img/random.svg), url(../img/random-active.svg));
  1874. }
  1875. #block-studiolinkblock{
  1876. margin-bottom: 1em;
  1877. margin-left: 0.2em;
  1878. @include iconlinkblock(url(../img/studio.svg), url(../img/studio-active.svg));
  1879. }
  1880. #block-userlogin{
  1881. margin-bottom: 1em;
  1882. pointer-events: all;
  1883. margin-left: 0.2em;
  1884. $wh:$icons_w;
  1885. position: relative;
  1886. // box-sizing: border-box;
  1887. width:$wh; height: $wh;
  1888. h2{
  1889. box-sizing: content-box;
  1890. // @include btn;
  1891. // padding:0;
  1892. position: relative;
  1893. width:$wh; height:$wh;
  1894. background-image: url(../img/studio.svg);
  1895. // background-color: red;
  1896. background-size: contain;
  1897. text-indent: $wh*2;
  1898. margin: 0;
  1899. overflow: hidden;
  1900. z-index: 1;
  1901. cursor: pointer;
  1902. }
  1903. .block-content{
  1904. z-index: 0;
  1905. position:absolute;
  1906. right:0;bottom:$wh;
  1907. padding:0.5em;
  1908. padding-bottom: 20px;
  1909. background-color: $transparent-bg;
  1910. border-top: 1px solid red;
  1911. border-bottom: 1px solid red;
  1912. overflow: hidden;
  1913. box-sizing:border-box;
  1914. height: 0px;
  1915. opacity:0;
  1916. pointer-events:none;
  1917. transition: all 0.5s ease-in-out;
  1918. transition-property: height,opacity;
  1919. // &:hover{
  1920. // height:200px;
  1921. // opacity:1;
  1922. // pointer-events: auto;
  1923. // }
  1924. form{
  1925. font-size: 0.75em;
  1926. }
  1927. .item-list{
  1928. ul{margin:0;}
  1929. li{
  1930. margin:0;
  1931. list-style: none;
  1932. a{
  1933. color: inherit;
  1934. text-decoration: none;
  1935. font-size: 0.75em;
  1936. white-space:nowrap;
  1937. }
  1938. }
  1939. }
  1940. }
  1941. &:hover{
  1942. .block-content{
  1943. height:200px;
  1944. opacity: 1;
  1945. pointer-events:auto;
  1946. }
  1947. }
  1948. }
  1949. #block-edlpsearchlinkblock{
  1950. margin-bottom: 1em;
  1951. @include iconlinkblock(url(../img/search.svg), url(../img/search-active.svg));
  1952. margin-left: 0.2em;
  1953. }
  1954. }
  1955. // _ _ _ ___
  1956. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1957. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1958. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1959. // |_| |_|
  1960. .node-popup{
  1961. .inner{
  1962. position: relative;
  1963. .entrees{
  1964. @include entree-micro-square;
  1965. }
  1966. .title{
  1967. margin:0.2em 0 0;
  1968. // margin:0.3em 0;
  1969. font-size: 0.9em;
  1970. font-weight: 600;
  1971. }
  1972. .description{
  1973. p{
  1974. margin:0;
  1975. font-size: 0.756em;
  1976. }
  1977. }
  1978. .chutier-icon{
  1979. &[action="add"]{
  1980. display:none;
  1981. }
  1982. position:absolute;
  1983. top:0.4em; right:0.4em;
  1984. }
  1985. }
  1986. }
  1987. // __ ___ _ ___ _ _ _
  1988. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  1989. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  1990. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  1991. // complete rewrite of url_to_video_filter css
  1992. .url-to-video-container{
  1993. // display:block;
  1994. margin:10px auto;
  1995. // width:100%;
  1996. &.no-js{
  1997. border:solid black 1px;
  1998. .loader{
  1999. // background:url(../images/no-js.png) no-repeat center center;
  2000. // background-size:40px 40px;
  2001. }
  2002. .url-to-video-player{
  2003. cursor:auto;
  2004. }
  2005. }
  2006. .loader{
  2007. // top:240px;
  2008. // left:50%;
  2009. // transform:translate(-50%, -50%);
  2010. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  2011. top:auto; left: auto;
  2012. transform: none;
  2013. }
  2014. span.url-to-video-player{
  2015. // display:block;
  2016. // width:100%;
  2017. /* assuming that the video has a 16:9 ratio */
  2018. // padding-bottom:56.25%;
  2019. padding-bottom:0;
  2020. // overflow:hidden;
  2021. // position:relative;
  2022. // width:100%;
  2023. // height:100%;
  2024. height:auto;
  2025. // cursor:hand;
  2026. // cursor:pointer;
  2027. // display: block;
  2028. &:before{
  2029. content: "";
  2030. display: block;
  2031. /* assuming that the video has a 16:9 ratio */
  2032. padding-top: 56.25%;
  2033. }
  2034. img.player-thumb
  2035. {
  2036. // background-position:center center;
  2037. // background-size:cover;
  2038. // position: absolute;
  2039. // top: 0;
  2040. // left: 0;
  2041. // width: 100%;
  2042. // height: 100%;
  2043. // cursor:pointer;
  2044. }
  2045. .play-button
  2046. {
  2047. z-index: 5;
  2048. // height:40px;
  2049. // width:40px;
  2050. // display:block;
  2051. // background:url(../images/play-button.png) no-repeat center center;
  2052. // background-size:40px 40px;
  2053. // position:absolute;
  2054. // top:240px;
  2055. top:50%;
  2056. // left:50%;
  2057. // transform:translate(-50%, -50%);
  2058. // cursor:pointer;
  2059. }
  2060. iframe.player-iframe
  2061. {
  2062. // width:100%;
  2063. // height:100%;
  2064. // position:absolute;
  2065. // top:0;
  2066. // left:0;
  2067. }
  2068. }
  2069. }
  2070. #user-register-form{
  2071. width:29em;
  2072. input{
  2073. @include content_courant;
  2074. }
  2075. label{
  2076. @include content_subtitles;
  2077. display: inline-block;
  2078. width: 16em;
  2079. white-space: normal;
  2080. }
  2081. .form-item{
  2082. white-space: nowrap;
  2083. }
  2084. .description{
  2085. @include content_petit;
  2086. max-width: 100%;
  2087. white-space: normal;
  2088. }
  2089. input[type='email'], input[type='password']{
  2090. width:17em;
  2091. }
  2092. .password-strength, .password-strength__meter{
  2093. width:98%;
  2094. }
  2095. .password-strength__title, .password-confirm{
  2096. @include content_courant;
  2097. }
  2098. }
  2099. #better-messages-default.better-messages-overlay{
  2100. border-radius: 0;
  2101. padding:0.8em;
  2102. box-shadow: 0 2px 10px #716f6f;
  2103. .better-messages-content{
  2104. }
  2105. .better-messages-footer{
  2106. border-top: none;
  2107. .better-messages-close{
  2108. @include content_courant;
  2109. span{
  2110. height:15px; width:15px;
  2111. background-size: contain;
  2112. }
  2113. }
  2114. }
  2115. }