app.scss 66 KB

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