mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
z-index button fixes (#738)
* fix svg attributes * center z-index icons * remove unnecessary attributes * differentiate button :active bg * prevent selection of ToolIcon hints * emphasize active elem color
This commit is contained in:
parent
471ea4a747
commit
389e40900c
3 changed files with 42 additions and 53 deletions
|
@ -60,6 +60,9 @@
|
|||
&:focus + .ToolIcon__icon {
|
||||
box-shadow: 0 0 0 2px #a5d8ff;
|
||||
}
|
||||
&:active + .ToolIcon__icon {
|
||||
background-color: #adb5bd;
|
||||
}
|
||||
}
|
||||
|
||||
.ToolIcon.ToolIcon__lock {
|
||||
|
@ -91,4 +94,5 @@
|
|||
font-size: 0.5em;
|
||||
color: #adb5bd; // OC GRAY 5
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
user-select: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue