|
26 | 26 | border-radius: 0.2rem;
|
27 | 27 | outline: none;
|
28 | 28 |
|
29 |
| - background-color: transparent; |
| 29 | + background: transparent; |
30 | 30 | color: rgb(12, 12, 13);
|
31 | 31 | line-height: 0;
|
32 |
| - } |
33 |
| - button.active { |
34 |
| - color: rgb(0, 96, 223); |
35 |
| - } |
36 |
| - button:hover { |
37 |
| - background: rgb(237, 237, 240); |
38 |
| - } |
39 | 32 |
|
40 |
| - button:active:hover { |
41 |
| - color: inherit; |
42 |
| - } |
| 33 | + &:active { |
| 34 | + color: rgba(12, 12, 13, 0.8); |
| 35 | + } |
43 | 36 |
|
44 |
| - button:active { |
45 |
| - color: rgba(12, 12, 13, 0.8); |
46 |
| - } |
| 37 | + &:hover { |
| 38 | + background: rgb(237, 237, 240); |
47 | 39 |
|
48 |
| - button:disabled { |
49 |
| - color: rgba(12, 12, 13, 0.2); |
50 |
| - } |
| 40 | + &:active { |
| 41 | + color: inherit; |
| 42 | + } |
| 43 | + } |
51 | 44 |
|
52 |
| - :global(.dark) button { |
53 |
| - color: rgba(249, 249, 250, 0.7); |
54 |
| - } |
| 45 | + &:disabled { |
| 46 | + cursor: default; |
| 47 | + background: transparent; |
| 48 | + color: rgba(12, 12, 13, 0.2); |
| 49 | + } |
55 | 50 |
|
56 |
| - :global(.dark) button.active { |
57 |
| - color: rgb(117, 186, 255); |
58 |
| - } |
| 51 | + &.active { |
| 52 | + color: rgb(0, 96, 223); |
| 53 | + } |
59 | 54 |
|
60 |
| - :global(.dark) button:hover { |
61 |
| - background-color: rgb(37, 37, 38); |
| 55 | + & :global(svg) { |
| 56 | + width: 1.25rem; |
| 57 | + height: 1.25rem; |
| 58 | + fill: currentColor; |
| 59 | + } |
62 | 60 | }
|
63 | 61 |
|
64 |
| - :global(.dark) button:active { |
65 |
| - color: rgba(249, 249, 250, 0.8); |
66 |
| - } |
| 62 | + :global(.dark) button { |
| 63 | + color: rgba(249, 249, 250, 0.7); |
67 | 64 |
|
68 |
| - :global(.dark) button:disabled { |
69 |
| - color: rgba(249, 249, 250, 0.2); |
70 |
| - } |
| 65 | + &:active { |
| 66 | + color: rgba(249, 249, 250, 0.8); |
| 67 | + } |
71 | 68 |
|
72 |
| - :global(.dark) button:disabled, |
73 |
| - button:disabled { |
74 |
| - background-color: transparent; |
75 |
| - cursor: default; |
76 |
| - } |
| 69 | + &:hover { |
| 70 | + background-color: rgb(37, 37, 38); |
| 71 | + } |
| 72 | +
|
| 73 | + &:disabled { |
| 74 | + cursor: default; |
| 75 | + background: transparent; |
| 76 | + color: rgba(249, 249, 250, 0.2); |
| 77 | + } |
77 | 78 |
|
78 |
| - button :global(svg) { |
79 |
| - width: 1.25rem; |
80 |
| - height: 1.25rem; |
81 |
| - fill: currentColor; |
| 79 | + &.active { |
| 80 | + color: rgb(117, 186, 255); |
| 81 | + } |
82 | 82 | }
|
83 | 83 | </style>
|
0 commit comments