- commit
- 104bc45a770c0c09e7191bf5355b65627d743503
- parent
- c4910e465a8e0f53829b43d2db353313850d9967
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-11-27 08:37
scope popup input styling to table
Diffstat
| M | src/popup.css | 10 | +++++----- |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/popup.css b/src/popup.css
@@ -30,7 +30,7 @@ td.disabled {
30 30 background-color: var(--grey);
31 31 }
32 32
33 -1 input {
-1 33 table input {
34 34 appearance: none;
35 35 position: absolute;
36 36 top: 0;
@@ -40,21 +40,21 @@ input {
40 40 margin: 0;
41 41 cursor: pointer;
42 42 }
43 -1 input:focus-visible {
-1 43 table input:focus-visible {
44 44 outline: 2px solid;
45 45 z-index: 1;
46 46 }
47 47 .inherit-allow {
48 48 background: var(--green-light);
49 49 }
50 -1 input:checked {
-1 50 table input:checked {
51 51 background: var(--green-dark);
52 52 }
53 -1 input ~ span {
-1 53 table input ~ span {
54 54 pointer-events: none;
55 55 position: relative;
56 56 z-index: 1;
57 57 }
58 -1 input:checked ~ span {
-1 58 table input:checked ~ span {
59 59 color: var(--text-dark);
60 60 }