app.scss 64 KB

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