Skip to content

fix: modify the star layout at NoteItem #522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions browser/components/NoteItem.styl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ $control-height = 30px
.item-bottom-tagList-item
background-color alpha(white, 0.6)
color $ui-text-color
.item-star
color $ui-favorite-star-button-color
&:active
background-color $ui-button--active-backgroundColor
color $ui-text-color
Expand Down Expand Up @@ -53,6 +55,8 @@ $control-height = 30px
color $ui-text-color
.item-wrapper
border-color transparent
.item-star
color $ui-favorite-star-button-color
&:hover
background-color $ui-button--active-backgroundColor

Expand Down Expand Up @@ -111,11 +115,11 @@ $control-height = 30px

.item-star
position absolute
top 19px
top 34px
left 5px
width 34px
height 34px
color $ui-favorite-star-button-color
color alpha($ui-favorite-star-button-color, 60%)
font-size 12px
padding 0
border-radius 17px
Expand Down