Skip to content

Commit

Permalink
Copy files for fancy theme
Browse files Browse the repository at this point in the history
  • Loading branch information
RappyTV committed Feb 4, 2024
1 parent 92f14e0 commit 34620f6
Show file tree
Hide file tree
Showing 2 changed files with 240 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
}
}
155 changes: 155 additions & 0 deletions core/src/main/resources/assets/toolwarn/themes/fancy/lss/manage.lss
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 34620f6

Please sign in to comment.