app.scss 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728
  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. margin-top: 0.1em;
  938. }
  939. .cartels{
  940. width:calc(100% - 1.5em);
  941. // outline: 1px solid green;
  942. .first-cartel{
  943. // visibility: hidden;
  944. opacity:1;
  945. transition: opacity 0.2s ease-in-out;
  946. .entrees{
  947. @include entree-micro-square;
  948. }
  949. h2.node-title{
  950. margin:0.2em 0 0;
  951. font-size: 1em;
  952. font-weight: 600;
  953. }
  954. p{
  955. margin:0;
  956. font-size: 0.882em;
  957. }
  958. }
  959. .second-cartel{
  960. position: absolute;
  961. top: 0; left:0;
  962. // background-color: white;
  963. height:100%; min-width: 100%;
  964. opacity: 0;
  965. transition: opacity 0.2s ease-in-out;
  966. white-space: nowrap;
  967. &>*{
  968. display: inline-block;
  969. vertical-align: top;
  970. white-space: normal;
  971. }
  972. .col-left{
  973. // position: relative;
  974. a.ajax-link{
  975. display: block;
  976. font-size: 0.82em;
  977. font-weight: 600;
  978. }
  979. .addtoany_list {
  980. // outline: 1px solid blue;
  981. // margin-top: -1em;
  982. // top: -1em;
  983. & > a:first-child{
  984. padding-left: 0;
  985. margin-left:-4px;
  986. }
  987. }
  988. }
  989. .col-right{
  990. border-left:1px solid #1A1A1A;
  991. margin-left:5px; padding-left:5px;
  992. max-width: calc(100% - 100px);
  993. h3{
  994. // display: inline;
  995. // float: left;
  996. @include content_subtitles;
  997. margin:0;
  998. }
  999. div.item-list{
  1000. // float: left;
  1001. // display: inline;
  1002. max-width: 100%;
  1003. }
  1004. ul{
  1005. // display: inline;
  1006. max-width: 100%;
  1007. padding:0; margin:0;
  1008. li{
  1009. padding:0; margin:0;
  1010. display: inline-block;
  1011. list-style: none;
  1012. &:not(:last-of-type){
  1013. margin-right:0.4em;
  1014. &:after{
  1015. content:","
  1016. }
  1017. }
  1018. a{
  1019. @include content_courant;
  1020. }
  1021. }
  1022. }
  1023. }
  1024. }
  1025. }
  1026. &:hover, &.second-visible{
  1027. .first-cartel{
  1028. opacity: 0;
  1029. }
  1030. .second-cartel{
  1031. opacity: 1;
  1032. }
  1033. }
  1034. // article:not(.has-second-cartel){
  1035. // .second-cartel{
  1036. // display:none;
  1037. // }
  1038. // }
  1039. }
  1040. }
  1041. // ___ _ _ _
  1042. // / __| |_ _ _ __| (_)___
  1043. // \__ \ _| || / _` | / _ \
  1044. // |___/\__|\_,_\__,_|_\___/
  1045. .chutier-icon{
  1046. $s:1em;
  1047. z-index: 1;
  1048. display: block;
  1049. position: relative;
  1050. width:$s;height:$s;
  1051. overflow: hidden;
  1052. text-indent: 50em;
  1053. // background-color: red;
  1054. background-position: center;
  1055. background-repeat: no-repeat;
  1056. background-size: contain;
  1057. background-image: url(../img/favori-off.svg);
  1058. &[action="remove"]{
  1059. background-image: url(../img/favori-on.svg);
  1060. }
  1061. transition: opacity 0.2s ease-in-out;
  1062. &.ajax-loading{
  1063. opacity: 0.2;
  1064. }
  1065. &.not-logedin{
  1066. overflow: visible;
  1067. }
  1068. .popup{
  1069. display:none;
  1070. position: absolute;
  1071. top:0; left:0;
  1072. width:300px; height:auto; min-height: 100px;
  1073. .inner{
  1074. background-color: rgba(255,255,255,0.9);
  1075. border: 1px solid red;
  1076. text-indent: 0;
  1077. padding: 0.5em;
  1078. margin:$s*1.2 0 0 $s*1.2;
  1079. p{
  1080. font-size: 0.756em;
  1081. margin:0;
  1082. &:not(:last-of-type){
  1083. margin: 0 0 0.4em 0;
  1084. }
  1085. }
  1086. }
  1087. }
  1088. &:hover{
  1089. .popup{
  1090. display: block;
  1091. }
  1092. }
  1093. }
  1094. .row .col .studio-ui-wrapper{
  1095. height: 100%;
  1096. }
  1097. #studio-ui{
  1098. height:100%;
  1099. @mixin draggable_sortable_field__item {
  1100. display: inline-block;
  1101. position: relative;
  1102. white-space: nowrap;
  1103. pointer-events: none;
  1104. // margin-right: 25px;
  1105. width:25px;
  1106. height: 100%;
  1107. &.ui-draggable-dragging{
  1108. height:100px;
  1109. }
  1110. opacity: 1;
  1111. transition: opacity 0.1s ease-in-out;
  1112. &.ready-to-remove{
  1113. opacity:0.3;
  1114. cursor:crosshair;
  1115. }
  1116. &>*{
  1117. pointer-events: all;
  1118. }
  1119. article{
  1120. // outline: 1px dotted purple;
  1121. position: absolute;
  1122. bottom:0;
  1123. transform-origin: left top;
  1124. transform: rotateZ(-45deg);
  1125. h2{
  1126. margin:0;
  1127. text-transform: none;
  1128. a{
  1129. white-space: nowrap!important;
  1130. &:before{
  1131. content:"";
  1132. display: inline-block;
  1133. vertical-align: middle;
  1134. width:$compo_square_size; height:$compo_square_size;
  1135. border: 1px solid white;
  1136. background-color: white;
  1137. // TODO: entries color;
  1138. }
  1139. font-size: 0.756em;
  1140. }
  1141. }
  1142. }
  1143. .handler{
  1144. z-index: 99;
  1145. cursor: grab;
  1146. position: absolute;
  1147. bottom:0; left:1px;
  1148. display: block;
  1149. width:$compo_square_size; height:$compo_square_size;
  1150. transform-origin: left top;
  1151. transform: rotateZ(-45deg);
  1152. border: 1px solid red;
  1153. background-color: white;
  1154. // TODO: entries color;
  1155. }
  1156. &.is-active .handler{
  1157. background-color: red;
  1158. }
  1159. } // end mixin
  1160. .chutier_ui{
  1161. height: 65%;
  1162. border-bottom: 1px solid red;
  1163. position: relative;
  1164. &>h2{
  1165. z-index: 10;
  1166. position: absolute;
  1167. width: calc(100% - 20px);
  1168. margin: 0;
  1169. padding:0.5em 0;
  1170. font-size: 1em;
  1171. font-weight: 500;
  1172. text-transform: uppercase;
  1173. // outline: 1px solid orange;
  1174. background-color: white;
  1175. }
  1176. .documents{
  1177. padding-top: 35px;
  1178. height:calc(100% - 35px);
  1179. overflow-y: auto;
  1180. overflow-x: hidden;
  1181. // box-sizing: content-box;
  1182. // outline: 1px solid green;
  1183. ul,li{
  1184. margin:0; padding:0;
  1185. line-height: 1.2;
  1186. }
  1187. ul{
  1188. display: grid;
  1189. grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
  1190. }
  1191. li{
  1192. // grid-auto-flow: row;
  1193. // display: inline-block; vertical-align: top;
  1194. // width:32%;
  1195. margin-bottom: 0.3em;
  1196. white-space: nowrap;
  1197. >div{
  1198. display:inline-block;
  1199. padding-right: 2em;
  1200. &.ui-draggable{
  1201. cursor:grab;
  1202. }
  1203. }
  1204. .chutier-icon{
  1205. display: inline-block;
  1206. width:0.7em; height:0.7em;
  1207. margin-right: 0.3em;
  1208. opacity: 0.8;
  1209. &.on-compo{
  1210. background-image: url(../img/favori-oncompo.svg);
  1211. }
  1212. }
  1213. a.audio-link{
  1214. // text-transform: capitalize;
  1215. font-size: 0.756em;
  1216. margin-right: 0.5em;
  1217. white-space: normal;
  1218. }
  1219. .entrees{
  1220. display:inline-block;
  1221. @include entree-micro-square;
  1222. }
  1223. }
  1224. }
  1225. }
  1226. $compo_square_size:12px;
  1227. .composition_ui{
  1228. height:35%;
  1229. &>h2{
  1230. z-index: 10;
  1231. position: absolute;
  1232. width: calc(100% - 20px);
  1233. margin: 0;
  1234. padding:0.5em 0;
  1235. font-size: 1em;
  1236. font-weight: 500;
  1237. text-transform: uppercase;
  1238. // outline: 1px solid orange;
  1239. background-color: white;
  1240. }
  1241. >.wrapper{
  1242. padding-top: 35px;
  1243. height:calc(100% - 35px);
  1244. overflow: hidden;
  1245. white-space: nowrap;
  1246. section.compositions-list, section.composer{
  1247. display: inline-block; vertical-align: bottom;
  1248. height: 100%;
  1249. }
  1250. .compositions-list{
  1251. width:30%;
  1252. height:100%; // this is not working
  1253. overflow-y: auto;
  1254. box-sizing: border-box;
  1255. padding-right: 0.5em;
  1256. border-right: 1px solid #aaa;
  1257. li{
  1258. opacity: 1;
  1259. transition: opacity 0.3s ease-in-out;
  1260. &:hover{
  1261. a.delete-composition-link{
  1262. opacity: 1;
  1263. }
  1264. }
  1265. &.ajax-loading{
  1266. opacity: 0.4;
  1267. }
  1268. }
  1269. a{
  1270. font-size: 0.756em;
  1271. $w:7px;
  1272. $s:7px; $m:5px;
  1273. &.composition-link{
  1274. display: inline-block;
  1275. box-sizing: border-box;
  1276. // width:100%;
  1277. width: calc(100% - #{$w +$s +$m +2});
  1278. &:before{
  1279. content: "";
  1280. width:$w; height:$w;
  1281. border: 1px solid black;
  1282. background-color: white;
  1283. display: inline-block;
  1284. vertical-align: middle;
  1285. margin-right: $m;
  1286. }
  1287. &.ajax-loading:before{
  1288. @include spining-loader-square;
  1289. }
  1290. &.is-active:before{
  1291. background-color: black;
  1292. }
  1293. }
  1294. &.delete-composition-link{
  1295. display: inline-block;
  1296. vertical-align: middle;
  1297. $s:7px; width:$s; height:$s;
  1298. margin-left: $m;
  1299. text-indent: 300px; overflow: hidden;
  1300. background-image: url('../img/delete.svg');
  1301. background-repeat: no-repeat;
  1302. background-size: contain;
  1303. opacity: 0;
  1304. transition: opacity 0.3s ease-in-out;
  1305. }
  1306. &.new-composition-link{
  1307. // padding-left: 1em;
  1308. &:before{
  1309. content:"+";
  1310. // font-weight: bold;
  1311. margin-right: $m;
  1312. }
  1313. display: inline-block;
  1314. vertical-align: top;
  1315. overflow: hidden;
  1316. margin-top: 0.4em;
  1317. height:1em;
  1318. transition: height 0.2s ease-in-out;
  1319. &.folded{
  1320. height:0;
  1321. }
  1322. }
  1323. }
  1324. .new-compo-form{
  1325. input[type="text"]{
  1326. font-size: 0.756em;
  1327. padding:0 0.5em;
  1328. width:calc(100% - 50px);
  1329. height:1.7em;
  1330. border: none;
  1331. border-top:1px dotted red;
  1332. border-bottom:1px dotted red;
  1333. }
  1334. button{
  1335. background: none;
  1336. border: none;
  1337. font-size: 1em;
  1338. line-height: 1;
  1339. font-weight: bold;
  1340. }
  1341. opacity: 1;
  1342. transition: opacity 0.2s ease-in-out;
  1343. &.ajax-loading{
  1344. opacity: 0.4;
  1345. }
  1346. }
  1347. }
  1348. .composer{
  1349. position: relative;
  1350. box-sizing: border-box;
  1351. padding-left: 0.5em;
  1352. width:69%;
  1353. $header_height:25px;
  1354. $actions_height:25px;
  1355. $padding:5px;
  1356. opacity:1;
  1357. transition: opacity 0.3s ease-in-out;
  1358. &.ajax-loading{
  1359. opacity:0.3;
  1360. }
  1361. >*{
  1362. box-sizing: border-box;
  1363. }
  1364. >header{
  1365. height:$header_height;
  1366. padding-bottom:$padding;
  1367. font-size: 0.756em;
  1368. }
  1369. >.composition{
  1370. position: relative;
  1371. height:calc(100% - #{$header_height + $actions_height + $padding*2});
  1372. // outline: 1px solid red;
  1373. padding-bottom: 1em;
  1374. .field--name-documents{
  1375. position: relative;
  1376. box-sizing: border-box;
  1377. height: 100%;
  1378. width: 100%; padding:0 0.5em;
  1379. $h:29px; $w:calc(100% - 2px); $c:#A1A1A1;
  1380. &:before, &:after{
  1381. content: "";
  1382. width:$w;
  1383. position: absolute;
  1384. bottom:0; left:0;
  1385. // z-index: -1;
  1386. }
  1387. &:before{
  1388. border-top: 1px solid $c;
  1389. height:$h /2;
  1390. }
  1391. &:after{
  1392. border-left: 1px solid $c;
  1393. border-right: 1px solid $c;
  1394. height:$h;
  1395. }
  1396. .field__item{
  1397. @include draggable_sortable_field__item;
  1398. }
  1399. }
  1400. .remove-drop-zone{
  1401. position: absolute;
  1402. top:0; left:0; width:100%; height:15%;
  1403. z-index: 150;
  1404. border-radius: 5px;
  1405. border: 1px dotted rgb(193, 193, 193);
  1406. background-image: url('../img/trash.svg');
  1407. background-repeat: no-repeat;
  1408. background-position: right bottom;
  1409. background-size: contain;
  1410. &.ui-droppable-hover{
  1411. background-color: rgb(241, 240, 240);
  1412. // background-color: red;
  1413. }
  1414. }
  1415. }
  1416. >.actions{
  1417. padding-top:$padding;
  1418. height:$actions_height;
  1419. // outline: 1px solid blue;
  1420. .compo-player-controls{
  1421. @include audio_controls;
  1422. }
  1423. }
  1424. }
  1425. }
  1426. }
  1427. // drag and drop specifics
  1428. // created by js
  1429. .field__item.ui-draggable-dragging{
  1430. // outline: 1px solid green;
  1431. @include draggable_sortable_field__item;
  1432. }
  1433. }
  1434. // ___ _
  1435. // / __| ___ __ _ _ _ __| |_
  1436. // \__ \/ -_) _` | '_/ _| ' \
  1437. // |___/\___\__,_|_| \__|_||_|
  1438. .col[theme="edlp_search_search_form"]{
  1439. &, >.wrapper{
  1440. position: relative;
  1441. height:100%;
  1442. }
  1443. }
  1444. #edlp-search-form{
  1445. height:100%;
  1446. .fieldgroup{
  1447. border-bottom: 1px solid red;
  1448. margin-top:1em;
  1449. margin-bottom: 0em;
  1450. legend{
  1451. font-size: 0.9em;
  1452. margin: 0;
  1453. font-weight: 500;
  1454. }
  1455. .fieldset-wrapper{
  1456. padding-bottom: 1em;
  1457. }
  1458. .form-item{
  1459. margin:0;
  1460. }
  1461. }
  1462. input[type="text"], input[type="search"]{
  1463. font-size: 0.8em;
  1464. padding:0.2em; margin:0;
  1465. border: 1px solid #aaa;
  1466. border-radius: 3px;
  1467. width:90%;
  1468. }
  1469. #edit-entries--wrapper{
  1470. legend{
  1471. cursor: pointer;
  1472. display: block;
  1473. width:100%;
  1474. &:after{
  1475. content: '\2304';
  1476. font-size: 2em;
  1477. font-weight: 200;
  1478. display:inline-block;
  1479. line-height: 0;
  1480. letter-spacing: 0;
  1481. // width:15px;
  1482. height:13px;
  1483. overflow: hidden;
  1484. // text-align: center;
  1485. // outline: 1px solid orange;
  1486. float: right;
  1487. margin-top: 0.5em 0 0 0;
  1488. }
  1489. }
  1490. #edit-entries{
  1491. overflow: hidden;
  1492. height:1px;
  1493. margin:0;
  1494. transition: height 0.4s ease-in-out;
  1495. }
  1496. &.opened{
  1497. legend:after{
  1498. // content: '\2303';
  1499. transform: rotateZ(180deg);
  1500. transform-origin: center;
  1501. margin-top: 0 0 0.5em 0;
  1502. }
  1503. #edit-entries{
  1504. height:362px;
  1505. }
  1506. }
  1507. }
  1508. #edit-entries{
  1509. .form-item{
  1510. label, input{
  1511. display: inline-block;
  1512. vertical-align: middle;
  1513. }
  1514. label{
  1515. font-size: 0.756em;
  1516. }
  1517. input[type="checkbox"]{
  1518. appearance:none;
  1519. $w:10px;
  1520. width:$w; height:$w;
  1521. border: 1px double black;
  1522. background-color: white;
  1523. &:checked{
  1524. background-color: black;
  1525. }
  1526. &[value='134']{
  1527. border-color: var(--e-col-134);
  1528. &:checked{background-color: var(--e-col-134);}
  1529. }
  1530. &[value='121']{
  1531. border-color: var(--e-col-121);
  1532. &:checked{background-color: var(--e-col-121);}
  1533. }
  1534. &[value='125']{
  1535. border-color: var(--e-col-125);
  1536. &:checked{background-color: var(--e-col-125);}
  1537. }
  1538. &[value='119']{
  1539. border-color: var(--e-col-119);
  1540. &:checked{background-color: var(--e-col-119);}
  1541. }
  1542. &[value='132']{
  1543. border-color: var(--e-col-132);
  1544. &:checked{background-color: var(--e-col-132);}
  1545. }
  1546. &[value='122']{
  1547. border-color: var(--e-col-122);
  1548. &:checked{background-color: var(--e-col-122);}
  1549. }
  1550. &[value='129']{
  1551. border-color: var(--e-col-129);
  1552. &:checked{background-color: var(--e-col-129);}
  1553. }
  1554. &[value='120']{
  1555. border-color: var(--e-col-120);
  1556. &:checked{background-color: var(--e-col-120);}
  1557. }
  1558. &[value='130']{
  1559. border-color: var(--e-col-130);
  1560. &:checked{background-color: var(--e-col-130);}
  1561. }
  1562. &[value='118']{
  1563. border-color: var(--e-col-118);
  1564. &:checked{background-color: var(--e-col-118);}
  1565. }
  1566. &[value='127']{
  1567. border-color: var(--e-col-127);
  1568. &:checked{background-color: var(--e-col-127);}
  1569. }
  1570. &[value='133']{
  1571. border-color: var(--e-col-133);
  1572. &:checked{background-color: var(--e-col-133);}
  1573. }
  1574. &[value='128']{
  1575. border-color: var(--e-col-128);
  1576. &:checked{background-color: var(--e-col-128);}
  1577. }
  1578. &[value='124']{
  1579. border-color: var(--e-col-124);
  1580. &:checked{background-color: var(--e-col-124);}
  1581. }
  1582. &[value='116']{
  1583. border-color: var(--e-col-116);
  1584. &:checked{background-color: var(--e-col-116);}
  1585. }
  1586. &[value='117']{
  1587. border-color: var(--e-col-117);
  1588. &:checked{background-color: var(--e-col-117);}
  1589. }
  1590. &[value='131']{
  1591. border-color: var(--e-col-131);
  1592. &:checked{background-color: var(--e-col-131);}
  1593. }
  1594. &[value='126']{
  1595. border-color: var(--e-col-126);
  1596. &:checked{background-color: var(--e-col-126);}
  1597. }
  1598. &[value='123']{
  1599. border-color: var(--e-col-123);
  1600. &:checked{background-color: var(--e-col-123);}
  1601. }
  1602. }
  1603. }
  1604. }
  1605. input[type="submit"]{
  1606. font-size: 0.756em;
  1607. padding:0.1em;
  1608. margin:1em 0 0 0;
  1609. float:right;
  1610. opacity: 1;
  1611. transition: opacity 0.3s ease-in-out;
  1612. }
  1613. &.ajax-loading input[type="submit"]{
  1614. opacity:0.2;
  1615. pointer-events: none;
  1616. }
  1617. }
  1618. .col[theme="edlp_search_results"]{
  1619. opacity: 1;
  1620. transition: opacity 0.3s ease-in-out;
  1621. &.ajax-loading{
  1622. opacity:0.2;
  1623. }
  1624. article.node{
  1625. &:first-of-type{
  1626. margin-top: 1em!important;
  1627. }
  1628. .entrees{
  1629. @include entree-micro-square;
  1630. }
  1631. h2.node-title{
  1632. margin:0 0 0.3em 0;
  1633. // font-size: 0.8em;
  1634. // font-weight: 500;
  1635. // text-transform: none;
  1636. }
  1637. // .description{
  1638. // p{
  1639. // margin:0;
  1640. // font-size: 0.75em;
  1641. // }
  1642. // }
  1643. }
  1644. }
  1645. // _ _ _ _ _
  1646. // /_\ (_)__ ___ __ | \| |___ __| |___
  1647. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  1648. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  1649. // |__/
  1650. // body.path-edlp-node main{
  1651. // main .col>.wrapper, .edlp-ajax-node{
  1652. // height: 100%;
  1653. // }
  1654. // }
  1655. // _ _
  1656. // /_\ __ _ ___ _ _ __| |__ _
  1657. // / _ \/ _` / -_) ' \/ _` / _` |
  1658. // /_/ \_\__, \___|_||_\__,_\__,_|
  1659. // |___/
  1660. body.path-agenda main .col{
  1661. &>.wrapper{
  1662. height:100%;
  1663. }
  1664. }
  1665. .agenda{
  1666. // position: relative;
  1667. // white-space: nowrap;
  1668. // height: 100%;
  1669. // >*{
  1670. // white-space: normal;
  1671. // }
  1672. // div.column{
  1673. // display: inline-block;
  1674. // vertical-align: top;
  1675. // height:100%;
  1676. // }
  1677. // div.next-event{
  1678. // width:65%;
  1679. // }
  1680. // div.future-past-events{
  1681. // width:33%;
  1682. // }
  1683. ul,li{
  1684. margin:0; padding:0;
  1685. list-style: none;
  1686. }
  1687. nav{
  1688. a{
  1689. font-size: 0.756em;
  1690. }
  1691. }
  1692. }
  1693. // _ _
  1694. // | || |___ _ __ ___
  1695. // | __ / _ \ ' \/ -_)
  1696. // |_||_\___/_|_|_\___|
  1697. // ___ _ _ _
  1698. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  1699. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  1700. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  1701. body.path-frontpage, body.path-productions{
  1702. .layout-content .row{
  1703. // opacity: 1;
  1704. white-space: normal;
  1705. min-height: 100%;
  1706. .grid{
  1707. position: relative;
  1708. min-height: 100%; max-height: 100%;
  1709. }
  1710. .col{
  1711. height:auto;
  1712. opacity:1;
  1713. transition: opacity 0.5s ease-in-out;
  1714. // box-sizing: content-box;
  1715. &.offfield{
  1716. opacity: 0;
  1717. transition: opacity 0s ease-in-out;
  1718. }
  1719. &.col-2:last-child{
  1720. padding-left: 0em;
  1721. padding-right: 1em;
  1722. }
  1723. >.wrapper{
  1724. margin-bottom: 1em;
  1725. padding:0;
  1726. >*{padding:0;}
  1727. article.node{
  1728. .field--name-field-visuel{
  1729. // a,img{
  1730. // display: block;
  1731. // width: 100%;
  1732. // height:auto;
  1733. // }
  1734. // http://www.goldenapplewebdesign.com/responsive-aspect-ratios-with-pure-css/
  1735. // maintain box size without waiting for image loading
  1736. a{
  1737. display: block;
  1738. width: 100%;
  1739. padding-bottom: 56.25%; // ratio 800*450;
  1740. // height:auto;
  1741. }
  1742. img{
  1743. // display: none;
  1744. position: absolute;
  1745. top: 0; bottom: 0; left: 0; right: 0;
  1746. }
  1747. }
  1748. header{
  1749. background-color: rgba(255,255,255,0.95);
  1750. box-sizing: border-box;
  1751. width: 100%;
  1752. padding:0.5em 1em;
  1753. h2.node-title{
  1754. margin:0;
  1755. @include content_titles;
  1756. }
  1757. // p{margin: 0;}
  1758. }
  1759. &.node--view-mode-image-2-columns{
  1760. header{
  1761. position: absolute;
  1762. bottom: 0; left:0;
  1763. h2.node-title{
  1764. @include content_big_titles;
  1765. }
  1766. }
  1767. }
  1768. &.node--view-mode-image-1-columns{
  1769. .field--name-field-visuel{
  1770. padding-bottom: 35px;
  1771. }
  1772. header{
  1773. box-sizing: border-box;
  1774. position: absolute;
  1775. bottom: 0; left:0;
  1776. }
  1777. }
  1778. &.node--view-mode-text-1-column{
  1779. // box-sizing: border-box;
  1780. padding:0 1em;
  1781. }
  1782. }
  1783. }
  1784. }
  1785. }
  1786. }
  1787. // ___ _
  1788. // | __|__ ___| |_ ___ _ _
  1789. // | _/ _ \/ _ \ _/ -_) '_|
  1790. // |_|\___/\___/\__\___|_|
  1791. @mixin oblique-list {
  1792. display: inline-block;
  1793. position: relative;
  1794. list-style: none;
  1795. margin: 0 1.5em 0 0;
  1796. // width:2em; height:10em;
  1797. padding: 0;
  1798. a{
  1799. position: absolute;
  1800. bottom: 0;
  1801. transform-origin: left bottom;
  1802. transform: rotateZ(-45deg);
  1803. color: #000;
  1804. text-decoration: none;
  1805. text-transform: uppercase;
  1806. font-size: 0.756em;
  1807. white-space: nowrap;
  1808. }
  1809. }
  1810. footer{
  1811. position: relative;
  1812. pointer-events: none;
  1813. // outline: 1px dotted blue;
  1814. >.wrapper{
  1815. white-space: nowrap;
  1816. // height:100%;
  1817. >.region{
  1818. // height:100%;
  1819. // display: table-cell;
  1820. display: inline-block;
  1821. vertical-align: baseline;
  1822. white-space:normal;
  1823. // pointer-events: none;
  1824. // outline: 1px dotted purple;
  1825. // position: relative;
  1826. >*{
  1827. display: inline-block; vertical-align: bottom;
  1828. }
  1829. }
  1830. .region-footer-left{
  1831. // float:left;
  1832. width:12%;
  1833. // min-width:50px;
  1834. text-align: left;
  1835. }
  1836. .region-footer-center{
  1837. // float: none;
  1838. width: 73%;
  1839. overflow:hidden;
  1840. text-align: center;
  1841. // z-index: 2;
  1842. }
  1843. .region-footer-right{
  1844. // float:right;
  1845. min-width:12%;
  1846. // min-width: 50px;
  1847. text-align: right;
  1848. // position: absolute;
  1849. // bottom:0; right:0;
  1850. // z-index: 1;
  1851. }
  1852. @media only screen and (max-width: 1270px) {
  1853. .region-footer-left{
  1854. width:9%;
  1855. }
  1856. .region-footer-center{
  1857. width: 80%;
  1858. overflow:hidden;
  1859. // text-align: left; // why ??
  1860. text-align: center;
  1861. }
  1862. .region-footer-right{
  1863. box-sizing: content-box;
  1864. min-width:5%;
  1865. }
  1866. }
  1867. }
  1868. #block-footer{
  1869. display: inline-block;
  1870. margin-bottom: 1em;
  1871. ul{
  1872. margin:0;
  1873. padding:0;
  1874. // white-space: nowrap;
  1875. li{
  1876. pointer-events: all;
  1877. // @include oblique-list;
  1878. display: inline-block;
  1879. padding:0;
  1880. // &:first-of-type{
  1881. // margin-left: 1em;
  1882. // }
  1883. white-space:nowrap;
  1884. a{
  1885. font-size: 0.756em;
  1886. @include btn;
  1887. &:before{
  1888. content: "";
  1889. display:inline-block;
  1890. $sq:7px;
  1891. width: $sq; height:$sq;
  1892. border: 1px solid black;
  1893. margin-right: 0.5em;
  1894. }
  1895. &:hover:before,
  1896. &.is-active:before{
  1897. background-color: black;
  1898. }
  1899. &.ajax-loading:before{
  1900. @include spining-loader-square;
  1901. }
  1902. }
  1903. }
  1904. }
  1905. @media only screen and (max-width: 1270px) {
  1906. margin-top: 15px;
  1907. ul{
  1908. li{
  1909. display: block;
  1910. margin-left: 0!important;
  1911. padding:0;
  1912. line-height: 0.6;
  1913. a{
  1914. @include content_petit;
  1915. padding:0;
  1916. }
  1917. }
  1918. }
  1919. }
  1920. }
  1921. // remove #block-productions from selector
  1922. // to enable again oblique style for all block-menu
  1923. nav#block-productions.block-menu{
  1924. display: inline-block;
  1925. ul{
  1926. margin:0;
  1927. padding:0;
  1928. li{
  1929. pointer-events: all;
  1930. @include oblique-list;
  1931. &:first-of-type{
  1932. margin-left: 1em;
  1933. }
  1934. a{
  1935. @include btn;
  1936. &:before{
  1937. content: "";
  1938. display:inline-block;
  1939. $sq:7px;
  1940. width: $sq; height:$sq;
  1941. border: 1px solid black;
  1942. margin-right: 0.5em;
  1943. }
  1944. &:hover:before,
  1945. &.is-active:before{
  1946. background-color: black;
  1947. }
  1948. &.ajax-loading:before{
  1949. @include spining-loader-square;
  1950. }
  1951. }
  1952. }
  1953. }
  1954. }
  1955. nav#block-productions.block-menu{
  1956. position: relative;
  1957. pointer-events: none;
  1958. display:none;
  1959. body.path-productions &, body.entity-type-node.bundle-page & {display:inline-block;}
  1960. ul{
  1961. margin-left: -3em;
  1962. white-space: nowrap;
  1963. li{
  1964. height:200px; // this is needed to respect the height of oblique links :(
  1965. a{
  1966. // outline: 1px solid blue;
  1967. pointer-events: all;
  1968. // @include btn;
  1969. background-color: rgba(255,255,255, 0.6);
  1970. padding-right: 0.4em;
  1971. &:before{
  1972. content: "";
  1973. display:inline-block;
  1974. $sq:7px;
  1975. width: $sq; height:$sq;
  1976. border: 1px solid red;
  1977. margin-right: 0.5em;
  1978. }
  1979. &:hover:before,
  1980. &.is-active:before,
  1981. &.is-active-trail:before{
  1982. background-color: red;
  1983. }
  1984. &.ajax-loading:before{
  1985. @include spining-loader-square;
  1986. }
  1987. }
  1988. }
  1989. }
  1990. }
  1991. .block-block-edlp-entrees{
  1992. pointer-events: none;
  1993. body.path-productions &,
  1994. body.entity-type-node.bundle-page &,
  1995. body.path-agenda & {display:none}
  1996. display: inline-block;
  1997. // vertical-align: top;
  1998. // outline: 1px dotted green;
  1999. div.item-list{
  2000. ul{
  2001. margin:0;
  2002. white-space: nowrap;
  2003. li{
  2004. @include oblique-list;
  2005. margin:0;
  2006. white-space: nowrap;
  2007. pointer-events: none;
  2008. // docsindex
  2009. &:first-of-type{
  2010. margin-right: 4em;
  2011. }
  2012. // articles
  2013. &:last-of-type:not(.entree){
  2014. margin-right: 5em;
  2015. }
  2016. span.oblique-wrapper{
  2017. height:120px; // this is needed to respect the height of oblique links :(
  2018. display: inline-block;
  2019. vertical-align: bottom;
  2020. position: relative;
  2021. width:1.5em;
  2022. }
  2023. a.term-link, a.docsindex-link, a.articles-link{
  2024. // outline: 1px solid blue;
  2025. pointer-events: all;
  2026. // background-color: #fff;
  2027. background-color: rgba(255,255,255, 0.6);
  2028. // @include btn;
  2029. padding-right: 0.4em;
  2030. color:black;
  2031. transition: color 0.3s ease-in-out;
  2032. &:before{
  2033. content: "";
  2034. display:inline-block;
  2035. $sq:7px;
  2036. width: $sq; height:$sq;
  2037. border: 1px solid #000;
  2038. background-color: #000;
  2039. margin-right: 0.5em;
  2040. transition: background-color 0.1s ease-in-out;
  2041. }
  2042. &.docsindex-link,
  2043. &.articles-link{
  2044. text-transform: capitalize;
  2045. &.ajax-loading:before{
  2046. @include spining-loader-square;
  2047. }
  2048. }
  2049. &.articles-link{
  2050. margin-left: 4em;
  2051. }
  2052. }
  2053. .entree-content{
  2054. display: inline-block;
  2055. // outline: 1px solid green;
  2056. width:0;
  2057. overflow: hidden;
  2058. opacity: 0;
  2059. transition: all 300ms ease-in-out;
  2060. transition-property: width,opacity;
  2061. span.oblique-wrapper:first-of-type{
  2062. margin-left: 0.5em;
  2063. }
  2064. span.oblique-wrapper a{
  2065. text-transform: none;
  2066. pointer-events: auto;
  2067. &:before{
  2068. content: "";
  2069. display:inline-block;
  2070. $sq:5px;
  2071. width: $sq; height:$sq;
  2072. border: 1px solid #000;
  2073. margin-right: 0.5em;
  2074. }
  2075. &.ajax-loading:before{
  2076. @include spining-loader-square;
  2077. }
  2078. }
  2079. .term-description{
  2080. display: inline-block;
  2081. margin-left: 1.5em;
  2082. text-align: left;
  2083. width:250px;
  2084. word-wrap:break-word;
  2085. // word-break:break-all;
  2086. hyphens: auto;
  2087. white-space: normal;
  2088. background-color: $transparent-bg;
  2089. padding:0.5em;
  2090. padding-bottom:0;
  2091. p{
  2092. font-size: 0.65em;
  2093. margin:0;
  2094. }
  2095. }
  2096. }
  2097. // TODO: replace variable system by attribute color
  2098. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2099. // border-color: attr(color);
  2100. // background-color: attr(color);
  2101. // }
  2102. &[tid='134']{
  2103. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2104. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  2105. &[tid='121']{
  2106. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2107. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  2108. &[tid='125']{
  2109. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2110. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  2111. &[tid='119']{
  2112. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2113. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  2114. &[tid='132']{
  2115. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2116. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  2117. &[tid='122']{
  2118. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2119. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  2120. &[tid='129']{
  2121. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2122. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  2123. &[tid='120']{
  2124. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2125. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  2126. &[tid='130']{
  2127. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2128. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  2129. &[tid='118']{
  2130. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2131. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  2132. &[tid='127']{
  2133. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2134. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  2135. &[tid='133']{
  2136. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2137. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  2138. &[tid='128']{
  2139. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2140. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  2141. &[tid='124']{
  2142. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2143. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  2144. &[tid='116']{
  2145. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2146. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  2147. &[tid='117']{
  2148. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2149. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  2150. &[tid='131']{
  2151. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2152. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  2153. &[tid='126']{
  2154. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2155. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  2156. &[tid='123']{
  2157. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2158. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  2159. // &.highlighted{
  2160. // a.term_link{
  2161. // color: red;
  2162. // }
  2163. // }
  2164. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  2165. a.docsindex-link:not(:hover):not(.is-active):before,
  2166. a.articles-link:not(:hover):not(.is-active):before{
  2167. background-color: #fff!important;
  2168. }
  2169. &:not(.opened):not(.highlighted){
  2170. a.term-link:not(:hover):before{
  2171. background-color: #fff!important;
  2172. }
  2173. }
  2174. &.opened{
  2175. // outline: 1px solid purple;
  2176. a.term-link:after {
  2177. content: '';
  2178. position: absolute;
  2179. left: 15px; right:0;
  2180. bottom: -3px;
  2181. border-bottom: 1px solid grey;
  2182. }
  2183. .entree-content{
  2184. width:350px;
  2185. opacity: 1;
  2186. }
  2187. }
  2188. // &:not(:first-of-type) .entree-content{display: none;}
  2189. }
  2190. }
  2191. &.opened, &.highlighted{
  2192. li:not(.opened):not(.highlighted):not(:hover){
  2193. a.term-link{
  2194. color:#a1a1a1;
  2195. }
  2196. }
  2197. }
  2198. }
  2199. }
  2200. $icons_w:20px;
  2201. $mobile_icon_w:15px;
  2202. @mixin iconlinkblock($bgimgurl, $bgimgurlactive) {
  2203. pointer-events: all;
  2204. margin-left: 0.5em;
  2205. position: relative;
  2206. // @include btn;
  2207. a{
  2208. box-sizing: border-box;
  2209. display: block;
  2210. $wh:$icons_w;
  2211. width:$wh; height:$wh;
  2212. text-indent: $wh*2;
  2213. margin: 0;
  2214. overflow: hidden;
  2215. // mask-image: $bgimgurl;
  2216. // mask-size: contain;
  2217. // background-color: #000;
  2218. // transition: background-color 0.3s ease-in-out;
  2219. background-image: $bgimgurl;
  2220. background-repeat: no-repeat;
  2221. background-size: contain;
  2222. cursor: pointer;
  2223. &:hover, &.is-active{
  2224. // background-color: red;
  2225. background-image: $bgimgurlactive;
  2226. }
  2227. &[alt]:hover{
  2228. // position:relative;
  2229. &:after{
  2230. content:attr(alt);
  2231. position:absolute;
  2232. right:0; bottom:$icons_w*1.2;
  2233. width:170px;
  2234. border: 1px solid red;
  2235. padding:0.5em;
  2236. font-size: 0.756em;
  2237. background-color: white;
  2238. z-index: 50;
  2239. }
  2240. }
  2241. html.is-mobile &{
  2242. $wh:$mobile_icon_w;
  2243. width:$wh; height:$wh;
  2244. text-indent: $wh*2;
  2245. }
  2246. }
  2247. }
  2248. .block.random-player{
  2249. margin-bottom: 1em;
  2250. @include iconlinkblock(url(../img/random.svg), url(../img/random-active.svg));
  2251. }
  2252. #block-studiolinkblock{
  2253. margin-bottom: 1em;
  2254. margin-left: 0.2em;
  2255. @include iconlinkblock(url(../img/studio.svg), url(../img/studio-active.svg));
  2256. }
  2257. #block-userlogin,
  2258. #block-studiouserlogin{
  2259. margin-bottom: 1em;
  2260. pointer-events: all;
  2261. margin-left: 0.2em;
  2262. $wh:$icons_w;
  2263. position: relative;
  2264. // box-sizing: border-box;
  2265. width:$wh; height: $wh;
  2266. h2{
  2267. box-sizing: content-box;
  2268. // @include btn;
  2269. // padding:0;
  2270. position: relative;
  2271. width:$wh; height:$wh;
  2272. background-image: url(../img/studio.svg);
  2273. // background-color: red;
  2274. background-size: contain;
  2275. text-indent: $wh*2;
  2276. margin: 0;
  2277. overflow: hidden;
  2278. z-index: 1;
  2279. cursor: pointer;
  2280. }
  2281. .block-content{
  2282. z-index: 0;
  2283. position:absolute;
  2284. right:0;bottom:$wh;
  2285. padding:0.5em;
  2286. padding-bottom: 20px;
  2287. background-color: $transparent-bg;
  2288. border-top: 1px solid red;
  2289. border-bottom: 1px solid red;
  2290. overflow: hidden;
  2291. box-sizing:border-box;
  2292. height: 0px;
  2293. opacity:0;
  2294. pointer-events:none;
  2295. transition: all 0.5s ease-in-out;
  2296. transition-property: height,opacity;
  2297. transition-delay: 2s;
  2298. // &:hover{
  2299. // height:200px;
  2300. // opacity:1;
  2301. // pointer-events: auto;
  2302. // }
  2303. span.studio-description{
  2304. font-size: 0.75em;
  2305. text-align: justify;
  2306. }
  2307. form{
  2308. font-size: 0.75em;
  2309. }
  2310. .item-list{
  2311. ul{margin:0;}
  2312. li{
  2313. margin:0;
  2314. list-style: none;
  2315. a{
  2316. color: inherit;
  2317. text-decoration: none;
  2318. font-size: 0.75em;
  2319. white-space:nowrap;
  2320. }
  2321. }
  2322. }
  2323. }
  2324. &:hover{
  2325. .block-content{
  2326. height:300px;
  2327. opacity: 1;
  2328. pointer-events:auto;
  2329. transition-delay: 0s;
  2330. }
  2331. }
  2332. // &#block-studiouserlogin:hover{
  2333. // .block-content{
  2334. // height:300px;
  2335. // }
  2336. // }
  2337. #user-login-form{
  2338. transition: opacity 1s ease-out;
  2339. opacity:1;
  2340. &.ajax-loading{
  2341. opacity: 0.2;
  2342. }
  2343. }
  2344. }
  2345. #block-edlpsearchlinkblock{
  2346. margin-bottom: 1em;
  2347. @include iconlinkblock(url(../img/search.svg), url(../img/search-active.svg));
  2348. margin-left: 0.2em;
  2349. }
  2350. .block-language{
  2351. float: none;
  2352. margin-top: 0;
  2353. margin-right: 2em;
  2354. ul{
  2355. margin:0; padding:0;
  2356. li{
  2357. display: inline-block; vertical-align: middle;
  2358. list-style: none;
  2359. pointer-events: all;
  2360. a{
  2361. font-size: 0.690em;
  2362. color:inherit;
  2363. text-decoration: none;
  2364. text-transform: capitalize;
  2365. margin-left: 0.8em;
  2366. @include btn;
  2367. &:before{
  2368. content: "";
  2369. display:inline-block;
  2370. $sq:0.6em;
  2371. width: $sq; height:$sq;
  2372. border: 1px solid red;
  2373. margin-right: 0.3em;
  2374. }
  2375. }
  2376. &.is-active,
  2377. &:hover{
  2378. a:before{
  2379. border-color: red;
  2380. background-color: red;
  2381. }
  2382. }
  2383. }
  2384. }
  2385. html.is-mobile &{
  2386. // outline: 1px solid green;
  2387. border-left: none;
  2388. ul{
  2389. margin-right:0.5em;
  2390. }
  2391. li{
  2392. line-height: 0;
  2393. a{
  2394. padding:0;
  2395. margin:0;
  2396. // &:before{display: none;}
  2397. &.is-active{
  2398. display:none;
  2399. }
  2400. }
  2401. }
  2402. }
  2403. }
  2404. html.is-mobile &{
  2405. position: fixed;
  2406. box-sizing: border-box;
  2407. bottom:0; left:0;
  2408. width:100%;
  2409. background-color: #fff;
  2410. padding-top:0;
  2411. padding-bottom:0;
  2412. .region-footer-left, .region-footer-right{
  2413. width: 50%;
  2414. >*{
  2415. margin:0.4em 0!important;
  2416. }
  2417. }
  2418. #block-footer, .block-language{
  2419. // margin-top: 0;
  2420. li{
  2421. display: inline-block;
  2422. a{
  2423. font-size: 0.680em;
  2424. &:before{
  2425. $sq:5px;
  2426. width: $sq; height:$sq;
  2427. }
  2428. }
  2429. }
  2430. }
  2431. .region-footer-right{
  2432. text-align: right;
  2433. }
  2434. }
  2435. }
  2436. // _ _ _ ___
  2437. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  2438. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  2439. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  2440. // |_| |_|
  2441. .node-popup{
  2442. .inner{
  2443. position: relative;
  2444. .entrees{
  2445. @include entree-micro-square;
  2446. }
  2447. .title{
  2448. margin:0.2em 0 0;
  2449. // margin:0.3em 0;
  2450. font-size: 0.9em;
  2451. font-weight: 600;
  2452. }
  2453. .description{
  2454. p{
  2455. margin:0;
  2456. font-size: 0.756em;
  2457. }
  2458. }
  2459. .chutier-icon{
  2460. &[action="add"]{
  2461. display:none;
  2462. }
  2463. position:absolute;
  2464. top:0.4em; right:0.4em;
  2465. }
  2466. }
  2467. }
  2468. // __ ___ _ ___ _ _ _
  2469. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  2470. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  2471. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  2472. // complete rewrite of url_to_video_filter css
  2473. .url-to-video-container{
  2474. // display:block;
  2475. margin:10px auto;
  2476. // width:100%;
  2477. &.no-js{
  2478. border:solid black 1px;
  2479. .loader{
  2480. // background:url(../images/no-js.png) no-repeat center center;
  2481. // background-size:40px 40px;
  2482. }
  2483. .url-to-video-player{
  2484. cursor:auto;
  2485. }
  2486. }
  2487. .loader{
  2488. // top:240px;
  2489. // left:50%;
  2490. // transform:translate(-50%, -50%);
  2491. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  2492. top:auto; left: auto;
  2493. transform: none;
  2494. }
  2495. span.url-to-video-player{
  2496. // display:block;
  2497. // width:100%;
  2498. /* assuming that the video has a 16:9 ratio */
  2499. // padding-bottom:56.25%;
  2500. padding-bottom:0;
  2501. // overflow:hidden;
  2502. // position:relative;
  2503. // width:100%;
  2504. // height:100%;
  2505. height:auto;
  2506. // cursor:hand;
  2507. // cursor:pointer;
  2508. // display: block;
  2509. &:before{
  2510. content: "";
  2511. display: block;
  2512. /* assuming that the video has a 16:9 ratio */
  2513. padding-top: 56.25%;
  2514. }
  2515. img.player-thumb
  2516. {
  2517. // background-position:center center;
  2518. // background-size:cover;
  2519. // position: absolute;
  2520. // top: 0;
  2521. // left: 0;
  2522. // width: 100%;
  2523. // height: 100%;
  2524. // cursor:pointer;
  2525. }
  2526. .play-button
  2527. {
  2528. z-index: 5;
  2529. // height:40px;
  2530. // width:40px;
  2531. // display:block;
  2532. // background:url(../images/play-button.png) no-repeat center center;
  2533. // background-size:40px 40px;
  2534. // position:absolute;
  2535. // top:240px;
  2536. top:50%;
  2537. // left:50%;
  2538. // transform:translate(-50%, -50%);
  2539. // cursor:pointer;
  2540. }
  2541. iframe.player-iframe
  2542. {
  2543. // width:100%;
  2544. // height:100%;
  2545. // position:absolute;
  2546. // top:0;
  2547. // left:0;
  2548. }
  2549. }
  2550. }
  2551. #user-register-form{
  2552. width:29em;
  2553. input{
  2554. @include content_courant;
  2555. }
  2556. label{
  2557. @include content_subtitles;
  2558. display: inline-block;
  2559. width: 16em;
  2560. white-space: normal;
  2561. }
  2562. .form-item{
  2563. white-space: nowrap;
  2564. }
  2565. .description{
  2566. @include content_petit;
  2567. max-width: 100%;
  2568. white-space: normal;
  2569. }
  2570. input[type='email'], input[type='password']{
  2571. width:17em;
  2572. }
  2573. .password-strength, .password-strength__meter{
  2574. width:98%;
  2575. }
  2576. .password-strength__title, .password-confirm{
  2577. @include content_courant;
  2578. }
  2579. }
  2580. #better-messages-default.better-messages-overlay{
  2581. border-radius: 0;
  2582. padding:0.8em;
  2583. box-shadow: 0 2px 10px #716f6f;
  2584. .better-messages-content{
  2585. }
  2586. .better-messages-footer{
  2587. border-top: none;
  2588. .better-messages-close{
  2589. @include content_courant;
  2590. span{
  2591. height:15px; width:15px;
  2592. background-size: contain;
  2593. }
  2594. }
  2595. }
  2596. }