Skip to content

Commit

Permalink
CSS: Small fixes in main.less
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Nov 10, 2015
1 parent 68777b2 commit ed5a984
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions public/css/icinga/main.less
Expand Up @@ -14,7 +14,7 @@
}

.icon-col {
width: 28px;
width: 1em;
}

.icon-strikethrough {
Expand Down Expand Up @@ -79,24 +79,21 @@ a:hover > .icon-cancel {
// List styles

.comment-list {
> .comment-header {
margin: 0;

.comment-header {
border-bottom: 1px solid @gray-lighter;
margin-top: @vertical-padding;

&:hover {
background-color: @gray-lightest;

> .comment-meta > .meta-icons > .remove-action {
display: block;
visibility: visible;
}
}

&:first-child {
margin-top: 0;
}

> .comment-meta > .meta-icons > .remove-action {
display: none;
visibility: hidden;
}
}
}
Expand All @@ -108,7 +105,6 @@ a:hover > .icon-cancel {
.comment-meta {
color: @text-color-light;
font-size: @font-size-small;
vertical-align: middle;

> .meta-icons {
float: right;
Expand All @@ -119,7 +115,6 @@ a:hover > .icon-cancel {
.comment-text {
// Reset margin
margin: 0;
margin-top: @vertical-padding / 2;
}

.name-value-list {
Expand All @@ -142,7 +137,6 @@ a:hover > .icon-cancel {
td, th {
padding-top: 0.667em;
padding-bottom: 0.667em;
vertical-align: middle;
}

th {
Expand Down

0 comments on commit ed5a984

Please sign in to comment.