app.scss 61 KB

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