mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 18:53:40 +08:00
f9d86686ae
* UX: add min-height to DMenu modal * UX: add grip handle
36 lines
489 B
SCSS
36 lines
489 B
SCSS
.fk-d-menu-modal {
|
|
&__grip {
|
|
position: absolute;
|
|
top: 2.5px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: var(--primary-medium);
|
|
height: 5px;
|
|
width: 15vw;
|
|
max-width: 100px;
|
|
border-radius: 10px;
|
|
}
|
|
.d-modal__body {
|
|
padding: 1em 0;
|
|
}
|
|
|
|
h3 {
|
|
padding-top: 0.25em;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
li a:focus-visible {
|
|
outline: 0;
|
|
}
|
|
}
|
|
|
|
li > .btn,
|
|
li > a {
|
|
padding: 0.75em 1rem;
|
|
}
|
|
|
|
li > a {
|
|
display: block;
|
|
}
|
|
}
|