2015-02-04 10:46:36 +01:00
|
|
|
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
2014-02-18 19:39:54 +01:00
|
|
|
|
2014-03-05 16:23:51 +01:00
|
|
|
div.config-form-buttons {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2014-03-05 13:38:38 +01:00
|
|
|
table.configTable {
|
2014-03-05 15:28:10 +01:00
|
|
|
border-spacing: 15px;
|
2014-03-05 13:38:38 +01:00
|
|
|
border-collapse: separate;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.configTable {
|
|
|
|
border: solid;
|
|
|
|
border-width: thin;
|
|
|
|
padding: 10px;
|
2014-03-05 17:40:08 +01:00
|
|
|
min-width: 300px;
|
2014-03-05 13:38:38 +01:00
|
|
|
}
|
|
|
|
|
2014-07-10 11:09:48 +02:00
|
|
|
.form-element {
|
2014-02-18 19:39:54 +01:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
2014-02-25 11:07:36 +01:00
|
|
|
display: block;
|
2014-02-18 19:39:54 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2015-07-22 10:57:14 +02:00
|
|
|
input, select, textarea {
|
2014-06-20 16:39:01 +02:00
|
|
|
box-sizing: border-box;
|
2014-02-25 11:07:36 +01:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
2014-06-20 16:39:01 +02:00
|
|
|
border: 1px solid #ddd;
|
2014-11-07 11:38:32 +01:00
|
|
|
font-size: 0.9em;
|
2014-02-25 11:07:36 +01:00
|
|
|
padding: 0.2em;
|
2014-06-20 16:39:01 +02:00
|
|
|
background: #fff;
|
2014-11-07 11:38:32 +01:00
|
|
|
font-family: Calibri, Helvetica, sans-serif;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2014-06-20 16:39:01 +02:00
|
|
|
input:focus, select:focus {
|
|
|
|
border-color: #333;
|
2014-02-25 11:07:36 +01:00
|
|
|
}
|
2014-02-18 19:39:54 +01:00
|
|
|
|
2014-02-25 11:07:36 +01:00
|
|
|
input[type=submit] {
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
2014-11-07 11:38:32 +01:00
|
|
|
color: #fff;
|
2015-07-24 10:11:31 +02:00
|
|
|
border: 1px solid;
|
2014-11-13 17:20:06 +01:00
|
|
|
border-color: @colorPetrol;
|
|
|
|
background: @colorPetrol;
|
2014-02-25 11:07:36 +01:00
|
|
|
outline: 0;
|
2015-07-24 10:11:31 +02:00
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
background-color: #666;
|
|
|
|
border-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover[disabled], &:active[disabled], &:focus[disabled] {
|
|
|
|
background-color: #666;
|
|
|
|
}
|
2014-02-25 11:07:36 +01:00
|
|
|
}
|
2014-02-18 19:39:54 +01:00
|
|
|
|
2014-03-09 01:56:34 +01:00
|
|
|
input[type=submit]:hover, a.button:hover, input[type=submit]:focus {
|
|
|
|
background-color: #333;
|
2014-02-25 11:07:36 +01:00
|
|
|
border-color: #333;
|
2014-03-09 01:56:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=submit]:hover, a.button:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:focus, select:focus {
|
2014-02-25 11:07:36 +01:00
|
|
|
background: white;
|
|
|
|
outline: 0;
|
|
|
|
}
|
2014-02-18 19:39:54 +01:00
|
|
|
|
2014-03-09 01:56:34 +01:00
|
|
|
input::-moz-placeholder {
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
input::-webkit-input-placeholder {
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:-ms-input-placeholder {
|
|
|
|
color: #333;
|
2014-02-25 11:07:36 +01:00
|
|
|
}
|
2014-02-18 19:39:54 +01:00
|
|
|
|
2014-02-25 11:07:36 +01:00
|
|
|
input::-moz-focus-inner {
|
|
|
|
border: 0;
|
2014-03-09 01:56:34 +01:00
|
|
|
outline: 0;
|
2014-02-25 11:07:36 +01:00
|
|
|
}
|
2014-02-18 19:39:54 +01:00
|
|
|
|
2014-10-27 09:13:09 +01:00
|
|
|
button::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-25 11:07:36 +01:00
|
|
|
select::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2014-03-08 17:01:27 +01:00
|
|
|
form.inline {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2015-08-20 14:34:43 +02:00
|
|
|
div.spinner {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 0.2em;
|
|
|
|
margin-left: 0.25em;
|
|
|
|
|
|
|
|
i {
|
|
|
|
visibility: hidden;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
visibility: visible;
|
2015-08-21 09:54:05 +02:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
.animate(spin 2s infinite linear);
|
|
|
|
}
|
2015-08-20 14:34:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
margin: 0; // Disables wobbling
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-21 13:29:29 +02:00
|
|
|
button.animated.active {
|
|
|
|
&.move-up i:before {
|
|
|
|
.animate(move-vertical 500ms infinite linear);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.move-down i:before {
|
|
|
|
.animate(move-vertical 500ms infinite linear reverse);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-30 13:52:36 +02:00
|
|
|
button, .button-like {
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: bold;
|
|
|
|
outline: 0;
|
|
|
|
color: #fff;
|
|
|
|
padding: 0.2em;
|
|
|
|
border: 1px solid;
|
|
|
|
border-color: @colorPetrol;
|
|
|
|
background: @colorPetrol;
|
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
background-color: #666;
|
|
|
|
border-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:focus, &:active {
|
|
|
|
background-color: #333;
|
|
|
|
border-color: #333;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
background-color: #666;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-like {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.button-like {
|
|
|
|
cursor: default;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2014-11-19 15:40:40 +01:00
|
|
|
form.link-like input[type="submit"], form.link-like button[type="submit"], input.link-like, button.link-like {
|
2014-03-08 17:01:27 +01:00
|
|
|
color: @colorLinkDefault;
|
2014-06-23 14:10:15 +02:00
|
|
|
font-weight: normal;
|
2014-03-08 17:01:27 +01:00
|
|
|
border: none;
|
2014-06-23 14:10:15 +02:00
|
|
|
background: none;
|
2014-03-08 17:01:27 +01:00
|
|
|
padding: 0;
|
|
|
|
font-size: 1em;
|
|
|
|
cursor: pointer;
|
2015-07-31 08:29:59 +02:00
|
|
|
|
|
|
|
&.icon-only {
|
|
|
|
color: inherit;
|
|
|
|
font-size: 1.5em;
|
|
|
|
|
|
|
|
&:hover, &:focus, &:active {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
}
|
2014-03-08 17:01:27 +01:00
|
|
|
}
|
|
|
|
|
2014-11-19 15:40:40 +01:00
|
|
|
form.link-like input[type="submit"]:hover,
|
|
|
|
form.link-like input[type="submit"]:focus,
|
2015-07-30 14:13:06 +02:00
|
|
|
form.link-like input[type="submit"]:active,
|
2014-11-19 15:40:40 +01:00
|
|
|
form.link-like button[type="submit"]:hover,
|
|
|
|
form.link-like button[type="submit"]:focus,
|
2015-07-30 14:13:06 +02:00
|
|
|
form.link-like button[type="submit"]:active,
|
|
|
|
input.link-like:hover,
|
|
|
|
input.link-like:focus,
|
|
|
|
input.link-like:active,
|
|
|
|
button.link-like:hover,
|
|
|
|
button.link-like:focus,
|
|
|
|
button.link-like:active {
|
2014-03-08 17:01:27 +01:00
|
|
|
text-decoration: underline;
|
2014-06-23 14:10:15 +02:00
|
|
|
background: none;
|
|
|
|
color: @colorLinkDefault;
|
2014-03-08 17:01:27 +01:00
|
|
|
}
|
2014-02-25 11:07:36 +01:00
|
|
|
|
2014-10-15 16:35:21 +02:00
|
|
|
.non-list-like-list {
|
2014-02-25 11:07:36 +01:00
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
2015-03-02 13:45:24 +01:00
|
|
|
padding: 0.5em 0.5em 0;
|
2014-11-12 16:23:55 +01:00
|
|
|
|
|
|
|
li {
|
2015-03-02 13:45:24 +01:00
|
|
|
padding-bottom: 0.5em;
|
2014-11-12 16:23:55 +01:00
|
|
|
}
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2014-10-15 16:35:21 +02:00
|
|
|
form div.element ul.errors {
|
|
|
|
.non-list-like-list;
|
|
|
|
margin: 0.3em 0 0 0.6em;
|
|
|
|
|
|
|
|
li {
|
|
|
|
color: @colorCritical;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
form ul.form-errors {
|
|
|
|
.non-list-like-list;
|
2014-11-12 16:23:55 +01:00
|
|
|
margin-bottom: 1em;
|
2014-10-15 16:35:21 +02:00
|
|
|
background-color: @colorCritical;
|
|
|
|
|
|
|
|
ul.errors {
|
|
|
|
.non-list-like-list;
|
2015-03-02 13:45:24 +01:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2014-10-15 16:35:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2015-05-15 13:05:24 +02:00
|
|
|
form ul.form-notifications {
|
|
|
|
.non-list-like-list;
|
|
|
|
margin-bottom: 1em;
|
2015-06-30 14:25:33 +02:00
|
|
|
padding: 0;
|
2015-05-15 13:05:24 +02:00
|
|
|
|
2015-06-30 14:25:33 +02:00
|
|
|
ul {
|
|
|
|
.non-list-like-list;
|
2015-05-15 13:05:24 +02:00
|
|
|
|
2015-06-30 14:25:33 +02:00
|
|
|
&.info {
|
|
|
|
background-color: @colorFormNotificationInfo;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.warning {
|
|
|
|
background-color: @colorFormNotificationWarning;
|
|
|
|
}
|
2015-05-15 13:05:24 +02:00
|
|
|
|
2015-06-30 14:25:33 +02:00
|
|
|
&.error {
|
|
|
|
background-color: @colorFormNotificationError;
|
|
|
|
}
|
2015-05-15 13:05:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-15 15:46:07 +02:00
|
|
|
form div.element {
|
2015-07-23 16:49:19 +02:00
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2014-10-01 10:01:25 +02:00
|
|
|
form label {
|
2014-06-17 15:34:41 +02:00
|
|
|
display: inline-block;
|
2015-08-21 10:36:08 +02:00
|
|
|
vertical-align: top;
|
|
|
|
margin-top: 0.25em;
|
2014-06-17 15:34:41 +02:00
|
|
|
margin-right: 1em;
|
|
|
|
font-size: 0.9em;
|
|
|
|
width: 10em;
|
|
|
|
}
|
|
|
|
|
2015-08-21 10:36:08 +02:00
|
|
|
form div.element i.help:before {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
|
2015-08-20 14:35:40 +02:00
|
|
|
label ~ * {
|
2015-07-22 11:03:01 +02:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
form dt {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2014-11-20 13:22:38 +01:00
|
|
|
select, input[type=text], textarea {
|
2014-06-17 15:34:41 +02:00
|
|
|
width: 20em;
|
2014-11-20 13:22:38 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
height: 4em;
|
2014-06-17 15:34:41 +02:00
|
|
|
}
|
|
|
|
|
2015-05-28 10:45:57 +02:00
|
|
|
textarea.resource {
|
|
|
|
&.ssh-identity {
|
|
|
|
width: 50%;
|
|
|
|
height: 25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-01 10:01:25 +02:00
|
|
|
form .description {
|
2014-06-17 15:34:41 +02:00
|
|
|
font-size: 0.8em;
|
2014-10-15 15:46:07 +02:00
|
|
|
margin: 0.3em 0 0 0.6em;
|
2014-06-17 15:34:41 +02:00
|
|
|
}
|
|
|
|
|
2014-09-24 07:43:33 +02:00
|
|
|
.description {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-02-03 16:58:53 +01:00
|
|
|
select.grant-permissions {
|
|
|
|
height: 20em;
|
|
|
|
width: auto;
|
|
|
|
}
|
2015-02-27 08:10:25 +01:00
|
|
|
|
2015-08-20 14:35:40 +02:00
|
|
|
label ~ input, label ~ select, label ~ textarea {
|
|
|
|
margin-left: 1.3em;
|
2015-02-27 13:09:13 +01:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:53:26 +02:00
|
|
|
label + i ~ input, label + i ~ select, label + i ~ textarea {
|
2015-02-27 13:09:13 +01:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.noscript-apply {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
2015-08-20 14:44:49 +02:00
|
|
|
i.autosubmit-warning {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 0.2em;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
|
2015-08-21 10:53:16 +02:00
|
|
|
&:before {
|
2015-08-21 10:17:03 +02:00
|
|
|
margin: 0; // Disables wobbling
|
2015-08-21 10:53:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.spinning:before {
|
2015-08-21 10:17:03 +02:00
|
|
|
content: '\e874'; // icon-spin6
|
2015-08-20 14:44:49 +02:00
|
|
|
.animate(spin 2s infinite linear);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-27 13:09:13 +01:00
|
|
|
html.no-js i.autosubmit-warning {
|
|
|
|
.sr-only;
|
2015-03-02 13:45:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
form ul.descriptions {
|
|
|
|
.info-box;
|
|
|
|
padding: 0.5em 0.5em 0 1.8em;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
|
|
|
|
&:only-child {
|
|
|
|
margin-left: -1.3em;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
}
|
2015-03-03 13:33:26 +01:00
|
|
|
}
|
2015-06-30 15:02:58 +02:00
|
|
|
|
|
|
|
form ul.hints {
|
|
|
|
.non-list-like-list;
|
|
|
|
padding: 0.5em 0.5em 0 0.5em;
|
|
|
|
|
|
|
|
li {
|
|
|
|
font-size: 0.8em;
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
}
|
2015-07-20 15:52:10 +02:00
|
|
|
}
|
2015-07-23 16:49:19 +02:00
|
|
|
|
|
|
|
.control-group {
|
|
|
|
& > * {
|
|
|
|
float: left;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2015-07-23 17:33:29 +02:00
|
|
|
div.element {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2015-07-23 16:49:19 +02:00
|
|
|
&:after {
|
|
|
|
content: ".";
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|