aboutsummaryrefslogtreecommitdiff
path: root/src/components/admin_modal/admin_modal_content.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2023-03-14 21:50:43 +0200
committerHenry Jameson <me@hjkos.com>2023-03-14 21:50:43 +0200
commit4d23d31fecf480abfccc4db3ac79c6640078dc3b (patch)
tree545b0ffe95fe206db0cb39971a6aa8c3368b5617 /src/components/admin_modal/admin_modal_content.scss
parent9632b77786a9d3735f04ecf4a814311fad926ad0 (diff)
initial admin settings prototype (WIP)
Diffstat (limited to 'src/components/admin_modal/admin_modal_content.scss')
-rw-r--r--src/components/admin_modal/admin_modal_content.scss56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/components/admin_modal/admin_modal_content.scss b/src/components/admin_modal/admin_modal_content.scss
new file mode 100644
index 00000000..2db7b2f8
--- /dev/null
+++ b/src/components/admin_modal/admin_modal_content.scss
@@ -0,0 +1,56 @@
+@import "src/variables";
+
+.admin_tab-switcher {
+ height: 100%;
+
+ .setting-item {
+ border-bottom: 2px solid var(--fg, $fallback--fg);
+ margin: 1em 1em 1.4em;
+ padding-bottom: 1.4em;
+
+ > div,
+ > label {
+ display: block;
+ margin-bottom: 0.5em;
+
+ &:last-child {
+ margin-bottom: 0;
+ }
+ }
+
+ .select-multiple {
+ display: flex;
+
+ .option-list {
+ margin: 0;
+ padding-left: 0.5em;
+ }
+ }
+
+ &:last-child {
+ border-bottom: none;
+ padding-bottom: 0;
+ margin-bottom: 1em;
+ }
+
+ select {
+ min-width: 10em;
+ }
+
+ textarea {
+ width: 100%;
+ max-width: 100%;
+ height: 100px;
+ }
+
+ .unavailable,
+ .unavailable svg {
+ color: var(--cRed, $fallback--cRed);
+ color: $fallback--cRed;
+ }
+
+ .number-input {
+ max-width: 6em;
+ }
+ }
+}