FreeSTAR-Status-Engine/css/main.css
2024-04-02 18:20:18 +02:00

686 lines
9.7 KiB
CSS

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese');
@import url('https://fonts.googleapis.com/css?family=Fira+Sans:400,700&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese');
body {
background: #ffffff;
margin: 0;
margin-top: 80px;
height: 100%;
line-height: 24px;
font-family: 'Open Sans', sans-serif;
}
img {
height: auto;
max-width: 100%;
}
a {
padding: 0;
margin: 0;
text-decoration: none;
}
a:hover,
a:focus {
text-decoration: none;
color:#f5f4f4;
}
a.desc-tool-tip, a.desc-tool-tip:hover, a.desc-tool-tip:visited {
color: grey;
}
.centered {
text-align: center
}
.navbar {
padding-top: 5px;
margin-bottom: 0px;
}
.navbar-brand {
padding: 10px 15px;
}
.navbar-default .navbar-nav > li > a {
color: #f5f4f4;
font-size: 1em;
}
.navbar-default .navbar-nav > li > a:hover {
color: #a7a7a7;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
color: #f5f4f4;
background-color: transparent;
}
.navbar-collapse
{
background: gray;
}
.navbar-default {
z-index: 200;
background-color: gray;
border-color: transparent;
border-radius: 0px 0px 30px 30px;
height: 77px;
position: fixed;
top: 0;
width: 100%;
}
.admins_color h4 {
color: #3a72bd;
font-weight: bold;
}
.navbar-right{
margin-top: 15px;
}
.navbar-left{
margin-top: 8px;
}
div.center {
margin-left: auto;
margin-right: auto;
}
#wrapper
{
max-width: 1024px;
min-height: calc(100vh - 139px);
padding-right: 15px;
padding-left: 15px
}
#status-container
{
border-radius: 5px;
border: 1px solid #e0e0e0;
}
#status-container .item:last-child
{
border: none;
}
#status-container .item{
border-bottom: 1px solid #e0e0e0;
}
.service{
float: left;
box-sizing: border-box;
padding: 15px 35px;
font-weight: bold;
font-size: 1.1em;
font-family: 'Fira Sans', sans-serif;
}
body a h1{
font-size: 1.3em;
margin: 0;
line-height: 1.3em
}
.status{
float: right;
box-sizing: border-box;
padding: 0px 35px;
text-align: right;
font-size: 1.05em;
font-family: 'Fira Sans', sans-serif;
}
.status.success{
color:#2fcc66;
}
.status.warning{
color:#edaa16;
}
.status.danger{
color:#e74c3c;
}
.status.primary{
color:#3A72BD;
}
.panel-success{
border-color:#2fcc66;
}
.navbar-header .btn
{
margin-top: 15px;
margin-right: 10px
}
.panel-warning{
border-color:#edaa16;
}
.panel-danger{
border-color:#e74c3c;
}
.panel-success .panel-heading, #status-big.success{
background: #2fcc66;
border-color: rgba(0, 0, 0, 0.1);
}
.panel-warning .panel-heading, #status-big.warning{
background:#edaa16;
border-color: rgba(0, 0, 0, 0.1);
}
.panel-danger .panel-heading, #status-big.danger{
background:#e74c3c;
border-color: rgba(0, 0, 0, 0.1);
}
#status-big.primary{
background: #3A72BD;
}
#wrapper .panel-heading{
color:white;
}
#status-big{
width: 100%;
margin-bottom:15px;
float: none;
color: white;
text-align: left;
padding: 15px;
border-radius: 5px;
font-size: 1.3em;
font-family: 'Fira Sans', sans-serif;
}
.timeline {
position: relative;
padding: 0 0px 10px;
margin-top: 4px;
}
.timeline .line {
position: absolute;
width: 2px;
display: block;
background: #c2c2c2;
top: 0px;
bottom: 0px;
margin-left: 31px;
}
.timeline .panel {
position: relative;
margin: 10px 0px 21px 70px;
clear: both;
}
.timeline .panel::before {
position: absolute;
display: block;
top: 8px;
left: -24px;
content: '';
width: 0px;
height: 0px;
border: inherit;
border-width: 12px;
border-top-color: transparent;
border-bottom-color: transparent;
border-left-color: transparent;
}
.timeline .panel .panel-heading.icon * {
/*This shouldn't be relative in size...*/
font-size: 20px;
vertical-align: middle;
line-height: 40px;
}
.timeline .panel .panel-heading.icon {
position: absolute;
left: -59px;
display: block;
width: 40px;
height: 40px;
padding: 0px;
border-radius: 50%;
text-align: center;
float: left;
}
.timeline .panel-outline {
border-color: transparent;
background: transparent;
box-shadow: none;
}
.timeline .panel-outline .panel-body {
padding: 10px 0px;
}
.timeline .panel-outline .panel-heading:not(.icon),
.timeline .panel-outline .panel-footer {
display: none;
}
.timeline .line::before { top: -4px; }
.timeline .line::before{
content: '';
position: absolute;
left: -4px;
width: 10px;
height: 10px;
display: block;
border-radius: 50%;
background: #c2c2c2;
}
.panel-heading h2
{
display: inline-block;
}
/* Footer */
#footerwrap {
border-radius: 30px 30px 0px 0px;
min-height: 60px;
padding-top: 15px;
padding-bottom: 10px;
background: gray;
}
#footerwrap a{
color: #6daddc;
}
#footerwrap a:hover{
color: #a4ceea;
}
#footerwrap p {
color: #e5e5e5;
margin-top: 4px;
}
#footerwrap h4 {
color: white;
}
#footerwrap i {
font-size: 1.7em;
color: #ebebeb;
padding-right: 15px;
}
#footerwrap i:hover {
color: #c5c5c5;
}
#footerwrap .col-md-4, #footerwrap .col-md-8 {
color: #e5e5e5;
margin-top: 4px;
}
#footerwrap .col-md-4{
margin-top: 2px;
}
@media (max-width: 991px) {
body #footerwrap .col-md-8, #footerwrap .col-md-4 {
text-align: center;
}
}
#timeline{
padding-top: 50px
}
#timeline h3{
margin-top: 40px;
padding-left: 70px;
margin-bottom: 15px
}
#login-form{
max-width: 500px;
padding-top: 20px
}
.navbar-right.navbar-admin
{
margin-top: 10px
}
.panel-footer input, .panel-heading input{
background: transparent;
border: none;
border-bottom: 1px solid #777;
}
.panel-footer input.error, .panel-heading input.error{
border-bottom: 1px solid red;
color: red;
}
input, textarea
{
outline: none
}
/*Stupid chrome can't have this in one selector...*/
body .panel-heading input::-webkit-input-placeholder
{
color:white;
}
body .panel-heading input::-moz-placeholder
{
color:white;
}
body .panel-heading input:-ms-input-placeholder
{
color:white;
}
body .panel-heading input:-moz-placeholder
{
color:white;
}
body .panel-heading input::placeholder{
color:white;
}
.panel.panel-primary input#title{
width: 50%;
}
#time input {
max-width: 100%
}
.panel.panel-primary #time{
display: inline-block;
float: right;
width: 40%;
max-width: 40%
}
.panel.panel-primary input#title{
width: 50%;
max-width: 50%
}
.panel:not(.panel-primary) input#title{
width: 100%;
}
.panel:not(.panel-primary) #time,
.panel:not(.panel-primary) #end_time_wrapper{
display: none;
}
#time::-moz-placeholder, #title::-moz-placeholder {
opacity: 1;
}
.panel-body textarea
{
width: 100%;
background: transparent;
border: none;
resize: vertical;
min-height: 100px
}
#type
{
max-width: 200px;
margin-left: 70px
}
#wrapper.admin #timeline{
padding-top: 0
}
#wrapper.admin #timeline .service{
padding-left: 15px
}
#wrapper.admin #timeline .service input[type=checkbox]{
margin-right: 4px;
margin-top: 0;
vertical-align: middle;
}
body.admin table td{
word-break: break-all;
}
section{
padding-top: 20px;
}
section h3{
margin: 0;
margin-bottom: 20px;
line-height: 34px;
}
i.success{
color:#2fcc66;
}
i.danger{
color:#e74c3c;
}
.col-md-2 strong{
line-height: 34px
}
.table-responsive{
width:100%;
}
.col-md-6{
line-height: 34px
}
.margin-top{
margin-top: 10px
}
#status-container.error input
{
box-shadow: 0px 0 2px 1px rgba(255,0,0,1)
}
.delete
{
margin-left: 5px;
font-size: 1.2em;
color: white;
line-height: 25px
}
.delete:hover, .delete:focus
{
color: #EEE
}
.new-service{
width: 40%;
min-width: 250px;
}
.delete-service
{
color: red;
font-size: 1em
}
.service label
{
margin-bottom: 0
}
.install{
padding-bottom: 25px
}
.install .btn
{
margin-top: 30px
}
.text-left{
text-align: left;
}
.text-right{
text-align: right;
}
.text-center{
text-align: center;
}
#footerwrap .dropdown-menu{
background: gray;
}
#footerwrap .dropdown-menu a{
color:white;
width: 100%;
padding: 2px 5px;
display: block;
transition: 125ms ease-in-out background-color;
background-color: gray;
}
#footerwrap .dropdown-menu a:hover{
background-color: #2f8ad8;
}
#footerwrap .btn-group.dropup img{
max-height: 20px;
max-width: 25px;
margin-right: 5px;
vertical-align: middle;
}
.col-md-4.text-left, .col-md-4.text-right{
line-height: 2.5;
}
.dropup hr.divider
{
margin: 2px;
border: 1px;
}
body .h1,body .h2,body .h3,body h1,body h2,body h3 {
margin-top: 18px;
}
.row.user .input-group
{
width: 100%;
margin-bottom: 5px
}
.row.user .form-name{
width: 50%;
float: left;
}
label.form-name
{
line-height: 20px
}
.panel .panel-footer .label{
display: inline-block;
}
/* The switch - the box around the slider */
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}
/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}
/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: #2196F3;
}
input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}