Skip to content

Commit

Permalink
css: Change comment buttons more harmoniously
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Sep 24, 2017
1 parent 523abbb commit 5205daa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions app/assets/stylesheets/less/_page.less
Original file line number Diff line number Diff line change
Expand Up @@ -2884,6 +2884,11 @@ label.inline-list {
.rotate(45deg);
}

&:hover {
.meta-info .act-row {
opacity: 1;
}
}
.meta-info {
height:22px;
padding:5px 15px;
Expand All @@ -2894,13 +2899,21 @@ label.inline-list {
.yobicon-comment {vertical-align: middle;}

.act-row {
transition: opacity fadeIn 1s;
opacity: .3;
overflow: hidden;
i {
font-size: 20px;
line-height: 20px;
color: #000;
.opacity(20);

&.yobicon-edit-2 { margin-top:2px; }
&.yobicon-hearts {
&:hover {
color: #f68c52
}
}
&:hover {
color:@yobi-link;
.opacity(100);
Expand Down Expand Up @@ -3254,6 +3267,13 @@ div.markdown-preview {
margin:20px 0;
overflow:auto;
padding-right: 15px;
button {
i.yobicon-hearts {
&:hover {
color: #f68c52;
}
}
}
button.icon {
line-height: 30px;
font-size: 22px;
Expand Down

0 comments on commit 5205daa

Please sign in to comment.