mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +08:00
af89b23f67
* refactor: Avatar classes refactor * refactor: Badge classes refactor * chore: Remove commented dead code * chore: Remove SignUpModal dead CSS code Flarum seem to have had some kind of user display in the sign up modal on successful sign up, which no longer exists. https://github.com/flarum/core/blob/v0.1.0-beta/js/forum/src/components/SignUpModal.js#L111 * chore: Deprecate unneeded vendor mixins * chore: Normalize property values format Co-authored-by: David Wheatley <hi@davwheat.dev> * chore: Remove @-webkit-keyframes * chore: Combine animation properties * chore: Avoid `all` for transition * chore: translate3d is no longer necessary for hardware acceleration * fix: Lost cursor pointer to normalize update * chore: Use CSS variables for more things * chore: Remove unecessary overspecification Co-authored-by: David Wheatley <hi@davwheat.dev>
152 lines
2.2 KiB
Plaintext
152 lines
2.2 KiB
Plaintext
.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 {
|
|
.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;
|
|
}
|