app.scss 69 KB

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