2015-09-23 13:40:55 +02:00
|
|
|
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
|
|
|
|
2015-11-10 13:23:47 +01:00
|
|
|
// Width for the name column--th--of name-value-table
|
2015-11-10 13:30:30 +01:00
|
|
|
@name-value-table-name-width: 14em;
|
2015-11-10 13:23:47 +01:00
|
|
|
|
2015-09-23 14:04:07 +02:00
|
|
|
.action-link {
|
|
|
|
color: @icinga-blue;
|
|
|
|
}
|
|
|
|
|
2015-10-27 14:10:31 +01:00
|
|
|
.large-icon {
|
|
|
|
font-size: 200%;
|
2015-09-30 16:39:50 +02:00
|
|
|
}
|
|
|
|
|
2015-09-30 23:58:38 +02:00
|
|
|
.content-centered {
|
|
|
|
margin: 0 auto;
|
2015-11-03 13:03:53 +01:00
|
|
|
text-align: center;
|
2015-09-30 23:58:38 +02:00
|
|
|
}
|
|
|
|
|
2015-09-30 16:39:50 +02:00
|
|
|
.icon-col {
|
2015-11-10 09:29:48 +01:00
|
|
|
width: 1em;
|
2015-09-30 16:39:50 +02:00
|
|
|
}
|
|
|
|
|
2015-11-03 11:21:14 +01:00
|
|
|
.icon-strikethrough {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
2015-11-09 11:45:04 +01:00
|
|
|
.preformatted {
|
|
|
|
font-family: @font-family-fixed;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2015-09-23 13:40:55 +02:00
|
|
|
.pull-left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pull-right {
|
|
|
|
float: right;
|
|
|
|
}
|
2015-09-23 14:05:53 +02:00
|
|
|
|
2015-09-24 11:57:24 +02:00
|
|
|
.text-right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2015-09-30 16:39:50 +02:00
|
|
|
.user-avatar {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2015-10-01 22:58:40 +02:00
|
|
|
.v-center {
|
|
|
|
> * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2015-09-30 18:32:29 +02:00
|
|
|
}
|
|
|
|
|
2015-10-27 14:10:31 +01:00
|
|
|
a:hover > .icon-cancel {
|
2015-09-30 16:39:50 +02:00
|
|
|
color: @color-critical;
|
|
|
|
}
|
|
|
|
|
2015-11-09 11:45:04 +01:00
|
|
|
// Link styles
|
|
|
|
|
2015-09-30 23:58:38 +02:00
|
|
|
.button-link {
|
|
|
|
.action-link();
|
2015-09-30 16:39:50 +02:00
|
|
|
.button();
|
|
|
|
display: inline-block;
|
|
|
|
height: 35px;
|
|
|
|
line-height: 20px;
|
|
|
|
min-width: 175px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-09 11:45:04 +01:00
|
|
|
// List styles
|
|
|
|
|
2015-10-27 16:05:43 +01:00
|
|
|
.comment-list {
|
2015-11-10 09:29:48 +01:00
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.comment-header {
|
2015-09-25 11:40:55 +02:00
|
|
|
border-bottom: 1px solid @gray-lighter;
|
2015-10-01 16:31:25 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @gray-lightest;
|
2015-10-27 16:05:43 +01:00
|
|
|
|
2015-10-28 09:56:50 +01:00
|
|
|
> .comment-meta > .meta-icons > .remove-action {
|
2015-11-10 09:29:48 +01:00
|
|
|
visibility: visible;
|
2015-10-01 16:31:25 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-28 09:56:50 +01:00
|
|
|
> .comment-meta > .meta-icons > .remove-action {
|
2015-11-10 09:29:48 +01:00
|
|
|
visibility: hidden;
|
2015-10-27 16:05:43 +01:00
|
|
|
}
|
2015-09-25 11:40:55 +02:00
|
|
|
}
|
2015-09-25 10:59:08 +02:00
|
|
|
}
|
2015-09-25 12:40:33 +02:00
|
|
|
|
2015-10-27 16:05:43 +01:00
|
|
|
.comment-header {
|
|
|
|
.clearfix();
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-meta {
|
|
|
|
color: @text-color-light;
|
|
|
|
font-size: @font-size-small;
|
|
|
|
|
|
|
|
> .meta-icons {
|
|
|
|
float: right;
|
|
|
|
margin-top: 0.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-text {
|
|
|
|
// Reset margin
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2015-11-09 11:45:04 +01:00
|
|
|
.name-value-list {
|
2015-10-01 00:56:38 +02:00
|
|
|
dd {
|
|
|
|
// Reset default margin
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
2015-11-03 12:21:18 +01:00
|
|
|
color: @text-color-light;
|
|
|
|
font-size: @font-size-small;
|
2015-10-01 00:56:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-09 11:45:04 +01:00
|
|
|
// Table styles
|
|
|
|
|
|
|
|
.common-table {
|
2015-11-04 16:05:46 +01:00
|
|
|
width: 100%;
|
2015-10-28 14:14:07 +01:00
|
|
|
|
2015-11-04 16:05:46 +01:00
|
|
|
td, th {
|
2015-11-10 09:30:11 +01:00
|
|
|
padding-top: 1em;
|
2015-10-01 00:56:38 +02:00
|
|
|
}
|
2015-09-25 12:40:33 +02:00
|
|
|
|
2015-11-16 10:28:51 +01:00
|
|
|
td {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2015-11-04 16:05:46 +01:00
|
|
|
th {
|
2015-09-28 17:06:01 +02:00
|
|
|
text-align: left;
|
2015-11-16 10:28:51 +01:00
|
|
|
padding-bottom: 0.5em;
|
2015-09-28 17:06:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
thead {
|
2015-11-04 15:12:35 +01:00
|
|
|
border-bottom: 1px solid @gray-light;
|
2015-09-25 12:40:33 +02:00
|
|
|
}
|
|
|
|
|
2015-11-04 16:05:46 +01:00
|
|
|
tbody tr {
|
2015-09-25 12:40:33 +02:00
|
|
|
border-bottom: 1px solid @gray-lightest;
|
2015-11-04 16:05:46 +01:00
|
|
|
border-left: 5px solid transparent;
|
2015-09-25 12:40:33 +02:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
2015-11-04 16:05:46 +01:00
|
|
|
|
|
|
|
tr[href] {
|
|
|
|
&.active {
|
|
|
|
background-color: @gray-lighter;
|
|
|
|
border-left-color: @icinga-blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @gray-lightest;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
2015-11-04 16:13:56 +01:00
|
|
|
|
|
|
|
caption {
|
|
|
|
border-top: 1px solid @gray-light;
|
|
|
|
caption-side: bottom;
|
|
|
|
text-align: right;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2015-09-25 12:40:33 +02:00
|
|
|
}
|
2015-10-01 00:56:38 +02:00
|
|
|
|
2015-11-04 12:11:16 +01:00
|
|
|
.name-value-table th {
|
2015-11-04 16:05:46 +01:00
|
|
|
color: @text-color-light;
|
|
|
|
// Reset default font-weight
|
|
|
|
font-weight: normal;
|
2015-11-10 09:30:33 +01:00
|
|
|
padding-left: 0;
|
2015-11-04 16:05:46 +01:00
|
|
|
text-align: left;
|
2015-11-09 11:33:37 +01:00
|
|
|
vertical-align: top;
|
2015-11-10 13:23:47 +01:00
|
|
|
width: @name-value-table-name-width;
|
2015-10-01 22:58:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// TODO(el): Fix
|
|
|
|
.controls {
|
|
|
|
.limiter-control {
|
2015-11-16 10:24:33 +01:00
|
|
|
float: right;
|
2015-10-01 22:58:40 +02:00
|
|
|
padding: @vertical-padding / 2 0;
|
2015-11-16 10:24:33 +01:00
|
|
|
margin-bottom: 0.25em;
|
2015-10-01 22:58:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination-control {
|
2015-11-16 10:24:33 +01:00
|
|
|
padding: @vertical-padding / 2 0;
|
|
|
|
margin-bottom: 0.25em;
|
2015-10-01 22:58:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sort-control {
|
2015-11-16 10:24:33 +01:00
|
|
|
float: right;
|
2015-10-01 22:58:40 +02:00
|
|
|
padding: @vertical-padding / 2 0;
|
2015-11-16 10:24:33 +01:00
|
|
|
margin-bottom: 0.25em;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sort-direction-control {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selection-info {
|
|
|
|
margin-left: 0.5em;
|
2015-10-01 22:58:40 +02:00
|
|
|
}
|
2015-10-01 00:56:38 +02:00
|
|
|
}
|