framework/extensions/package-manager/less/admin.less
Sami Mazouz 3fbe05fd18
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>
2024-01-22 18:58:08 +01:00

80 lines
1.2 KiB
Plaintext
Executable File

@import "admin/Label";
@import "admin/TaskOutputModal";
@import "admin/QueueSection";
@import "admin/ControlSection";
.ExtensionManager-controlSection {
> .container {
padding-bottom: 0;
}
}
.FormControl-container {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 4px;
}
.Form-group--danger {
border: 2px solid var(--alert-error-bg);
border-radius: var(--border-radius);
background-color: transparent;
}
// @TODO add to core
.Checkbox--switch.disabled {
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%;
}
}