Custom focus indicator and accessebility fixes
This commit is contained in:
@ -12,7 +12,6 @@
|
||||
|
||||
button {
|
||||
-webkit-backdrop-filter: var(--blur);
|
||||
all: unset;
|
||||
display: inline-flex;
|
||||
position: absolute;
|
||||
top: 0.5rem;
|
||||
@ -22,11 +21,10 @@
|
||||
transition-property: background-color, transform;
|
||||
cursor: pointer;
|
||||
box-shadow: var(--edge-highlight);
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
background-color: var(--fg-muted-1);
|
||||
padding: 0.5rem;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--fg-muted-2);
|
||||
@ -54,7 +52,6 @@
|
||||
i {
|
||||
$copy-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 3c0-1.645 1.355-3 3-3h5c1.645 0 3 1.355 3 3 0 .55-.45 1-1 1s-1-.45-1-1c0-.57-.43-1-1-1H3c-.57 0-1 .43-1 1v5c0 .57.43 1 1 1 .55 0 1 .45 1 1s-.45 1-1 1c-1.645 0-3-1.355-3-3zm5 5c0-1.645 1.355-3 3-3h5c1.645 0 3 1.355 3 3v5c0 1.645-1.355 3-3 3H8c-1.645 0-3-1.355-3-3zm2 0v5c0 .57.43 1 1 1h5c.57 0 1-.43 1-1V8c0-.57-.43-1-1-1H8c-.57 0-1 .43-1 1m0 0'/%3E%3C/svg%3E");
|
||||
-webkit-mask-image: $copy-icon;
|
||||
display: inline-block;
|
||||
mask-image: $copy-icon;
|
||||
transition: background-color var(--transition);
|
||||
background-color: var(--fg-muted-4);
|
||||
|
Reference in New Issue
Block a user