app.scss 70 KB

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