app.scss 70 KB

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