Dodavanje setup wizarda i podešavanje okruženja

This commit is contained in:
2026-05-31 16:42:08 +02:00
parent 1890cd11ef
commit 5cf7f64132
2 changed files with 28 additions and 6 deletions
+1
View File
@@ -0,0 +1 @@
NTECH_PORT=3000
+27 -6
View File
@@ -9,6 +9,7 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
body { body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #1a1a2e; background: #1a1a2e;
@@ -17,6 +18,7 @@
align-items: center; align-items: center;
height: 100vh; height: 100vh;
} }
.kartica { .kartica {
background: #16213e; background: #16213e;
padding: 2rem; padding: 2rem;
@@ -25,26 +27,31 @@
width: 410px; width: 410px;
border: 1px solid #0f3460; border: 1px solid #0f3460;
} }
.zaglavlje { .zaglavlje {
text-align: center; text-align: center;
margin-bottom: 1.3rem; margin-bottom: 1.3rem;
} }
.zaglavlje h1 { .zaglavlje h1 {
color: #f8e45c; color: #f8e45c;
font-size: 1.4rem; font-size: 1.4rem;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
.zaglavlje p { .zaglavlje p {
color: #a0a0b0; color: #a0a0b0;
font-size: 0.85rem; font-size: 0.85rem;
} }
.sekcija-naslov { .sekcija-naslov {
color: #a0a0b0; color: #a0a0b0;
font-size: 0.8rem; font-size: 0.75rem;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; letter-spacing: 0.05em;
margin-bottom: 0.5rem; margin-bottom: 0.4rem;
} }
.port-opcija { .port-opcija {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@@ -57,30 +64,37 @@
transition: all 0.2s; transition: all 0.2s;
color: #e0e0e0; color: #e0e0e0;
} }
.port-opcija:hover { .port-opcija:hover {
border-color: #e94560; border-color: #e94560;
} }
.port-opcija.izabran { .port-opcija.izabran {
border-color: #e94560; border-color: #e94560;
background: rgba(233, 69, 96, 0.1); background: rgba(233, 69, 96, 0.1);
} }
.port-opcija.zauzet { .port-opcija.zauzet {
opacity: 0.5; opacity: 0.5;
cursor: not-allowed; cursor: not-allowed;
} }
.slobodan { .slobodan {
color: #2ecc71; color: #2ecc71;
font-size: 0.85rem; font-size: 0.85rem;
} }
.zauzet-tekst { .zauzet-tekst {
color: #e74c3c; color: #e74c3c;
font-size: 0.85rem; font-size: 0.85rem;
} }
.razdvojnik { .razdvojnik {
border: none; border: none;
border-top: 1px solid #0f3460; border-top: 1px solid #0f3460;
margin: 1rem 0; margin: 0.75rem 0;
} }
input[type="number"] { input[type="number"] {
width: 100%; width: 100%;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
@@ -92,36 +106,43 @@
outline: none; outline: none;
transition: border-color 0.2s; transition: border-color 0.2s;
} }
input[type="number"]:focus { input[type="number"]:focus {
border-color: #e94560; border-color: #e94560;
} }
input[type="number"]::placeholder { input[type="number"]::placeholder {
color: #606080; color: #606080;
} }
button { button {
width: 100%; width: 100%;
padding: 0.55rem; padding: 0.65rem;
margin-top: 0.75rem; margin-top: 0.75rem;
background: #e94560; background: #e94560;
color: white; color: white;
border: none; border: none;
border-radius: 8px; border-radius: 8px;
font-size: 1rem; font-size: 0.95rem;
font-weight: 600; font-weight: 600;
cursor: pointer; cursor: pointer;
transition: background 0.2s; transition: background 0.2s;
} }
button:hover { button:hover {
background: #c73652; background: #c73652;
} }
.poruka { .poruka {
text-align: center; text-align: center;
padding: 1rem; padding: 0.5rem;
font-size: 0.85rem;
color: #2ecc71; color: #2ecc71;
display: none; display: none;
} }
</style> </style>
</head> </head>
<body> <body>
<div class="kartica"> <div class="kartica">
<div class="zaglavlje"> <div class="zaglavlje">