gui: Use grey background for disabled options in form-control (#7468)

Disabled options are currently barely distinguishable from enabled
ones. This changes their background to grey, following the Bootstrap
defaults already used for disabled <select>.

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
This commit is contained in:
tomasz1986 2021-03-14 16:14:19 +09:00 committed by GitHub
parent f80ee472c2
commit bb886868d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -437,3 +437,9 @@ ul.three-columns li, ul.two-columns li {
.form-horizontal {
margin-bottom: 10px;
}
/* Use the same style as Bootstrap uses for disabled <select>. */
.form-control option[disabled] {
background-color: #eeeeee;
opacity: 1;
}