FreeSTAR-Status-Engine/css/main.css

690 lines
9.6 KiB
CSS
Raw Normal View History

@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');
2017-11-23 18:09:36 -05:00
2020-08-14 12:37:16 -04:00
body {
background: #ffffff;
margin: 0;
margin-top: 80px;
height: 100%;
line-height: 24px;
font-family: 'Open Sans', sans-serif;
2017-11-23 18:09:36 -05:00
}
img {
2020-08-14 12:37:16 -04:00
height: auto;
max-width: 100%;
2017-11-23 18:09:36 -05:00
}
2020-08-14 12:37:16 -04:00
a {
padding: 0;
margin: 0;
text-decoration: none;
2017-11-23 18:09:36 -05:00
}
a:hover,
a:focus {
text-decoration: none;
2020-08-14 12:37:16 -04:00
color:#f5f4f4;
2017-11-23 18:09:36 -05:00
}
.centered {
2020-08-14 12:37:16 -04:00
text-align: center
2017-11-23 18:09:36 -05:00
}
.navbar {
2020-08-14 12:37:16 -04:00
padding-top: 5px;
margin-bottom: 0px;
2017-11-23 18:09:36 -05:00
}
.navbar-brand {
padding: 10px 15px;
}
.navbar-default .navbar-nav > li > a {
2020-08-14 12:37:16 -04:00
color: #f5f4f4;
font-size: 1em;
2017-11-23 18:09:36 -05:00
}
.navbar-default .navbar-nav > li > a:hover {
2020-08-14 12:37:16 -04:00
color: #a7a7a7;
2017-11-23 18:09:36 -05:00
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
2020-08-14 12:37:16 -04:00
color: #f5f4f4;
background-color: transparent;
2017-11-23 18:09:36 -05:00
}
2017-12-12 08:17:10 -05:00
.navbar-collapse
{
2020-08-15 13:47:36 -04:00
background: gray;
2017-12-12 08:17:10 -05:00
}
2017-11-23 18:09:36 -05:00
.navbar-default {
z-index: 200;
2020-08-14 12:37:16 -04:00
background-color: gray;
2017-11-23 18:09:36 -05:00
border-color: transparent;
2020-08-14 12:37:16 -04:00
border-radius: 0px 0px 30px 30px;
2017-11-23 18:09:36 -05:00
height: 77px;
2020-08-14 12:37:16 -04:00
position: fixed;
top: 0;
width: 100%;
2017-11-23 18:09:36 -05:00
}
body {
min-height: 100vh;
height: 100vh;
}
.admins_color h4 {
color: #3a72bd;
font-weight: bold;
}
.navbar-right{
margin-top: 15px;
}
.navbar-left{
margin-top: 8px;
2017-11-23 18:09:36 -05:00
}
div.center {
margin-left: auto;
margin-right: auto;
}
#wrapper
{
max-width: 1024px;
2017-11-23 18:09:36 -05:00
min-height: calc(100vh - 157px);
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;
2017-12-12 08:17:10 -05:00
box-sizing: border-box;
2017-11-23 18:09:36 -05:00
padding: 15px 35px;
font-weight: bold;
font-size: 1.1em;
2017-11-23 18:09:36 -05:00
font-family: 'Fira Sans', sans-serif;
}
2018-03-09 19:30:06 -05:00
body a h1{
font-size: 1.3em;
2017-11-23 18:09:36 -05:00
margin: 0;
line-height: 1.3em
2017-11-23 18:09:36 -05:00
}
.status{
2018-03-09 19:15:47 -05:00
float: right;
2017-12-12 08:17:10 -05:00
box-sizing: border-box;
2017-11-23 18:09:36 -05:00
padding: 15px 35px;
text-align: right;
font-size: 1.05em;
2017-11-23 18:09:36 -05:00
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
{
2020-08-14 12:37:16 -04:00
margin-top: 15px;
2017-11-23 18:09:36 -05:00
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;
2017-11-23 18:09:36 -05:00
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;
2018-01-18 17:21:33 -05:00
margin-left: 31px;
2017-11-23 18:09:36 -05:00
}
.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;
}
2020-08-14 12:37:16 -04:00
.timeline .panel .panel-heading.icon * {
/*This shouldn't be relative in size...*/
2020-08-14 12:37:16 -04:00
font-size: 20px;
vertical-align: middle;
line-height: 40px;
}
2017-11-23 18:09:36 -05:00
.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 {
2020-08-14 12:37:16 -04:00
border-radius: 30px 30px 0px 0px;
2017-11-23 18:09:36 -05:00
min-height: 60px;
padding-top: 15px;
padding-bottom: 10px;
2020-08-14 12:37:16 -04:00
background: gray;
2017-11-23 18:09:36 -05:00
}
#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;
2017-11-23 18:09:36 -05:00
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) {
2018-04-20 11:39:34 -04:00
body #footerwrap .col-md-8, #footerwrap .col-md-4 {
text-align: center;
2017-11-23 18:09:36 -05:00
}
}
#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%;
}
2017-12-12 08:05:00 -05:00
#time input {
max-width: 100%
}
.panel.panel-primary #time{
display: inline-block;
float: right;
width: 40%;
max-width: 40%
2017-11-23 18:09:36 -05:00
}
.panel.panel-primary input#title{
width: 50%;
2017-12-12 08:05:00 -05:00
max-width: 50%
2017-11-23 18:09:36 -05:00
}
.panel:not(.panel-primary) input#title{
width: 100%;
}
2017-12-12 08:05:00 -05:00
.panel:not(.panel-primary) #time,
2017-11-23 18:09:36 -05:00
.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
}
2018-03-09 19:30:06 -05:00
.table-responsive{
width:100%;
}
2017-11-23 18:09:36 -05:00
.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;
2017-11-23 18:09:36 -05:00
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
2017-11-23 18:09:36 -05:00
}
.service label
{
margin-bottom: 0
}
.install{
padding-bottom: 25px
}
.install .btn
{
margin-top: 30px
2017-12-12 08:05:00 -05:00
}
2018-01-03 05:46:24 -05:00
.text-left{
text-align: left;
}
.text-right{
text-align: right;
}
.text-center{
text-align: center;
}
#footerwrap .dropdown-menu{
2020-08-14 12:37:16 -04:00
background: gray;
2018-01-03 05:46:24 -05:00
}
#footerwrap .dropdown-menu a{
color:white;
width: 100%;
padding: 2px 5px;
display: block;
transition: 125ms ease-in-out background-color;
2020-08-14 12:37:16 -04:00
background-color: gray;
2018-01-03 05:46:24 -05:00
}
#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;
2018-03-09 19:30:06 -05:00
}
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
2020-08-14 07:00:38 -04:00
}
.panel .panel-footer .label{
display: inline-block;
}
2020-08-17 09:45:54 -04:00
/* 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%;
}