framework/extensions/package-manager/less/admin.less

81 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-09-02 00:20:06 +08:00
.FormControl-container {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 4px;
}
.ComposerFailureModal-output {
white-space: break-spaces;
}
2021-09-25 20:59:59 +08:00
.sycho-package-manager-Page .ExtensionPage-settings .Form-group:last-child {
display: none;
}
.PackageManager-lastUpdatedAt {
color: @control-color;
&-label {
font-weight: bold;
}
}
.PackageManager-extensions {
&-grid {
--gap: 12px;
display: grid;
grid-template-columns: repeat(auto-fit, calc(~"100% / 3 - var(--gap)"));
gap: var(--gap);
margin-top: 16px;
}
}
.PackageManager-extension {
display: flex;
align-items: center;
gap: 8px;
background-color: @control-bg;
padding: 8px;
border-radius: @border-radius;
&-controls {
margin-left: auto;
}
&-icon {
--size: 40px;
}
&-name {
font-weight: bold;
}
&-version {
display: flex;
align-items: center;
gap: 8px;
&-latest {
background: @alert-success-bg;
color: @alert-success-color;
border-radius: 30px;
padding: 0 6px;
font-weight: bold;
}
}
2021-09-27 17:16:01 +08:00
&--core {
background-color: #e7672e;
color: #fff;
--button-color: #fff;
--button-bg-hover: darken(#e7672e, 5);
}
&--core &-icon {
background-size: 100%;
background-color: transparent;
filter: grayscale(1) brightness(3.5);
}
2021-09-25 20:59:59 +08:00
}