mirror of https://github.com/hashicorp/consul
23 lines
585 B
SCSS
23 lines
585 B
SCSS
%copy-button {
|
|
color: rgb(var(--tone-blue-500));
|
|
background-color: var(--transparent);
|
|
}
|
|
%copy-button::before {
|
|
@extend %with-copy-action-mask, %as-pseudo;
|
|
background-color: rgb(var(--tone-gray-500));
|
|
}
|
|
%copy-button::after {
|
|
background-color: rgb(var(--tone-gray-050));
|
|
}
|
|
%copy-button:hover:not(:disabled):not(:active),
|
|
%copy-button:focus {
|
|
color: rgb(var(--tone-blue-500));
|
|
background-color: rgb(var(--tone-gray-050));
|
|
}
|
|
%copy-button:hover::before {
|
|
background-color: rgb(var(--tone-blue-500));
|
|
}
|
|
%copy-button:active {
|
|
background-color: rgb(var(--tone-gray-200));
|
|
}
|