2016-02-08 15:41:00 +01:00
|
|
|
/*! Icinga Web 2 | (c) 2013 Icinga Development Team | GPLv2+ */
|
2013-10-22 14:28:35 +02:00
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
// Login page styles
|
2014-02-25 11:17:05 +01:00
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
#login {
|
2015-09-30 18:34:20 +02:00
|
|
|
|
2017-11-14 17:25:08 +01:00
|
|
|
height: 100%;
|
2015-12-10 13:23:12 +01:00
|
|
|
background-color: @icinga-blue;
|
2017-11-15 15:09:18 +01:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
background-image: url(../img/icingaweb2-background.jpg);
|
|
|
|
// fallback ie 9
|
|
|
|
background-size: 100% 100%;
|
2017-11-14 17:25:08 +01:00
|
|
|
background-size: cover;
|
|
|
|
|
|
|
|
.login-wrapper {
|
|
|
|
height: 100%;
|
|
|
|
max-width: 85em;
|
|
|
|
padding: 0 2em;
|
|
|
|
margin: 0 auto;
|
|
|
|
z-index: 2;
|
|
|
|
position: relative
|
|
|
|
}
|
|
|
|
|
|
|
|
.login-form {
|
|
|
|
position: relative;
|
|
|
|
background: white;
|
|
|
|
min-width: 320px;
|
|
|
|
height: 100%;
|
|
|
|
width: 33%;
|
|
|
|
box-shadow: 0 0 4em 2em rgba(0,0,0,.4);
|
|
|
|
}
|
|
|
|
|
2017-11-15 15:11:51 +01:00
|
|
|
.logo-wrapper {
|
2017-11-14 17:25:08 +01:00
|
|
|
position: absolute;
|
2017-11-15 15:11:51 +01:00
|
|
|
top: 1em; right: 1em; left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#icinga-logo {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 18em;
|
2017-11-14 17:25:08 +01:00
|
|
|
height: auto;
|
2017-11-15 15:11:51 +01:00
|
|
|
margin: 0 auto;
|
2017-11-14 17:25:08 +01:00
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding-bottom: 35%;
|
|
|
|
}
|
|
|
|
}
|
2015-09-28 17:58:23 +02:00
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
.control-label {
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: @line-height;
|
2014-11-13 15:46:04 +01:00
|
|
|
}
|
|
|
|
|
2017-11-14 17:42:12 +01:00
|
|
|
.control-group .errors {
|
2015-12-10 13:23:12 +01:00
|
|
|
background-color: @color-critical;
|
|
|
|
font-size: @font-size-small;
|
|
|
|
margin: 2em 0 0 0;
|
2014-02-25 11:17:05 +01:00
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
> li {
|
|
|
|
padding: 1em;
|
2017-11-14 17:42:12 +01:00
|
|
|
color: @body-bg-color;
|
2015-12-10 13:23:12 +01:00
|
|
|
}
|
2014-03-04 11:41:29 +01:00
|
|
|
}
|
2014-02-25 11:17:05 +01:00
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
.control-group {
|
|
|
|
margin: 0 auto; // Center horizontally
|
|
|
|
width: 24em;
|
2014-10-15 15:46:07 +02:00
|
|
|
}
|
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
.control-label-group {
|
2015-09-22 17:33:02 +02:00
|
|
|
display: block;
|
2015-12-10 13:23:12 +01:00
|
|
|
padding: 0;
|
2015-09-22 17:33:02 +02:00
|
|
|
text-align: left;
|
2015-12-10 13:23:12 +01:00
|
|
|
width: 100%;
|
2014-03-04 11:41:29 +01:00
|
|
|
}
|
2014-02-25 11:17:05 +01:00
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
input[type=password],
|
|
|
|
input[type=text] {
|
2017-11-14 17:25:08 +01:00
|
|
|
border: solid 1px @gray-light;
|
2015-12-10 13:23:12 +01:00
|
|
|
display: block;
|
2016-01-04 11:41:36 +01:00
|
|
|
height: 2.5em;
|
2015-12-10 13:23:12 +01:00
|
|
|
margin: 0;
|
2016-01-04 11:41:36 +01:00
|
|
|
transition: none;
|
2015-12-10 13:23:12 +01:00
|
|
|
width: 100%;
|
2016-01-04 11:41:36 +01:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
.rounded-corners(3px);
|
2016-05-23 11:16:27 +02:00
|
|
|
border-radius: 0;
|
2016-01-04 11:41:36 +01:00
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
2014-06-20 16:39:01 +02:00
|
|
|
}
|
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
.form-controls {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
margin-top: 2em;
|
2014-11-07 00:40:32 +01:00
|
|
|
}
|
|
|
|
|
2014-06-20 16:39:01 +02:00
|
|
|
input[type=submit] {
|
2017-11-14 17:25:08 +01:00
|
|
|
border-radius: .25em;
|
|
|
|
background: @icinga-secondary;
|
|
|
|
color: white;
|
|
|
|
border: none;
|
2016-01-04 11:41:36 +01:00
|
|
|
height: 2.5em;
|
2015-12-10 13:23:12 +01:00
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
2017-11-14 17:25:08 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken(@icinga-secondary, 10)
|
|
|
|
}
|
2014-03-04 11:41:29 +01:00
|
|
|
}
|
2014-02-25 11:17:05 +01:00
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
.config-note {
|
2015-10-01 15:44:28 +02:00
|
|
|
background-color: @color-critical;
|
2015-12-10 13:23:12 +01:00
|
|
|
margin: 0 auto 2em auto; // Center horizontally w/ bottom margin
|
|
|
|
max-width: 50%;
|
|
|
|
min-width: 24em;
|
|
|
|
padding: 1em;
|
2014-11-13 15:52:20 +01:00
|
|
|
|
2015-01-27 13:58:55 +01:00
|
|
|
a {
|
2015-09-22 17:33:02 +02:00
|
|
|
color: @text-color-inverted;
|
2015-01-27 13:58:55 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-10-21 16:11:49 +02:00
|
|
|
}
|
2015-12-10 13:23:12 +01:00
|
|
|
}
|
2015-01-27 14:26:06 +01:00
|
|
|
|
2017-11-14 17:25:08 +01:00
|
|
|
#social {
|
|
|
|
position: fixed;
|
|
|
|
right: 1em; bottom: 1em;
|
|
|
|
letter-spacing: -.417em;
|
2017-11-14 17:31:46 +01:00
|
|
|
margin: 0;
|
2017-11-14 17:25:08 +01:00
|
|
|
|
|
|
|
> * {
|
|
|
|
letter-spacing: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
> li {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
-webkit-transform: scale(1, 1);
|
|
|
|
-moz-transform: scale(1, 1);
|
|
|
|
-ms-transform: scale(1, 1);
|
|
|
|
transform: scale(1, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: 3em;
|
|
|
|
color: white;
|
2017-11-15 15:09:18 +01:00
|
|
|
text-shadow: 0 0 .5em #01507B;
|
2017-11-14 17:25:08 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> li a:hover {
|
|
|
|
-webkit-transform: scale(1.2, 1.2);
|
|
|
|
-moz-transform: scale(1.2, 1.2);
|
|
|
|
-ms-transform: scale(1.2, 1.2);
|
|
|
|
transform: scale(1.2, 1.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
li:not(:last-child) {
|
|
|
|
margin-right: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
#login-footer {
|
2017-11-14 17:25:08 +01:00
|
|
|
position: absolute;
|
|
|
|
right: 2em; bottom: .25em; left: 2em;
|
|
|
|
border-top: 1px solid @gray-light;
|
|
|
|
padding: .5em;
|
2015-12-10 13:23:12 +01:00
|
|
|
font-size: @font-size-small;
|
2015-01-27 14:26:06 +01:00
|
|
|
|
2017-11-14 17:25:08 +01:00
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
float: left;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2015-12-10 13:23:12 +01:00
|
|
|
a {
|
2017-11-14 17:25:08 +01:00
|
|
|
float: right;
|
2015-12-10 13:23:12 +01:00
|
|
|
font-weight: @font-weight-bold;
|
2017-11-14 17:25:08 +01:00
|
|
|
color: @icinga-blue;
|
2015-01-28 16:22:20 +01:00
|
|
|
|
2017-11-14 17:25:08 +01:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
color: darken(@icinga-blue, 10);
|
2015-01-27 14:26:06 +01:00
|
|
|
}
|
|
|
|
}
|
2014-03-04 11:41:29 +01:00
|
|
|
}
|
2017-11-14 17:25:08 +01:00
|
|
|
|
|
|
|
canvas.particles-js-canvas-el {
|
|
|
|
position: absolute;
|
|
|
|
top: 0; right: 0; bottom: 0; left: 0;
|
|
|
|
z-index: 1;
|
|
|
|
}
|