File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
packages/calcite-components/src/components/action Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change 160
160
}
161
161
162
162
:host ([appearance = " transparent" ]) .button {
163
- @apply bg-transparent
164
- transition-shadow
165
- duration- 150
166
- ease-in-out ;
163
+ @apply bg-transparent ;
167
164
}
168
165
166
+ :host ([appearance = " transparent" ][active ]) .button ,
169
167
:host ([appearance = " transparent" ]) .button :hover ,
170
168
:host ([appearance = " transparent" ]) .button :focus {
171
- @apply bg-transparent ;
172
- box-shadow : 0 0 0 2px theme (" borderColor.color.1" ) inset ;
169
+ background-color : var (--calcite-button-transparent-hover );
173
170
}
174
171
175
- :host ([active ][appearance = " transparent" ]) .button ,
176
- :host ([active ][appearance = " transparent" ]) .button :hover ,
177
- :host ([active ][appearance = " transparent" ]) .button :focus {
178
- @apply text-color-1 fill-color-1 bg-foreground- 3;
172
+ :host ([appearance = " transparent" ]) .button :active {
173
+ background-color : var (--calcite-button-transparent-press );
179
174
}
180
175
181
- :host ([appearance = " transparent" ][loading ]) .button ,
182
176
:host ([appearance = " transparent" ][disabled ]) .button {
183
177
@apply bg-transparent ;
184
178
}
185
179
186
- :host ([loading ]) .button ,
187
- :host ([loading ]) .button :hover ,
188
- :host ([loading ]) .button :focus {
180
+ :host ([loading ][ appearance = " solid " ] ) .button ,
181
+ :host ([loading ][ appearance = " solid " ] ) .button :hover ,
182
+ :host ([loading ][ appearance = " solid " ] ) .button :focus {
189
183
@apply bg-foreground- 1;
190
184
.text-container {
191
185
@apply opacity-disabled ;
You can’t perform that action at this time.
0 commit comments