app.scss 58 KB

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