app.scss 55 KB

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