app.scss 53 KB

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