From 34620f69c9a1ac400de4afea580609b2f733877a Mon Sep 17 00:00:00 2001 From: RappyTV Date: Sun, 4 Feb 2024 01:45:21 +0100 Subject: [PATCH] Copy files for fancy theme --- .../toolwarn/themes/fancy/lss/config.lss | 85 ++++++++++ .../toolwarn/themes/fancy/lss/manage.lss | 155 ++++++++++++++++++ 2 files changed, 240 insertions(+) create mode 100644 core/src/main/resources/assets/toolwarn/themes/fancy/lss/config.lss create mode 100644 core/src/main/resources/assets/toolwarn/themes/fancy/lss/manage.lss diff --git a/core/src/main/resources/assets/toolwarn/themes/fancy/lss/config.lss b/core/src/main/resources/assets/toolwarn/themes/fancy/lss/config.lss new file mode 100644 index 0000000..443f5e2 --- /dev/null +++ b/core/src/main/resources/assets/toolwarn/themes/fancy/lss/config.lss @@ -0,0 +1,85 @@ +.tool-container { + width: 100%; + height: 100%; + left: 0; + top: 0; + + Scroll { + width: 90%; + top: 0; + bottom: 0; + margin-top: 5; + margin-bottom: 5; + left: 50%; + alignment-x: center; + + .tool-list { + left: 0; + top: 0; + height: fit-content; + space-between-entries: 2; + selectable: true; + } + + Scrollbar { + left: 0; + top: 0; + width: 5; + height: 100%; + margin-left: 5; + } + } +} + +.overview-button-menu { + width: 90%; + height: 20; + left: 50%; + alignment-x: center; + bottom: 5; + layout: fill; + space-between-entries: 8; + margin-bottom: 5; +} + +.edit-button-menu { + width: 90%; + height: 20; + left: 50%; + alignment-x: center; + bottom: 0; + layout: fill; + space-between-entries: 8; +} + +Tool { + width: 100%; + height: 24; + padding: 1; + + .tool-icon { + left: 3; + top: 2; + width: 16; + height: width; + clickable: true; + + margin-top: 2; + } + + .name-component { + left: 22; + top: 2; + } + + .meta-component { + left: 22; + top: 13; + } + + &:selected { + padding: 0; + border: 1 gray; + background-color: black; + } +} \ No newline at end of file diff --git a/core/src/main/resources/assets/toolwarn/themes/fancy/lss/manage.lss b/core/src/main/resources/assets/toolwarn/themes/fancy/lss/manage.lss new file mode 100644 index 0000000..1d18ac5 --- /dev/null +++ b/core/src/main/resources/assets/toolwarn/themes/fancy/lss/manage.lss @@ -0,0 +1,155 @@ +.manage-container { + top: 0; + left: 0; + width: 100%; + height: 100%; + clear-depth: true; + + .input-container { + width: 90%; + height: 165; + left: 50%; + top: 47%; + alignment-x: center; + alignment-y: center; + + background-color: rgba(20, 20, 20, 180); + border-radius: 10; + padding: 10; + + .custom-preview { + top: 5; + left: 50%; + alignment-x: center; + font-size: 1.5; + padding: 2 3 2 3; + background-color: black; + min-width: 11; + max-width: 100%; + } + + .input-list { + left: 0; + top: 0; + width: 100%; + bottom: 0; + } + } +} + +.remove-container { + width: 90%; + height: fit-content; + left: 50%; + top: 50%; + alignment-x: center; + alignment-y: center; + space-between-entries: 15; + + background-color: rgba(20, 20, 20, 180); + border-radius: 10; + padding: 10; +} + +.remove-confirmation { + left: 50%; + alignment-x: center; +} + +.remove-preview { + left: 50%; + alignment-x: center; + height: 24; + width: 100%; +} + +.remove-button-menu { + left: 50%; + alignment-x: center; + height: 20; + layout: fill; + space-between-entries: 8; + width: 90%; +} + +.type-div { + top: 0; + height: 20%; + width: 100%; +} +.type-name { + top: 0; + left: 50%; + alignment-x: center; + font-size: 0.8; +} +.type-dropdown { + top: 10; + height: 20; + left: 50%; + alignment-x: center; +} + +.slider-name { + top: 0; + alignment-x: center; + font-size: 0.8; +} +.warn-slider { + margin-top: 2; + height: 20; + width: 100; + alignment-x: center; +} + +.dropdown-list { + margin-top: 10; + left: 0; + width: 90%; + height: 25%; + left: 50%; + alignment-x: center; +} +.dropdown-div { + top: 0; + height: 100%; + width: 50%; +} +.dropdown-name { + top: 0; + left: 50%; + alignment-x: center; + font-size: 0.8; +} +.dropdown-item { + top: 10; + height: 20; + left: 50%; + alignment-x: center; +} + +.checkbox-list { + left: 0; + width: 90%; + height: 35; + left: 50%; + alignment-x: center; +} +.checkbox-div { + top: 0; + height: 100%; + width: 50%; +} +.checkbox-name { + top: 0; + left: 50%; + alignment-x: center; + font-size: 0.8; +} +.checkbox-item { + top: 10; + width: 20; + height: 20; + left: 50%; + alignment-x: center; +} \ No newline at end of file