discourse/app/assets/stylesheets/common/base/popup-menu.scss
Joffrey JAFFEUX 31d1468922
UX: reworks various menus to homogenize them (#9905)
- bookmark modal menu
- topic-footer-mobile-dropdown
- post-admin-menu
- topic-admin-menu
- quick-access menus
- toolbar-popup-menu
2020-05-29 08:05:21 +02:00

60 lines
910 B
SCSS

.popup-menu {
background-color: $secondary;
width: 215px;
border: 1px solid $primary-low;
z-index: z("dropdown");
box-shadow: shadow("card");
ul {
margin: 0;
list-style: none;
li {
border-bottom: 1px solid rgba($primary-low, 0.5);
&:last-child {
border: none;
}
}
}
.btn {
text-align: left;
background: none;
width: 100%;
padding: 0.75em;
border-radius: 0;
.d-icon {
color: $primary-medium;
}
&:hover {
color: $primary;
background: $tertiary-low;
.d-icon {
color: $primary-medium;
}
}
&.popup-menu-btn-danger {
.d-icon {
color: $danger;
}
.d-button-label {
color: $primary;
}
&:hover {
.d-icon,
.d-button-label {
color: $danger;
}
background: $danger-low;
}
}
}
}