framework/less/admin/ExtensionPage.less

152 lines
2.2 KiB
Plaintext
Raw Normal View History

.ExtensionPage {
&-header {
.helpText {
margin-bottom: 5px;
}
h2 {
display: inline-block;
margin: 0;
vertical-align: middle;
}
&Items {
padding: 15px 0;
display: flex;
align-items: center;
flex-wrap: wrap;
.Checkbox {
margin: 5px 0 0 0;
display: inline-block;
}
.Checkbox.off {
.Checkbox-display {
background: @muted-more-color;
}
}
}
}
&-header,
&-permissions-header {
background: @control-bg;
h2 {
color: @muted-color;
span {
font-size: 13px;
color: @muted-color;
font-weight: normal;
}
}
.Button-icon {
display: unset;
}
ul {
display: flex;
align-items: center;
list-style-type: none;
padding: 0;
margin: 0;
> li {
display: inline;
color: @muted-color;
margin-left: 13px;
> a {
color: @muted-color;
}
> .icon {
margin-right: 5px;
}
}
}
.ExtensionIcon {
--size: 30px;
margin-left: 0;
}
&TopItems {
margin-left: auto;
}
@media (max-width: @screen-phone-max) {
&TopItems {
float: right;
position: relative;
}
.item-website, .item-source, .item-documentation {
display: none;
}
}
}
&-settings, &-permissions {
2020-12-08 04:14:22 +08:00
.ExtensionPage-subHeader {
margin: 5px 0px;
}
}
&-settings {
margin-top: 20px;
padding: 10px 0;
input {
max-width: 400px;
}
}
&-subHeader {
color: @muted-color;
font-weight: normal;
}
&-permissions {
.PermissionGrid-removeScope {
display: none;
}
> .container {
overflow-x: auto;
padding-bottom: 25vh;
}
&-header {
margin: 20px 0 20px;
padding: 5px 0;
}
}
}
.ExtensionTitle {
display: flex;
align-items: center;
flex-wrap: wrap;
margin: 20px 0 15px;
}
.ExtensionInfo {
margin-left: auto;
.item-authors {
a {
color: @muted-color;
}
}
}
.ExtensionName {
display: inline-block;
margin-left: 8px;
}