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

@ -100,7 +100,7 @@ button,
}
&:active {
background-color: #ced4da;
background-color: #adb5bd;
}
&:disabled {
@ -114,6 +114,9 @@ button,
&:hover {
background-color: #ced4da;
}
&:active {
background-color: #adb5bd;
}
}
.App-menu {
@ -250,8 +253,16 @@ button,
}
.zIndexButton {
width: 26px;
margin: 0 5px;
padding: 5px;
display: inline-flex;
align-items: center;
justify-content: center;
svg {
width: 18px;
height: 18px;
}
}
.scroll-back-to-content {