2023-01-02 22:30:54 -03:00
|
|
|
/*
|
|
|
|
|
* Vencord, a modification for Discord's desktop app
|
|
|
|
|
* Copyright (c) 2022 Vendicated and contributors
|
|
|
|
|
*
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
.vc-plugins-grid {
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
display: grid;
|
2025-11-19 02:57:12 +01:00
|
|
|
gap: 16px;
|
2023-01-02 22:30:54 -03:00
|
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-09 16:23:40 +01:00
|
|
|
.vc-plugins-info-button {
|
2023-01-02 22:30:54 -03:00
|
|
|
height: 24px;
|
|
|
|
|
width: 24px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background: transparent;
|
|
|
|
|
margin-right: 8px;
|
2025-12-14 15:28:46 +01:00
|
|
|
color: var(--icon-muted);
|
2025-10-11 01:42:14 +02:00
|
|
|
transition: background-color .2s ease;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
2025-12-14 15:28:46 +01:00
|
|
|
color: var(--interactive-icon-hover)
|
2025-10-11 01:42:14 +02:00
|
|
|
}
|
2023-01-02 22:30:54 -03:00
|
|
|
}
|
|
|
|
|
|
2023-01-13 17:25:24 -06:00
|
|
|
.vc-plugins-settings-button:hover {
|
2025-12-14 15:28:46 +01:00
|
|
|
color: var(--interactive-icon-hover);
|
2023-01-13 17:25:24 -06:00
|
|
|
}
|
|
|
|
|
|
2023-01-02 22:30:54 -03:00
|
|
|
.vc-plugins-filter-controls {
|
|
|
|
|
display: grid;
|
|
|
|
|
height: 40px;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
grid-template-columns: 1fr 150px;
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-09 16:23:40 +01:00
|
|
|
.vc-plugins-dep-name {
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-15 22:26:02 +01:00
|
|
|
.vc-plugins-info-card {
|
2023-01-09 16:23:40 +01:00
|
|
|
padding: 1em;
|
2024-10-25 15:37:11 -04:00
|
|
|
height: fit-content;
|
2023-01-15 22:26:02 +01:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2025-07-01 16:40:14 -04:00
|
|
|
background-color: var(--background-base-lower-alt) !important;
|
2024-10-02 11:26:12 +04:00
|
|
|
transition: 0.1s ease-out;
|
|
|
|
|
transition-property: box-shadow, transform, background, opacity;
|
2025-02-02 01:37:54 +01:00
|
|
|
gap: 0.25em;
|
2023-01-15 22:26:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-plugins-restart-card {
|
|
|
|
|
padding: 1em;
|
2025-12-14 15:28:46 +01:00
|
|
|
background: var(--icon-status-idle) !important;
|
2025-12-14 13:11:55 -05:00
|
|
|
border: 1px solid var(--icon-status-idle) !important;
|
2025-12-10 01:40:31 -05:00
|
|
|
color: var(--text-status-idle);
|
2023-01-15 22:26:02 +01:00
|
|
|
}
|
|
|
|
|
|
2025-02-02 12:21:42 -05:00
|
|
|
.vc-plugins-info-icon:not(:hover, :focus) {
|
2025-12-07 22:43:55 +01:00
|
|
|
color: var(--text-subtle);
|
2023-01-02 22:30:54 -03:00
|
|
|
}
|
2024-10-01 23:16:53 +04:00
|
|
|
|
2025-02-02 12:20:00 -05:00
|
|
|
.vc-plugins-restart-button {
|
2025-12-04 10:16:12 -05:00
|
|
|
background-color: var(--background-base-low) !important;
|
2025-12-10 01:40:31 -05:00
|
|
|
border: 1px solid var(--text-status-idle) !important;
|
2025-02-02 12:20:00 -05:00
|
|
|
margin-top: 0.5em;
|
2024-10-31 21:11:11 -04:00
|
|
|
}
|
|
|
|
|
|
2025-02-02 12:20:00 -05:00
|
|
|
.vc-plugins-restart-button:hover {
|
2025-12-10 01:40:31 -05:00
|
|
|
background-color: var(--text-status-idle) !important;
|
2024-10-31 21:11:11 -04:00
|
|
|
}
|
|
|
|
|
|
2024-10-01 23:16:53 +04:00
|
|
|
.vc-plugin-stats {
|
2025-07-01 16:40:14 -04:00
|
|
|
background-color: var(--background-base-lower-alt);
|
2024-10-01 23:16:53 +04:00
|
|
|
border-radius: 8px;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
transition: 0.1s ease-out;
|
|
|
|
|
transition-property: box-shadow, transform, background, opacity;
|
|
|
|
|
}
|
|
|
|
|
|
2024-10-02 11:26:12 +04:00
|
|
|
.vc-plugins-info-card:hover,
|
2024-10-01 23:16:53 +04:00
|
|
|
.vc-plugin-stats:hover {
|
2025-12-04 10:16:12 -05:00
|
|
|
background-color: var(--background-base-low) !important;
|
2024-10-01 23:16:53 +04:00
|
|
|
transform: translateY(-1px);
|
|
|
|
|
box-shadow: var(--elevation-high);
|
|
|
|
|
}
|
2024-10-01 20:50:12 -06:00
|
|
|
|
|
|
|
|
.vc-plugin-stats-card-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-plugin-stats-card-section {
|
|
|
|
|
text-align: center;
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-plugin-stats-card-divider {
|
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 0 10px;
|
|
|
|
|
}
|
2024-10-22 21:57:59 -04:00
|
|
|
|
2024-10-25 15:37:11 -04:00
|
|
|
/* Shared styles for warning modal and disable all modal */
|
|
|
|
|
|
|
|
|
|
.vc-text-selectable {
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-warning-info {
|
|
|
|
|
gap: 15px;
|
2024-10-31 21:43:52 -04:00
|
|
|
display: grid !important;
|
2024-10-25 15:37:11 -04:00
|
|
|
flex-direction: column;
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-warning-info img {
|
|
|
|
|
width: 70%;
|
|
|
|
|
height: auto;
|
|
|
|
|
display: block;
|
|
|
|
|
margin: auto auto 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-warning-info strong {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-danger {
|
2025-12-06 17:49:06 -05:00
|
|
|
color: var(--text-feedback-critical) !important;
|
2024-10-25 15:37:11 -04:00
|
|
|
font-size: 1.2rem;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-normal {
|
2025-06-26 16:27:07 -04:00
|
|
|
color: var(--text-default);
|
2024-10-25 15:37:11 -04:00
|
|
|
font-size: 1.2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-normal.margin-bottom {
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
}
|
2024-10-22 21:57:59 -04:00
|
|
|
|
2025-09-13 00:53:03 -04:00
|
|
|
.vc-plugins-disable-warning,
|
|
|
|
|
.vc-plugin-modal-disable-warning {
|
2026-01-24 22:05:54 -05:00
|
|
|
background-color: color-mix(in srgb, var(--status-danger) 10%, transparent) !important;
|
2024-10-27 22:19:36 -04:00
|
|
|
border-style: solid !important;
|
|
|
|
|
border-width: .1rem !important;
|
2026-01-24 22:05:54 -05:00
|
|
|
border-color: color-mix(in srgb, var(--status-danger) 80%, transparent) !important;
|
2024-10-27 22:19:36 -04:00
|
|
|
border-radius: 5px !important;
|
2026-01-24 22:05:54 -05:00
|
|
|
color: color-mix(in srgb, var(--status-danger) 100%, transparent) !important;
|
2024-10-25 15:37:11 -04:00
|
|
|
}
|
|
|
|
|
|
2025-09-13 00:53:03 -04:00
|
|
|
.vc-plugins-disable-warning:hover,
|
|
|
|
|
.vc-plugin-modal-disable-warning:hover {
|
2026-01-24 22:05:54 -05:00
|
|
|
background-color: color-mix(in srgb, var(--status-danger) 40%, transparent) !important;
|
2024-10-25 15:37:11 -04:00
|
|
|
}
|
|
|
|
|
|
2025-09-13 00:53:03 -04:00
|
|
|
.vc-plugins-confirm-reset,
|
|
|
|
|
.vc-plugin-modal-confirm-reset {
|
2026-01-24 22:05:54 -05:00
|
|
|
background-color: var(--status-danger) !important;
|
2026-01-25 16:44:42 -05:00
|
|
|
color: var(--text-default);
|
2024-10-22 21:57:59 -04:00
|
|
|
}
|
|
|
|
|
|
2025-09-13 00:53:03 -04:00
|
|
|
.vc-plugins-confirm-reset:hover,
|
|
|
|
|
.vc-plugin-modal-confirm-reset:hover {
|
2026-01-25 16:44:42 -05:00
|
|
|
background-color: var(--text-feedback-critical) !important;
|
|
|
|
|
color: var(--text-default);
|
2024-10-22 21:57:59 -04:00
|
|
|
}
|
|
|
|
|
|
2024-10-25 15:37:11 -04:00
|
|
|
.vc-modal-close-button {
|
|
|
|
|
margin-left: auto !important;
|
2024-10-22 21:57:59 -04:00
|
|
|
}
|
|
|
|
|
|
2025-09-13 01:22:07 -04:00
|
|
|
.vc-modal-align-reset {
|
|
|
|
|
align-self: end;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-modal-footer {
|
2024-10-25 15:37:11 -04:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
width: 100%;
|
|
|
|
|
box-sizing: border-box;
|
2024-10-22 21:57:59 -04:00
|
|
|
}
|
|
|
|
|
|
2025-09-13 01:22:07 -04:00
|
|
|
.vc-modal-footer .vc-button-container {
|
2024-10-25 15:37:11 -04:00
|
|
|
gap: 10px;
|
|
|
|
|
align-items: center;
|
2025-09-13 00:53:03 -04:00
|
|
|
justify-content: space-between !important;
|
2024-10-22 21:57:59 -04:00
|
|
|
}
|
|
|
|
|
|
2024-10-25 15:37:11 -04:00
|
|
|
/* Specific to disable all modal */
|
|
|
|
|
|
|
|
|
|
.warning-text {
|
2025-12-06 17:49:06 -05:00
|
|
|
color: var(--text-feedback-critical) !important;
|
2024-10-31 21:11:11 -04:00
|
|
|
font-size: 1.2rem !important;
|
2024-10-22 21:57:59 -04:00
|
|
|
}
|
|
|
|
|
|
2024-10-25 15:37:11 -04:00
|
|
|
.warning-text span {
|
|
|
|
|
font-weight: bold;
|
2024-10-22 21:57:59 -04:00
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-25 19:26:59 -04:00
|
|
|
.visual-refresh .button-danger-background {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
background-color: rgb(240 71 71 / 10%) !important;
|
|
|
|
|
color: rgb(240 71 71) !important;
|
|
|
|
|
border: 1px solid rgb(240 71 71 / 60%) !important;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.visual-refresh .button-danger-background:hover {
|
2025-05-04 23:40:40 -04:00
|
|
|
background-color: var(--status-danger-background) !important;
|
2025-04-29 16:56:43 -04:00
|
|
|
color: var(--status-danger-text) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.visual-refresh .vc-plugins-info-card {
|
2025-12-10 01:40:31 -05:00
|
|
|
background-color: var(--background-surface-high) !important;
|
2025-04-29 16:56:43 -04:00
|
|
|
border: 1px solid var(--border-subtle) !important;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
2025-12-10 01:40:31 -05:00
|
|
|
background-color: var(--background-surface-high) !important;
|
2025-04-29 16:56:43 -04:00
|
|
|
}
|
2025-05-04 23:40:40 -04:00
|
|
|
}
|
2025-04-29 16:56:43 -04:00
|
|
|
|
|
|
|
|
.visual-refresh .vc-plugin-stats {
|
2025-12-10 01:40:31 -05:00
|
|
|
background-color: var(--background-surface-high) !important;
|
2025-04-29 16:56:43 -04:00
|
|
|
border: 1px solid var(--border-subtle) !important;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
2025-12-10 01:40:31 -05:00
|
|
|
background-color: var(--background-surface-high) !important;
|
2025-04-29 16:56:43 -04:00
|
|
|
}
|
2025-03-25 19:26:59 -04:00
|
|
|
}
|
2025-07-17 14:19:12 -04:00
|
|
|
|
2025-07-16 18:15:52 -03:00
|
|
|
.vc-plugins-settings {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 1.25em;
|
|
|
|
|
}
|
2025-08-09 17:34:20 -04:00
|
|
|
|
|
|
|
|
.vc-plugins-page-buttons {
|
2025-08-12 09:29:45 -04:00
|
|
|
margin-top: 20px;
|
2025-08-09 17:34:20 -04:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 8px;
|
2025-08-12 09:29:45 -04:00
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-plugins-page-text {
|
|
|
|
|
width: 120px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2025-10-12 23:39:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-plugins-source {
|
|
|
|
|
width: 22px;
|
|
|
|
|
height: 22px;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
margin-right: 8px;
|
2025-11-21 21:40:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-plugins-stats-container {
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vc-plugins-ui-elements {
|
|
|
|
|
margin-top: 16px;
|
2026-01-27 15:21:12 +01:00
|
|
|
}
|