app.scss 64 KB

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