WMGZON/static/css/alerts.css

73 lines
1.1 KiB
CSS
Raw Normal View History

.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;
}
.alertCheckbox {
display: none;
}
:checked + .alert {
display: none;
}
.alertText {
display: table;
margin: 0 auto;
padding: 0 5px 0 0;
text-align: center;
font-size: 20px;
}
.alertClose {
float: right;
padding-top: 5px;
font-size: 15px;
}
.clear {
clear: both;
}
.info {
background-color: #EEE;
border: 1px solid #DDD;
color: #999;
}
.success {
background-color: #EFE;
border: 1px solid #DED;
color: #9A9;
}
.notice {
background-color: #EFF;
border: 1px solid #DEE;
color: #9AA;
}
.warning {
background-color: #FDF7DF;
border: 1px solid #FEEC6F;
color: #C9971C;
}
.error {
background-color: #FEE;
border: 1px solid #EDD;
color: #A66;
}