From 508e20dc76252fa08937506ec0533b3c1766622e Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 1 Oct 2015 22:58:40 +0200 Subject: [PATCH] CSS: Add rules for controls (WIP) refs #5543 --- public/css/icinga/main.less | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index 0f9a2f515..27d1523e6 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -17,7 +17,7 @@ } .comment-text { - color: @text-color-light; + .text-small(); font-family: @font-family-fixed; } @@ -66,8 +66,10 @@ width: 16px; } -.v-center > * { - vertical-align: middle; +.v-center { + > * { + vertical-align: middle; + } } a:hover .icon-cancel { @@ -178,6 +180,29 @@ table.listing-table { // Reset default font-weight font-weight: normal; width: 120px; - vertical-align: top; + vertical-align: top; + } +} + +// TODO(el): Fix +.controls { + .limiter-control { + .pull-left(); + padding: @vertical-padding / 2 0; + } + + .pagination-control { + .pull-left(); + padding: @vertical-padding / 2 @horizontal-padding; + } + + .sort-control { + .pull-right(); + padding: @vertical-padding / 2 0; + } + + .selection-info { + .pull-right(); + padding: @vertical-padding / 2 0; } }