🎨 Minor UI update

This commit is contained in:
Liyas Thomas
2019-09-02 17:08:59 +05:30
parent 7aee2f4211
commit 80a0669c69

View File

@@ -88,18 +88,12 @@ button {
cursor: pointer; cursor: pointer;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
&[disabled], &.disabled { &:not([disabled]):hover,
opacity: 0.7; &:not(.disabled):focus {
cursor: default; background-color: transparent;
box-shadow: inset 0 0 0 2px var(--ac-color);
color: var(--ac-color);
} }
// Only show hover and focus if the button is *not*
// disabled.
&:not([disabled]):hover, &:not(.disabled):focus {
background-color: transparent;
box-shadow: inset 0 0 0 2px var(--ac-color);
color: var(--ac-color);
}
} }
fieldset { fieldset {
@@ -195,7 +189,6 @@ pre {
font-family: monospace; font-family: monospace;
} }
// Force the same height, for dropdowns and regular input boxes.
select, select,
input, input,
option { option {
@@ -232,15 +225,12 @@ input[type="checkbox"] {
} }
} }
.error { .error,
background-color: var(--err-color);
}
.disabled, .disabled,
input[disabled], [disabled] {
button[disabled] {
background-color: var(--err-color); background-color: var(--err-color);
color: #b2b2b2; color: #b2b2b2;
cursor: default;
} }
label { label {
@@ -320,7 +310,7 @@ ol li {
} }
.missing-data-response { .missing-data-response {
background-color: #676767; background-color: var(--err-color);
} }
.virtual-list::-webkit-scrollbar { .virtual-list::-webkit-scrollbar {