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

157 lines
3.2 KiB
Plaintext
Raw Normal View History

2019-05-09 18:54:39 +12:00
.alerts {
ul {
width: 100%;
visibility: hidden;
position: fixed;
padding: 0;
2020-10-31 08:53:27 +13:00
.func-end(0);
.func-start(0);
2020-02-25 01:56:57 +13:00
color: var(--config-color-normal);
2021-02-03 12:45:52 +13:00
z-index: 1001;
2019-05-09 18:54:39 +12:00
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
2020-10-31 08:53:27 +13:00
a {
border-bottom: dotted 1px var(--config-color-normal);
}
2019-05-09 18:54:39 +12:00
i {
cursor: pointer;
position: absolute;
2020-02-25 01:56:57 +13:00
font-size: 14px;
2020-10-31 08:53:27 +13:00
line-height: 20px;
top: 9px;
.func-start(9px);
color: var(--config-color-background-dark);
background: var(--config-color-normal);
width: 22px;
height: 22px;
border-radius: 50%;
2019-05-09 18:54:39 +12:00
}
&.error {
2020-10-31 08:53:27 +13:00
color: #ffffff!important;
background: var(--config-color-danger)!important;
2020-07-25 18:26:25 +12:00
a {
2020-10-31 08:53:27 +13:00
color: #ffffff!important;
border-bottom: dotted 1px #ffffff!important;
}
i {
color: var(--config-color-danger);
background: #ffffff;
2020-07-25 18:26:25 +12:00
}
2019-05-09 18:54:39 +12:00
}
&.success {
2020-10-31 08:53:27 +13:00
color: #ffffff!important;
background: var(--config-color-success)!important;
2020-07-25 18:26:25 +12:00
a {
color: #ffffff;
border-bottom: dotted 1px #ffffff;
}
2020-10-31 08:53:27 +13:00
i {
color: var(--config-color-success);
background: #ffffff;
}
2019-05-09 18:54:39 +12:00
}
&.warning {
2020-10-31 08:53:27 +13:00
color: var(--config-color-normal)!important;
background: var(--config-color-warning)!important;
2020-07-25 18:26:25 +12:00
a {
2020-10-31 08:53:27 +13:00
color: var(--config-color-normal)!important;
border-bottom: dotted 1px var(--config-color-normal)!important;
}
i {
2020-07-25 18:26:25 +12:00
color: #ffffff;
2020-10-31 08:53:27 +13:00
background: var(--config-color-normal)!important;
2020-07-25 18:26:25 +12:00
}
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-10-31 08:53:27 +13:00
border-bottom: dotted 1px var(--config-color-focus)!important;
}
i {
color: var(--config-color-focus-fade)!important;
background: var(--config-color-focus)!important;
2019-05-09 18:54:39 +12:00
}
}
@media @phones, @tablets {
ul {
top: auto;
bottom: 0;
max-width: 100%;
2020-10-31 08:53:27 +13:00
.func-start(0);
2019-05-09 18:54:39 +12:00
li {
margin: 5px 0 0 0;
div.message {
border-radius: 0;
}
}
}
}
2020-10-31 08:53:27 +13:00
}
.show-nav {
.alerts {
ul {
.func-start(220px);
}
@media @phones, @tablets {
ul {
.func-start(0);
}
}
}
2019-05-09 18:54:39 +12:00
}