Procházet zdrojové kódy

Fix inverting on darkmode and spacing

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v25.0.0beta1
Joas Schilling před 1 rokem
rodič
revize
fb53842a61
Žádný účet není propojen s e-mailovou adresou tvůrce revize

+ 13
- 3
apps/workflowengine/src/components/Checks/FileMimeType.vue Zobrazit soubor

@@ -32,12 +32,12 @@
@input="setValue">
<template slot="singleLabel" slot-scope="props">
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" />
<img v-else :src="props.option.iconUrl">
<img v-else class="option__icon-img" :src="props.option.iconUrl">
<span class="option__title option__title_single">{{ props.option.label }}</span>
</template>
<template slot="option" slot-scope="props">
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" />
<img v-else :src="props.option.iconUrl">
<img v-else class="option__icon-img" :src="props.option.iconUrl">
<span class="option__title">{{ props.option.label }}</span>
</template>
</Multiselect>
@@ -137,7 +137,7 @@ export default {
},
}
</script>
<style scoped>
<style scoped lang="scss">
.multiselect, input[type='text'] {
width: 100%;
}
@@ -148,4 +148,14 @@ export default {
overflow: hidden;
text-overflow: ellipsis;
}

.option__icon {
display: inline-block;
min-width: 30px;
background-position: left;
}

.option__icon-img {
margin-right: 14px;
}
</style>

+ 7
- 1
apps/workflowengine/src/components/Checks/RequestURL.vue Zobrazit soubor

@@ -136,8 +136,14 @@ export default {
},
}
</script>
<style scoped>
<style scoped lang="scss">
.multiselect, input[type='text'] {
width: 100%;
}

.option__icon {
display: inline-block;
min-width: 30px;
background-position: left;
}
</style>

+ 1
- 0
apps/workflowengine/src/components/Event.vue Zobrazit soubor

@@ -131,6 +131,7 @@ export default {
.option__icon {
width: 16px;
height: 16px;
filter: var(--background-invert-if-dark);
}

.eventlist img,

+ 2
- 2
apps/workflowengine/src/styles/operation.scss Zobrazit soubor

@@ -68,11 +68,11 @@ small {
margin: 0;
margin-right: 10px;
&:not(.icon-invert) {
filter: invert(1);
filter: var(--background-invert-if-bright);
}
}
}

.colored .icon-invert {
filter: invert(1);
filter: var(--background-invert-if-bright);
}

+ 2
- 2
dist/workflowengine-workflowengine.js
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 1
- 1
dist/workflowengine-workflowengine.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


Načítá se…
Zrušit
Uložit