2016-02-08 15:41:00 +01:00
|
|
|
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
|
2015-04-15 14:20:36 +02:00
|
|
|
|
2016-03-31 12:38:25 +02:00
|
|
|
// TODO(el): Rename .filter to .filter-control
|
|
|
|
|
2016-04-06 12:00:50 +02:00
|
|
|
// Hide auto sumbit info in controls but keep information for screen readers
|
|
|
|
.controls .autosubmit-info {
|
|
|
|
.sr-only();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-31 12:38:25 +02:00
|
|
|
// Backend selection control in user and group list views
|
2016-02-16 15:59:49 +01:00
|
|
|
.backend-selection {
|
|
|
|
float: left;
|
2016-04-06 12:00:50 +02:00
|
|
|
|
|
|
|
> .control-group {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
> .control-label-group {
|
|
|
|
text-align: left;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
2016-02-16 15:59:49 +01:00
|
|
|
}
|
|
|
|
|
2016-03-31 12:38:25 +02:00
|
|
|
.backend-selection,
|
|
|
|
.pagination-control,
|
|
|
|
.selection-info,
|
|
|
|
.sort-controls-container {
|
|
|
|
margin-bottom: 0.5em;
|
2016-02-16 14:35:00 +01:00
|
|
|
}
|
|
|
|
|
2016-03-31 12:38:25 +02:00
|
|
|
.backend-selection,
|
|
|
|
.pagination-control,
|
|
|
|
.sort-controls-container {
|
|
|
|
// Select controls may not respect font-size thus leading to improperly vertical alignment w/o big enough line-height
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter {
|
|
|
|
// Display filter control on a new line
|
|
|
|
clear: both;
|
2016-02-16 14:35:00 +01:00
|
|
|
}
|
|
|
|
|
2015-11-12 13:07:35 +01:00
|
|
|
.limiter-control > .control-group {
|
|
|
|
padding: 0;
|
2016-03-31 12:38:25 +02:00
|
|
|
// Note that the sort-control form does not have padding as it's utilizing different decorators
|
2015-11-12 13:07:35 +01:00
|
|
|
|
|
|
|
> .control-label-group {
|
|
|
|
text-align: left;
|
|
|
|
padding: 0;
|
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
> select {
|
|
|
|
width: 4.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
> i {
|
|
|
|
.sr-only();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-31 12:38:25 +02:00
|
|
|
.limiter-control,
|
|
|
|
.sort-control {
|
|
|
|
// Display limiter and sort control both on the same line; floating could be used here too to achieve the same
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2015-11-12 13:07:35 +01:00
|
|
|
.pagination-control {
|
2016-03-31 12:38:25 +02:00
|
|
|
// Display the pagination-control on a new line
|
2016-02-16 14:35:00 +01:00
|
|
|
clear: both;
|
|
|
|
float: left;
|
|
|
|
|
2015-11-12 13:07:35 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2015-11-16 10:23:59 +01:00
|
|
|
|
|
|
|
.previous-page {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.next-page {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-11-12 13:07:35 +01:00
|
|
|
}
|
|
|
|
|
2016-03-31 12:38:25 +02:00
|
|
|
// Multi-selection info
|
|
|
|
.selection-info {
|
|
|
|
float: right;
|
|
|
|
font-size: @font-size-small;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: help;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-12 13:05:16 +01:00
|
|
|
.sort-control {
|
2016-03-31 12:38:25 +02:00
|
|
|
margin-left: 0.25em;
|
|
|
|
|
2015-04-15 14:20:36 +02:00
|
|
|
label {
|
|
|
|
width: auto;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
select[name=sort] {
|
|
|
|
width: 12em;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
select[name=dir] {
|
2015-07-27 11:43:47 +02:00
|
|
|
width: 8em;
|
2015-04-15 14:20:36 +02:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-07-27 11:43:47 +02:00
|
|
|
|
2016-02-16 14:35:00 +01:00
|
|
|
.sort-controls-container {
|
|
|
|
clear: right;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2016-03-31 12:38:25 +02:00
|
|
|
.sort-direction-control {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
|
2015-11-12 13:05:16 +01:00
|
|
|
html.no-js .sort-control form {
|
2015-07-27 11:43:47 +02:00
|
|
|
display: table;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|