app.scss 70 KB

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