diff --git a/Weaverdice/Weaverdice.css b/Weaverdice/Weaverdice.css index aa2a2ead1a..6b7a189f2d 100644 --- a/Weaverdice/Weaverdice.css +++ b/Weaverdice/Weaverdice.css @@ -1014,6 +1014,58 @@ color: red; } + /* Hide actual radio */ + input[type="radio"] + { + opacity: 0; + width: 16px; + height: 16px; + position: relative; + top: 5px; + left: 6px; + margin: -10px; + cursor: pointer; + z-index: 1; + } + + /* Fake radio */ + input[type="radio"] + span::before + { + margin-right: 4px; + border: solid 1px #a8a8a8; + line-height: 14px; + text-align: center; + display: inline-block; + vertical-align: middle; + + -moz-box-shadow: 0 0 2px #ccc; + -webkit-box-shadow: 0 0 2px #ccc; + box-shadow: 0 0 2px #ccc; + + background: #f6f6f6; + background: -moz-radial-gradient(#f6f6f6, #dfdfdf); + background: -webkit-radial-gradient(#f6f6f6, #dfdfdf); + background: -ms-radial-gradient(#f6f6f6, #dfdfdf); + background: -o-radial-gradient(#f6f6f6, #dfdfdf); + background: radial-gradient(#f6f6f6, #dfdfdf); + + content: "•"; + width: 12px; + height: 12px; + font-size: 24px; + + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + } + + /* Remove dot from all radios _after_ selected one */ + input[type="radio"]:checked ~ input[type="radio"] + span::before + { + content: ""; + } + + li { color: #000000; font-size: 12pt;