mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Change the layout at SideNav
This commit is contained in:
@@ -3,6 +3,12 @@
|
|||||||
|
|
||||||
.menu-button
|
.menu-button
|
||||||
navButtonColor()
|
navButtonColor()
|
||||||
|
&:active
|
||||||
|
background-color alpha($ui-button--active-backgroundColor, 20%)
|
||||||
|
color $ui-text-color
|
||||||
|
&:hover
|
||||||
|
background-color alpha($ui-button--active-backgroundColor, 20%)
|
||||||
|
color $ui-text-color
|
||||||
height 32px
|
height 32px
|
||||||
padding 0 15px
|
padding 0 15px
|
||||||
font-size 12px
|
font-size 12px
|
||||||
@@ -12,10 +18,11 @@
|
|||||||
|
|
||||||
.menu-button--active
|
.menu-button--active
|
||||||
@extend .menu-button
|
@extend .menu-button
|
||||||
|
color $ui-text-color
|
||||||
background-color $ui-button--active-backgroundColor
|
background-color $ui-button--active-backgroundColor
|
||||||
color $ui-button--active-color
|
|
||||||
&:hover
|
&:hover
|
||||||
background-color $ui-button--active-backgroundColor
|
background-color $ui-button--active-backgroundColor
|
||||||
|
color $ui-text-color
|
||||||
|
|
||||||
.menu-button-label
|
.menu-button-label
|
||||||
margin-left 5px
|
margin-left 5px
|
||||||
|
|||||||
@@ -17,17 +17,18 @@
|
|||||||
&:first-child
|
&:first-child
|
||||||
margin-top 0
|
margin-top 0
|
||||||
&:hover
|
&:hover
|
||||||
|
color $ui-text-color
|
||||||
background-color $ui-button--hover-backgroundColor
|
background-color $ui-button--hover-backgroundColor
|
||||||
&:active
|
&:active
|
||||||
color $ui-button--active-color
|
color $ui-text-color
|
||||||
background-color $ui-button--active-backgroundColor
|
background-color $ui-button--active-backgroundColor
|
||||||
|
|
||||||
.folderList-item--active
|
.folderList-item--active
|
||||||
@extend .folderList-item
|
@extend .folderList-item
|
||||||
color $ui-button--active-color
|
color $ui-text-color
|
||||||
background-color $ui-button--active-backgroundColor
|
background-color $ui-button--active-backgroundColor
|
||||||
&:hover
|
&:hover
|
||||||
color $ui-button--active-color
|
color $ui-text-color
|
||||||
background-color $ui-button--active-backgroundColor
|
background-color $ui-button--active-backgroundColor
|
||||||
|
|
||||||
.folderList-item-name
|
.folderList-item-name
|
||||||
|
|||||||
@@ -15,6 +15,12 @@
|
|||||||
font-size 12px
|
font-size 12px
|
||||||
width 100%
|
width 100%
|
||||||
text-align left
|
text-align left
|
||||||
|
&:hover
|
||||||
|
color $ui-text-color
|
||||||
|
background-color $ui-button--hover-backgroundColor
|
||||||
|
&:active
|
||||||
|
color $ui-text-color
|
||||||
|
background-color $ui-button--active-backgroundColor
|
||||||
|
|
||||||
.top-menu-label
|
.top-menu-label
|
||||||
margin-left 5px
|
margin-left 5px
|
||||||
|
|||||||
@@ -9,26 +9,27 @@
|
|||||||
margin-bottom 5px
|
margin-bottom 5px
|
||||||
transition 0.15s
|
transition 0.15s
|
||||||
&:hover
|
&:hover
|
||||||
|
color $ui-text-color
|
||||||
background-color $ui-button--hover-backgroundColor
|
background-color $ui-button--hover-backgroundColor
|
||||||
&:active
|
&:active
|
||||||
.header-toggleButton
|
.header-toggleButton
|
||||||
.header-addFolderButton
|
.header-addFolderButton
|
||||||
color white
|
color $ui-text-color
|
||||||
&:active
|
&:active
|
||||||
color $ui-active-color
|
color $ui-text-color
|
||||||
|
|
||||||
.header--active
|
.header--active
|
||||||
@extend .header
|
@extend .header
|
||||||
.header-info
|
.header-info
|
||||||
color $ui-button--active-color
|
color $ui-text-color
|
||||||
background-color $ui-button--active-backgroundColor
|
background-color $ui-button--active-backgroundColor
|
||||||
.header-toggleButton
|
.header-toggleButton
|
||||||
.header-addFolderButton
|
.header-addFolderButton
|
||||||
color white
|
color $ui-text-color
|
||||||
&:active
|
&:active
|
||||||
&:hover
|
&:hover
|
||||||
&:hover:active
|
&:hover:active
|
||||||
color white
|
color $ui-text-color
|
||||||
|
|
||||||
.header-toggleButton
|
.header-toggleButton
|
||||||
position absolute
|
position absolute
|
||||||
@@ -42,7 +43,7 @@
|
|||||||
&:hover
|
&:hover
|
||||||
color $ui-text-color
|
color $ui-text-color
|
||||||
&:active
|
&:active
|
||||||
color $ui-active-color
|
color $ui-text-color
|
||||||
|
|
||||||
.header-info
|
.header-info
|
||||||
display block
|
display block
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ $ui-tag-backgroundColor = rgba(0, 0, 0, 0.3)
|
|||||||
$ui-button-color = #939395
|
$ui-button-color = #939395
|
||||||
$ui-button--hover-backgroundColor = rgba(126, 127, 129, 0.08)
|
$ui-button--hover-backgroundColor = rgba(126, 127, 129, 0.08)
|
||||||
$ui-button--active-color = white
|
$ui-button--active-color = white
|
||||||
$ui-button--active-backgroundColor = #6AA5E9
|
$ui-button--active-backgroundColor = #D4D4D4
|
||||||
$ui-button--focus-borderColor = lighten(#369DCD, 25%)
|
$ui-button--focus-borderColor = lighten(#369DCD, 25%)
|
||||||
|
|
||||||
// UI Tooltip
|
// UI Tooltip
|
||||||
|
|||||||
Reference in New Issue
Block a user