Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* --- 1. FONTY & ZÁKLADNÍ NASTAVENÍ --- */
- @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');
- @import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
- :root {
- /* --- BARVY ROKU 3500 --- */
- --scifi-bg: #030508;
- --scifi-panel-bg: rgba(10, 15, 25, 0.75);
- --scifi-cyan: #00f3ff;
- --scifi-cyan-dim: rgba(0, 243, 255, 0.15);
- --scifi-pink: #bc13fe;
- --scifi-red: #ff2a2a;
- --scifi-yellow: #ffae00;
- --scifi-text: #e0e6ed;
- --scifi-text-dim: #8fa1b3;
- /* --- EFEKTY --- */
- --glass-blur: blur(12px);
- --neon-glow: 0 0 10px var(--scifi-cyan-dim), 0 0 5px var(--scifi-cyan);
- --border-glow: 1px solid rgba(0, 243, 255, 0.3);
- /* --- PŘEPSÁNÍ UNRAID PROMĚNNÝCH --- */
- --background-color: var(--scifi-bg);
- --text-color: var(--scifi-text);
- --header-text-color: var(--scifi-cyan);
- --header-background-color: transparent;
- --table-border-color: rgba(255, 255, 255, 0.05);
- --mild-background-color: transparent;
- /* Oprava fontů */
- --font-sans: 'Rajdhani', sans-serif;
- --font-mono: 'Share Tech Mono', monospace;
- }
- /* --- GLOBÁLNÍ STYLY --- */
- body {
- font-family: var(--font-sans) !important;
- background-color: var(--scifi-bg) !important;
- background-image:
- radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.05) 0%, transparent 25%),
- radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.05) 0%, transparent 25%),
- linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
- linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
- background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
- background-attachment: fixed;
- color: var(--scifi-text);
- letter-spacing: 0.5px;
- }
- /* --- 2. HEADER (Holografická lišta) --- */
- #header {
- background: rgba(5, 10, 18, 0.85) !important;
- backdrop-filter: var(--glass-blur);
- border-bottom: 1px solid var(--scifi-cyan);
- box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
- height: 70px !important;
- position: sticky;
- top: 0;
- z-index: 1000;
- }
- /* Logo - Svítící efekt */
- #header .logo svg {
- filter: drop-shadow(0 0 5px var(--scifi-red));
- height: 35px;
- }
- /* User Profile (vpravo nahoře) */
- #UserProfile {
- font-family: var(--font-mono);
- color: var(--scifi-cyan);
- text-shadow: 0 0 5px var(--scifi-cyan);
- }
- /* --- 3. MENU (Navigace) --- */
- #menu {
- background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0, 243, 255, 0.05) 50%, rgba(0,0,0,0) 100%);
- border-bottom: 1px solid rgba(0, 243, 255, 0.1);
- padding: 10px 0;
- margin-bottom: 20px;
- }
- .nav-item a {
- font-family: var(--font-mono);
- text-transform: uppercase;
- color: var(--scifi-text-dim) !important;
- font-size: 14px !important;
- border: 1px solid transparent;
- padding: 5px 15px !important;
- transition: all 0.3s ease;
- background: transparent !important;
- clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
- }
- .nav-item.active a, .nav-item a:hover {
- color: #fff !important;
- background: var(--scifi-cyan-dim) !important;
- border: 1px solid var(--scifi-cyan);
- box-shadow: 0 0 10px var(--scifi-cyan-dim);
- text-shadow: 0 0 5px var(--scifi-cyan);
- }
- /* --- 4. DASHBOARD (Datové panely) --- */
- /* Odstranění původních rámečků */
- .tile, table.dashboard tbody {
- border: none !important;
- background: transparent !important;
- }
- /* Hlavní kontejner pro každý blok (CPU, Docker, atd.) */
- table.dashboard {
- background: var(--scifi-panel-bg) !important;
- backdrop-filter: var(--glass-blur);
- border: 1px solid rgba(255, 255, 255, 0.1);
- box-shadow: 0 10px 30px rgba(0,0,0,0.5);
- margin-bottom: 20px !important;
- position: relative;
- /* Sci-fi roh (zkosený vpravo nahoře) */
- clip-path: polygon(
- 0 0,
- calc(100% - 20px) 0,
- 100% 20px,
- 100% 100%,
- 0 100%
- );
- }
- /* Dekorativní linka nahoře */
- table.dashboard::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- width: 100px;
- height: 2px;
- background: var(--scifi-cyan);
- box-shadow: 0 0 10px var(--scifi-cyan);
- }
- /* Hlavička bloku */
- .tile-header {
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
- padding: 10px 15px !important;
- background: linear-gradient(90deg, rgba(0, 243, 255, 0.05) 0%, transparent 100%);
- }
- .tile-header h3 {
- font-family: var(--font-mono);
- font-size: 18px !important;
- color: var(--scifi-cyan) !important;
- text-transform: uppercase;
- letter-spacing: 2px;
- }
- .tile-header i {
- color: var(--scifi-pink) !important; /* Ikony v purpurové */
- }
- /* Obsah tabulek */
- table.dashboard td {
- border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
- color: var(--scifi-text);
- font-size: 14px;
- padding: 8px 12px;
- }
- /* Odkazy v tabulkách */
- table.dashboard a {
- color: var(--scifi-cyan) !important;
- text-decoration: none;
- transition: 0.2s;
- }
- table.dashboard a:hover {
- color: #fff !important;
- text-shadow: 0 0 8px var(--scifi-cyan);
- }
- /* --- 5. STAVOVÉ INDIKÁTORY & BARY --- */
- /* Texty */
- .green-text { color: var(--scifi-cyan) !important; }
- .red-text { color: var(--scifi-red) !important; text-shadow: 0 0 5px var(--scifi-red); }
- .orange-text { color: var(--scifi-yellow) !important; }
- /* Progress Bary - Holografický styl */
- .usage-bar, .usage-disk {
- background: rgba(0, 0, 0, 0.5) !important;
- border: 1px solid rgba(255, 255, 255, 0.1) !important;
- border-radius: 0 !important;
- height: 8px !important;
- box-shadow: none !important;
- }
- .usage-bar span, .usage-disk span {
- border-radius: 0 !important;
- position: relative;
- }
- /* Glow efekt pro bary */
- .greenbar { background: var(--scifi-cyan) !important; box-shadow: 0 0 10px var(--scifi-cyan); }
- .orangebar { background: var(--scifi-yellow) !important; box-shadow: 0 0 10px var(--scifi-yellow); }
- .redbar { background: var(--scifi-red) !important; box-shadow: 0 0 10px var(--scifi-red); }
- /* Ikony stavu (kolečka) */
- .fa-circle { font-size: 8px !important; vertical-align: middle; }
- .green-orb { color: var(--scifi-cyan) !important; text-shadow: 0 0 5px var(--scifi-cyan); }
- .red-orb { color: var(--scifi-red) !important; text-shadow: 0 0 5px var(--scifi-red); }
- /* --- 6. FOOTER --- */
- #footer {
- background: rgba(0, 0, 0, 0.8) !important;
- border-top: 1px solid rgba(0, 243, 255, 0.2);
- font-family: var(--font-mono);
- color: var(--scifi-text-dim) !important;
- font-size: 11px !important;
- padding: 15px !important;
- }
- /* --- 7. DOCKER KONTEJNERY (Speciální úprava) --- */
- /* Změna ikonek stavu na čtvercové "LED" diody */
- .outer.solid {
- border-radius: 0 !important;
- background: transparent !important;
- border: 1px solid rgba(255,255,255,0.05);
- transition: 0.2s;
- }
- .outer.solid:hover {
- background: rgba(0, 243, 255, 0.05) !important;
- border-color: var(--scifi-cyan);
- }
- .outer img {
- filter: grayscale(80%); /* Odbarvit ikony pro jednotný vzhled */
- transition: 0.3s;
- }
- .outer:hover img {
- filter: grayscale(0%);
- }
- /* --- 8. SKRYTÍ STARÝCH PRVKŮ A CLEANUP --- */
- ::-webkit-scrollbar {
- width: 8px;
- background: #000;
- }
- ::-webkit-scrollbar-thumb {
- background: #333;
- border: 1px solid #555;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: var(--scifi-cyan);
- }
- /* Switch Button (Start/Stop) */
- .switch-button-background {
- background: #222 !important;
- border: 1px solid #444;
- }
- .switch-button-button {
- background: var(--scifi-cyan) !important;
- box-shadow: 0 0 5px var(--scifi-cyan);
- }
- /* Modální okna (Dialogy) */
- .sweet-alert, .ui-dialog {
- background: rgba(10, 15, 25, 0.95) !important;
- backdrop-filter: blur(20px);
- border: 1px solid var(--scifi-cyan) !important;
- box-shadow: 0 0 50px rgba(0, 243, 255, 0.2) !important;
- color: #fff !important;
- font-family: var(--font-sans) !important;
- }
- .sweet-alert h2, .ui-dialog-title {
- color: var(--scifi-cyan) !important;
- font-family: var(--font-mono) !important;
- text-transform: uppercase;
- }
- .sweet-alert p {
- color: var(--scifi-text) !important;
- }
- .confirm {
- background-color: var(--scifi-cyan) !important;
- color: #000 !important;
- box-shadow: 0 0 15px var(--scifi-cyan) !important;
- }
- /* =========================================
- SEKCE: MAIN TAB & DISKOVÉ TABULKY (SCIFI)
- ========================================= */
- /* --- 1. ZÁKLADNÍ STYL TABULEK --- */
- table.unraid, table.disk_status, table.array_status, table.share_status {
- background: transparent !important;
- border-collapse: separate !important;
- border-spacing: 0 4px !important; /* Mezery mezi řádky pro efekt "bloků" */
- margin-top: 10px !important;
- width: 100%;
- }
- /* Hlavička tabulky (Device, Identification, Temp...) */
- table.unraid thead tr:first-child > td,
- table.disk_status thead tr td {
- background: rgba(0, 243, 255, 0.1) !important; /* Jemné kyanové pozadí */
- color: var(--scifi-cyan) !important;
- font-family: var(--font-mono);
- border-bottom: 1px solid var(--scifi-cyan) !important;
- text-transform: uppercase;
- letter-spacing: 2px;
- font-size: 12px !important;
- padding: 10px !important;
- }
- /* --- 2. ŘÁDKY S DISKY (Data Rows) --- */
- table.unraid tbody tr,
- table.disk_status tbody tr {
- background: rgba(10, 15, 25, 0.6) !important; /* Poloprůhledná černá */
- backdrop-filter: blur(5px);
- transition: all 0.2s ease-in-out;
- border: 1px solid transparent; /* Příprava pro hover */
- }
- /* Hover efekt na řádku disku */
- table.unraid tbody tr:hover,
- table.disk_status tbody tr:hover {
- background: rgba(0, 243, 255, 0.05) !important;
- box-shadow: inset 2px 0 0 var(--scifi-cyan); /* Levý svítící proužek */
- transform: translateX(5px); /* Jemný posun doprava */
- }
- /* Buňky tabulky */
- table.unraid tbody td,
- table.disk_status tbody td {
- border: none !important;
- color: var(--scifi-text-dim);
- padding: 8px 10px !important;
- font-size: 13px !important;
- vertical-align: middle !important;
- }
- /* Odkazy na disky (názvy) */
- table.unraid tbody td a.blue-text {
- color: var(--scifi-text) !important;
- font-weight: 700;
- font-family: var(--font-mono);
- font-size: 14px;
- text-decoration: none;
- }
- table.unraid tbody td a.blue-text:hover {
- color: var(--scifi-cyan) !important;
- text-shadow: 0 0 5px var(--scifi-cyan);
- }
- /* --- 3. STAVOVÉ IKONY (Kuličky) --- */
- /* Změna kuliček na svítící body */
- i.fa-circle, i.orb {
- font-size: 8px !important;
- box-shadow: 0 0 5px currentColor;
- }
- /* Barvy stavů */
- .green-orb, .green-text {
- color: var(--scifi-cyan) !important;
- text-shadow: 0 0 8px var(--scifi-cyan);
- }
- .red-orb, .red-text {
- color: var(--scifi-red) !important;
- text-shadow: 0 0 8px var(--scifi-red);
- }
- .grey-orb, .grey-text {
- color: rgba(255, 255, 255, 0.2) !important;
- box-shadow: none !important;
- }
- .orange-orb, .orange-text, .warn {
- color: var(--scifi-yellow) !important;
- text-shadow: 0 0 8px var(--scifi-yellow);
- }
- /* --- 4. PROGRESS BARY (Využití disku) --- */
- .usage-disk {
- background: rgba(255, 255, 255, 0.05) !important;
- border: 1px solid rgba(0, 243, 255, 0.2) !important;
- height: 4px !important; /* Tenké linky */
- margin-top: 5px !important;
- border-radius: 0 !important;
- }
- .usage-disk span {
- border-radius: 0 !important;
- position: relative;
- box-shadow: 0 0 10px currentColor; /* Glow efekt */
- }
- /* Oprava barev v progress barech */
- .greenbar { background: var(--scifi-cyan) !important; color: var(--scifi-cyan); }
- .redbar { background: var(--scifi-red) !important; color: var(--scifi-red); }
- .orangebar { background: var(--scifi-yellow) !important; color: var(--scifi-yellow); }
- /* --- 5. TITULKY SEKCÍ (Array Devices, Boot Device...) --- */
- div.title {
- background: transparent !important;
- border-bottom: 2px solid var(--scifi-cyan) !important;
- color: var(--scifi-cyan) !important;
- font-family: var(--font-mono);
- text-transform: uppercase;
- font-size: 18px !important;
- padding: 10px 0 !important;
- margin-top: 30px !important;
- margin-bottom: 10px !important;
- text-shadow: 0 0 10px var(--scifi-cyan-dim);
- display: flex;
- align-items: center;
- }
- /* Ikony v titulcích */
- div.title img, div.title i {
- filter: drop-shadow(0 0 3px var(--scifi-cyan));
- margin-right: 10px;
- }
- /* --- 6. OPERACE (Tlačítka dole - Start/Stop/Sync) --- */
- /* Kontejner s tlačítky */
- .content > form {
- background: rgba(0, 0, 0, 0.5);
- border: 1px solid var(--scifi-text-dim);
- padding: 15px;
- margin-top: 20px;
- clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
- }
- /* Checkboxy */
- input[type="checkbox"] {
- appearance: none;
- background-color: transparent;
- margin: 0;
- font: inherit;
- color: var(--scifi-cyan);
- width: 1.15em;
- height: 1.15em;
- border: 1px solid var(--scifi-cyan);
- display: grid;
- place-content: center;
- }
- input[type="checkbox"]::before {
- content: "";
- width: 0.65em;
- height: 0.65em;
- transform: scale(0);
- transition: 120ms transform ease-in-out;
- box-shadow: inset 1em 1em var(--scifi-cyan);
- }
- input[type="checkbox"]:checked::before {
- transform: scale(1);
- }
- /* --- 7. TEPLOTA (Temperature) --- */
- /* Teploty zvýrazníme, aby vypadaly jako údaje senzoru */
- table.unraid tbody td:nth-child(3) {
- font-family: var(--font-mono);
- color: #fff !important;
- }
- /* --- 8. SKRYTÍ ZBYTEČNOSTÍ --- */
- /* Skrytí šedých linek, které Unraid přidává */
- table.disk_status tr > td:last-child {
- border-right: none !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment