1
0
mirror of https://github.com/flarum/core.git synced 2025-08-11 19:04:29 +02:00

feat(em): port extension manager from 1.0 (#3959)

* feat(em): port extension manager from 1.0

* Apply fixes from StyleCI

* chore: phpstan

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Sami Mazouz
2024-01-22 18:58:08 +01:00
committed by GitHub
parent 8f29b7af82
commit 3fbe05fd18
114 changed files with 2003 additions and 636 deletions

View File

@@ -3,7 +3,7 @@
@import "admin/QueueSection";
@import "admin/ControlSection";
.PackageManager-controlSection, .PackageManager-queueSection {
.ExtensionManager-controlSection {
> .container {
padding-bottom: 0;
}
@@ -27,3 +27,53 @@
opacity: 0.6;
cursor: not-allowed;
}
.ButtonGroup--full {
width: 100%;
display: flex;
> .Button:first-child {
flex-grow: 1;
text-align: start;
}
}
.ConfigureAuth-hosts, .ConfigureComposer-repositories {
> .ButtonGroup {
margin-bottom: 8px;
}
}
.flarum-extension-manager-Page .SettingsGroups .Form {
max-height: unset;
}
.ExtensionManager-SettingsGroups {
display: flex;
column-count: 3;
column-gap: 30px;
flex-wrap: wrap;
.FormSection {
min-width: 300px;
max-height: 500px;
min-height: 20vh;
max-width: 400px;
@media (max-width: 1209px) {
margin-bottom: 20px;
}
.Form-controls {
margin-top: auto;
}
}
}
.ExtensionManager-warnings {
margin-bottom: 24px;
> .Alert {
width: 100%;
}
}