app.scss 70 KB

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