app.scss 62 KB

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