mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
fix button style to change color when switch active/inactive
This commit is contained in:
@@ -13,14 +13,23 @@
|
||||
height $topBar-height
|
||||
padding 0 15px
|
||||
font-size 12px
|
||||
width 100%
|
||||
text-align left
|
||||
width 33%
|
||||
text-align center
|
||||
&:hover
|
||||
color $ui-text-color
|
||||
&:active, &:active:hover
|
||||
color $ui-text-color
|
||||
background-color alpha($ui-button--active-backgroundColor, 20%)
|
||||
|
||||
.switch-buttons button
|
||||
width 33%
|
||||
|
||||
.active-button
|
||||
background-color #c4c4c4
|
||||
|
||||
.non-active-button
|
||||
background-color white
|
||||
|
||||
.top-menu-label
|
||||
margin-left 5px
|
||||
overflow ellipsis
|
||||
@@ -127,4 +136,4 @@ body[data-theme="dark"]
|
||||
&:hover
|
||||
background-color alpha($ui-dark-button--active-backgroundColor, 20%)
|
||||
transition 0.15s
|
||||
color $ui-dark-text-color
|
||||
color $ui-dark-text-color
|
||||
|
||||
Reference in New Issue
Block a user