Fix readonly and disabled input forms colors

This commit is contained in:
Strappazzon
2019-08-29 23:08:43 +02:00
parent afdccb8f51
commit c87bd99183
2 changed files with 8 additions and 1 deletions

View File

@ -44,5 +44,5 @@
<!-- CSS stylesheets --> <!-- CSS stylesheets -->
<link href="/assets/css/style.css?v=5" rel="stylesheet"> <link href="/assets/css/style.css?v=5" rel="stylesheet">
<link id="dark-css" href="/assets/css/dark.css?v=1" rel="stylesheet" media="(prefers-color-scheme: dark)"> <link id="dark-css" href="/assets/css/dark.css?v=2" rel="stylesheet" media="(prefers-color-scheme: dark)">
</head> </head>

View File

@ -104,6 +104,13 @@ img {
background-color: $dark-300; background-color: $dark-300;
} }
.form-control:read-only,
.form-control:disabled {
color: $light !important;
background: $dark-300 !important;
border-color: $dark-300 !important;
}
.form-control, .form-control,
.form-control:focus { .form-control:focus {
color: $light; color: $light;