1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

new admin system, ui changes, bugfixes

This commit is contained in:
NoobishSVK
2024-02-27 23:04:26 +01:00
parent 2315f98079
commit 1fb9b99b95
21 changed files with 1038 additions and 411 deletions

View File

@@ -1,13 +1,22 @@
h1 {
color: var(--color-4);
font-size: 52px;
font-weight: 300;
font-size: 32px;
font-weight: 700;
text-transform: uppercase;
margin-top: 0;
margin-bottom: 0;
}
.modal-panel-content h1 {
text-transform: initial;
font-weight: 300;
font-size: 42px;
}
h1#tuner-name {
font-size: 32px;
font-weight: 300;
text-transform: initial;
}
h2 {
@@ -18,6 +27,7 @@ h2 {
h3 {
font-size: 22px;
color: var(--color-4);
}
h4 {
@@ -139,6 +149,9 @@ label {
.checkbox label {
position: relative;
cursor: pointer;
display: flex;
align-items: center;
user-select: none;
}
.checkbox label:before {
@@ -155,14 +168,20 @@ label {
margin-right: 5px;
}
.form-group input:checked + label:before {
background-color: var(--color-4);
}
.form-group input:checked + label:after {
content: '✓';
display: block;
position: absolute;
top: 2px;
left: 6px;
width: 16px;
height: 16px;
font-size: 18px;
top: -1px;
left: 5px;
width: 18px;
height: 18px;
color: var(--color-main);
}
.tuner-info {
@@ -170,6 +189,12 @@ label {
margin-bottom: 0px !important;
}
.settings-heading {
font-size: 32px;
padding-top: 20px;
text-transform: uppercase;
}
@media (max-width: 768px) {
canvas, #flags-container {
display: none;

View File

@@ -18,6 +18,57 @@ button:hover {
opacity: 0.6;
}
.btn-next {
width: 200px;
padding: 10px;
font-weight: bold;
color: var(--color-main);
margin: 30px 5px;
text-transform: uppercase;
}
.btn-prev {
width: 48px;
padding: 10px;
color: var(--color-main);
background-color: var(--color-3);
margin: 30px 5px;
}
.btn-rounded-cube {
width: 64px;
height: 64px;
background: var(--color-2);
color: var(--color-main);
border-radius: 30px;
margin-right: 10px;
margin-left: 10px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
font-size: 24px;
font-weight: 300;
cursor: default;
}
.btn-rounded-cube:not(:first-child)::before {
content: "";
width: 20px;
height: 2px;
background: var(--color-2);
position: absolute;
right: 64px;
}
.btn-rounded-cube.activated {
background-color: var(--color-4);
}
.btn-rounded-cube.activated::before {
background-color: var(--color-4);
}
input[type="text"], textarea, input[type="password"] {
width: 300px;
min-height: 46px;
@@ -267,4 +318,4 @@ select option {
select:hover {
background: var(--color-5);
}
}

View File

@@ -14,6 +14,22 @@
background: transparent !important;
}
.bg-color-1 {
background-color: var(--color-1);
}
.bg-color-2 {
background-color: var(--color-2);
}
.bg-color-3 {
background-color: var(--color-3);
}
.bg-color-4 {
background-color: var(--color-4);
}
.color-1 {
color: var(--color-1);
}
@@ -30,6 +46,11 @@
color: var(--color-4);
}
.color-5 {
color: var(--color-5);
}
.br-0 {
border-radius: 0px;
}
@@ -126,7 +147,7 @@
}
.text-bold {
font-weight: bold;
font-weight: bold !important;
}
.text-monospace {
@@ -134,7 +155,7 @@
}
.text-gray {
color: #666;
opacity: 0.7;
}
.text-red {
@@ -177,6 +198,10 @@
cursor: pointer;
}
.hidden {
display: none;
}
@media only screen and (max-width: 960px) {
.text-medium-big {
font-size: 32px;

View File

@@ -9,6 +9,13 @@
margin-left: 5px;
}
.setup-wrapper h2 {
font-size: 32px;
font-weight: 300;
padding: 10px;
text-transform: uppercase;
}
.setup-wrapper textarea {
width: 100%;
@@ -19,6 +26,34 @@
padding-top: 10px;
}
ul.nav {
list-style-type: none;
padding: 15px 0;
background: var(--color-2);
border-radius: 30px;
}
ul.nav li {
display: inline;
padding: 15px;
cursor: pointer;
transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
user-select: none;
}
ul.nav li:hover {
color: var(--color-main);
background-color: var(--color-4);
}
li.active {
background-color: var(--color-3);
}
.tab-content {
display: none;
}
#map {
height:400px;
width:100%;
@@ -33,10 +68,37 @@
margin: 8px;
}
#console-output {
background-color: #111;
height: 300px;
overflow-y:auto;
}
.w-200 {
width: 200px !important
}
.w-150 {
width: 150px !important
}
.w-100 {
width: 100px !important;
}
@media only screen and (max-width: 768px) {
ul.nav {
display: flex;
overflow-y: scroll;
background: transparent;
}
ul.nav li {
background-color: var(--color-4);
color: var(--color-main);
margin: 0px 10px;
padding: 15px 35px;
border-radius: 30px;
min-width: fit-content;
}
}