app.scss 62 KB

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