mirror of
https://github.com/trafficlunar/statsys.git
synced 2026-03-28 11:13:17 +00:00
151 lines
2.9 KiB
CSS
151 lines
2.9 KiB
CSS
/* Catppuccin Latte Theme */
|
|
body {
|
|
background-color: #eff1f5; /* Base */
|
|
color: #4c4f69; /* Text */
|
|
}
|
|
|
|
/* Grid */
|
|
body::before {
|
|
background-image: linear-gradient(90deg, rgba(30, 102, 245, 0.08) 1px, transparent 1px),
|
|
linear-gradient(rgba(30, 102, 245, 0.08) 1px, transparent 1px);
|
|
}
|
|
|
|
main {
|
|
background-color: #e6e9ef; /* Mantle */
|
|
outline: 1px solid rgba(30, 102, 245, 0.12);
|
|
}
|
|
|
|
hr {
|
|
border-bottom: 2px dotted rgba(30, 102, 245, 0.4); /* Blue */
|
|
}
|
|
|
|
#emoticon {
|
|
color: #1e66f5; /* Blue */
|
|
}
|
|
|
|
#overall-status {
|
|
background-color: #1e66f5; /* Blue */
|
|
color: #e6e9ef; /* Mantle */
|
|
}
|
|
|
|
#pattern {
|
|
background-image: repeating-linear-gradient(-45deg, #1e66f5, #1e66f5 10px, transparent 0px, transparent 20px);
|
|
}
|
|
|
|
#last-updated {
|
|
color: rgba(140, 143, 161, 1); /* Overlay2 */
|
|
}
|
|
|
|
.service-name {
|
|
color: #4c4f69; /* Text */
|
|
}
|
|
|
|
.service-name svg {
|
|
color: rgba(30, 102, 245, 0.4); /* Blue faded */
|
|
}
|
|
|
|
.service-name:hover svg {
|
|
color: #1e66f5; /* Blue */
|
|
}
|
|
|
|
/* Tooltip */
|
|
.bars > div:hover .status-bar::after {
|
|
background-color: #e6e9ef; /* Mantle */
|
|
color: #4c4f69; /* Text */
|
|
border: 1px solid rgba(30, 102, 245, 0.3);
|
|
}
|
|
|
|
.status-bar.Online {
|
|
background-color: #40a02b; /* Green */
|
|
border-color: #40a02b; /* Green */
|
|
}
|
|
|
|
.bars > div:hover .status-bar.Online {
|
|
background-color: #357a22;
|
|
}
|
|
|
|
.status-bar.Unknown {
|
|
background: radial-gradient(circle at center, #ccd0da 3px, transparent 3px); /* Surface0 */
|
|
}
|
|
|
|
.status-bar.Degraded {
|
|
background-color: #df8e1d; /* Yellow */
|
|
border-color: #df8e1d; /* Yellow */
|
|
background-image: linear-gradient(
|
|
45deg,
|
|
rgba(230, 233, 239, 0.3) 25%,
|
|
transparent 25%,
|
|
transparent 50%,
|
|
rgba(230, 233, 239, 0.3) 50%,
|
|
rgba(230, 233, 239, 0.3) 75%,
|
|
transparent 75%,
|
|
transparent
|
|
);
|
|
background-size: 8px 8px;
|
|
}
|
|
|
|
.status-bar.Offline {
|
|
background-color: #d20f39; /* Red */
|
|
border-color: #d20f39; /* Red */
|
|
}
|
|
|
|
.status-bar.Offline::before {
|
|
color: #e6e9ef; /* Mantle */
|
|
}
|
|
|
|
.bars-footer {
|
|
color: rgba(30, 102, 245, 0.6); /* Blue */
|
|
}
|
|
|
|
.bars-footer hr {
|
|
border-color: rgba(30, 102, 245, 0.2); /* Blue */
|
|
}
|
|
|
|
.uptime-percentage {
|
|
background-color: #e6e9ef; /* Mantle */
|
|
color: rgba(30, 102, 245, 0.85); /* Blue */
|
|
}
|
|
|
|
footer a {
|
|
color: #1e66f5; /* Blue */
|
|
}
|
|
|
|
footer a:hover {
|
|
color: #1e66f5; /* Blue */
|
|
filter: brightness(0.8);
|
|
}
|
|
|
|
/* Combobox */
|
|
.combobox-trigger {
|
|
background-color: #dce0e8; /* Crust */
|
|
color: #4c4f69; /* Text */
|
|
border: 1px solid rgba(156, 160, 176, 0.6); /* Overlay1 */
|
|
}
|
|
|
|
.combobox-trigger:hover {
|
|
background-color: #d0d4db;
|
|
border-color: rgba(30, 102, 245, 0.5);
|
|
}
|
|
|
|
.combobox-trigger div {
|
|
border-left: 1px solid rgba(156, 160, 176, 0.6);
|
|
}
|
|
|
|
.combobox-dropdown {
|
|
background-color: #dce0e8; /* Crust */
|
|
border: 1px solid rgba(30, 102, 245, 0.4);
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.combobox-option {
|
|
color: #4c4f69; /* Text */
|
|
}
|
|
|
|
.combobox-option.selected {
|
|
background-color: rgba(30, 102, 245, 0.15);
|
|
}
|
|
|
|
.combobox-option:hover {
|
|
background-color: #1e66f5; /* Blue */
|
|
color: white;
|
|
}
|