app.scss 54 KB

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