From a8df2e93b4a8fa7da4f7e47483a615229493b381 Mon Sep 17 00:00:00 2001 From: Florian Thoma Date: Tue, 18 Aug 2020 12:41:28 +1000 Subject: [PATCH] update css for better visibility of selected option --- css/ColorPaletteField.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/css/ColorPaletteField.css b/css/ColorPaletteField.css index 73de5be..2345a28 100644 --- a/css/ColorPaletteField.css +++ b/css/ColorPaletteField.css @@ -19,6 +19,7 @@ display: block; margin: 5px 15px 5px 5px; outline: 1px solid #fff; + border: 1px solid #999; } .colorpalette.readonly li label { @@ -26,8 +27,8 @@ } .colorpalette li input:checked + label { - outline: 5px solid #fff; - position: relative; + outline: 5px solid #ddd; + position: relative; } .colorpalette li input:checked + label:after { position: absolute; @@ -37,7 +38,11 @@ text-align: center; content:"\2714"; color:#000; - text-shadow:1px 1px 0 #ccc; + text-shadow: + -1px -1px 0 #fff, + 1px -1px 0 #fff, + -1px 1px 0 #fff, + 1px 1px 0 #fff; } .groupedcolorpalette h4 {