Skip to content

Commit

Permalink
Merge pull request #16 from xini/patch-1
Browse files Browse the repository at this point in the history
update css for better visibility of selected option
  • Loading branch information
wilr authored May 22, 2023
2 parents e797671 + a8df2e9 commit f49a91d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions css/ColorPaletteField.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@
display: block;
margin: 5px 15px 5px 5px;
outline: 1px solid #fff;
border: 1px solid #999;
}

.colorpalette.readonly li label {
cursor: default;
}

.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;
Expand All @@ -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 {
Expand Down

0 comments on commit f49a91d

Please sign in to comment.