CSS: Move limiter and pagination styles to controls.less

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-12 13:07:35 +01:00
parent daf32be72d
commit b64bf06df7
4 changed files with 49 additions and 53 deletions

View File

@ -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',
@ -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',

View File

@ -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;

View File

@ -1,19 +0,0 @@
/*! 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();
}
}

View File

@ -1,32 +0,0 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
.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;
}
}
}