2014-05-12 20:08:19 +02:00
|
|
|
f-node-form {
|
|
|
|
h3 {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-error {
|
|
|
|
@extend .alert, .alert-danger;
|
|
|
|
}
|
|
|
|
|
2016-05-18 19:32:19 +02:00
|
|
|
.node-data, .contact-data, .node-position, .monitoring-data {
|
2014-05-12 20:08:19 +02:00
|
|
|
@extend .well;
|
|
|
|
}
|
|
|
|
|
2016-05-18 19:32:19 +02:00
|
|
|
.hostname, .key, .mac, .nickname, .email, .coords, .monitoring {
|
2014-05-12 20:08:19 +02:00
|
|
|
@extend .form-group;
|
|
|
|
|
|
|
|
.feedback {
|
|
|
|
@extend .help-block;
|
|
|
|
color: $state-danger-text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hostname, .mac, .nickname, .email {
|
|
|
|
label::after {
|
|
|
|
content: '*';
|
|
|
|
font-size: $font-size-small;
|
|
|
|
vertical-align: 0.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-18 19:32:19 +02:00
|
|
|
.monitoring {
|
|
|
|
display: table;
|
|
|
|
|
|
|
|
label {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
display: table-cell;
|
|
|
|
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
|
|
|
|
margin: {
|
|
|
|
top: 0;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.monitoring-icon {
|
|
|
|
@extend .fa, .fa-heartbeat, .pull-left;
|
|
|
|
|
|
|
|
font-size: 36px;
|
|
|
|
color: $brand-primary;
|
|
|
|
}
|
|
|
|
|
2016-05-18 22:50:06 +02:00
|
|
|
.monitoring-active-info {
|
|
|
|
@extend .alert-success;
|
|
|
|
}
|
|
|
|
|
2016-05-18 19:32:19 +02:00
|
|
|
.monitoring-confirmation-info {
|
2016-05-18 22:50:06 +02:00
|
|
|
@extend .alert-info;
|
2016-05-18 19:32:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.monitoring-confirmation-pending-info {
|
2016-05-18 22:50:06 +02:00
|
|
|
@extend .alert-warning;
|
2016-05-18 19:32:19 +02:00
|
|
|
}
|
|
|
|
|
2016-05-18 22:50:06 +02:00
|
|
|
.monitoring-active-info,
|
|
|
|
.monitoring-confirmation-info,
|
|
|
|
.monitoring-confirmation-pending-info {
|
|
|
|
@extend .alert;
|
|
|
|
|
2016-05-18 19:32:19 +02:00
|
|
|
display: table;
|
|
|
|
|
2016-05-18 22:50:06 +02:00
|
|
|
.icon, .message {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
|
2016-05-18 19:32:19 +02:00
|
|
|
.icon {
|
2016-05-18 22:50:06 +02:00
|
|
|
@extend .fa;
|
2016-05-18 19:32:19 +02:00
|
|
|
|
|
|
|
font-size: 24px;
|
|
|
|
padding-right: 15px;
|
|
|
|
}
|
2016-05-18 22:50:06 +02:00
|
|
|
}
|
2016-05-18 19:32:19 +02:00
|
|
|
|
2016-05-18 22:50:06 +02:00
|
|
|
.monitoring-active-info {
|
|
|
|
.icon {
|
|
|
|
@extend .fa-heartbeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.monitoring-confirmation-info,
|
|
|
|
.monitoring-confirmation-pending-info {
|
|
|
|
.icon {
|
|
|
|
@extend .fa-exclamation-triangle;
|
2016-05-18 19:32:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-05-12 20:08:19 +02:00
|
|
|
.coords input.has-coords {
|
|
|
|
padding-right: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reset-coords {
|
|
|
|
@extend .fa, .fa-times;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
top: -25px;
|
|
|
|
right: 8px;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
color: $gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.map {
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
padding-bottom: 66%;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 20px;
|
2016-05-24 10:35:53 +02:00
|
|
|
|
2016-07-14 16:28:17 +02:00
|
|
|
&.map-hide-layers-control .leaflet-control-layers.leaflet-control {
|
2016-05-24 10:35:53 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2016-07-14 16:28:17 +02:00
|
|
|
|
|
|
|
// reset styling from bootstrap as it breaks the layer control
|
|
|
|
.leaflet-control-layers {
|
|
|
|
input {
|
|
|
|
display: initial;
|
|
|
|
border: initial;
|
|
|
|
box-shadow: initial;
|
|
|
|
width: initial;
|
|
|
|
height: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
input, label {
|
|
|
|
margin: initial;
|
|
|
|
padding: initial;
|
|
|
|
}
|
|
|
|
}
|
2014-05-12 20:08:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.buttons {
|
|
|
|
@extend .form-group, .clearfix;
|
|
|
|
|
|
|
|
button {
|
|
|
|
@extend .pull-right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.save {
|
|
|
|
@extend .btn;
|
|
|
|
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new-node .save {
|
|
|
|
@extend .btn-info;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.update-node .save {
|
|
|
|
@extend .btn-primary;
|
|
|
|
}
|
|
|
|
}
|