1
0
Fork 0
mirror of synced 2024-07-03 21:50:34 +12:00
appwrite/public/styles/comps/alerts.less
2020-02-12 12:38:31 +02:00

92 lines
1.7 KiB
Plaintext

.alerts {
ul {
width: 100%;
visibility: hidden;
position: fixed;
padding: 0;
right: 0;
left: 0;
color: var(--config-color-background-fade);
z-index: 1002;
margin: 0 auto;
bottom: 15px;
max-width: 650px;
opacity: 0.90;
li {
margin: 1px 0 0 0;
padding: 0;
div.message {
position: relative;
padding: 12px 35px;
margin: 0 auto;
list-style: none;
background: var(--config-color-fade);
text-align: center;
font-weight: bold;
border-radius: 20px;
line-height: 16px;
min-height: 16px;
i {
cursor: pointer;
position: absolute;
font-size: 22px;
top: 8px;
.func-start(8px);
}
&.error {
color: #ffffff;
background: var(--config-color-danger);
}
&.success {
color: #ffffff;
background: var(--config-color-success);
}
&.warning {
color: #ffffff;
background: var(--config-color-success);
}
&.open {
display: block;
}
&.close {
display: none;
}
}
}
}
.cookie-alert {
background: var(--config-color-focus-fade)!important;
color: var(--config-color-focus);
a {
color: var(--config-color-focus);
font-weight: 400;
border-bottom: dotted 1px var(--config-color-focus);
}
}
@media @phones, @tablets {
ul {
top: auto;
bottom: 0;
max-width: 100%;
li {
margin: 5px 0 0 0;
div.message {
border-radius: 0;
}
}
}
}
}