Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Becker2020-02-24 11:42:04 +0000
committerMatthias Becker2020-02-25 07:35:12 +0000
commitdd98d059a6accab82daff68f8ff32758cac65988 (patch)
tree47ccd71d415e2fc8f5c4830dba82c7d87a9df870
parenta589f581893dc379c6ab190f58c71963907b0998 (diff)
downloadeclipse.platform.ua-dd98d059a6accab82daff68f8ff32758cac65988.tar.gz
eclipse.platform.ua-dd98d059a6accab82daff68f8ff32758cac65988.tar.xz
eclipse.platform.ua-dd98d059a6accab82daff68f8ff32758cac65988.zip
- No longer use different highlight colors based on which page the highlight is shown. No always use the same highlight color - Replace the fixed color with colors dependent on light or dark theme. - Replace pixel images with linear-gradient from 100% transparent to 0% transparent Change-Id: I8a4c718d4c26ffa9a91c54b6de7318a114817cb4
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/grey_callout.gifbin742 -> 0 bytes
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/ov_high.gifbin727 -> 0 bytes
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/ov_med.gifbin310 -> 0 bytes
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/tu-sa_high.gifbin772 -> 0 bytes
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/tu-sa_med.gifbin449 -> 0 bytes
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wn-fs_high.gifbin745 -> 0 bytes
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wn-fs_med.gifbin690 -> 0 bytes
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wr-mi_high.gifbin784 -> 0 bytes
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wr-mi_med.gifbin460 -> 0 bytes
-rw-r--r--org.eclipse.ui.intro.universal/themes/shared/html/shared.css83
10 files changed, 22 insertions, 61 deletions
diff --git a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/grey_callout.gif b/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/grey_callout.gif
deleted file mode 100644
index e8877a143..000000000
--- a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/grey_callout.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/ov_high.gif b/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/ov_high.gif
deleted file mode 100644
index 144af18f6..000000000
--- a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/ov_high.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/ov_med.gif b/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/ov_med.gif
deleted file mode 100644
index 1ed93fa62..000000000
--- a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/ov_med.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/tu-sa_high.gif b/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/tu-sa_high.gif
deleted file mode 100644
index 4059b1ce9..000000000
--- a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/tu-sa_high.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/tu-sa_med.gif b/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/tu-sa_med.gif
deleted file mode 100644
index a939a977d..000000000
--- a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/tu-sa_med.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wn-fs_high.gif b/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wn-fs_high.gif
deleted file mode 100644
index 492f2b1b2..000000000
--- a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wn-fs_high.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wn-fs_med.gif b/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wn-fs_med.gif
deleted file mode 100644
index fcfcac857..000000000
--- a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wn-fs_med.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wr-mi_high.gif b/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wr-mi_high.gif
deleted file mode 100644
index 9d9773100..000000000
--- a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wr-mi_high.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wr-mi_med.gif b/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wr-mi_med.gif
deleted file mode 100644
index 551a32cc9..000000000
--- a/org.eclipse.ui.intro.universal/themes/shared/graphics/contentpage/wr-mi_med.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.ui.intro.universal/themes/shared/html/shared.css b/org.eclipse.ui.intro.universal/themes/shared/html/shared.css
index bbd72233f..bd83a9415 100644
--- a/org.eclipse.ui.intro.universal/themes/shared/html/shared.css
+++ b/org.eclipse.ui.intro.universal/themes/shared/html/shared.css
@@ -79,81 +79,42 @@
background-image : url(../graphics/icons/ctool/widget_open_hov.gif);
}
-/*
- * Importance highlights for page content. Gradient image is
- * tiled vertically. In addition, background color is applied
- * to fill in the areas not covered by the gradient image.
- */
-.importance-high,
-.importance-low,
-.importance-callout,
-.importance-medium,
-.importance-new {
- background-position: top left;
- background-repeat: repeat-y;
-}
-
-body .importance-low {
- background-color: #ffffff;
-}
body .importance-new {
- background-image: url("../graphics/contentpage/ov_high.gif");
- background-color: #fffacd;
-}
-
-body #overview .importance-high {
- background-color: #fff7da;
- background-image: url("../graphics/contentpage/ov_high.gif");
+ background-image: linear-gradient(to right, #fffacd00, #fffacdff);
}
-body #overview .importance-medium {
- background-color: #fffbec;
- background-image: url("../graphics/contentpage/ov_med.gif");
+body .importance-high {
+ background-image: linear-gradient(to right, #fff7da00, #fff7daff);
}
-body #tutorials .importance-high,
-body #samples .importance-high {
- background-color: #e1eaf2;
- background-image: url("../graphics/contentpage/tu-sa_high.gif");
+body .importance-medium {
+ background-image: linear-gradient(to right, #fffbed00, #fffbedff);
}
-body #tutorials .importance-medium,
-body #samples .importance-medium {
- background-color: #f0f4f8;
- background-image: url("../graphics/contentpage/tu-sa_med.gif");
+body .importance-callout {
+ background-image: linear-gradient(to right, #eeeeee00, #eeeeeeff);
}
-body #whatsnew .importance-high,
-body #firststeps .importance-high {
- background-color: #f3ecdb;
- background-image: url("../graphics/contentpage/wn-fs_high.gif");
+ul.news-list {
+ list-style-image: url("../graphics/icons/ctool/arrow.gif");
}
-body #whatsnew .importance-medium,
-body #firststeps .importance-medium {
- background-color: #f7f2e7;
- background-image: url("../graphics/contentpage/wn-fs_med.gif");
-}
+@media (prefers-color-scheme: dark) {
+ body .importance-new {
+ background-image: linear-gradient(to right, #66666600, #666666ff);
+ }
-body #webresources .importance-high,
-body #migrate .importance-high {
- background-color: #ecf4d7;
- background-image: url("../graphics/contentpage/wr-mi_high.gif");
-}
+ body .importance-high {
+ background-image: linear-gradient(to right, #66666600, #666666ff);
+ }
-body #webresources .importance-medium,
-body #migrate .importance-medium {
- background-color: #f5f9eb;
- background-image: url("../graphics/contentpage/wr-mi_med.gif");
-}
+ body .importance-medium {
+ background-image: linear-gradient(to right, #4d4d4d00, #4d4d4dff);
+ }
-.importance-callout {
- background-color: #eeeeee;
- background-image: url("../graphics/contentpage/grey_callout.gif");
+ body .importance-callout {
+ background-image: linear-gradient(to right, #4d4d4d00, #4d4d4dff);
+ }
}
-ul.news-list {
- list-style-image: url("../graphics/icons/ctool/arrow.gif");
-}
- \ No newline at end of file

Back to the top