badping_nagios_better/public/assets/css/style.css

393 строки
6.4 KiB
CSS
Исходник Постоянная ссылка Обычный вид История

2019-11-10 22:58:17 +00:00
*, :after, :before {
-webkit-box-sizing: border-box;
box-sizing: border-box
}
a {
color: #0063ff;
text-decoration: none;
border-bottom: .0625rem solid rgba(0, 99, 255, .3);
}
a:hover,
a:visited:hover {
color: #ff475d;
border-bottom: .0625rem solid rgba(255, 71, 93, .24);
}
a:visited {
color: #cf00cf;
border-bottom: .0625rem solid rgba(207, 0, 207, .3);
}
2019-11-11 22:45:36 +00:00
.clear-fix {
clear: both !important;
}
.d-inline-block {
display: inline-block !important;
}
.f-right {
float: right !important;
}
.f-left {
float: left !important;
}
.m-0 {
margin: 0 !important;
}
.mb-0 {
margin-bottom: 0 !important;
}
.mr-0 {
margin-right: 0 !important;
}
.ml-0 {
margin-left: 0 !important;
}
.mt-0 {
margin-top: 0 !important;
}
.m-1 {
margin: 1rem !important;
}
.mb-1 {
margin-bottom: 1rem !important;
}
.mr-1 {
margin-right: 1rem !important;
}
.ml-1 {
margin-left: 1rem !important;
}
.mt-1 {
margin-top: 1rem !important;
}
2019-11-06 21:48:21 +00:00
body {
font-family: Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
font-size: 1rem;
font-weight: normal;
2019-11-10 22:58:17 +00:00
line-height: 1.25rem;
}
.header {
display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 6fr;
grid-gap: 1vw;
}
.header, .main, .footer, .navigate ul {
margin: 0 auto;
max-width: 1000px;
}
.header__img {
grid-row: 1/3;
grid-column: 1;
margin-left: -1.75rem;
margin-right: -1.75rem;
}
.header__title {
margin-bottom: 0;
line-height: 1;
margin-top: 3rem;
}
.navigate {
background: black;
margin-top: 1.25rem;
2019-11-11 22:45:36 +00:00
margin-bottom: 2.625rem;
2019-11-10 22:58:17 +00:00
}
.navigate ul {
list-style: none unset none;
padding: .375rem 0;
}
.navigate ul li {
display: inline-block;
width: 32%;
text-align: center;
}
.navigate ul li a {
color: white;
text-decoration: none;
2019-11-11 22:45:36 +00:00
border-bottom: none;
2019-11-10 22:58:17 +00:00
}
.navigate ul li a:hover {
color: white;
border-bottom: .0625rem solid rgba(255, 255, 255, .6);
}
.footer {
margin-top: 2rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
2019-11-11 22:45:36 +00:00
2019-11-10 22:58:17 +00:00
.footer::before {
width: 100%;
display: block;
content: " ";
border-top: .25rem solid black;
position: absolute;
left: 0;
2019-11-06 21:48:21 +00:00
}
2019-11-10 22:58:17 +00:00
table {
2019-11-11 22:45:36 +00:00
border-spacing: 0;
2019-11-10 22:58:17 +00:00
border-collapse: collapse;
2019-11-11 22:45:36 +00:00
width: 100%;
}
td, th {
border: .0625rem solid rgba(0, 0, 0, .3);
padding: 0.375rem;
}
.form {
border-radius: .375rem;
border: .0625rem solid rgba(0, 0, 0, .3);
max-width: 22.5rem;
padding: .875rem;
}
.form__element {
margin-bottom: .375rem;
}
.form__submit {
margin-top: .5rem;
}
.form__submit, .btn {
background-color: #fff;
border-radius: .125rem;
border: .0625rem solid rgba(0, 0, 0, .3);
padding: .25rem;
cursor: pointer;
}
a.btn, a.btn:hover, a.btn:focus {
color: #000;
border: .0625rem solid rgba(0, 0, 0, .3);
}
.btn:hover, .btn:focus,
.form__submit:hover,
.form__submit:focus {
background-color: rgba(0, 0, 0, .4);
}
.form-element {
padding: .25rem 0;
}
.form-element__data {
min-width: 15rem;
padding-left: .1875rem;
}
.form-element__label {
min-width: 5rem;
display: inline-block;
}
select {
height: 1.5rem;
padding-left: 0 !important;
2019-11-12 17:23:32 +00:00
}
.servers-tree * {
list-style-type: none;
}
.servers-tree {
margin: 0;
padding: 0;
}
.servers-tree-group {
cursor: pointer;
user-select: none;
}
.servers-tree-group::before {
content: " ";
display: inline-block;
margin-right: 6px;
border-top: .375rem solid transparent;
border-bottom: .375rem solid transparent;
border-left: .375rem solid black;
}
.servers-tree-group--down::before {
transform: rotate(90deg);
}
.servers-tree-group__list {
display: none;
}
.servers-tree-group__list--active {
display: block;
}
.modal {
display: none;
}
.modal--active {
display: block;
}
.modal__bg {
height: 100%;
width: 100%;
background: rgba(0, 0, 0, .3);
position: fixed;
top: 0;
left: 0;
z-index: 1;
}
.modal__window {
width: 300px;
position: fixed;
top: calc(50% - 96px);
left: calc(50vw - 150px);
height: 190px;
z-index: 2;
}
.modal-window--spiner::before {
content: "";
display: block;
color: black;
font-size: .25rem;
margin: 0;
width: 1em;
height: 1em;
border-radius: 50%;
position: absolute;
animation: wloadingkf 1.3s infinite linear;
transform: translate3d(0, -50%, 0);
font-family: monospace;
left: 50%;
top: 50%;
z-index: -1;
}
.modal-window--spiner .modal-window__body {
display: none;
}
.modal-window {
border: 1px solid #666;
width: 100%;
position: relative;
height: 100%;
background: #eee;
z-index: 2;
border-radius: .325rem;
box-shadow: 0 .125rem .25rem #666;
}
.modal-window__title {
text-align: center;
}
.modal-window__close {
position: absolute;
right: 0;
top: .125rem;
width: 1rem;
height: 1rem;
opacity: 0.3;
cursor: pointer;
}
.modal-window__close:hover {
opacity: 1;
}
.modal-window__close:before,
.modal-window__close:after {
position: absolute;
left: .25rem;
content: ' ';
height: 1.0625rem;
width: .125rem;
background-color: #333;
}
.modal-window__close:before {
transform: rotate(45deg);
}
.modal-window__close:after {
transform: rotate(-45deg);
}
@keyframes wloadingkf {
0%,
100% {
box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
}
12.5% {
box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
}
25% {
box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
}
37.5% {
box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
}
50% {
box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
}
62.5% {
box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
}
75% {
box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
}
87.5% {
box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
}
}
.modal-window-body {
padding: 1.5rem 0;
}
.modal-window-body__label {
font-weight: 700;
padding: 0 .5rem;
font-size: 85%;
min-width: 7.5rem;
display: inline-block;
}