Skip to content

Commit

Permalink
CSS: Remove element qualifiers in main.less
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Nov 9, 2015
1 parent c46b325 commit 8c13583
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions public/css/icinga/main.less
Expand Up @@ -21,6 +21,11 @@
text-decoration: line-through;
}

.preformatted {
font-family: @font-family-fixed;
white-space: pre-wrap;
}

.pull-left {
float: left;
}
Expand Down Expand Up @@ -48,6 +53,8 @@ a:hover > .icon-cancel {
color: @color-critical;
}

// Link styles

.button-link {
.action-link();
.button();
Expand All @@ -69,6 +76,8 @@ a:hover > .icon-cancel {
}
}

// List styles

.comment-list {
> .comment-header {
border-bottom: 1px solid @gray-lighter;
Expand Down Expand Up @@ -113,7 +122,7 @@ a:hover > .icon-cancel {
margin-top: @vertical-padding / 2;
}

dl.name-value-list {
.name-value-list {
dd {
// Reset default margin
margin: 0;
Expand All @@ -125,7 +134,9 @@ dl.name-value-list {
}
}

table.common-table {
// Table styles

.common-table {
width: 100%;

td, th {
Expand Down Expand Up @@ -180,11 +191,6 @@ table.common-table {
width: 14em;
}

.preformatted {
font-family: @font-family-fixed;
white-space: pre-wrap;
}

// TODO(el): Fix
.controls {
.limiter-control {
Expand Down

0 comments on commit 8c13583

Please sign in to comment.