2020-05-29 14:05:21 +08:00
|
|
|
.popup-menu {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2020-06-03 05:14:04 +08:00
|
|
|
width: 14em;
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2020-05-29 14:05:21 +08:00
|
|
|
z-index: z("dropdown");
|
2023-06-14 04:38:31 +08:00
|
|
|
box-shadow: var(--shadow-card);
|
2020-05-29 14:05:21 +08:00
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
li {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid rgba(var(--primary-low-rgb), 0.5);
|
2020-05-29 14:05:21 +08:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
2021-01-28 05:17:08 +08:00
|
|
|
justify-content: left;
|
2021-01-30 10:14:08 +08:00
|
|
|
text-align: left;
|
2020-05-29 14:05:21 +08:00
|
|
|
background: none;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.75em;
|
|
|
|
border-radius: 0;
|
2021-01-28 05:17:08 +08:00
|
|
|
margin: 0;
|
2020-05-29 14:05:21 +08:00
|
|
|
|
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2021-01-30 10:14:08 +08:00
|
|
|
align-self: flex-start;
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
|
|
|
|
2021-02-04 22:37:45 +08:00
|
|
|
&:focus,
|
2020-05-29 14:05:21 +08:00
|
|
|
&:hover {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2023-02-21 17:15:49 +08:00
|
|
|
background: var(--d-hover);
|
2020-05-29 14:05:21 +08:00
|
|
|
|
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.popup-menu-btn-danger {
|
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-button-label {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
|
|
|
|
2021-02-04 22:37:45 +08:00
|
|
|
&:focus,
|
2020-05-29 14:05:21 +08:00
|
|
|
&:hover {
|
|
|
|
.d-icon,
|
|
|
|
.d-button-label {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--danger-low);
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|