mirror of
https://github.com/flarum/core.git
synced 2025-08-11 10:55:47 +02:00
feat: extension list UI (#4066)
This commit is contained in:
51
extensions/package-manager/less/admin/DiscoverSection.less
Normal file
51
extensions/package-manager/less/admin/DiscoverSection.less
Normal file
@@ -0,0 +1,51 @@
|
||||
.ExtensionManager-DiscoverSection .Tabs-divider {
|
||||
margin-left: -30px;
|
||||
margin-right: -30px;
|
||||
}
|
||||
|
||||
.ExtensionManager-DiscoverSection-list-inner {
|
||||
--cards: 1;
|
||||
--gap: 24px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, calc((100% / var(--cards)) - (var(--gap) - (var(--gap) / var(--cards)))));
|
||||
gap: var(--gap);
|
||||
|
||||
&--empty {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media @tablet-up {
|
||||
--cards: 2;
|
||||
}
|
||||
|
||||
@media @desktop-xl {
|
||||
--cards: 3;
|
||||
}
|
||||
|
||||
@media @desktop-xxl {
|
||||
--cards: 4;
|
||||
}
|
||||
|
||||
@media @desktop-xxxl {
|
||||
--cards: 5;
|
||||
}
|
||||
}
|
||||
|
||||
.ExtensionManager-DiscoverSection-toolbar {
|
||||
margin-bottom: 14px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
&-primary, &-secondary {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.ExtensionManager-DiscoverSection-footer {
|
||||
margin: 24px 0 0;
|
||||
|
||||
> * {
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user