1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00
Files
Boostnote/browser/main/NoteList/NoteList.styl
Dick Choi 409a3de901 update NoteList
sort by updatedAt
improve style
add auto-scrolling
2016-05-29 14:02:23 +09:00

75 lines
1.2 KiB
Stylus

.root
absolute top left bottom
border-top $ui-border
border-bottom $ui-border
overflow auto
.item
position relative
height 80px
border-bottom $ui-border
padding 0 5px
user-select none
cursor pointer
transition background-color 0.15s
&:hover
background-color alpha($ui-active-color, 10%)
.item--active
@extend .item
.item-border
border-color $ui-active-color
.item-border
absolute top bottom left right
border-style solid
border-width 2px
border-color transparent
transition 0.15s
.item-info
height 30px
clearfix()
font-size 12px
color $ui-inactive-text-color
line-height 30px
overflow-y hidden
.item-info-left
float left
overflow ellipsis
.item-info-right
float right
.item-title
height 20px
line-height 20px
padding 0 5px
font-weight bold
overflow ellipsis
.item-tagList
height 30px
font-size 12px
line-height 30px
overflow ellipsis
.item-tagList-icon
vertical-align middle
color $ui-button-color
.item-tagList-item
margin 2px
padding 0 4px
height 20px
border-radius 5px
vertical-align middle
border $ui-border
color $ui-button-color
.item-tagList-empty
color $ui-inactive-text-color
vertical-align middle