|
6 | 6 | justify-content: space-between; |
7 | 7 | height: var(--height); |
8 | 8 | padding: 0 0 0 6px; |
9 | | - overflow: hidden; |
10 | 9 | margin: 0 20px; |
11 | 10 |
|
12 | 11 | @include modern-ui { |
|
33 | 32 | } |
34 | 33 |
|
35 | 34 | .theme-default { |
36 | | - color: var(--cwc-text-color); |
37 | 35 | background-color: var(--cwc-bg-tertiary); |
38 | 36 | --theme-description-color: var(--cwc-text-color-dimmed); |
39 | 37 |
|
40 | | - .action { |
| 38 | + > .content { |
| 39 | + color: var(--cwc-text-color); |
| 40 | + } |
| 41 | + |
| 42 | + .action > span { |
41 | 43 | color: var(--vscode-textLink-foreground); |
42 | 44 | } |
43 | 45 |
|
|
47 | 49 | } |
48 | 50 |
|
49 | 51 | .theme-warning { |
50 | | - color: var(--cwc-yellow-foreground); |
51 | 52 | background-color: var(--cwc-yellow-background); |
52 | 53 | --theme-description-color: var(--cwc-yellow-foreground-dimmed); |
53 | 54 |
|
| 55 | + > .content, |
| 56 | + .action > span { |
| 57 | + color: var(--cwc-yellow-foreground); |
| 58 | + } |
| 59 | + |
54 | 60 | .action:hover { |
55 | 61 | background-color: var(--cwc-yellow-background); |
56 | 62 | } |
57 | 63 | } |
58 | 64 |
|
59 | 65 | .theme-success { |
60 | | - color: var(--cwc-green-foreground); |
61 | 66 | background-color: var(--cwc-green-background); |
62 | 67 | --theme-description-color: var(--cwc-green-foreground-dimmed); |
63 | 68 |
|
| 69 | + > .content, |
| 70 | + .action > span { |
| 71 | + color: var(--cwc-green-foreground); |
| 72 | + } |
| 73 | + |
64 | 74 | .action:hover { |
65 | 75 | background-color: var(--cwc-green-background); |
66 | 76 | } |
67 | 77 | } |
68 | 78 |
|
69 | 79 | .theme-error { |
70 | | - color: var(--cwc-red-foreground); |
71 | 80 | background-color: var(--cwc-red-background); |
72 | 81 | --theme-description-color: var(--cwc-red-foreground-dimmed); |
73 | 82 |
|
| 83 | + > .content, |
| 84 | + .action > span { |
| 85 | + color: var(--cwc-red-foreground); |
| 86 | + } |
| 87 | + |
74 | 88 | .action:hover { |
75 | 89 | background-color: var(--cwc-red-background); |
76 | 90 | } |
77 | 91 | } |
78 | 92 |
|
79 | 93 | .theme-blue { |
80 | | - color: var(--cwc-blue-foreground); |
81 | 94 | background-color: var(--cwc-blue-background); |
82 | 95 | --theme-description-color: var(--cwc-blue-foreground-dimmed); |
83 | 96 |
|
| 97 | + > .content, |
| 98 | + .action > span { |
| 99 | + color: var(--cwc-blue-foreground); |
| 100 | + } |
| 101 | + |
84 | 102 | .action:hover { |
85 | 103 | background-color: var(--cwc-blue-background); |
86 | 104 | } |
87 | 105 | } |
88 | 106 |
|
89 | 107 | .theme-purple { |
90 | | - color: var(--cwc-purple-foreground); |
91 | 108 | background-color: var(--cwc-purple-background); |
92 | 109 | --theme-description-color: var(--cwc-purple-foreground-dimmed); |
93 | 110 |
|
| 111 | + > .content, |
| 112 | + .action > span { |
| 113 | + color: var(--cwc-purple-foreground); |
| 114 | + } |
| 115 | + |
94 | 116 | .action:hover { |
95 | 117 | background-color: var(--cwc-purple-background); |
96 | 118 | } |
|
136 | 158 | .actions { |
137 | 159 | display: flex; |
138 | 160 | height: 100%; |
| 161 | + border-top-right-radius: inherit; |
| 162 | + border-bottom-right-radius: inherit; |
139 | 163 | } |
140 | 164 |
|
141 | 165 | .action { |
|
146 | 170 | cursor: pointer; |
147 | 171 | white-space: nowrap; |
148 | 172 | padding: 0 5px 0 4px; |
| 173 | + position: relative; |
149 | 174 |
|
150 | 175 | &.no-label { |
151 | 176 | padding: 0 4px; |
152 | 177 | } |
153 | 178 |
|
154 | 179 | &.last { |
155 | 180 | padding: 0 7px 0 4px; |
| 181 | + border-top-right-radius: inherit; |
| 182 | + border-bottom-right-radius: inherit; |
156 | 183 | } |
157 | 184 |
|
158 | 185 | &:hover { |
|
0 commit comments