diff options
author | Matthias Becker | 2020-01-27 09:17:10 +0000 |
---|---|---|
committer | Matthias Becker | 2020-02-17 15:39:54 +0000 |
commit | 4397f7c276a40fb0ca39c5f63f61468879e12850 (patch) | |
tree | 11676dd1479b2704238c1a5787ba1550623f7008 | |
parent | b1cbf68f2e6a4e3c3c919fa4ded352ef589a184e (diff) | |
download | eclipse.platform.ua-I20200217-1800.tar.gz eclipse.platform.ua-I20200217-1800.tar.xz eclipse.platform.ua-I20200217-1800.zip |
Bug 559564 - Darken images when help is shown in dark modeY20200218-0120X20200217-1120I20200217-1800
Change-Id: If3c957986a3f2ef33814a466413680967dd02416
-rw-r--r-- | org.eclipse.help.base/doc/book.css | 9 | ||||
-rw-r--r-- | org.eclipse.help.base/doc/darkTheme.css | 9 | ||||
-rw-r--r-- | org.eclipse.help.webapp/advanced/darkTheme.css | 9 |
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 |