1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Increase font size and change folder icon at side bar

This commit is contained in:
Kazu Yokomizo
2017-11-05 20:05:44 +09:00
parent 2f52233bd0
commit 6bbc5a91fe
5 changed files with 9 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
navButtonColor() navButtonColor()
height 32px height 32px
padding 0 15px padding 0 15px
font-size 12px font-size 13px
width 100% width 100%
text-align left text-align left
overflow ellipsis overflow ellipsis
@@ -71,7 +71,7 @@
border-bottom-right-radius 2px border-bottom-right-radius 2px
pointer-events none pointer-events none
opacity 0 opacity 0
font-size 12px font-size 13px
body[data-theme="dark"] body[data-theme="dark"]
.menu-button .menu-button

View File

@@ -35,10 +35,8 @@ const StorageItem = ({
> >
<span styleName={isFolded <span styleName={isFolded
? 'folderList-item-name--folded' : 'folderList-item-name' ? 'folderList-item-name--folded' : 'folderList-item-name'
} }>
style={{borderColor: folderColor}} <text style={{color: folderColor, paddingRight: '10px'}}>{isActive ? <i className='fa fa-folder-open-o' /> : <i className='fa fa-folder-o' />}</text>{isFolded ? folderName.substring(0, 1) : folderName}
>
{isFolded ? folderName.substring(0, 1) : folderName}
</span> </span>
{(!isFolded && isNumber(noteCount)) && {(!isFolded && isNumber(noteCount)) &&
<span styleName='folderList-item-noteCount'>{noteCount}</span> <span styleName='folderList-item-noteCount'>{noteCount}</span>

View File

@@ -13,7 +13,7 @@
text-align left text-align left
border none border none
overflow ellipsis overflow ellipsis
font-size 12px font-size 13px
&:first-child &:first-child
margin-top 0 margin-top 0
&:hover &:hover
@@ -35,7 +35,7 @@
.folderList-item-name .folderList-item-name
display block display block
flex 1 flex 1
padding 0 25px padding 0 12px
height 26px height 26px
line-height 26px line-height 26px
border-width 0 0 0 2px border-width 0 0 0 2px
@@ -48,7 +48,7 @@
float right float right
line-height 26px line-height 26px
padding-right 15px padding-right 15px
font-size 12px font-size 13px
.folderList-item-tooltip .folderList-item-tooltip
tooltip() tooltip()

View File

@@ -100,7 +100,7 @@
border-top-right-radius 2px border-top-right-radius 2px
border-bottom-right-radius 2px border-bottom-right-radius 2px
pointer-events none pointer-events none
font-size 12px font-size 13px
body[data-theme="dark"] body[data-theme="dark"]
.root, .root--folded .root, .root--folded

View File

@@ -25,7 +25,7 @@
.folderItem-left-key .folderItem-left-key
color $ui-inactive-text-color color $ui-inactive-text-color
font-size 10px font-size 13px
margin 0 5px margin 0 5px
border none border none