app.scss 53 KB

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