app.scss 67 KB

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