fix alert-info/alert-danger colors on dark theme

This commit is contained in:
Andrew Dolgov 2020-02-27 12:25:32 +03:00
parent 96fa6e3002
commit 8c31651a21
5 changed files with 34 additions and 2 deletions

View File

@ -2181,6 +2181,15 @@ body.flat.ttrss_main ::-webkit-scrollbar-track {
body.flat.ttrss_main .alert { body.flat.ttrss_main .alert {
background: #222; background: #222;
border-color: #664518; border-color: #664518;
color: #b87d2c;
}
body.flat.ttrss_main .alert.alert-info {
color: #3a87ad;
border-color: #204b61;
}
body.flat.ttrss_main .alert.alert-danger {
color: #b94a48;
border-color: #702c2b;
} }
body.ttrss_prefs hr { body.ttrss_prefs hr {
border-color: #666; border-color: #666;

File diff suppressed because one or more lines are too long

View File

@ -17,6 +17,9 @@
@fg-text-muted: darken(@default-text, 20%); @fg-text-muted: darken(@default-text, 20%);
@fg-light : lighten(@default-text, 10%); @fg-light : lighten(@default-text, 10%);
@color-alert-info : #3a87ad;
@color-alert-danger : #b94a48;
body.flat.ttrss_main.ttrss_prefs { body.flat.ttrss_main.ttrss_prefs {
#main, #footer { #main, #footer {
background: @color-panel-bg; background: @color-panel-bg;
@ -324,6 +327,17 @@ body.flat.ttrss_main {
.alert { .alert {
background: @color-panel-bg; background: @color-panel-bg;
border-color : darken(@color-accent, 20%); border-color : darken(@color-accent, 20%);
color : @color-accent;
}
.alert.alert-info {
color : @color-alert-info;
border-color: darken(@color-alert-info, 20%);
}
.alert.alert-danger {
color : @color-alert-danger;
border-color : darken(@color-alert-danger, 20%);
} }
} }

View File

@ -2181,6 +2181,15 @@ body.flat.ttrss_main ::-webkit-scrollbar-track {
body.flat.ttrss_main .alert { body.flat.ttrss_main .alert {
background: #222; background: #222;
border-color: #133d54; border-color: #133d54;
color: #257aa7;
}
body.flat.ttrss_main .alert.alert-info {
color: #3a87ad;
border-color: #204b61;
}
body.flat.ttrss_main .alert.alert-danger {
color: #b94a48;
border-color: #702c2b;
} }
body.ttrss_prefs hr { body.ttrss_prefs hr {
border-color: #666; border-color: #666;

File diff suppressed because one or more lines are too long