UI: Implement web-assets v2 component nav-pills #93592

Merged
Márton Lente merged 3 commits from ui/web-assets-component-nav-pills into main 2024-09-27 11:24:25 +02:00
Showing only changes of commit 177b1faf5f - Show all commits

View File

@ -375,34 +375,6 @@ form
position: relative position: relative
top: calc(var(--border-width) * -1) top: calc(var(--border-width) * -1)
// TODO: Move to web-assets. This is copied over from Extensions.
.nav-pills
@extend .dropdown-menu
box-shadow: none
display: block
position: relative
.nav-pills-item
@extend .dropdown-item
+margin(1, bottom)
white-space: normal
&.active
background-color: var(--color-accent-bg)
+fw-normal
&:last-child
+margin(0, bottom)
.nav-pills-divider
@extend .dropdown-divider
+margin(0, top)
+margin(1, bottom)
/* Larger icons */ /* Larger icons */
i.icon.icon-lg i.icon.icon-lg
svg svg