From dd1c8a914904452cbb4d330b304cc4ee82703157 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Wed, 25 Dec 2019 14:19:09 +0100 Subject: [PATCH] Convert all RGB colors to RGBA colors --- web/text_layer_builder.css | 9 +++++---- web/viewer.css | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/web/text_layer_builder.css b/web/text_layer_builder.css index 83c2beda4..77206a51c 100644 --- a/web/text_layer_builder.css +++ b/web/text_layer_builder.css @@ -35,8 +35,7 @@ .textLayer .highlight { margin: -1px; padding: 1px; - - background-color: rgb(180, 0, 170); + background-color: rgba(180, 0, 170, 1); border-radius: 4px; } @@ -53,10 +52,12 @@ } .textLayer .highlight.selected { - background-color: rgb(0, 100, 0); + background-color: rgba(0, 100, 0, 1); } -.textLayer ::selection { background: rgb(0,0,255); } +.textLayer ::selection { + background: rgba(0, 0, 255, 1); +} .textLayer .endOfContent { display: block; diff --git a/web/viewer.css b/web/viewer.css index c8b91b700..9452f51cf 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -466,7 +466,7 @@ html[dir='ltr'] .doorHangerRight:before { } #findInput.notFound { - background-color: rgb(255, 102, 102); + background-color: rgba(255, 102, 102, 1); } #toolbarViewerMiddle { @@ -1511,7 +1511,7 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { } #viewer.textLayer-visible .canvasWrapper { - background-color: rgb(128,255,128); + background-color: rgba(128, 255, 128, 1); } #viewer.textLayer-visible .canvasWrapper canvas {