1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00
appwrite/public/styles/comps/alerts.less

98 lines
1.8 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-25 01:56:57 +13:00
color: var(--config-color-normal);
2019-05-09 18:54:39 +12:00
z-index: 1002;
margin: 0 auto;
bottom: 15px;
2020-02-25 20:55:55 +13:00
max-width: 560px;
2019-05-09 18:54:39 +12:00
li {
2020-02-25 01:56:57 +13:00
margin: 10px 0 0 0;
2019-05-09 18:54:39 +12:00
padding: 0;
div.message {
position: relative;
padding: 12px 35px;
margin: 0 auto;
list-style: none;
2020-02-25 01:56:57 +13:00
background: var(--config-color-background-dark);
2019-05-09 18:54:39 +12:00
text-align: center;
2020-02-25 01:56:57 +13:00
font-size: 14px;
border-radius: 10px;
2019-05-09 18:54:39 +12:00
line-height: 16px;
min-height: 16px;
2020-02-25 01:56:57 +13:00
box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
opacity: .95;
2020-02-27 10:54:12 +13:00
span, a {
2020-02-25 01:56:57 +13:00
font-weight: 600;
}
2019-05-09 18:54:39 +12:00
i {
cursor: pointer;
position: absolute;
2020-02-25 01:56:57 +13:00
font-size: 14px;
line-height: 22px;
2019-05-09 18:54:39 +12:00
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;
}
}
}
}
}