app.scss 70 KB

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