app.scss 64 KB

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