2023-01-03 01:30:54 +00: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;
|
|
|
|
grid-gap: 16px;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-plugins-card {
|
2023-01-13 23:25:24 +00:00
|
|
|
background-color: var(--background-secondary-alt);
|
2023-01-03 01:30:54 +00:00
|
|
|
color: var(--interactive-active);
|
2023-01-13 23:25:24 +00:00
|
|
|
border-radius: 8px;
|
2023-01-03 01:30:54 +00:00
|
|
|
display: block;
|
|
|
|
height: 100%;
|
2023-01-15 21:26:02 +00:00
|
|
|
padding: 12px;
|
2023-01-09 15:23:40 +00:00
|
|
|
width: 100%;
|
2023-01-13 23:25:24 +00:00
|
|
|
transition: 0.1s ease-out;
|
|
|
|
transition-property: box-shadow, transform, background, opacity;
|
|
|
|
}
|
|
|
|
|
2023-01-15 21:26:02 +00:00
|
|
|
.vc-plugins-card-disabled {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
2023-01-13 23:25:24 +00:00
|
|
|
.vc-plugins-card:hover {
|
|
|
|
background-color: var(--background-tertiary);
|
|
|
|
transform: translateY(-1px);
|
|
|
|
box-shadow: var(--elevation-high);
|
2023-01-03 01:30:54 +00:00
|
|
|
}
|
|
|
|
|
2023-01-15 21:26:02 +00:00
|
|
|
.vc-plugins-card-header {
|
|
|
|
margin-top: auto;
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
justify-content: flex-end;
|
|
|
|
height: 1.5rem;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
|
2023-01-09 15:23:40 +00:00
|
|
|
.vc-plugins-info-button {
|
2023-01-03 01:30:54 +00:00
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
padding: 0;
|
|
|
|
background: transparent;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
2023-01-13 23:25:24 +00:00
|
|
|
.vc-plugins-settings-button:hover {
|
|
|
|
color: var(--interactive-hover);
|
|
|
|
}
|
|
|
|
|
2023-01-03 01:30:54 +00:00
|
|
|
.vc-plugins-filter-controls {
|
|
|
|
display: grid;
|
|
|
|
height: 40px;
|
|
|
|
gap: 10px;
|
|
|
|
grid-template-columns: 1fr 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-plugins-badge {
|
|
|
|
padding: 0 6px;
|
|
|
|
font-family: var(--font-display);
|
|
|
|
font-weight: 500;
|
|
|
|
border-radius: 8px;
|
|
|
|
height: 16px;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 16px;
|
|
|
|
color: var(--white-500);
|
2023-01-09 15:23:40 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-plugins-note {
|
2023-01-13 23:25:24 +00:00
|
|
|
height: 36px;
|
2023-01-09 15:23:40 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-plugins-name {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
flex-grow: 1;
|
|
|
|
gap: 8px;
|
2023-01-13 23:25:24 +00:00
|
|
|
cursor: "default";
|
2023-01-09 15:23:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.vc-plugins-dep-name {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2023-01-15 21:26:02 +00:00
|
|
|
.vc-plugins-info-card {
|
2023-01-09 15:23:40 +00:00
|
|
|
padding: 1em;
|
2023-01-15 21:26:02 +00:00
|
|
|
height: 8em;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-plugins-info-card div {
|
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-plugins-restart-card {
|
|
|
|
padding: 1em;
|
|
|
|
background: var(--info-warning-background);
|
|
|
|
border: 1px solid var(--info-warning-foreground);
|
|
|
|
color: var(--info-warning-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-plugins-restart-card button {
|
|
|
|
margin-top: 0.5em;
|
2023-01-09 15:23:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.vc-plugins-info-button svg:not(:hover):not(:focus) {
|
|
|
|
color: var(--text-muted);
|
2023-01-03 01:30:54 +00:00
|
|
|
}
|