app.scss 71 KB

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