app.scss 68 KB

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