AstraOS-Panel/Outdated Website/static/styles.css
2025-12-06 21:12:08 +01:00

212 lines
3.2 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #0D1117;
color: #c9d1d9;
line-height: 1.6;
}
header {
text-align: center;
padding: 20px;
background-color: #161b22;
border-bottom: 2px solid #30363d;
}
h1, h2, h3 {
color: #58a6ff;
}
main {
max-width: 1200px;
margin: 40px auto;
padding: 20px;
}
section {
margin-bottom: 40px;
}
h2, h3 {
color: #c9d1d9;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #30363d;
}
th {
background-color: #161b22;
}
a {
color: #58a6ff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
button {
background-color: #238636;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
}
button:disabled {
background-color: #30363d;
cursor: not-allowed;
}
button:hover:enabled {
background-color: #2ea043;
}
.upload-btn {
background-color: #238636;
color: #fff;
padding: 10px 20px;
border-radius: 8px;
display: inline-block;
margin-top: 20px;
}
.upload-btn:hover {
background-color: #2ea043;
}
/* Custom Datei-Upload */
.custom-file-upload {
background-color: #21262d;
border: 2px dashed #58a6ff;
padding: 20px;
text-align: center;
border-radius: 8px;
cursor: pointer;
margin-bottom: 20px;
}
.custom-file-upload label {
cursor: pointer;
color: #58a6ff;
font-weight: bold;
}
#fileNameDisplay {
display: block;
margin-top: 10px;
color: #c9d1d9;
}
form {
background-color: #161b22;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
max-width: 600px;
margin: 20px auto;
}
.form-group {
margin-bottom: 20px;
}
label {
color: #c9d1d9;
font-size: 16px;
display: block;
margin-bottom: 8px;
}
input[type="text"], input[type="file"] {
width: 100%;
padding: 10px;
border-radius: 5px;
border: 1px solid #30363d;
background-color: #0d1117;
color: #c9d1d9;
}
input[type="text"]:focus, input[type="file"]:focus {
outline: none;
border-color: #58a6ff;
}
.upload-icon {
width: 24px;
height: 24px;
vertical-align: middle;
margin-left: 10px;
}
footer {
text-align: center;
margin-top: 40px;
}
footer a {
color: #58a6ff;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
.btn {
display: inline-block;
background-color: #238636;
color: #ffffff;
border: none;
padding: 8px 20px;
border-radius: 6px;
text-align: center;
cursor: pointer;
text-decoration: none;
font-weight: bold;
transition: background 0.3s ease;
}
.btn:hover {
background-color: #2ea043;
}
.btn-danger {
background-color: #da3633;
}
.btn-danger:hover {
background-color: #f85149;
}
.btn-primary {
background-color: #0d1117;
border: 1px solid #30363d;
}
.btn-primary:hover {
background-color: #161b22;
}
.inline-form {
display: inline;
margin-left: 5px;
}