mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
minor
This commit is contained in:
parent
fc9dee8702
commit
b3b2cc24bf
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ services:
|
||||||
- GANCIO_DB_DIALECT=postgres
|
- GANCIO_DB_DIALECT=postgres
|
||||||
- GANCIO_DB_HOST=db
|
- GANCIO_DB_HOST=db
|
||||||
- GANCIO_DB_DATABASE=gancio
|
- GANCIO_DB_DATABASE=gancio
|
||||||
- GANCIO_DB_USER=gancio
|
- GANCIO_DB_USERNAME=gancio
|
||||||
- GANCIO_DB_PASSWORD=gancio
|
- GANCIO_DB_PASSWORD=gancio
|
||||||
command: gancio start --docker
|
command: gancio start --docker
|
||||||
entrypoint: /entrypoint.sh
|
entrypoint: /entrypoint.sh
|
||||||
|
|
|
@ -504,7 +504,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
||||||
let { theme = "light" } = $$props;
|
let { theme = "light" } = $$props;
|
||||||
let mounted = false;
|
let mounted = false;
|
||||||
let events = [];
|
let events = [];
|
||||||
async function update2(v) {
|
function update2(v) {
|
||||||
if (!mounted)
|
if (!mounted)
|
||||||
return;
|
return;
|
||||||
const params = [];
|
const params = [];
|
||||||
|
@ -551,7 +551,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
||||||
class GancioEvents extends SvelteElement {
|
class GancioEvents extends SvelteElement {
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
super();
|
super();
|
||||||
this.shadowRoot.innerHTML = `<style>#gancioEvents{font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;overflow-x:hidden;font-size:1rem;width:100%;max-width:500px;box-sizing:content-box;box-shadow:rgba(60, 64, 67, 0.4) 0px 1px 2px 0px, rgba(60, 64, 67, 0.25) 0px 1px 3px 1px;border-radius:5px}#logo{position:absolute;top:10px;right:10px;height:40px}#headerTitle{line-height:45px;font-size:1.3rem;font-weight:600}a{text-decoration:none;color:var(--text-color);display:flex;flex-direction:column;flex:1 1 100%;padding:8px 20px;margin:0;line-height:1.275rem;font-weight:400;font-size:.875rem;position:relative;transition:background-color .3s cubic-bezier(.25,.8,.5,1), padding-left .3s;box-sizing:content-box}.dark{--bg-odd-color:#161616;--bg-even-color:#222;--bg-hover-color:#333;--text-color:white;--title-color:white}.light{--bg-odd-color:#f5f5f5;--bg-even-color:#FAFAFA;--bg-hover-color:#EEE;--text-color:#222;--title-color:black}a:nth-child(odd){background-color:var(--bg-odd-color)}a:nth-child(even){background-color:var(--bg-even-color)}a:first-child{border-radius:5px 5px 0px 0px}a:last-child{border-radius:0px 0px 5px 5px;padding-bottom:5px}a:hover{background-color:var(--bg-hover-color);padding-left:23px}.place{font-weight:600;color:#ff6e40}.title{color:var(--title-color)}</style>`;
|
this.shadowRoot.innerHTML = `<style>#gancioEvents{font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;overflow-x:hidden;font-size:1rem;width:100%;max-width:500px;box-sizing:content-box;box-shadow:rgba(60, 64, 67, 0.4) 0px 1px 2px 0px, rgba(60, 64, 67, 0.25) 0px 1px 3px 1px;border-radius:5px}#logo{position:absolute;top:10px;right:10px;height:40px}#headerTitle{line-height:45px;font-size:1.3rem;font-weight:600}a{text-decoration:none;color:var(--text-color);display:flex;flex-direction:column;flex:1 1 100%;padding:8px 20px;margin:0;line-height:1.275rem;font-weight:400;font-size:.875rem;position:relative;transition:background-color .3s cubic-bezier(.25,.8,.5,1), padding-left .3s;box-sizing:content-box}.dark{--bg-odd-color:#161616;--bg-even-color:#222;--bg-hover-color:#333;--text-color:white;--title-color:white}.light{--bg-odd-color:#f5f5f5;--bg-even-color:#FAFAFA;--bg-hover-color:#EEE;--text-color:#222;--title-color:black}a:nth-child(odd){background-color:var(--bg-odd-color)}a:nth-child(even){background-color:var(--bg-even-color)}a:first-child{border-radius:5px 5px 0px 0px}a:last-child{border-radius:0px 0px 5px 5px;padding-bottom:5px}a:hover{background-color:var(--bg-hover-color);padding-left:23px}.place{font-weight:600;color:#ff6e40}.title{color:var(--title-color);font-weight:bold}</style>`;
|
||||||
init(this, {
|
init(this, {
|
||||||
target: this.shadowRoot,
|
target: this.shadowRoot,
|
||||||
props: attribute_to_object(this.attributes),
|
props: attribute_to_object(this.attributes),
|
||||||
|
|
Loading…
Reference in a new issue