Browse Source

set all tooltip colors via less variables

Andrew Dolgov 6 months ago
parent
commit
76c8b318e5

+ 0 - 0
css/default.less → css/default_base.less


+ 2 - 0
css/defines.less

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

+ 21 - 0
css/tt-rss.less

@@ -1018,6 +1018,27 @@ body.ttrss_main {
 		height : 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 {

+ 16 - 0
themes/compact.css

@@ -865,6 +865,22 @@ body.ttrss_main #feedEditDlg img.feedIcon {
   height: 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 h2:first-of-type,
 body.ttrss_main .dijitDialog h3:first-of-type,

File diff suppressed because it is too large
+ 0 - 0
themes/compact.css.map


+ 1 - 1
themes/compact.less

@@ -1,4 +1,4 @@
[email protected] "../css/default.less";
[email protected] "../css/default_base.less";
 
 /* rules specific to compact.css */
 

+ 16 - 0
themes/light.css

@@ -865,6 +865,22 @@ body.ttrss_main #feedEditDlg img.feedIcon {
   height: 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 h2:first-of-type,
 body.ttrss_main .dijitDialog h3:first-of-type,

File diff suppressed because it is too large
+ 0 - 0
themes/light.css.map


+ 1 - 1
themes/light.less

@@ -1 +1 @@
[email protected] "../css/default.less";
[email protected] "../css/default_base.less";

+ 16 - 16
themes/night.css

@@ -866,6 +866,22 @@ body.ttrss_main #feedEditDlg img.feedIcon {
   height: 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 h2:first-of-type,
 body.ttrss_main .dijitDialog h3:first-of-type,
@@ -2194,20 +2210,4 @@ body.flat.ttrss_main .alert.alert-danger {
   color: #b94a48;
   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 */

File diff suppressed because it is too large
+ 0 - 0
themes/night.css.map


+ 2 - 21
themes/night_base.less

@@ -20,6 +20,8 @@
 @color-alert-info : #3a87ad;
 @color-alert-danger : #b94a48;
 
[email protected] : lighten(@color-accent, 10%);
+
 body.flat.ttrss_main.ttrss_prefs {
 	#main, #footer {
 		background: @color-panel-bg;
@@ -342,25 +344,4 @@ body.flat.ttrss_main {
 		color : @color-alert-danger;
 		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;
-	}
 }

+ 16 - 16
themes/night_blue.css

@@ -866,6 +866,22 @@ body.ttrss_main #feedEditDlg img.feedIcon {
   height: 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 h2:first-of-type,
 body.ttrss_main .dijitDialog h3:first-of-type,
@@ -2194,20 +2210,4 @@ body.flat.ttrss_main .alert.alert-danger {
   color: #b94a48;
   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 */

File diff suppressed because it is too large
+ 0 - 0
themes/night_blue.css.map


Some files were not shown because too many files changed in this diff