app.scss 71 KB

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