From 2c2fc36c54702b205715f4db12f555af9b48125b Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Wed, 25 Dec 2019 14:23:22 +0100 Subject: [PATCH] Normalize all RGBA colors This is not only useful to have one format for consistency, but also to be able to quickly search for colors for e.g., finding duplicates or when tweaking the CSS for custom deployments. --- web/viewer.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index 9452f51cf..32be338fb 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -735,7 +735,7 @@ html[dir='rtl'] .dropdownToolbarButton { } #pageWidthOption { - border-bottom: 1px rgba(255, 255, 255, .5) solid; + border-bottom: 1px rgba(255, 255, 255, 0.5) solid; } html[dir='ltr'] .splitToolbarButton:first-child, @@ -1312,7 +1312,9 @@ html[dir='rtl'] .outlineItemToggler::before { /* TODO: file FF bug to support ::-moz-selection:window-inactive so we can override the opaque grey background when the window is inactive; see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */ -::selection { background: rgba(0,0,255,0.3); } +::selection { + background: rgba(0, 0, 255, 0.3); +} #errorWrapper { background: none repeat scroll 0 0 #FF5555; @@ -1531,7 +1533,7 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { } #viewer.textLayer-shadow .textLayer > span { - background-color: rgba(255,255,255, .6); + background-color: rgba(255, 255, 255, 0.6); color: black; }