color setting prettification
This commit is contained in:
parent
3ec21cb442
commit
db3bfb6fc3
1 changed files with 19 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
{{ ' ' }}
|
{{ ' ' }}
|
||||||
<ColorInput
|
<ColorInput
|
||||||
:id="path"
|
:id="path"
|
||||||
class="color-setting-input"
|
class="setting-control color-setting-input"
|
||||||
:class="{ disabled: shouldBeDisabled }"
|
:class="{ disabled: shouldBeDisabled }"
|
||||||
:disabled="shouldBeDisabled"
|
:disabled="shouldBeDisabled"
|
||||||
:placeholder="backendDescriptionSuggestions"
|
:placeholder="backendDescriptionSuggestions"
|
||||||
|
|
@ -47,8 +47,25 @@
|
||||||
<script src="./color_setting.js"></script>
|
<script src="./color_setting.js"></script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.ColorSetting {
|
.ColorSetting {
|
||||||
|
&.setting-item {
|
||||||
|
display: grid;
|
||||||
|
grid-template-areas:
|
||||||
|
"label control"
|
||||||
|
". desc"
|
||||||
|
". draft";
|
||||||
|
|
||||||
|
.setting-label {
|
||||||
|
text-align: right;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.setting-control {
|
||||||
|
align-self: end;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.color-setting-input {
|
.color-setting-input {
|
||||||
vertical-align: middle;
|
align-self: baseline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue