Skip to content

Commit

Permalink
CSS: Move limiter and pagination styles to controls.less
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Nov 12, 2015
1 parent daf32be commit b64bf06
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 53 deletions.
2 changes: 0 additions & 2 deletions library/Icinga/Web/StyleSheet.php
Expand Up @@ -20,7 +20,6 @@ class StyleSheet
'css/icinga/grid.less',
'css/icinga/nav.less',
'css/icinga/main.less',
'css/icinga/limiter.less',
'css/icinga/animation.less',
'css/icinga/layout-colors.less',
'css/icinga/layout-structure.less',
Expand All @@ -32,7 +31,6 @@ class StyleSheet
'css/icinga/forms.less',
'css/icinga/setup.less',
'css/icinga/widgets.less',
'css/icinga/pagination.less',
'css/icinga/selection-toolbar.less',
'css/icinga/login.less',
'css/icinga/controls.less',
Expand Down
49 changes: 49 additions & 0 deletions public/css/icinga/controls.less
@@ -1,5 +1,54 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */

.limiter-control > .control-group {
padding: 0;

> .control-label-group {
text-align: left;
padding: 0;
width: 1em;
}

> select {
width: 4.5em;
}

> i {
.sr-only();
}
}

.pagination-control {
li {
&.active {
> a,
> a:hover {
border-bottom: 2px solid @icinga-blue;
color: @icinga-blue
}
> a:hover {
background: none;
cursor: default;
text-decoration: none;
}
}

&.disabled {
color: @gray-light;
cursor: no-drop;
}

> a,
> span {
padding: 0 0.5em 0.25em 0.5em;
}
> a:hover {
background-color: @gray-lighter;
text-decoration: none;
}
}
}

.sort-control {
label {
width: auto;
Expand Down
19 changes: 0 additions & 19 deletions public/css/icinga/limiter.less

This file was deleted.

32 changes: 0 additions & 32 deletions public/css/icinga/pagination.less

This file was deleted.

0 comments on commit b64bf06

Please sign in to comment.