app.scss 61 KB

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