1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00
Files
Boostnote/browser/main/NoteList/NoteList.styl
Dick Choi c7ad06a1f7 Update NoteList
redirect if no note selected
add overflow style of labels in Note item
2016-05-25 02:16:22 +09:00

58 lines
953 B
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-tags
height 30px
font-size 12px
line-height 30px
color $ui-inactive-text-color
overflow ellipsis