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

92 lines
1.7 KiB
Plaintext
Raw Normal View History

2019-05-09 18:54:39 +12:00
.alerts {
ul {
width: 100%;
visibility: hidden;
position: fixed;
padding: 0;
right: 0;
left: 0;
2020-02-12 23:38:31 +13:00
color: var(--config-color-background-fade);
2019-05-09 18:54:39 +12:00
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;
2020-02-11 06:04:57 +13:00
background: var(--config-color-fade);
2019-05-09 18:54:39 +12:00
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;
2020-02-11 06:04:57 +13:00
background: var(--config-color-danger);
2019-05-09 18:54:39 +12:00
}
&.success {
color: #ffffff;
2020-02-11 06:04:57 +13:00
background: var(--config-color-success);
2019-05-09 18:54:39 +12:00
}
&.warning {
color: #ffffff;
2020-02-11 06:04:57 +13:00
background: var(--config-color-success);
2019-05-09 18:54:39 +12:00
}
&.open {
display: block;
}
&.close {
display: none;
}
}
}
}
.cookie-alert {
2020-02-11 06:04:57 +13:00
background: var(--config-color-focus-fade)!important;
color: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
a {
2020-02-11 06:04:57 +13:00
color: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
font-weight: 400;
2020-02-11 06:04:57 +13:00
border-bottom: dotted 1px var(--config-color-focus);
2019-05-09 18:54:39 +12:00
}
}
@media @phones, @tablets {
ul {
top: auto;
bottom: 0;
max-width: 100%;
li {
margin: 5px 0 0 0;
div.message {
border-radius: 0;
}
}
}
}
}