app.scss 54 KB

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