app.scss 69 KB

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