2024-01-28 11:59:04 +00:00
|
|
|
.alert {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 3em;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, 50%);
|
|
|
|
z-index: 1;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 10px;
|
|
|
|
line-height: 1.8;
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: hand;
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
.alertCheckbox {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
:checked + .alert {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
.alertText {
|
|
|
|
display: table;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0 5px 0 0;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
.alertClose {
|
|
|
|
float: right;
|
|
|
|
padding-top: 5px;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
.clear {
|
|
|
|
clear: both;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
.info {
|
|
|
|
background-color: #EEE;
|
|
|
|
border: 1px solid #DDD;
|
|
|
|
color: #999;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
.success {
|
|
|
|
background-color: #EFE;
|
|
|
|
border: 1px solid #DED;
|
|
|
|
color: #9A9;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
.notice {
|
|
|
|
background-color: #EFF;
|
|
|
|
border: 1px solid #DEE;
|
|
|
|
color: #9AA;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
.warning {
|
|
|
|
background-color: #FDF7DF;
|
|
|
|
border: 1px solid #FEEC6F;
|
|
|
|
color: #C9971C;
|
|
|
|
}
|
2024-02-08 19:58:49 +00:00
|
|
|
|
2024-01-28 11:59:04 +00:00
|
|
|
.error {
|
|
|
|
background-color: #FEE;
|
|
|
|
border: 1px solid #EDD;
|
|
|
|
color: #A66;
|
2024-02-08 19:58:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
opacity: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
text-align: left;
|
|
|
|
background: rgba(0,0,0, .9);
|
|
|
|
transition: opacity .25s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__bg {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-state {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-state:checked + .modal {
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-state:checked + .modal .modal__inner {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__inner {
|
|
|
|
transition: top .25s ease;
|
|
|
|
position: absolute;
|
|
|
|
top: -20%;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 25rem;
|
|
|
|
height: 10rem;
|
|
|
|
margin: auto;
|
|
|
|
overflow: auto;
|
|
|
|
background: var(--bg);
|
|
|
|
color: var(--fg);
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 1em 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__close {
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
top: 1em;
|
|
|
|
width: 1.1em;
|
|
|
|
height: 1.1em;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__close:after,
|
|
|
|
.modal__close:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: 2px;
|
|
|
|
height: 1.5em;
|
|
|
|
background: #ccc;
|
|
|
|
display: block;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
left: 50%;
|
|
|
|
margin: -3px 0 0 -1px;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__close:hover:after,
|
|
|
|
.modal__close:hover:before {
|
|
|
|
background: #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__close:before {
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
.modal__inner {
|
|
|
|
width: 90%;
|
|
|
|
height: 90%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-btn {
|
|
|
|
cursor: pointer;
|
|
|
|
background: var(--red);
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding: .5em 1em;
|
|
|
|
color: var(--bg);
|
|
|
|
font-size: 70%;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-btn:hover,
|
|
|
|
.modal-btn:focus {
|
|
|
|
background: var(--red);
|
|
|
|
color: var(--bg);
|
2024-01-05 21:40:32 +00:00
|
|
|
}
|