app.scss 52 KB

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