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
|
|
|
|
|
2019-07-17 07:57:11 +02:00
|
|
|
// Hide auto sumbit info in controls
|
2016-04-06 12:00:50 +02:00
|
|
|
.controls .autosubmit-info {
|
2019-07-17 07:57:11 +02:00
|
|
|
display: none;
|
2016-04-06 12:00:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
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
|
|
|
|
2019-07-17 07:57:11 +02:00
|
|
|
.control-label-group, select {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-04-06 12:00:50 +02:00
|
|
|
|
2019-07-17 07:57:11 +02:00
|
|
|
select {
|
|
|
|
margin-left: .5em;
|
2016-04-06 12:00:50 +02:00
|
|
|
}
|
2016-02-16 15:59:49 +01:00
|
|
|
}
|
|
|
|
|
2019-06-26 17:06:06 +02:00
|
|
|
.controls input.search,
|
|
|
|
input.search {
|
|
|
|
.transition(border 0.3s ease);
|
|
|
|
.transition(background-image 0.2s ease);
|
|
|
|
|
|
|
|
background-image: url(../img/icons/search.png);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1em 1em;
|
|
|
|
background-position: .25em center;
|
|
|
|
outline: none;
|
|
|
|
padding-left: 1.5em;
|
|
|
|
width: 20em;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-image: url(../img/icons/search_icinga_blue.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus:not([readonly]) {
|
|
|
|
border-color: @icinga-blue;
|
|
|
|
}
|
2016-02-16 14:35:00 +01:00
|
|
|
}
|
|
|
|
|
2016-03-31 12:38:25 +02:00
|
|
|
.backend-selection,
|
|
|
|
.pagination-control,
|
2019-06-26 17:06:06 +02:00
|
|
|
.selection-info,
|
2016-03-31 12:38:25 +02:00
|
|
|
.sort-controls-container {
|
2019-06-26 17:06:06 +02:00
|
|
|
margin-bottom: 0.5em;
|
2016-03-31 12:38:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.filter {
|
|
|
|
// Display filter control on a new line
|
|
|
|
clear: both;
|
2019-07-09 18:04:03 +02:00
|
|
|
margin: .5em 0;
|
2019-06-26 16:29:01 +02:00
|
|
|
|
|
|
|
> a {
|
|
|
|
color: @icinga-blue;
|
2019-07-02 15:29:05 +02:00
|
|
|
padding: .5em;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
> a > i {
|
|
|
|
text-align: center;
|
|
|
|
&:before {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2019-06-26 16:29:01 +02:00
|
|
|
}
|
2019-07-01 17:07:19 +02:00
|
|
|
|
|
|
|
.form input {
|
|
|
|
padding: @vertical-padding @vertical-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls .filter {
|
|
|
|
form .search {
|
|
|
|
height: 2em;
|
|
|
|
}
|
2016-02-16 14:35:00 +01:00
|
|
|
}
|
|
|
|
|
2019-07-17 08:23:14 +02:00
|
|
|
.limiter-control > select {
|
|
|
|
margin-left: .5em;
|
2016-03-31 12:38:25 +02:00
|
|
|
}
|
|
|
|
|
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 {
|
2019-07-01 17:08:02 +02:00
|
|
|
line-height: 1;
|
|
|
|
|
2015-11-12 13:07:35 +01:00
|
|
|
&.active {
|
2019-07-01 17:08:02 +02:00
|
|
|
border-bottom: 2px solid @icinga-blue;
|
|
|
|
|
2015-11-12 13:07:35 +01:00
|
|
|
> a,
|
|
|
|
> a:hover {
|
2019-07-01 17:08:02 +02:00
|
|
|
color: @icinga-blue;
|
|
|
|
/* Compensate border-bottom: 2px */
|
|
|
|
margin-bottom: -2px;
|
2015-11-12 13:07:35 +01:00
|
|
|
}
|
2019-07-01 17:08:02 +02:00
|
|
|
|
2015-11-12 13:07:35 +01:00
|
|
|
> a:hover {
|
|
|
|
background: none;
|
|
|
|
cursor: default;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
color: @gray-light;
|
|
|
|
cursor: no-drop;
|
|
|
|
}
|
|
|
|
|
|
|
|
> a,
|
|
|
|
> span {
|
2019-07-01 17:08:02 +02:00
|
|
|
padding: 0.5em;
|
2015-11-12 13:07:35 +01:00
|
|
|
}
|
|
|
|
> 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 {
|
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;
|
2019-07-17 08:23:14 +02:00
|
|
|
display: flex;
|
2018-06-28 11:22:05 +02:00
|
|
|
|
2019-07-17 08:23:14 +02:00
|
|
|
> *:not(:last-child) {
|
|
|
|
margin-right: .5em;
|
2018-06-28 11:22:05 +02:00
|
|
|
}
|
2016-02-16 14:35:00 +01:00
|
|
|
}
|
|
|
|
|
2016-03-31 12:38:25 +02:00
|
|
|
.sort-direction-control {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
width: 1em;
|
2019-06-26 16:29:01 +02:00
|
|
|
|
|
|
|
.spinner {
|
|
|
|
line-height: 1;
|
|
|
|
}
|
2016-03-31 12:38:25 +02:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
2019-07-01 17:06:32 +02:00
|
|
|
|
2019-07-02 15:27:52 +02:00
|
|
|
.controls {
|
2019-07-01 17:06:32 +02:00
|
|
|
.control-label-group {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2019-07-02 15:27:52 +02:00
|
|
|
line-height: 1.5em;
|
2019-07-01 17:06:32 +02:00
|
|
|
padding-top: 0.25em;
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
select {
|
|
|
|
padding: .5em;
|
|
|
|
max-width: 16em;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
padding-right: 1.526em;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
/* compensate inconsistent select height calculations */
|
2019-07-02 10:34:37 +02:00
|
|
|
line-height: 1;
|
2019-07-02 15:27:52 +02:00
|
|
|
max-height: 2em;
|
2019-07-01 17:06:32 +02:00
|
|
|
}
|
|
|
|
}
|