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
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue