Add skeuomorphic modern style support
This commit is contained in:
628
templates/skeuo.css
Normal file
628
templates/skeuo.css
Normal file
@@ -0,0 +1,628 @@
|
||||
/***************************************************************************************************
|
||||
* Copyright (C) 2026 by WallyHackenslacker wallyhackenslacker@noreply.git.hackenslacker.space *
|
||||
* *
|
||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with or without *
|
||||
* fee is hereby granted. *
|
||||
* *
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS *
|
||||
* SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE *
|
||||
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES *
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, *
|
||||
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE *
|
||||
* OF THIS SOFTWARE. *
|
||||
****************************************************************************************************/
|
||||
|
||||
:root {
|
||||
--bg-primary: #efe4d3;
|
||||
--bg-secondary: #e5d6c0;
|
||||
--bg-tertiary: #dcc8aa;
|
||||
--bg-panel: linear-gradient(180deg, #f6ecdf 0%, #e5d6c0 100%);
|
||||
--text-primary: #2c2218;
|
||||
--text-secondary: #5a4732;
|
||||
--text-muted: #7d6750;
|
||||
--border-color: #b79f83;
|
||||
--shadow-color: rgba(40, 28, 15, 0.35);
|
||||
--shine-color: rgba(255, 255, 255, 0.75);
|
||||
--accent-color: #8b4a2c;
|
||||
--accent-hover: #6e3a22;
|
||||
--selection-bg: rgba(139, 74, 44, 0.18);
|
||||
--card-radius: 14px;
|
||||
--bevel-shadow:
|
||||
inset 1px 1px 0 var(--shine-color),
|
||||
inset -1px -1px 0 rgba(120, 90, 60, 0.35),
|
||||
0 8px 18px var(--shadow-color);
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
--bg-primary: #2d2520;
|
||||
--bg-secondary: #392f27;
|
||||
--bg-tertiary: #44382d;
|
||||
--bg-panel: linear-gradient(180deg, #46392d 0%, #2f261f 100%);
|
||||
--text-primary: #f4e7d5;
|
||||
--text-secondary: #d5bea3;
|
||||
--text-muted: #b89f82;
|
||||
--border-color: #6b5642;
|
||||
--shadow-color: rgba(0, 0, 0, 0.6);
|
||||
--shine-color: rgba(255, 232, 205, 0.15);
|
||||
--accent-color: #d58a60;
|
||||
--accent-hover: #e7a07a;
|
||||
--selection-bg: rgba(213, 138, 96, 0.16);
|
||||
--bevel-shadow:
|
||||
inset 1px 1px 0 rgba(255, 236, 214, 0.12),
|
||||
inset -1px -1px 0 rgba(0, 0, 0, 0.35),
|
||||
0 10px 22px var(--shadow-color);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
--bg-primary: #2d2520;
|
||||
--bg-secondary: #392f27;
|
||||
--bg-tertiary: #44382d;
|
||||
--bg-panel: linear-gradient(180deg, #46392d 0%, #2f261f 100%);
|
||||
--text-primary: #f4e7d5;
|
||||
--text-secondary: #d5bea3;
|
||||
--text-muted: #b89f82;
|
||||
--border-color: #6b5642;
|
||||
--shadow-color: rgba(0, 0, 0, 0.6);
|
||||
--shine-color: rgba(255, 232, 205, 0.15);
|
||||
--accent-color: #d58a60;
|
||||
--accent-hover: #e7a07a;
|
||||
--selection-bg: rgba(213, 138, 96, 0.16);
|
||||
--bevel-shadow:
|
||||
inset 1px 1px 0 rgba(255, 236, 214, 0.12),
|
||||
inset -1px -1px 0 rgba(0, 0, 0, 0.35),
|
||||
0 10px 22px var(--shadow-color);
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Trebuchet MS", "Lucida Grande", "Segoe UI", sans-serif;
|
||||
font-size: 14px;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
background-color: #7c644d;
|
||||
background-image:
|
||||
radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.2), transparent 36%),
|
||||
radial-gradient(circle at 82% 80%, rgba(0, 0, 0, 0.28), transparent 38%),
|
||||
url('__BACKGROUND_IMAGE__');
|
||||
background-size: auto, auto, cover;
|
||||
background-position: center;
|
||||
background-attachment: fixed;
|
||||
min-height: 100vh;
|
||||
color: var(--text-primary);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
z-index: 1000;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--border-color);
|
||||
background: var(--bg-panel);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
box-shadow: var(--bevel-shadow);
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.theme-toggle:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.theme-toggle:active {
|
||||
transform: translateY(1px);
|
||||
box-shadow:
|
||||
inset 1px 1px 0 rgba(100, 72, 45, 0.35),
|
||||
inset -1px -1px 0 rgba(255, 255, 255, 0.45),
|
||||
0 4px 10px var(--shadow-color);
|
||||
}
|
||||
|
||||
.theme-toggle .icon {
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.theme-toggle .icon-auto {
|
||||
position: relative;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.theme-toggle .icon-auto::before,
|
||||
.theme-toggle .icon-auto::after {
|
||||
position: absolute;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.theme-toggle .icon-auto::before {
|
||||
content: "\2600\FE0F";
|
||||
clip-path: inset(0 50% 0 0);
|
||||
}
|
||||
|
||||
.theme-toggle .icon-auto::after {
|
||||
content: "\1F319";
|
||||
clip-path: inset(0 0 0 50%);
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--bg-panel);
|
||||
border-radius: var(--card-radius);
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: var(--bevel-shadow);
|
||||
margin-bottom: 24px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.card-header {
|
||||
padding: 16px 20px;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
|
||||
box-shadow: inset 0 1px 0 var(--shine-color);
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
letter-spacing: 0.2px;
|
||||
text-shadow: 0 1px 0 var(--shine-color);
|
||||
}
|
||||
|
||||
.card-content {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.summaries-content {
|
||||
padding: 0;
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
.filters {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.filter-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: inset 0 1px 0 var(--shine-color), 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
||||
}
|
||||
|
||||
.filter-label:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.filter-label input[type="checkbox"] {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--border-color);
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
background: linear-gradient(180deg, #fff3e6 0%, #d7b892 100%);
|
||||
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), inset 0 -1px 2px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .filter-label input[type="checkbox"] {
|
||||
background: linear-gradient(180deg, #5b4a3d 0%, #2f261f 100%);
|
||||
box-shadow: inset 0 1px 1px rgba(255, 241, 225, 0.15), inset 0 -1px 2px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) .filter-label input[type="checkbox"] {
|
||||
background: linear-gradient(180deg, #5b4a3d 0%, #2f261f 100%);
|
||||
box-shadow: inset 0 1px 1px rgba(255, 241, 225, 0.15), inset 0 -1px 2px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
}
|
||||
|
||||
.filter-label input[type="checkbox"]:checked {
|
||||
background: linear-gradient(180deg, var(--accent-color) 0%, var(--accent-hover) 100%);
|
||||
border-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.filter-label input[type="checkbox"]:checked::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: 2px;
|
||||
width: 4px;
|
||||
height: 8px;
|
||||
border: solid #f8efe3;
|
||||
border-width: 0 2px 2px 0;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.filter-label .service-name {
|
||||
text-transform: capitalize;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.filter-label .service-count {
|
||||
color: var(--text-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.stats {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 24px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.stat {
|
||||
text-align: center;
|
||||
padding: 20px 32px;
|
||||
background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: inset 0 1px 0 var(--shine-color), 0 4px 12px rgba(0, 0, 0, 0.2);
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
color: var(--accent-color);
|
||||
font-variant-numeric: tabular-nums;
|
||||
text-shadow: 0 1px 0 var(--shine-color);
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
margin-top: 4px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.8px;
|
||||
}
|
||||
|
||||
.charts-wrapper {
|
||||
display: grid;
|
||||
grid-auto-columns: minmax(280px, 450px);
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 450px));
|
||||
grid-gap: 24px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
min-width: 280px;
|
||||
max-width: 450px;
|
||||
padding: 16px;
|
||||
background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: inset 0 1px 0 var(--shine-color), 0 6px 14px rgba(0, 0, 0, 0.24);
|
||||
}
|
||||
|
||||
.chart-title {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
margin-bottom: 12px;
|
||||
color: var(--text-primary);
|
||||
text-shadow: 0 1px 0 var(--shine-color);
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.charts-wrapper {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding: 0 20px;
|
||||
margin-bottom: -1px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.tab {
|
||||
padding: 12px 24px;
|
||||
cursor: pointer;
|
||||
color: var(--text-secondary);
|
||||
font-weight: 700;
|
||||
border-radius: 12px 12px 0 0;
|
||||
background: linear-gradient(180deg, #d5bea3 0%, #bca084 100%);
|
||||
border: 1px solid var(--border-color);
|
||||
border-bottom: none;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 247, 237, 0.7);
|
||||
transition: transform 0.15s ease, color 0.15s ease;
|
||||
}
|
||||
|
||||
.tab:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.tab.active {
|
||||
color: var(--accent-color);
|
||||
background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 0 12px 12px 12px;
|
||||
padding: 16px;
|
||||
box-shadow: inset 0 1px 0 var(--shine-color);
|
||||
}
|
||||
|
||||
.tab-panel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tab-panel.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
th {
|
||||
padding: 12px 16px;
|
||||
text-align: left;
|
||||
font-weight: 700;
|
||||
color: var(--text-secondary);
|
||||
border-bottom: 2px solid var(--border-color);
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.6px;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid rgba(88, 68, 50, 0.28);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
tr:hover td {
|
||||
background: var(--selection-bg);
|
||||
}
|
||||
|
||||
tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.percent {
|
||||
font-variant-numeric: tabular-nums;
|
||||
text-align: right;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.color-box {
|
||||
display: inline-block;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin-right: 8px;
|
||||
vertical-align: middle;
|
||||
border-radius: 3px;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.service-badge {
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
padding: 2px 8px;
|
||||
background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
|
||||
border-radius: 12px;
|
||||
color: var(--text-muted);
|
||||
margin-left: 8px;
|
||||
text-transform: capitalize;
|
||||
font-weight: 700;
|
||||
border: 1px solid rgba(110, 84, 58, 0.45);
|
||||
}
|
||||
|
||||
.category-badge {
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
padding: 2px 8px;
|
||||
background: linear-gradient(180deg, #cfa98b 0%, #b17f5f 100%);
|
||||
border-radius: 12px;
|
||||
color: #2d1c12;
|
||||
margin-left: 4px;
|
||||
text-transform: capitalize;
|
||||
font-weight: 700;
|
||||
border: 1px solid rgba(59, 35, 20, 0.25);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .category-badge {
|
||||
color: #1d130d;
|
||||
}
|
||||
|
||||
.no-data {
|
||||
text-align: center;
|
||||
padding: 40px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.others-row {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.others-row td:first-child::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 6px solid var(--text-muted);
|
||||
border-top: 4px solid transparent;
|
||||
border-bottom: 4px solid transparent;
|
||||
margin-right: 8px;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.others-row.expanded td:first-child::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.others-detail {
|
||||
display: none;
|
||||
background: rgba(179, 144, 111, 0.2);
|
||||
}
|
||||
|
||||
.others-detail.visible {
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
.others-detail td {
|
||||
padding-left: 32px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
|
||||
border-radius: 999px;
|
||||
border: 1px solid rgba(112, 84, 55, 0.45);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: linear-gradient(180deg, #c89f7d 0%, #936647 100%);
|
||||
border-radius: 999px;
|
||||
border: 1px solid rgba(73, 49, 30, 0.45);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: linear-gradient(180deg, #d5ad8c 0%, #a7724f 100%);
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
body {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.stats {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.stat {
|
||||
padding: 16px 20px;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.filter-label {
|
||||
padding: 6px 12px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.tab {
|
||||
padding: 10px 16px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.scroll-top {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
z-index: 1000;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--border-color);
|
||||
background: var(--bg-panel);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: var(--bevel-shadow);
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.scroll-top.visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.scroll-top:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.scroll-top-arrow {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 8px solid transparent;
|
||||
border-right: 8px solid transparent;
|
||||
border-bottom: 10px solid var(--text-primary);
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.scroll-top {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.scroll-top-arrow {
|
||||
border-left-width: 6px;
|
||||
border-right-width: 6px;
|
||||
border-bottom-width: 8px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user