statping/source/scss/base.scss

255 lines
3.9 KiB
SCSS
Raw Normal View History

2018-06-29 05:32:50 +00:00
@import 'variables';
2018-06-27 06:45:00 +00:00
HTML,BODY {
background-color: $background-color;
}
.container {
padding-top: 20px;
padding-bottom: 20px;
max-width: $max-width;
}
2018-06-30 05:08:08 +00:00
H1 {
color: $title-color;
}
H5 {
color: $description-color;
}
2018-06-27 06:45:00 +00:00
.online_list .badge {
margin-top: 0.2rem;
}
.navbar {
margin-bottom: 30px;
}
.btn-sm {
line-height: 1.3;
font-size: 0.75rem;
}
.view_service_btn {
position: absolute;
bottom: -40px;
right: 40px;
}
.service_lower_info {
position: absolute;
bottom: -40px;
left: 40px;
color: #d1ffca;
font-size: 0.85rem;
}
.lg_number {
2018-06-30 07:31:42 +00:00
font-size: $service-stats-size;
2018-06-27 06:45:00 +00:00
font-weight: bold;
display: block;
2018-06-30 07:31:42 +00:00
color: $service-stats-color;
2018-06-27 06:45:00 +00:00
}
.stats_area {
text-align: center;
color: #a5a5a5;
}
.lower_canvas {
height: 55px;
width: 100%;
background-color: #48d338;
padding: 17px 10px;
}
.lower_canvas SPAN {
font-size: 1rem;
}
.footer {
text-decoration: none;
margin-top: 20px;
}
.footer A {
2018-06-30 05:08:08 +00:00
color: $footer-text-color;
2018-06-27 06:45:00 +00:00
text-decoration: none;
}
.footer A:HOVER {
color: #6d6d6d;
}
.online_badge {
color: #fff;
background-color: #35b317;
}
.offline_badge {
color: #fff;
background-color: #c51919;
}
.progress {
margin-top: -20px;
margin-left: -20px;
margin-bottom: 15px;
width: calc(100% + 40px);
height: 3px;
border-radius: 0;
}
.card {
2018-06-30 05:08:08 +00:00
background-color: $service-background;
border: $service-border;
2018-06-27 06:45:00 +00:00
}
.card-body {
overflow: hidden;
}
.card-body H4 A {
2018-06-30 05:08:08 +00:00
color: $service-title;
2018-06-27 06:45:00 +00:00
text-decoration: none;
}
.chart-container {
position: relative;
height: 170px;
width: 100%;
}
.btn-primary {
2018-06-28 07:28:07 +00:00
}
2018-06-30 05:08:08 +00:00
.btn-success {
background-color: $success-color;
}
.btn-danger {
background-color: $danger-color;
}
2018-06-28 07:28:07 +00:00
.CodeMirror {
/* Bootstrap Settings */
box-sizing: border-box;
margin: 0;
font: inherit;
overflow: auto;
font-family: inherit;
display: block;
width: 100%;
padding: 0px;
font-size: 14px;
line-height: 1.5;
color: #555;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
/* Code Mirror Settings */
font-family: monospace;
position: relative;
overflow: hidden;
height:60vh;
}
.CodeMirror-focused {
/* Bootstrap Settings */
border-color: #66afe9;
outline: 0;
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
2018-06-27 06:45:00 +00:00
}
2018-06-28 07:28:07 +00:00
2018-06-27 06:45:00 +00:00
@media (max-width: 767px) {
.sm-container {
margin-top: 40px !important;
padding: 0 !important;
}
.list-group-item H5 {
font-size: 0.9rem;
}
.container {
padding: 0 !important;
}
.navbar {
margin-left: 0px;
margin-top: 0px;
width: 100%;
margin-bottom: 0;
}
.card-body {
font-size: 6pt;
padding: 5px 5px;
}
.lg_number {
font-size: 1.5rem;
}
.stats_area {
margin-top: 35px !important;
margin-bottom: 35px !important;
}
.stats_area .col-4 {
padding-left: 0;
padding-right: 0;
}
.lower_canvas SPAN {
font-size: 0.9rem;
float: left;
2018-06-30 05:08:08 +00:00
color: $service-description-color;
2018-06-27 06:45:00 +00:00
}
.btn-sm {
line-height: 0.9rem;
font-size: 0.65rem;
}
.full-col-12 {
padding-left: 0px;
padding-right: 0px;
}
.card {
border: 0;
border-radius: 0;
}
.list-group-item {
border-top: 1px solid #e4e4e4;
border: 0px;
}
.list-group-item:first-child {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.list-group-item:last-child {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
2018-06-29 05:32:50 +00:00
.list-group-item P {
font-size: 0.7rem;
}
2018-06-27 06:45:00 +00:00
}