discourse/app/assets/stylesheets/common/admin/plugins.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

115 lines
2.1 KiB
SCSS
Raw Normal View History

2018-07-03 11:14:53 +08:00
// Styles for /admin/plugins
.admin-contents.admin-plugins {
.controls {
.settings-button {
margin-left: auto;
}
}
.admin-plugins-list {
2018-07-03 11:14:53 +08:00
@media screen and (min-width: 550px) {
.admin-plugins-list__row {
2018-07-03 11:14:53 +08:00
grid-template-columns: 0.25fr repeat(4, 1fr);
}
}
2019-07-11 21:57:53 +08:00
@include breakpoint(mobile-extra-large) {
.admin-plugins-list__row {
2018-07-03 11:14:53 +08:00
grid-template-columns: 0.25fr repeat(3, 1fr);
}
.admin-plugins-list {
&__name-details {
grid-column-start: 2;
grid-column-end: -1;
}
&__settings {
grid-row: 2;
grid-column-start: 4;
text-align: right;
button {
display: flex;
}
}
&__version {
grid-row: 2;
grid-column-start: 3;
}
&__enabled {
grid-row: 2;
grid-column-start: 2;
2018-07-03 11:14:53 +08:00
}
}
}
.admin-plugins-list__row-admin-search-filtered {
background-color: var(--primary-low);
}
&__author {
font-size: var(--font-down-2);
padding: 0 0 0.25em 0;
}
&__name-with-badges {
display: flex;
}
&__name {
font-weight: bold;
margin-right: 0.5em;
}
&__badge {
font-weight: 400;
font-size: var(--font-down-2);
background-color: var(--primary-low);
color: var(--primary-medium);
padding: 0.2em 0.8em;
.d-icon {
font-size: 0.8em;
}
& + .admin-plugins-list__badge {
margin-left: 0.5em;
2018-07-03 11:14:53 +08:00
}
}
&__version {
.commit-hash {
font-size: var(--font-down-1);
2018-07-03 11:14:53 +08:00
}
}
}
}
.admin-plugin-config-page {
&__main-area {
.admin-detail {
padding-top: 15px;
}
&.-without-inner-sidebar {
.admin-detail {
border-left: 0;
padding-left: 0;
width: 100%;
}
}
}
}
.admin-plugin-filtered-site-settings {
&__filter {
width: 100%;
}
}
.admin-plugin-config-area {
&__settings {
.admin-site-settings-filter-controls {
margin-bottom: 1em;
}
}
}