aboutsummaryrefslogtreecommitdiff
path: root/src/components/PluginSettings/styles.css
diff options
context:
space:
mode:
authorA user <pedro.santos.cartaxo@gmail.com>2023-01-02 22:30:54 -0300
committerGitHub <noreply@github.com>2023-01-03 02:30:54 +0100
commit374531d10e8c12803036867de84edeca10fe2e25 (patch)
tree61226f670296b3f4eeec0031b4c01164c49822a6 /src/components/PluginSettings/styles.css
parent2e5d27b6b63097e96e25819df7a8cdd667c521b3 (diff)
downloadVencord-374531d10e8c12803036867de84edeca10fe2e25.tar.gz
Vencord-374531d10e8c12803036867de84edeca10fe2e25.tar.bz2
Vencord-374531d10e8c12803036867de84edeca10fe2e25.zip
Extract inline styles to css (#370)
Diffstat (limited to 'src/components/PluginSettings/styles.css')
-rw-r--r--src/components/PluginSettings/styles.css61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/components/PluginSettings/styles.css b/src/components/PluginSettings/styles.css
new file mode 100644
index 0000000..f9856ee
--- /dev/null
+++ b/src/components/PluginSettings/styles.css
@@ -0,0 +1,61 @@
+/*
+ * 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 {
+ background-color: var(--background-modifier-selected);
+ color: var(--interactive-active);
+ border-radius: 3px;
+ cursor: pointer;
+ display: block;
+ height: 100%;
+ padding: 10px;
+ width: 100%
+}
+
+.vc-plugins-card .vc-plugins-info-button {
+ height: 24px;
+ width: 24px;
+ padding: 0;
+ background: transparent;
+ margin-right: 8px;
+}
+
+.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);
+}