set all tooltip colors via less variables

This commit is contained in:
Andrew Dolgov 2020-02-28 14:34:48 +03:00
parent 0875dc332e
commit 76c8b318e5
14 changed files with 95 additions and 59 deletions

View File

@ -14,6 +14,8 @@
@border-default : #ddd; @border-default : #ddd;
@default-text: #555; @default-text: #555;
@color-icon: #777; @color-icon: #777;
@color-tooltip-fg: @color-panel-bg;
@color-tooltip-bg: darken(@color-accent, 10%);
body.ttrss_main, body.ttrss_main,
body.ttrss_prefs, body.ttrss_prefs,

View File

@ -1018,6 +1018,27 @@ body.ttrss_main {
height : auto; height : auto;
width : auto; width : auto;
} }
.dijitTooltipContents {
background : @color-tooltip-bg;
color : @color-tooltip-fg;
}
.dijitTooltipRight .dijitTooltipConnector {
border-right-color : @color-tooltip-bg;
}
.dijitTooltipLeft .dijitTooltipConnector {
border-left-color : @color-tooltip-bg;
}
.dijitTooltipBelow .dijitTooltipConnector {
border-bottom-color : @color-tooltip-bg;
}
.dijitTooltipAbove .dijitTooltipConnector {
border-top-color : @color-tooltip-bg;
}
} }
body.ttrss_main .dijitDialog { body.ttrss_main .dijitDialog {

View File

@ -865,6 +865,22 @@ body.ttrss_main #feedEditDlg img.feedIcon {
height: auto; height: auto;
width: auto; width: auto;
} }
body.ttrss_main .dijitTooltipContents {
background: #1c5c7d;
color: #f5f5f5;
}
body.ttrss_main .dijitTooltipRight .dijitTooltipConnector {
border-right-color: #1c5c7d;
}
body.ttrss_main .dijitTooltipLeft .dijitTooltipConnector {
border-left-color: #1c5c7d;
}
body.ttrss_main .dijitTooltipBelow .dijitTooltipConnector {
border-bottom-color: #1c5c7d;
}
body.ttrss_main .dijitTooltipAbove .dijitTooltipConnector {
border-top-color: #1c5c7d;
}
body.ttrss_main .dijitDialog h1:first-of-type, body.ttrss_main .dijitDialog h1:first-of-type,
body.ttrss_main .dijitDialog h2:first-of-type, body.ttrss_main .dijitDialog h2:first-of-type,
body.ttrss_main .dijitDialog h3:first-of-type, body.ttrss_main .dijitDialog h3:first-of-type,

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
@import "../css/default.less"; @import "../css/default_base.less";
/* rules specific to compact.css */ /* rules specific to compact.css */

View File

@ -865,6 +865,22 @@ body.ttrss_main #feedEditDlg img.feedIcon {
height: auto; height: auto;
width: auto; width: auto;
} }
body.ttrss_main .dijitTooltipContents {
background: #1c5c7d;
color: #f5f5f5;
}
body.ttrss_main .dijitTooltipRight .dijitTooltipConnector {
border-right-color: #1c5c7d;
}
body.ttrss_main .dijitTooltipLeft .dijitTooltipConnector {
border-left-color: #1c5c7d;
}
body.ttrss_main .dijitTooltipBelow .dijitTooltipConnector {
border-bottom-color: #1c5c7d;
}
body.ttrss_main .dijitTooltipAbove .dijitTooltipConnector {
border-top-color: #1c5c7d;
}
body.ttrss_main .dijitDialog h1:first-of-type, body.ttrss_main .dijitDialog h1:first-of-type,
body.ttrss_main .dijitDialog h2:first-of-type, body.ttrss_main .dijitDialog h2:first-of-type,
body.ttrss_main .dijitDialog h3:first-of-type, body.ttrss_main .dijitDialog h3:first-of-type,

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
@import "../css/default.less"; @import "../css/default_base.less";

View File

@ -866,6 +866,22 @@ body.ttrss_main #feedEditDlg img.feedIcon {
height: auto; height: auto;
width: auto; width: auto;
} }
body.ttrss_main .dijitTooltipContents {
background: #d29745;
color: #222;
}
body.ttrss_main .dijitTooltipRight .dijitTooltipConnector {
border-right-color: #d29745;
}
body.ttrss_main .dijitTooltipLeft .dijitTooltipConnector {
border-left-color: #d29745;
}
body.ttrss_main .dijitTooltipBelow .dijitTooltipConnector {
border-bottom-color: #d29745;
}
body.ttrss_main .dijitTooltipAbove .dijitTooltipConnector {
border-top-color: #d29745;
}
body.ttrss_main .dijitDialog h1:first-of-type, body.ttrss_main .dijitDialog h1:first-of-type,
body.ttrss_main .dijitDialog h2:first-of-type, body.ttrss_main .dijitDialog h2:first-of-type,
body.ttrss_main .dijitDialog h3:first-of-type, body.ttrss_main .dijitDialog h3:first-of-type,
@ -2194,20 +2210,4 @@ body.flat.ttrss_main .alert.alert-danger {
color: #b94a48; color: #b94a48;
border-color: #702c2b; border-color: #702c2b;
} }
body.flat.ttrss_main .dijitTooltipContents {
background: #b87d2c;
color: #222;
}
body.flat.ttrss_main .dijitTooltipRight .dijitTooltipConnector {
border-right-color: #b87d2c;
}
body.flat.ttrss_main .dijitTooltipLeft .dijitTooltipConnector {
border-left-color: #b87d2c;
}
body.flat.ttrss_main .dijitTooltipBelow .dijitTooltipConnector {
border-bottom-color: #b87d2c;
}
body.flat.ttrss_main .dijitTooltipAbove .dijitTooltipConnector {
border-top-color: #b87d2c;
}
/*# sourceMappingURL=night.css.map */ /*# sourceMappingURL=night.css.map */

File diff suppressed because one or more lines are too long

View File

@ -20,6 +20,8 @@
@color-alert-info : #3a87ad; @color-alert-info : #3a87ad;
@color-alert-danger : #b94a48; @color-alert-danger : #b94a48;
@color-tooltip-bg : lighten(@color-accent, 10%);
body.flat.ttrss_main.ttrss_prefs { body.flat.ttrss_main.ttrss_prefs {
#main, #footer { #main, #footer {
background: @color-panel-bg; background: @color-panel-bg;
@ -342,25 +344,4 @@ body.flat.ttrss_main {
color : @color-alert-danger; color : @color-alert-danger;
border-color : darken(@color-alert-danger, 20%); border-color : darken(@color-alert-danger, 20%);
} }
.dijitTooltipContents {
background : @color-accent;
color : @color-panel-bg;
}
.dijitTooltipRight .dijitTooltipConnector {
border-right-color : @color-accent;
}
.dijitTooltipLeft .dijitTooltipConnector {
border-left-color : @color-accent;
}
.dijitTooltipBelow .dijitTooltipConnector {
border-bottom-color : @color-accent;
}
.dijitTooltipAbove .dijitTooltipConnector {
border-top-color : @color-accent;
}
} }

View File

@ -866,6 +866,22 @@ body.ttrss_main #feedEditDlg img.feedIcon {
height: auto; height: auto;
width: auto; width: auto;
} }
body.ttrss_main .dijitTooltipContents {
background: #2e99d1;
color: #222;
}
body.ttrss_main .dijitTooltipRight .dijitTooltipConnector {
border-right-color: #2e99d1;
}
body.ttrss_main .dijitTooltipLeft .dijitTooltipConnector {
border-left-color: #2e99d1;
}
body.ttrss_main .dijitTooltipBelow .dijitTooltipConnector {
border-bottom-color: #2e99d1;
}
body.ttrss_main .dijitTooltipAbove .dijitTooltipConnector {
border-top-color: #2e99d1;
}
body.ttrss_main .dijitDialog h1:first-of-type, body.ttrss_main .dijitDialog h1:first-of-type,
body.ttrss_main .dijitDialog h2:first-of-type, body.ttrss_main .dijitDialog h2:first-of-type,
body.ttrss_main .dijitDialog h3:first-of-type, body.ttrss_main .dijitDialog h3:first-of-type,
@ -2194,20 +2210,4 @@ body.flat.ttrss_main .alert.alert-danger {
color: #b94a48; color: #b94a48;
border-color: #702c2b; border-color: #702c2b;
} }
body.flat.ttrss_main .dijitTooltipContents {
background: #257aa7;
color: #222;
}
body.flat.ttrss_main .dijitTooltipRight .dijitTooltipConnector {
border-right-color: #257aa7;
}
body.flat.ttrss_main .dijitTooltipLeft .dijitTooltipConnector {
border-left-color: #257aa7;
}
body.flat.ttrss_main .dijitTooltipBelow .dijitTooltipConnector {
border-bottom-color: #257aa7;
}
body.flat.ttrss_main .dijitTooltipAbove .dijitTooltipConnector {
border-top-color: #257aa7;
}
/*# sourceMappingURL=night_blue.css.map */ /*# sourceMappingURL=night_blue.css.map */

File diff suppressed because one or more lines are too long