app.scss 50 KB

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