feat: added custom ccs used for sytling homar

This commit is contained in:
adm-laketa 2026-07-06 21:20:45 +00:00
commit b4de0381cf

178
custom-style.css Normal file
View file

@ -0,0 +1,178 @@
:root {
--laki-primary: #49E3A3;
--laki-secondary: #2EC4B6;
--laki-bg: #050807;
--laki-card: rgba(31, 35, 34, 0.76);
--laki-card-hover: rgba(40, 46, 44, 0.88);
--laki-border: rgba(255, 255, 255, 0.085);
--laki-border-hover: rgba(73, 227, 163, 0.30);
--laki-text: #f4f7f6;
--laki-muted: #9ca3a1;
}
/* Background dimmer - makes wallpaper less loud */
body::before {
content: "";
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.26);
pointer-events: none;
z-index: -1;
}
body {
background-color: var(--laki-bg) !important;
color: var(--laki-text) !important;
}
button,
a,
input,
[class*="mantine"] {
transition: all 180ms ease !important;
}
/* Top bar */
header,
nav,
[class*="AppShell-header"] {
background: rgba(10, 13, 12, 0.86) !important;
backdrop-filter: blur(18px) saturate(130%) !important;
-webkit-backdrop-filter: blur(18px) saturate(130%) !important;
border-bottom: 1px solid rgba(73, 227, 163, 0.10) !important;
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.34) !important;
}
/* Search + inputs */
input,
[class*="mantine-Input-input"] {
background: rgba(7, 10, 9, 0.78) !important;
border: 1px solid rgba(255, 255, 255, 0.10) !important;
border-radius: 999px !important;
color: var(--laki-text) !important;
box-shadow: none !important;
}
input:focus,
[class*="mantine-Input-input"]:focus {
border-color: rgba(73, 227, 163, 0.45) !important;
box-shadow: 0 0 0 3px rgba(73, 227, 163, 0.10) !important;
}
/* Cards/widgets */
[class*="mantine-Paper-root"],
[class*="mantine-Card-root"] {
background: var(--laki-card) !important;
backdrop-filter: blur(14px) saturate(120%) !important;
-webkit-backdrop-filter: blur(14px) saturate(120%) !important;
border: 1px solid var(--laki-border) !important;
border-radius: 15px !important;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.035),
0 10px 26px rgba(0, 0, 0, 0.28) !important;
}
[class*="mantine-Paper-root"]:hover,
[class*="mantine-Card-root"]:hover {
background: var(--laki-card-hover) !important;
border-color: var(--laki-border-hover) !important;
transform: translateY(-2px) !important;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.045),
0 16px 36px rgba(0, 0, 0, 0.38),
0 0 18px rgba(73, 227, 163, 0.07) !important;
}
/* Stop nested uptime/useful-link boxes from glowing too much */
[class*="mantine-Paper-root"] [class*="mantine-Paper-root"],
[class*="mantine-Card-root"] [class*="mantine-Paper-root"],
[class*="mantine-Card-root"] [class*="mantine-Card-root"] {
border-color: rgba(255, 255, 255, 0.055) !important;
box-shadow: none !important;
transform: none !important;
}
/* Text */
[class*="mantine-Text-root"],
[class*="mantine-Title-root"] {
color: var(--laki-text) !important;
}
small,
[class*="description"],
[class*="subtitle"] {
color: var(--laki-muted) !important;
}
/* Buttons */
[class*="mantine-Button-root"] {
background: linear-gradient(135deg, var(--laki-primary), var(--laki-secondary)) !important;
color: #03110c !important;
font-weight: 700 !important;
border-radius: 12px !important;
box-shadow: 0 10px 24px rgba(73, 227, 163, 0.14) !important;
}
[class*="mantine-Button-root"]:hover {
transform: translateY(-1px) !important;
box-shadow: 0 14px 30px rgba(73, 227, 163, 0.22) !important;
}
/* Top-right icon buttons */
header button,
nav button {
background: transparent !important;
color: var(--laki-text) !important;
box-shadow: none !important;
}
header button:hover,
nav button:hover {
background: rgba(73, 227, 163, 0.10) !important;
color: var(--laki-primary) !important;
}
/* Status dots */
[class*="indicator"],
[class*="Indicator"] {
box-shadow: 0 0 10px rgba(73, 227, 163, 0.35) !important;
}
/* Links */
a {
color: var(--laki-primary) !important;
}
a:hover {
color: #7fffd0 !important;
}
/* Scrollbar */
*::-webkit-scrollbar {
width: 8px;
height: 8px;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background: rgba(73, 227, 163, 0.28);
border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover {
background: rgba(73, 227, 163, 0.55);
}
/* Selection */
::selection {
background: rgba(73, 227, 163, 0.28);
color: #ffffff;
}
/* Softer icon shadows */
img {
filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}