app.scss 54 KB

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