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

fmlist integration, new admin panel, bugfixes

This commit is contained in:
NoobishSVK
2024-09-15 00:00:42 +02:00
parent acc0c4fb16
commit ab000412fa
22 changed files with 834 additions and 540 deletions

View File

@@ -10,14 +10,13 @@
}
.setup-wrapper h2 {
font-size: 32px;
font-size: 42px;
font-weight: 300;
padding: 10px;
text-transform: uppercase;
padding: 20px 15px;
text-align: left;
}
.setup-wrapper textarea {
#wrapper textarea {
width: 100%;
max-width: 768px;
background-color: var(--color-2);
@@ -26,34 +25,92 @@
padding-top: 10px;
}
.sidenav {
background-color: var(--color-main);
}
.sidenav li a:focus {
outline: none;
}
.sidenav-content {
flex: 1;
position: relative;
overflow-y: auto;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
.sidenav h1 {
font-size: 42px;
text-transform: initial;
font-weight: 300;
text-align: center;
}
ul.nav {
list-style-type: none;
padding: 15px 0;
background: var(--color-2);
border-radius: 15px;
}
ul.nav li {
display: inline;
padding: 15px;
padding: 12px 20px;
cursor: pointer;
transition: color 0.3s ease, background-color 0.3s ease;
user-select: none;
}
ul.nav li:hover {
color: var(--color-main);
background-color: var(--color-4);
ul.nav li a {
color: var(--color-5) !important;
}
li.active {
ul.nav li:hover {
background-color: var(--color-3);
}
ul.nav li:hover a {
color: var(--color-main) !important;
}
ul.nav li.active a {
color: var(--color-main) !important;
font-weight: bold;
}
li.active {
background-color: var(--color-4);
}
.tab-content {
display: none;
}
#navigation {
position: fixed;
top: 0;
left: 0;
width: 420px; /* Width of the sidenav */
height: 100%;
z-index: 1000; /* Ensure it's above other content */
transition: margin-left 0.3s ease; /* Smooth transition */
}
.admin-wrapper {
transition: margin-left 0.3s ease, width 0.3s ease;
}
.admin-wrapper > .panel-full > .panel-full {
min-height: 100vh;
}
#map {
height:400px;
width:100%;
@@ -66,6 +123,12 @@ li.active {
.setup-wrapper h3 {
font-weight: 300;
margin: 8px;
font-size: 36px;
color: var(--color-5)
}
.setup-wrapper h4 {
color: var(--color-4);
}
@@ -87,18 +150,15 @@ li.active {
}
@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: 15px;
min-width: fit-content;
.setup-wrapper .panel-33, .setup-wrapper .panel-50 {
background: var(--color-1-transparent);
}
#navigation {
width: 100vw; /* You can make the sidenav full width on mobile if you want */
}
.admin-wrapper {
margin-left: 0;
width: 100%;
}
}