2018-07-03 11:14:53 +08:00
|
|
|
// Styles for /admin/plugins
|
|
|
|
|
|
|
|
.admin-contents.admin-plugins {
|
|
|
|
.controls {
|
|
|
|
.settings-button {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
2023-11-21 07:37:11 +08:00
|
|
|
|
|
|
|
.admin-plugins-list {
|
2018-07-03 11:14:53 +08:00
|
|
|
@media screen and (min-width: 550px) {
|
2024-03-14 09:28:08 +08:00
|
|
|
.admin-plugins-list__row {
|
2018-07-03 11:14:53 +08:00
|
|
|
grid-template-columns: 0.25fr repeat(4, 1fr);
|
|
|
|
}
|
|
|
|
}
|
2024-05-29 10:20:55 +08:00
|
|
|
|
2019-07-11 21:57:53 +08:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2024-03-14 09:28:08 +08:00
|
|
|
.admin-plugins-list__row {
|
2018-07-03 11:14:53 +08:00
|
|
|
grid-template-columns: 0.25fr repeat(3, 1fr);
|
|
|
|
}
|
2024-05-29 10:20:55 +08:00
|
|
|
|
2023-11-21 07:37:11 +08:00
|
|
|
.admin-plugins-list {
|
2024-03-14 09:28:08 +08:00
|
|
|
&__name-details {
|
2023-11-21 07:37:11 +08:00
|
|
|
grid-column-start: 2;
|
|
|
|
grid-column-end: -1;
|
|
|
|
}
|
2024-05-29 10:20:55 +08:00
|
|
|
|
2023-11-21 07:37:11 +08:00
|
|
|
&__settings {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 4;
|
|
|
|
text-align: right;
|
2024-05-29 10:20:55 +08:00
|
|
|
|
2023-11-21 07:37:11 +08:00
|
|
|
button {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2024-05-29 10:20:55 +08:00
|
|
|
|
2023-11-21 07:37:11 +08:00
|
|
|
&__version {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 3;
|
|
|
|
}
|
2024-05-29 10:20:55 +08:00
|
|
|
|
2023-11-21 07:37:11 +08:00
|
|
|
&__enabled {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 2;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
2023-11-21 07:37:11 +08:00
|
|
|
}
|
|
|
|
|
2024-03-14 09:28:08 +08:00
|
|
|
.admin-plugins-list__row-admin-search-filtered {
|
|
|
|
background-color: var(--primary-low);
|
|
|
|
}
|
|
|
|
|
2023-11-21 07:37:11 +08:00
|
|
|
&__author {
|
2023-11-30 08:53:17 +08:00
|
|
|
font-size: var(--font-down-2);
|
|
|
|
padding: 0 0 0.25em 0;
|
2023-11-21 07:37:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__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
|
|
|
}
|
2023-11-21 07:37:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__version {
|
|
|
|
.commit-hash {
|
|
|
|
font-size: var(--font-down-1);
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-13 11:15:12 +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%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-05-29 10:20:55 +08:00
|
|
|
|
|
|
|
&__metadata {
|
|
|
|
margin-bottom: var(--space-6);
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-nav-submenu {
|
|
|
|
background: transparent;
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
|
|
|
|
.horizontal-overflow-nav {
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-plugin-config-page__top-nav {
|
|
|
|
--active-border-width: var(--space-1);
|
|
|
|
|
|
|
|
width: auto !important;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: var(--font-down-0);
|
|
|
|
padding: var(--space-2) var(--space-3)
|
|
|
|
calc(0.5rem + var(--active-border-width));
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--quaternary);
|
|
|
|
background-color: transparent;
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: var(--quaternary);
|
|
|
|
background-color: transparent;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-width: 0;
|
|
|
|
border-bottom: var(--active-border-width) solid var(--quaternary);
|
|
|
|
padding-bottom: var(--space-2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-sidebar-page & {
|
|
|
|
@include breakpoint(large) {
|
|
|
|
span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-13 11:15:12 +08:00
|
|
|
}
|
2024-03-18 06:50:39 +08:00
|
|
|
|
2024-03-21 11:42:06 +08:00
|
|
|
.admin-plugins .admin-container {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2024-03-18 06:50:39 +08:00
|
|
|
.admin-plugin-filtered-site-settings {
|
|
|
|
&__filter {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-plugin-config-area {
|
|
|
|
&__settings {
|
|
|
|
.admin-site-settings-filter-controls {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2024-05-22 09:34:12 +08:00
|
|
|
|
|
|
|
.setting-label {
|
|
|
|
margin-left: 18px;
|
|
|
|
}
|
2024-03-18 06:50:39 +08:00
|
|
|
}
|
2024-05-09 10:46:41 +08:00
|
|
|
|
|
|
|
&__empty-list {
|
|
|
|
padding: 1em;
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
}
|
2024-03-18 06:50:39 +08:00
|
|
|
}
|