Skip to content

Commit

Permalink
CSS: Add rules for controls (WIP)
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Oct 1, 2015
1 parent 565a9e4 commit 508e20d
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions public/css/icinga/main.less
Expand Up @@ -17,7 +17,7 @@
}

.comment-text {
color: @text-color-light;
.text-small();
font-family: @font-family-fixed;
}

Expand Down Expand Up @@ -66,8 +66,10 @@
width: 16px;
}

.v-center > * {
vertical-align: middle;
.v-center {
> * {
vertical-align: middle;
}
}

a:hover .icon-cancel {
Expand Down Expand Up @@ -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;
}
}

0 comments on commit 508e20d

Please sign in to comment.