SplatTool-public/modmenu/style.css
2026-04-23 17:08:47 +02:00

264 lines
5 KiB
CSS

:root {
--bg-color: #0f0f0f;
--card-bg: #181818;
--text-color: #d1d1d1;
--accent: #bb86fc;
--highlight: #03dac6;
--border: #2c2c2c;
}
body {
font-family: 'Inter', system-ui, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
display: flex;
justify-content: center;
padding-top: 40px;
flex-direction: column;
align-items: center;
}
.tabs-container {
width: 90%;
max-width: 700px;
background: var(--card-bg);
border-radius: 8px;
border: 1px solid var(--border);
overflow: hidden;
}
.tab-menu {
display: flex;
background: #121212;
border-bottom: 1px solid var(--border);
flex-wrap: wrap;
}
.tab-link {
padding: 10px 5px;
cursor: pointer;
border: none;
background: none;
color: #777;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 1px;
transition: 0.2s;
flex: 1;
min-width: 80px;
}
.tab-link:hover { color: #fff; background: #1a1a1a; }
.tab-link.active {
color: var(--accent);
border-bottom: 2px solid var(--accent);
}
.tab-content { display: none; padding: 20px; animation: fadeIn 0.3s; }
.tab-content.active { display: block; }
#cbase {
font-family: monospace;
background: #000;
padding: 10px;
border-radius: 4px;
color: var(--highlight);
border: 1px solid #333;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.profile-card {
background: #161616;
padding: 15px;
border-radius: 4px;
border: 1px solid var(--border);
}
input[type="text"] {
background: #000;
border: 1px solid #333;
color: #fff;
padding: 8px 12px;
border-radius: 3px;
flex: 1;
font-size: 13px;
outline: none;
}
input[type="text"]:focus {
border-color: var(--accent);
}
.action-btn {
background: var(--accent);
color: #fff;
border: none;
padding: 8px 15px;
border-radius: 3px;
cursor: pointer;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
transition: all 0.2s ease-in-out;
}
.action-btn:hover {
background: var(--highlight);
color: #000;
box-shadow: 0 0 12px var(--highlight);
transform: translateY(-1px);
}
.action-btn:active {
transform: translateY(1px);
box-shadow: 0 0 4px var(--highlight);
}
.input-label {
font-size: 13px;
font-weight: 600;
color: #bbb;
white-space: nowrap;
text-transform: none;
}
.input-group {
display: flex;
align-items: center;
gap: 12px;
}
.input-row {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.input-row:last-child {
margin-bottom: 0;
}
.input-label {
width: 140px;
font-size: 13px;
font-weight: 600;
color: #bbb;
}
.input-group {
display: flex;
gap: 8px;
flex: 1;
}
.spacer {
flex: 1;
}
input[type="color"] {
-webkit-appearance: none;
border: 1px solid var(--border);
background: none;
width: 40px;
height: 40px;
cursor: pointer;
padding: 0;
border-radius: 4px;
overflow: hidden;
}
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
}
input[type="color"]::-webkit-color-swatch {
border: none;
}
.hex-display {
font-family: monospace;
color: #888;
font-size: 13px;
align-self: center;
background: #000;
padding: 5px 10px;
border-radius: 3px;
border: 1px solid var(--border);
}
.dropdown {
-webkit-appearance: none; /* Disables native GTK styling */
-moz-appearance: none;
appearance: none;
background: #000;
border: 1px solid var(--border);
color: #fff;
padding: 8px;
border-radius: 4px;
font-size: 13px;
cursor: pointer;
outline: none;
transition: border-color 0.2s;
}
.dropdown:focus {
border-color: var(--accent);
}
.dropdown option {
background: #1a1a1a;
color: #fff;
}
.label-stack {
display: flex;
flex-direction: column;
width: 140px;
}
.input-note {
font-size: 10px;
color: var(--accent);
opacity: 0.8;
margin-top: 2px;
font-weight: 400;
}
.main-title {
font-size: 36px;
font-weight: 800;
color: #fff;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 25px;
text-shadow: 0 0 15px rgba(187, 134, 252, 0.4);
}
.pid-list {
margin-top: 10px;
display: grid;
grid-template-columns: 1fr 1fr; /* Two columns */
gap: 10px;
height: 180px;
overflow-y: auto;
padding-right: 5px;
}
.pid-card {
background: #0a0a0a;
padding: 10px;
border-radius: 4px;
border-left: 3px solid var(--accent);
height: 75px;
box-sizing: border-box;
}
.pid-card b {
font-size: 0.9em;
}
.pid-list::-webkit-scrollbar { width: 4px; }
.pid-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }