Update disabled styling (#653)

This commit is contained in:
Jaco Greeff 2019-01-27 13:06:35 +01:00 committed by GitHub
parent 72cc2b6d67
commit 82b144f9e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,22 @@
margin-bottom: 0.5rem;
}
.ui.dropdown > .text {
min-height: 1em;
.ui.dropdown {
&.disabled {
background: #fdfdfd;
/* border-color: transparent; */
border-color: #eee;
border-style: dashed;
opacity: 1;
.dropdown.icon {
opacity: 0;
}
}
> .text {
min-height: 1em;
}
}
.ui.dropdown .menu > .item.header.disabled {
@ -38,11 +52,33 @@
.ui.input {
/* from .ui.fluid.input */
display: flex;
}
.ui.input > input {
/* from .ui.fluid.input > input */
width: 0;
&.disabled {
opacity: 1;
input {
background: #fdfdfd;
border-color: #eee;
/* border-color: transparent; */
border-style: dashed;
}
.ui.primary.buttons .ui.button {
background: #eee;
border-color: transparent;
border-left-color: transparent;
color: #4e4e4e;
.dropdown.icon {
opacity: 0;
}
}
}
> input {
/* from .ui.fluid.input > input */
width: 0;
}
}
.ui.inverted.dimmer {