Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Becker2020-01-27 04:17:10 -0500
committerMatthias Becker2020-02-17 10:39:54 -0500
commit4397f7c276a40fb0ca39c5f63f61468879e12850 (patch)
tree11676dd1479b2704238c1a5787ba1550623f7008
parentb1cbf68f2e6a4e3c3c919fa4ded352ef589a184e (diff)
downloadeclipse.platform.ua-4397f7c276a40fb0ca39c5f63f61468879e12850.tar.gz
eclipse.platform.ua-4397f7c276a40fb0ca39c5f63f61468879e12850.tar.xz
eclipse.platform.ua-4397f7c276a40fb0ca39c5f63f61468879e12850.zip
Bug 559564 - Darken images when help is shown in dark modeY20200218-0120X20200217-1120I20200217-1800
-rw-r--r--org.eclipse.help.base/doc/book.css9
-rw-r--r--org.eclipse.help.base/doc/darkTheme.css9
-rw-r--r--org.eclipse.help.webapp/advanced/darkTheme.css9
3 files changed, 27 insertions, 0 deletions
diff --git a/org.eclipse.help.base/doc/book.css b/org.eclipse.help.base/doc/book.css
index 5838ae745..a10f6d7a0 100644
--- a/org.eclipse.help.base/doc/book.css
+++ b/org.eclipse.help.base/doc/book.css
@@ -49,4 +49,13 @@ h2 { font-size: 110%; margin-top: 20px; margin-bottom: 3px }
body, h1, h2, h3, h4, h5, h6, p, table, td, caption, th, ul, ol, dl, li, dd, dt {
color: #f0f0f0;
}
+
+ /* darken images to add some comfort while reading in dark theme */
+ img {
+ opacity: .75;
+ transition: opacity .5s ease-in-out;
+ }
+ img:hover {
+ opacity: 1;
+ }
} \ No newline at end of file
diff --git a/org.eclipse.help.base/doc/darkTheme.css b/org.eclipse.help.base/doc/darkTheme.css
index 38dfc4528..383493cfd 100644
--- a/org.eclipse.help.base/doc/darkTheme.css
+++ b/org.eclipse.help.base/doc/darkTheme.css
@@ -14,4 +14,13 @@
a.nolink:visited {
color:#ffffff;
}
+
+ /* darken images to add some comfort while reading in dark theme */
+ img {
+ opacity: .75;
+ transition: opacity .5s ease-in-out;
+ }
+ img:hover {
+ opacity: 1;
+ }
} \ No newline at end of file
diff --git a/org.eclipse.help.webapp/advanced/darkTheme.css b/org.eclipse.help.webapp/advanced/darkTheme.css
index 5d70287bc..b48d82109 100644
--- a/org.eclipse.help.webapp/advanced/darkTheme.css
+++ b/org.eclipse.help.webapp/advanced/darkTheme.css
@@ -44,4 +44,13 @@
.button a, .buttonMenu a {
border:1px solid #3d3d3d;;
}
+
+ /* darken images to add some comfort while reading in dark theme */
+ img {
+ opacity: .75;
+ transition: opacity .5s ease-in-out;
+ }
+ img:hover {
+ opacity: 1;
+ }
} \ No newline at end of file

Back to the top