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:
David Luzar 2020-02-09 17:09:21 +01:00 committed by GitHub
parent 471ea4a747
commit 389e40900c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 53 deletions

View file

@ -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;
}