CSS: Small fixes in main.less

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-10 09:29:48 +01:00
parent 68777b2b6a
commit ed5a984980
1 changed files with 6 additions and 12 deletions

View File

@ -14,7 +14,7 @@
} }
.icon-col { .icon-col {
width: 28px; width: 1em;
} }
.icon-strikethrough { .icon-strikethrough {
@ -79,24 +79,21 @@ a:hover > .icon-cancel {
// List styles // List styles
.comment-list { .comment-list {
> .comment-header { margin: 0;
.comment-header {
border-bottom: 1px solid @gray-lighter; border-bottom: 1px solid @gray-lighter;
margin-top: @vertical-padding;
&:hover { &:hover {
background-color: @gray-lightest; background-color: @gray-lightest;
> .comment-meta > .meta-icons > .remove-action { > .comment-meta > .meta-icons > .remove-action {
display: block; visibility: visible;
} }
} }
&:first-child {
margin-top: 0;
}
> .comment-meta > .meta-icons > .remove-action { > .comment-meta > .meta-icons > .remove-action {
display: none; visibility: hidden;
} }
} }
} }
@ -108,7 +105,6 @@ a:hover > .icon-cancel {
.comment-meta { .comment-meta {
color: @text-color-light; color: @text-color-light;
font-size: @font-size-small; font-size: @font-size-small;
vertical-align: middle;
> .meta-icons { > .meta-icons {
float: right; float: right;
@ -119,7 +115,6 @@ a:hover > .icon-cancel {
.comment-text { .comment-text {
// Reset margin // Reset margin
margin: 0; margin: 0;
margin-top: @vertical-padding / 2;
} }
.name-value-list { .name-value-list {
@ -142,7 +137,6 @@ a:hover > .icon-cancel {
td, th { td, th {
padding-top: 0.667em; padding-top: 0.667em;
padding-bottom: 0.667em; padding-bottom: 0.667em;
vertical-align: middle;
} }
th { th {