Improve flat buttons style

This commit is contained in:
EliverLara
2020-01-02 12:40:24 -06:00
parent 2d861cab32
commit 66bbfa285f
4 changed files with 35 additions and 85 deletions

View File

@@ -223,16 +223,6 @@ notebook {
// FIXME: generalize .small-button?
min-width: 20px;
min-height: 20px;
&:last-child {
margin-left: 4px;
margin-right: -4px;
}
&:first-child {
margin-left: -4px;
margin-right: 4px;
}
}
}
@@ -296,15 +286,4 @@ notebook {
&:backdrop { background-color: $backdrop_base_color; }
}
button.flat{
&, &:backdrop {
border: none;
background-color: transparent;
}
&:hover, &:active, &:checked {
background: $selected_bg_color;
}
padding: 2px 4px;
}
}