app.scss 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505
  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 entrie-micro-square {
  21. display:inline-block;
  22. $s:8px;
  23. width:$s; height:$s;
  24. background-color: black;
  25. margin-right: 3px;
  26. &[tid='134']{background-color: var(--e-col-134);}
  27. &[tid='121']{background-color: var(--e-col-121);}
  28. &[tid='125']{background-color: var(--e-col-125);}
  29. &[tid='119']{background-color: var(--e-col-119);}
  30. &[tid='132']{background-color: var(--e-col-132);}
  31. &[tid='122']{background-color: var(--e-col-122);}
  32. &[tid='129']{background-color: var(--e-col-129);}
  33. &[tid='120']{background-color: var(--e-col-120);}
  34. &[tid='130']{background-color: var(--e-col-130);}
  35. &[tid='118']{background-color: var(--e-col-118);}
  36. &[tid='127']{background-color: var(--e-col-127);}
  37. &[tid='133']{background-color: var(--e-col-133);}
  38. &[tid='128']{background-color: var(--e-col-128);}
  39. &[tid='124']{background-color: var(--e-col-124);}
  40. &[tid='116']{background-color: var(--e-col-116);}
  41. &[tid='117']{background-color: var(--e-col-117);}
  42. &[tid='131']{background-color: var(--e-col-131);}
  43. &[tid='126']{background-color: var(--e-col-126);}
  44. &[tid='123']{background-color: var(--e-col-123);}
  45. }
  46. // .layout-container{
  47. // pointer-events: none;
  48. // }
  49. // _ _
  50. // | |_ ___ __ _ __| |___ _ _
  51. // | ' \/ -_) _` / _` / -_) '_|
  52. // |_||_\___\__,_\__,_\___|_|
  53. header[role="banner"]{
  54. pointer-events: all;
  55. // TODO: what header height to fit well with player ??
  56. }
  57. #block-edlptheme-branding{
  58. display: inline-block;
  59. h1{
  60. margin:0; display: inline-block;
  61. a.site-name{
  62. display: block;
  63. $w:290px;
  64. width:$w; height:$w * 0.22;
  65. background-image: url(../img/logo.svg);
  66. background-color: white;
  67. background-repeat:no-repeat;
  68. background-size: contain;
  69. white-space: nowrap;
  70. text-indent: 500px;
  71. overflow: hidden;
  72. }
  73. }
  74. }
  75. #block-mainnavigation{
  76. float:right;
  77. margin-top: 25px;
  78. ul{
  79. margin:0; padding: 0;
  80. white-space: nowrap;
  81. li{
  82. margin:0; padding:0;
  83. display: inline-block;
  84. a{
  85. font-size: 0.756em;
  86. color:inherit;
  87. text-decoration: none;
  88. text-transform: uppercase;
  89. margin-left: 1em;
  90. &:before{
  91. content: "";
  92. display:inline-block;
  93. $sq:0.6em;
  94. width: $sq; height:$sq;
  95. border: 1px solid red;
  96. margin-right: 0.3em;
  97. }
  98. &.ajax-loading:before{
  99. @include spining-loader-square;
  100. }
  101. &.is-active:before,
  102. &:hover:before{
  103. border-color: red;
  104. background-color: red;
  105. }
  106. }
  107. }
  108. }
  109. }
  110. .block-language{
  111. float: right;
  112. margin-top: 24px;
  113. margin-left: 2em;
  114. ul{
  115. margin:0; padding:0;
  116. li{
  117. display: inline-block; vertical-align: middle;
  118. list-style: none;
  119. a{
  120. font-size: 0.690em;
  121. color:inherit;
  122. text-decoration: none;
  123. text-transform: capitalize;
  124. margin-left: 0.8em;
  125. &:before{
  126. content: "";
  127. display:inline-block;
  128. $sq:0.6em;
  129. width: $sq; height:$sq;
  130. border: 1px solid red;
  131. margin-right: 0.3em;
  132. }
  133. }
  134. &.is-active,
  135. &:hover{
  136. a:before{
  137. border-color: red;
  138. background-color: red;
  139. }
  140. }
  141. }
  142. }
  143. }
  144. // _
  145. // _ __ __ _(_)_ _
  146. // | ' \/ _` | | ' \
  147. // |_|_|_\__,_|_|_||_|
  148. main[role="main"]{
  149. .layout-content{
  150. pointer-events: none;
  151. .row{
  152. pointer-events: none;
  153. height:100%;
  154. overflow: hidden;
  155. .col{
  156. pointer-events: none;
  157. height: 100%;
  158. position: relative;
  159. &>.wrapper{
  160. pointer-events:all;
  161. position: relative;
  162. box-sizing: border-box;
  163. border-top: 1px solid red;
  164. border-bottom: 1px solid red;
  165. background-color: $transparent-bg;
  166. padding:0 0 1em;
  167. max-height: 100%;
  168. overflow-y: auto;
  169. &>*{
  170. padding:0 1em;
  171. }
  172. // .os-scroll{
  173. // box-sizing: border-box;
  174. // max-height: 100%;
  175. // padding:0 1em;
  176. // }
  177. }
  178. }
  179. }
  180. .field.text-formatted{
  181. a.audio-link{
  182. border-bottom: 1px dotted red;
  183. }
  184. }
  185. }
  186. article.node>h2, h2.title{
  187. @include content_titles;
  188. }
  189. article.node p{
  190. @include content_courant;
  191. }
  192. img{
  193. max-width: 100%;
  194. height: auto;
  195. }
  196. ul, li, ul.inline li:first-child{
  197. margin:0; padding:0;
  198. list-style: none;
  199. }
  200. // ajax loading effects
  201. .layout-content{
  202. transition: opacity 0.5s ease-in-out;
  203. opacity: 1;
  204. }
  205. body.ajax-loading &{
  206. .layout-content .col:not([theme="edlp_search_search_form"]){
  207. opacity:0.2;
  208. }
  209. &:before{
  210. content:"";
  211. display: block;
  212. position: absolute;
  213. z-index: 10;
  214. $s:60px;
  215. width:$s; height:$s;
  216. top:calc(50% - #{$s/2}); left:calc(50% - #{$s/2});
  217. // padding:1em;
  218. background-color: rgba(255,255,255, 0.5);
  219. background-image: url(../img/edlp-loader-anim.svg);
  220. background-size: 50%;
  221. background-repeat: no-repeat;
  222. background-position: center;
  223. // border-radius: $s/2;
  224. }
  225. }
  226. span.close-col-btn{
  227. // z-index: 10;
  228. pointer-events: all;
  229. cursor: pointer;
  230. position:absolute;
  231. top:0; right:0;
  232. padding:0!important; margin:0.5em;
  233. display: block;
  234. $s:10px;
  235. width:$s; height:$s;
  236. background-image: url(../img/close.svg);
  237. background-repeat: no-repeat;
  238. background-position: center;
  239. background-size: contain;
  240. }
  241. }
  242. // _ _ _ ___ _
  243. // /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
  244. // / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
  245. // /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
  246. // |__/
  247. #audio-player{
  248. position: absolute;
  249. top:0; left:0;
  250. background-color: white;
  251. height:100%; min-width:300px;
  252. z-index: 20;
  253. opacity: 0;
  254. // outline: 1px solid blue;
  255. pointer-events: none;
  256. transition: opacity 0.7s ease-in-out;
  257. &.visible{
  258. opacity: 1;
  259. pointer-events:all;
  260. }
  261. &>*{
  262. display: inline-block;
  263. vertical-align: middle;
  264. // word-break:keep-all;
  265. padding:0;
  266. max-height: 100%;
  267. // outline: 1px solid green;
  268. }
  269. .btns{
  270. // outline: 1px dotted orange;
  271. &>*{
  272. display: inline-block;
  273. vertical-align: middle;
  274. width:20px;height:30px;
  275. background-position: center;
  276. background-size: contain;
  277. }
  278. .play-pause{
  279. background-image: url(../img/audio-player-play.svg);
  280. padding:0 0.3em;
  281. cursor: pointer;
  282. }
  283. .previous, .next{
  284. opacity: 0.3;
  285. transition: opacity 0.3s ease-in-out;
  286. cursor: auto;
  287. &.is-active{
  288. opacity: 1;
  289. cursor: pointer;
  290. }
  291. }
  292. .previous{
  293. background-image: url(../img/audio-player-previous.svg);
  294. }
  295. .next{
  296. background-image: url(../img/audio-player-next.svg);
  297. }
  298. }
  299. .time-line-container{
  300. .time-line{
  301. position: relative;
  302. width:70px; height:1px;
  303. background-color: #000;
  304. overflow: visible;
  305. transform: rotateZ(-45deg);
  306. .loader{
  307. width:0; height:100%;
  308. background-color: red;
  309. top:0;left:0;
  310. }
  311. .cursor{
  312. height:10px;width:0;
  313. border-left: 2px solid red;
  314. position:absolute;
  315. left:0; top:-5px;
  316. }
  317. }
  318. }
  319. .time{
  320. &>*{
  321. width:70px;
  322. text-align: right;
  323. }
  324. .current-time{
  325. font-size: 1.4em;
  326. font-weight: 600;
  327. }
  328. .duration{
  329. font-size: 0.75em;
  330. font-weight: 400;
  331. }
  332. }
  333. .favoris{
  334. height:100%;
  335. }
  336. .cartel{
  337. // TODO: set max-width regarding responsive
  338. position: relative;
  339. max-width: 350px;
  340. margin-left: 1em;
  341. background-color: white;
  342. opacity: 1;
  343. transition: opacity 0.5s ease-in-out;
  344. &.loading{opacity: 0;}
  345. white-space: nowrap;
  346. .actions, .cartels{
  347. display: inline-block;
  348. vertical-align: top;
  349. white-space: normal;
  350. position: relative;
  351. }
  352. .actions{
  353. width:1.5em;
  354. }
  355. .cartels{
  356. .first-cartel{
  357. .entrees{
  358. line-height: 0;
  359. span{
  360. @include entrie-micro-square;
  361. }
  362. }
  363. h2.node-title{
  364. margin:0.2em 0 0;
  365. font-size: 1em;
  366. }
  367. p{
  368. margin:0;
  369. font-size: 0.75em;
  370. }
  371. }
  372. .second-cartel{
  373. position: absolute;
  374. top: 0; left:0;
  375. background-color: white;
  376. height:100%; min-width: 100%;
  377. opacity: 0;
  378. transition: opacity 0.2s ease-in-out;
  379. &>*{
  380. display: inline-block;
  381. vertical-align: top;
  382. }
  383. .col-left{
  384. a{
  385. display: block;
  386. font-size: 0.90em;
  387. font-weight: 600;
  388. }
  389. }
  390. .col-right{
  391. font-size: 0.75em;
  392. }
  393. }
  394. }
  395. &:hover{
  396. .second-cartel{
  397. opacity: 1;
  398. }
  399. }
  400. }
  401. &.is-playing{
  402. .btns .play-pause{background-image: url(../img/audio-player-pause.svg);}
  403. }
  404. }
  405. // ___ _ _ _
  406. // / __| |_ _ _ __| (_)___
  407. // \__ \ _| || / _` | / _ \
  408. // |___/\__|\_,_\__,_|_\___/
  409. .chutier-icon{
  410. $s:1em;
  411. z-index: 1;
  412. display: block;
  413. position: relative;
  414. width:$s;height:$s;
  415. overflow: hidden;
  416. text-indent: 50em;
  417. // background-color: red;
  418. background-position: center;
  419. background-repeat: no-repeat;
  420. background-size: contain;
  421. background-image: url(../img/favori-off.svg);
  422. &[action="remove"]{
  423. background-image: url(../img/favori-on.svg);
  424. }
  425. transition: opacity 0.2s ease-in-out;
  426. &.ajax-loading{
  427. opacity: 0.2;
  428. }
  429. &.not-logedin{
  430. overflow: visible;
  431. }
  432. .popup{
  433. display:none;
  434. position: absolute;
  435. top:0; left:0;
  436. width:300px; height:auto; min-height: 100px;
  437. .inner{
  438. background-color: rgba(255,255,255,0.9);
  439. border: 1px solid red;
  440. text-indent: 0;
  441. padding: 0.5em;
  442. margin:$s*1.2 0 0 $s*1.2;
  443. p{margin: 0;}
  444. }
  445. }
  446. &:hover{
  447. .popup{
  448. display: block;
  449. }
  450. }
  451. }
  452. .row .col .studio-ui-wrapper{
  453. height: 100%;
  454. }
  455. #studio-ui{
  456. height:100%;
  457. .chutier_ui{
  458. height: 50%;
  459. border-bottom: 1px solid red;
  460. position: relative;
  461. &>h2{
  462. z-index: 10;
  463. position: absolute;
  464. width: calc(100% - 20px);
  465. margin: 0;
  466. padding:0.5em 0;
  467. font-size: 1em;
  468. font-weight: 500;
  469. text-transform: uppercase;
  470. // outline: 1px solid orange;
  471. background-color: white;
  472. }
  473. .documents{
  474. padding-top: 35px;
  475. height:calc(100% - 35px);
  476. overflow-y: auto;
  477. // box-sizing: content-box;
  478. // outline: 1px solid green;
  479. ul,li{
  480. margin:0; padding:0;
  481. line-height: 1.2;
  482. }
  483. li{
  484. display: inline-block; vertical-align: top;
  485. width:49%; margin-bottom: 0.5em;
  486. white-space: nowrap;
  487. .entrees{
  488. line-height: 0;
  489. span{
  490. @include entrie-micro-square;
  491. }
  492. }
  493. a.audio-link{
  494. text-transform: capitalize;
  495. font-size: 0.756em;
  496. margin-right: 0.5em;
  497. white-space: normal;
  498. }
  499. .chutier-icon{
  500. display: inline-block;
  501. width:0.7em; height:0.7em;
  502. opacity: 0.8;
  503. }
  504. }
  505. }
  506. }
  507. .composition_ui{
  508. height:50%;
  509. &>h2{
  510. z-index: 10;
  511. position: absolute;
  512. width: calc(100% - 20px);
  513. margin: 0;
  514. padding:0.5em 0;
  515. font-size: 1em;
  516. font-weight: 500;
  517. text-transform: uppercase;
  518. // outline: 1px solid orange;
  519. background-color: white;
  520. }
  521. >.wrapper{
  522. padding-top: 35px;
  523. height:calc(100% - 35px);
  524. overflow: hidden;
  525. white-space: nowrap;
  526. section.compositions-list, section.composer{
  527. display: inline-block; vertical-align: top;
  528. height: 100%;
  529. }
  530. .compositions-list{
  531. width:30%; height:100%;
  532. overflow-y: auto;
  533. a{
  534. font-size: 0.756em;
  535. &.new-composition-link{
  536. // padding-left: 1em;
  537. &:before{
  538. content:"+";
  539. font-weight: bold;
  540. margin-right: 0.2em;
  541. }
  542. display: inline-block;
  543. vertical-align: top;
  544. overflow: hidden;
  545. height:1em;
  546. transition: height 0.2s ease-in-out;
  547. &.folded{
  548. height:0;
  549. }
  550. }
  551. }
  552. .new-compo-form{
  553. input[type="text"]{
  554. font-size: 0.756em;
  555. padding:0 0.5em;
  556. width:calc(100% - 50px);
  557. height:1.7em;
  558. border: none;
  559. border-top:1px dotted red;
  560. border-bottom:1px dotted red;
  561. }
  562. button{
  563. background: none;
  564. border: none;
  565. font-size: 1em;
  566. line-height: 1;
  567. font-weight: bold;
  568. }
  569. opacity: 1;
  570. transition: opacity 0.2s ease-in-out;
  571. &.ajax-loading{
  572. opacity: 0.4;
  573. }
  574. }
  575. }
  576. .composer{
  577. box-sizing: content-box;
  578. width:69%;
  579. padding-left: 1em;
  580. border-left: 1px solid #aaa;
  581. }
  582. }
  583. }
  584. }
  585. // ___ _
  586. // / __| ___ __ _ _ _ __| |_
  587. // \__ \/ -_) _` | '_/ _| ' \
  588. // |___/\___\__,_|_| \__|_||_|
  589. .col[theme="edlp_search_search_form"]{
  590. &, >.wrapper{
  591. position: relative;
  592. height:100%;
  593. }
  594. }
  595. #edlp-search-form{
  596. height:100%;
  597. .fieldgroup{
  598. border-bottom: 1px solid red;
  599. margin-top:1em;
  600. margin-bottom: 0em;
  601. legend{
  602. font-size: 0.9em;
  603. margin: 0;
  604. font-weight: 500;
  605. }
  606. .fieldset-wrapper{
  607. padding-bottom: 1em;
  608. }
  609. .form-item{
  610. margin:0;
  611. }
  612. }
  613. input[type="text"], input[type="search"]{
  614. font-size: 0.8em;
  615. padding:0.2em; margin:0;
  616. border: 1px solid #aaa;
  617. border-radius: 3px;
  618. width:90%;
  619. }
  620. #edit-entries{
  621. .form-item{
  622. label, input{
  623. display: inline-block;
  624. vertical-align: middle;
  625. }
  626. label{
  627. font-size: 0.756em;
  628. }
  629. input[type="checkbox"]{
  630. appearance:none;
  631. $w:10px;
  632. width:$w; height:$w;
  633. border: 1px double black;
  634. background-color: white;
  635. &:checked{
  636. background-color: black;
  637. }
  638. &[value='134']{
  639. border-color: var(--e-col-134);
  640. &:checked{background-color: var(--e-col-134);}
  641. }
  642. &[value='121']{
  643. border-color: var(--e-col-121);
  644. &:checked{background-color: var(--e-col-121);}
  645. }
  646. &[value='125']{
  647. border-color: var(--e-col-125);
  648. &:checked{background-color: var(--e-col-125);}
  649. }
  650. &[value='119']{
  651. border-color: var(--e-col-119);
  652. &:checked{background-color: var(--e-col-119);}
  653. }
  654. &[value='132']{
  655. border-color: var(--e-col-132);
  656. &:checked{background-color: var(--e-col-132);}
  657. }
  658. &[value='122']{
  659. border-color: var(--e-col-122);
  660. &:checked{background-color: var(--e-col-122);}
  661. }
  662. &[value='129']{
  663. border-color: var(--e-col-129);
  664. &:checked{background-color: var(--e-col-129);}
  665. }
  666. &[value='120']{
  667. border-color: var(--e-col-120);
  668. &:checked{background-color: var(--e-col-120);}
  669. }
  670. &[value='130']{
  671. border-color: var(--e-col-130);
  672. &:checked{background-color: var(--e-col-130);}
  673. }
  674. &[value='118']{
  675. border-color: var(--e-col-118);
  676. &:checked{background-color: var(--e-col-118);}
  677. }
  678. &[value='127']{
  679. border-color: var(--e-col-127);
  680. &:checked{background-color: var(--e-col-127);}
  681. }
  682. &[value='133']{
  683. border-color: var(--e-col-133);
  684. &:checked{background-color: var(--e-col-133);}
  685. }
  686. &[value='128']{
  687. border-color: var(--e-col-128);
  688. &:checked{background-color: var(--e-col-128);}
  689. }
  690. &[value='124']{
  691. border-color: var(--e-col-124);
  692. &:checked{background-color: var(--e-col-124);}
  693. }
  694. &[value='116']{
  695. border-color: var(--e-col-116);
  696. &:checked{background-color: var(--e-col-116);}
  697. }
  698. &[value='117']{
  699. border-color: var(--e-col-117);
  700. &:checked{background-color: var(--e-col-117);}
  701. }
  702. &[value='131']{
  703. border-color: var(--e-col-131);
  704. &:checked{background-color: var(--e-col-131);}
  705. }
  706. &[value='126']{
  707. border-color: var(--e-col-126);
  708. &:checked{background-color: var(--e-col-126);}
  709. }
  710. &[value='123']{
  711. border-color: var(--e-col-123);
  712. &:checked{background-color: var(--e-col-123);}
  713. }
  714. }
  715. }
  716. }
  717. input[type="submit"]{
  718. font-size: 0.756em;
  719. padding:0.1em;
  720. margin:1em 0 0 0;
  721. float:right;
  722. opacity: 1;
  723. transition: opacity 0.3s ease-in-out;
  724. }
  725. &.ajax-loading input[type="submit"]{
  726. opacity:0.2;
  727. pointer-events: none;
  728. }
  729. }
  730. .col[theme="edlp_search_results"]{
  731. opacity: 1;
  732. transition: opacity 0.3s ease-in-out;
  733. &.ajax-loading{
  734. opacity:0.2;
  735. }
  736. article{
  737. .entrees{
  738. span{
  739. @include entrie-micro-square;
  740. }
  741. }
  742. h2.node-title{
  743. margin:0 0 0.3em 0;
  744. font-size: 0.8em;
  745. font-weight: 500;
  746. text-transform: none;
  747. }
  748. // .description{
  749. // p{
  750. // margin:0;
  751. // font-size: 0.75em;
  752. // }
  753. // }
  754. }
  755. }
  756. // _ _ _ _ _
  757. // /_\ (_)__ ___ __ | \| |___ __| |___
  758. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  759. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  760. // |__/
  761. // body.path-edlp-node main{
  762. // main .col>.wrapper, .edlp-ajax-node{
  763. // height: 100%;
  764. // }
  765. // }
  766. // _ _
  767. // /_\ __ _ ___ _ _ __| |__ _
  768. // / _ \/ _` / -_) ' \/ _` / _` |
  769. // /_/ \_\__, \___|_||_\__,_\__,_|
  770. // |___/
  771. body.path-agenda main .col{
  772. &>.wrapper{
  773. height:100%;
  774. }
  775. }
  776. #agenda{
  777. position: relative;
  778. white-space: nowrap;
  779. height: 100%;
  780. div.column{
  781. white-space: normal;
  782. display: inline-block;
  783. vertical-align: top;
  784. height:100%;
  785. }
  786. div.next-event{
  787. width:65%;
  788. }
  789. div.future-past-events{
  790. width:33%;
  791. }
  792. ul,li{
  793. margin:0; padding:0;
  794. list-style: none;
  795. }
  796. article.node--type-evenement{
  797. h2{ @include content_titles; }
  798. }
  799. }
  800. // ___ _ _ _
  801. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  802. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  803. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  804. body.path-productions{
  805. .layout-content .row{
  806. white-space: normal;
  807. .col{
  808. height:auto;
  809. &.col-2:last-child{
  810. padding-left: 0em;
  811. padding-right: 1em;
  812. }
  813. >.wrapper{
  814. margin-bottom: 1em;
  815. padding:0;
  816. >*{padding:0;}
  817. article.node{
  818. .field--name-field-visuel{
  819. a,img{
  820. display: block;
  821. width: 100%; height:auto;
  822. }
  823. }
  824. header{
  825. background-color: rgba(255,255,255,0.95);
  826. padding:0.5em 1em;
  827. h2.node-title{
  828. margin:0;
  829. }
  830. p{margin: 0;}
  831. }
  832. &.node--view-mode-image-2-columns{
  833. header{
  834. position: absolute;
  835. bottom: 0; left:0;
  836. h2.node-title{
  837. font-size: 1.6em;
  838. font-weight: 500;
  839. }
  840. }
  841. }
  842. &.node--view-mode-image-1-columns{
  843. h2.node-title{
  844. font-size: 1.2em;
  845. font-weight: 500;
  846. }
  847. }
  848. &.node--view-mode-text-1-column{
  849. padding:0 1em;
  850. }
  851. }
  852. }
  853. }
  854. }
  855. }
  856. // ___ _
  857. // | __|__ ___| |_ ___ _ _
  858. // | _/ _ \/ _ \ _/ -_) '_|
  859. // |_|\___/\___/\__\___|_|
  860. @mixin oblique-list {
  861. display: inline-block;
  862. position: relative;
  863. list-style: none;
  864. margin: 0 1.5em 0 0;
  865. // width:2em; height:10em;
  866. padding: 0;
  867. a{
  868. position: absolute;
  869. bottom: 0;
  870. transform-origin: left bottom;
  871. transform: rotateZ(-45deg);
  872. color: #000;
  873. text-decoration: none;
  874. text-transform: uppercase;
  875. font-size: 0.756em;
  876. white-space: nowrap;
  877. }
  878. }
  879. footer{
  880. position: relative;
  881. pointer-events: none;
  882. // outline: 1px dotted blue;
  883. >.wrapper{
  884. white-space: nowrap;
  885. // height:100%;
  886. >.region{
  887. // height:100%;
  888. // display: table-cell;
  889. display: inline-block;
  890. vertical-align: baseline;
  891. white-space:normal;
  892. // pointer-events: none;
  893. // outline: 1px dotted purple;
  894. // position: relative;
  895. >*{
  896. display: inline-block; vertical-align: bottom;
  897. }
  898. }
  899. .region-footer-left{
  900. // float:left;
  901. width:12%;
  902. // min-width:50px;
  903. text-align: left;
  904. }
  905. .region-footer-center{
  906. // float: none;
  907. width: 72%;
  908. overflow:hidden;
  909. text-align: center;
  910. }
  911. .region-footer-right{
  912. // float:right;
  913. min-width:12%;
  914. // min-width: 50px;
  915. text-align: right;
  916. }
  917. }
  918. #block-footer{
  919. display: inline-block;
  920. margin-bottom: 1em;
  921. ul{
  922. margin:0;
  923. padding:0;
  924. li{
  925. pointer-events: all;
  926. // @include oblique-list;
  927. display: inline-block;
  928. &:first-of-type{
  929. margin-left: 1em;
  930. }
  931. a{
  932. font-size: 0.756em;
  933. &:before{
  934. content: "";
  935. display:inline-block;
  936. $sq:7px;
  937. width: $sq; height:$sq;
  938. border: 1px solid black;
  939. margin-right: 0.5em;
  940. }
  941. &:hover:before,
  942. &.is-active:before{
  943. background-color: black;
  944. }
  945. &.ajax-loading:before{
  946. @include spining-loader-square;
  947. }
  948. }
  949. }
  950. }
  951. }
  952. // remove #block-productions to enable again oblique style for all block-menu
  953. nav#block-productions.block-menu{
  954. display: inline-block;
  955. ul{
  956. margin:0;
  957. padding:0;
  958. li{
  959. pointer-events: all;
  960. @include oblique-list;
  961. &:first-of-type{
  962. margin-left: 1em;
  963. }
  964. a{
  965. &:before{
  966. content: "";
  967. display:inline-block;
  968. $sq:7px;
  969. width: $sq; height:$sq;
  970. border: 1px solid black;
  971. margin-right: 0.5em;
  972. }
  973. &:hover:before,
  974. &.is-active:before{
  975. background-color: black;
  976. }
  977. &.ajax-loading:before{
  978. @include spining-loader-square;
  979. }
  980. }
  981. }
  982. }
  983. }
  984. // .block-language{
  985. // display: inline-block;
  986. // position: relative;
  987. // ul{
  988. // position: absolute;
  989. // bottom:0;
  990. // margin:0;
  991. // padding:0;
  992. // transform-origin: left bottom;
  993. // transform: rotateZ(-45deg);
  994. // white-space: nowrap;
  995. // pointer-events: all;
  996. // li{
  997. // margin:0; padding:0;
  998. // list-style: none;
  999. // display: inline-block;
  1000. // &:last-of-type{
  1001. // &:before{
  1002. // content:"/";
  1003. // margin:0 0.2em;
  1004. // }
  1005. // }
  1006. // a{
  1007. // color: inherit;
  1008. // text-decoration: none;
  1009. // font-size: 0.756em;
  1010. // }
  1011. // &.is-active{
  1012. // a{color: red;}
  1013. // }
  1014. // }
  1015. // }
  1016. // }
  1017. #block-productions{
  1018. position: relative;
  1019. pointer-events: none;
  1020. body:not(.path-productions) & {display:none}
  1021. ul{
  1022. margin-left: -3em;
  1023. white-space: nowrap;
  1024. li{
  1025. height:200px; // this is needed to respect the height of oblique links :(
  1026. a{
  1027. // outline: 1px solid blue;
  1028. pointer-events: all;
  1029. background-color: #fff;
  1030. padding-right: 0.4em;
  1031. &:before{
  1032. content: "";
  1033. display:inline-block;
  1034. $sq:7px;
  1035. width: $sq; height:$sq;
  1036. border: 1px solid red;
  1037. margin-right: 0.5em;
  1038. }
  1039. &:hover:before{
  1040. background-color: red;
  1041. }
  1042. &.ajax-loading:before{
  1043. @include spining-loader-square;
  1044. }
  1045. }
  1046. }
  1047. }
  1048. }
  1049. .block-block-edlp-entrees{
  1050. pointer-events: none;
  1051. body.path-productions &,
  1052. body.path-agenda & {display:none}
  1053. display: inline-block;
  1054. // vertical-align: top;
  1055. ul{
  1056. margin:0;
  1057. white-space: nowrap;
  1058. li{
  1059. @include oblique-list;
  1060. margin:0;
  1061. white-space: nowrap;
  1062. pointer-events: none;
  1063. span.oblique-wrapper{
  1064. height:120px; // this is needed to respect the height of oblique links :(
  1065. display: inline-block;
  1066. vertical-align: bottom;
  1067. position: relative;
  1068. width:1.5em;
  1069. }
  1070. a.term-link, a.articles-link{
  1071. // outline: 1px solid blue;
  1072. pointer-events: all;
  1073. background-color: #fff;
  1074. padding-right: 0.4em;
  1075. &:before{
  1076. content: "";
  1077. display:inline-block;
  1078. $sq:7px;
  1079. width: $sq; height:$sq;
  1080. border: 1px solid #000;
  1081. background-color: #000;
  1082. margin-right: 0.5em;
  1083. transition: background-color 0.1s ease-in-out;
  1084. }
  1085. &.articles-link{
  1086. margin-left: 2em;
  1087. text-transform: capitalize;
  1088. }
  1089. }
  1090. .entree-content{
  1091. display: inline-block;
  1092. // outline: 1px solid green;
  1093. width:0;
  1094. overflow: hidden;
  1095. opacity: 0;
  1096. transition: all 300ms ease-in-out;
  1097. transition-property: width,opacity;
  1098. span.oblique-wrapper:first-of-type{
  1099. margin-left: 0.5em;
  1100. }
  1101. span.oblique-wrapper a{
  1102. text-transform: none;
  1103. pointer-events: auto;
  1104. &:before{
  1105. content: "";
  1106. display:inline-block;
  1107. $sq:5px;
  1108. width: $sq; height:$sq;
  1109. border: 1px solid #000;
  1110. margin-right: 0.5em;
  1111. }
  1112. }
  1113. .term-description{
  1114. display: inline-block;
  1115. margin-left: 1.5em;
  1116. text-align: left;
  1117. width:250px;
  1118. word-wrap:break-word;
  1119. // word-break:break-all;
  1120. hyphens: auto;
  1121. white-space: normal;
  1122. background-color: $transparent-bg;
  1123. padding:0.5em;
  1124. padding-bottom:0;
  1125. p{
  1126. font-size: 0.65em;
  1127. margin:0;
  1128. }
  1129. }
  1130. }
  1131. // TODO: replace variable system by attribute color
  1132. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1133. // border-color: attr(color);
  1134. // background-color: attr(color);
  1135. // }
  1136. &[tid='134']{
  1137. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1138. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  1139. &[tid='121']{
  1140. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1141. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  1142. &[tid='125']{
  1143. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1144. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  1145. &[tid='119']{
  1146. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1147. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  1148. &[tid='132']{
  1149. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1150. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  1151. &[tid='122']{
  1152. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1153. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  1154. &[tid='129']{
  1155. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1156. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  1157. &[tid='120']{
  1158. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1159. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  1160. &[tid='130']{
  1161. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1162. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  1163. &[tid='118']{
  1164. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1165. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  1166. &[tid='127']{
  1167. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1168. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  1169. &[tid='133']{
  1170. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1171. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  1172. &[tid='128']{
  1173. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1174. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  1175. &[tid='124']{
  1176. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1177. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  1178. &[tid='116']{
  1179. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1180. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  1181. &[tid='117']{
  1182. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1183. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  1184. &[tid='131']{
  1185. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1186. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  1187. &[tid='126']{
  1188. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1189. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  1190. &[tid='123']{
  1191. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1192. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  1193. // &.highlighted{
  1194. // a.term_link{
  1195. // color: red;
  1196. // }
  1197. // }
  1198. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  1199. a.articles-link:not(:hover):not(.is-active):before{
  1200. background-color: #fff!important;
  1201. }
  1202. &:not(.opened){
  1203. a.term-link:not(:hover):not(.highlighted):before{
  1204. background-color: #fff!important;
  1205. }
  1206. }
  1207. &.opened{
  1208. // outline: 1px solid purple;
  1209. a.term-link:after {
  1210. content: '';
  1211. position: absolute;
  1212. left: 15px; right:0;
  1213. bottom: -3px;
  1214. border-bottom: 1px solid grey;
  1215. }
  1216. .entree-content{
  1217. width:350px;
  1218. opacity: 1;
  1219. }
  1220. }
  1221. // &:not(:first-of-type) .entree-content{display: none;}
  1222. }
  1223. }
  1224. }
  1225. $icons_w:20px;
  1226. @mixin iconlinkblock($bgimgurl) {
  1227. pointer-events: all;
  1228. margin-left: 0.5em;
  1229. a{
  1230. $wh:$icons_w;
  1231. display: block;
  1232. width:$wh; height:$wh;
  1233. text-indent: $wh*2;
  1234. margin: 0;
  1235. overflow: hidden;
  1236. mask-image: $bgimgurl;
  1237. mask-size: contain;
  1238. background-color: #000;
  1239. transition: background-color 0.3s ease-in-out;
  1240. cursor: pointer;
  1241. &.is-active{
  1242. background-color: red;
  1243. }
  1244. }
  1245. }
  1246. #block-studiolinkblock{
  1247. margin-bottom: 1em;
  1248. @include iconlinkblock(url(../img/studio.svg));
  1249. }
  1250. .block.random-player{
  1251. margin-bottom: 1em;
  1252. @include iconlinkblock(url(../img/random.svg));
  1253. }
  1254. #block-userlogin{
  1255. margin-bottom: 1em;
  1256. pointer-events: all;
  1257. // outline: 1px solid blue;
  1258. $wh:$icons_w;
  1259. position: relative;
  1260. width:$wh; height: $wh;
  1261. // background-color: blue;
  1262. h2{
  1263. position: relative;
  1264. width:$wh; height:$wh;
  1265. background-image: url(../img/studio.svg);
  1266. // background-color: red;
  1267. background-size: contain;
  1268. text-indent: $wh*2;
  1269. margin: 0;
  1270. overflow: hidden;
  1271. z-index: 1;
  1272. cursor: pointer;
  1273. }
  1274. .block-content{
  1275. z-index: 0;
  1276. position:absolute;
  1277. right:0;bottom:$wh;
  1278. padding:0.5em;
  1279. padding-bottom: 20px;
  1280. background-color: $transparent-bg;
  1281. border-top: 1px solid red;
  1282. border-bottom: 1px solid red;
  1283. overflow: hidden;
  1284. box-sizing:border-box;
  1285. height: 0px;
  1286. opacity:0;
  1287. pointer-events:none;
  1288. transition: all 0.5s ease-in-out;
  1289. transition-property: height,opacity;
  1290. // &:hover{
  1291. // height:200px;
  1292. // opacity:1;
  1293. // pointer-events: auto;
  1294. // }
  1295. form{
  1296. font-size: 0.75em;
  1297. }
  1298. .item-list{
  1299. ul{margin:0;}
  1300. li{
  1301. margin:0;
  1302. list-style: none;
  1303. a{
  1304. color: inherit;
  1305. text-decoration: none;
  1306. font-size: 0.75em;
  1307. white-space:nowrap;
  1308. }
  1309. }
  1310. }
  1311. }
  1312. &:hover{
  1313. .block-content{
  1314. height:200px;
  1315. opacity: 1;
  1316. pointer-events:auto;
  1317. }
  1318. }
  1319. }
  1320. #block-edlpsearchlinkblock{
  1321. margin-bottom: 1em;
  1322. @include iconlinkblock(url(../img/search.svg));
  1323. margin-left: 0.2em;
  1324. }
  1325. }
  1326. // _ _ _ ___
  1327. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  1328. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  1329. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  1330. // |_| |_|
  1331. .node-popup{
  1332. .inner{
  1333. position: relative;
  1334. .entrees{
  1335. span{
  1336. @include entrie-micro-square;
  1337. }
  1338. }
  1339. .title{
  1340. margin:0.3em 0;
  1341. font-size: 1.2em;
  1342. font-weight: 500;
  1343. }
  1344. .description{
  1345. p{
  1346. margin:0;
  1347. font-size: 0.75em;
  1348. }
  1349. }
  1350. .chutier-icon{
  1351. position:absolute;
  1352. top:1em; right:1em;
  1353. }
  1354. }
  1355. }
  1356. // __ ___ _ ___ _ _ _
  1357. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  1358. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  1359. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  1360. // complete rewrite of url_to_video_filter css
  1361. .url-to-video-container{
  1362. // display:block;
  1363. margin:10px auto;
  1364. // width:100%;
  1365. &.no-js{
  1366. border:solid black 1px;
  1367. .loader{
  1368. // background:url(../images/no-js.png) no-repeat center center;
  1369. // background-size:40px 40px;
  1370. }
  1371. .url-to-video-player{
  1372. cursor:auto;
  1373. }
  1374. }
  1375. .loader{
  1376. // top:240px;
  1377. // left:50%;
  1378. // transform:translate(-50%, -50%);
  1379. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  1380. top:auto; left: auto;
  1381. transform: none;
  1382. }
  1383. span.url-to-video-player{
  1384. // display:block;
  1385. // width:100%;
  1386. /* assuming that the video has a 16:9 ratio */
  1387. // padding-bottom:56.25%;
  1388. padding-bottom:0;
  1389. // overflow:hidden;
  1390. // position:relative;
  1391. // width:100%;
  1392. // height:100%;
  1393. height:auto;
  1394. // cursor:hand;
  1395. // cursor:pointer;
  1396. // display: block;
  1397. &:before{
  1398. content: "";
  1399. display: block;
  1400. /* assuming that the video has a 16:9 ratio */
  1401. padding-top: 56.25%;
  1402. }
  1403. img.player-thumb
  1404. {
  1405. // background-position:center center;
  1406. // background-size:cover;
  1407. // position: absolute;
  1408. // top: 0;
  1409. // left: 0;
  1410. // width: 100%;
  1411. // height: 100%;
  1412. // cursor:pointer;
  1413. }
  1414. .play-button
  1415. {
  1416. z-index: 5;
  1417. // height:40px;
  1418. // width:40px;
  1419. // display:block;
  1420. // background:url(../images/play-button.png) no-repeat center center;
  1421. // background-size:40px 40px;
  1422. // position:absolute;
  1423. // top:240px;
  1424. top:50%;
  1425. // left:50%;
  1426. // transform:translate(-50%, -50%);
  1427. // cursor:pointer;
  1428. }
  1429. iframe.player-iframe
  1430. {
  1431. // width:100%;
  1432. // height:100%;
  1433. // position:absolute;
  1434. // top:0;
  1435. // left:0;
  1436. }
  1437. }
  1438. }