app.scss 62 KB

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