From 8c13583abab0fa8af388ad239f64d9c5ea62820d Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 9 Nov 2015 11:45:04 +0100 Subject: [PATCH] CSS: Remove element qualifiers in main.less refs #5543 --- public/css/icinga/main.less | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index c5fe0931fc..340351dc95 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -21,6 +21,11 @@ text-decoration: line-through; } +.preformatted { + font-family: @font-family-fixed; + white-space: pre-wrap; +} + .pull-left { float: left; } @@ -48,6 +53,8 @@ a:hover > .icon-cancel { color: @color-critical; } +// Link styles + .button-link { .action-link(); .button(); @@ -69,6 +76,8 @@ a:hover > .icon-cancel { } } +// List styles + .comment-list { > .comment-header { border-bottom: 1px solid @gray-lighter; @@ -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; @@ -125,7 +134,9 @@ dl.name-value-list { } } -table.common-table { +// Table styles + +.common-table { width: 100%; td, th { @@ -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 {