fixes and improvements
@@ -14,7 +14,7 @@ Guidance for AI agents (and humans) working on Vision Start. Read before making
|
|||||||
|
|
||||||
## 1. Styling guidance
|
## 1. Styling guidance
|
||||||
|
|
||||||
The design language is **light liquid glass**: translucent bright surfaces, refractive edge highlights, backdrop blur, soft shadows, cyan accents, and iOS-like easing.
|
The design language is **soft liquid glass**: lightly translucent matte surfaces, restrained edge highlights, moderate backdrop blur, soft shadows, cyan accents, and iOS-like easing.
|
||||||
|
|
||||||
### Surface recipe (use consistently)
|
### Surface recipe (use consistently)
|
||||||
- **Tiles / floating controls / light surfaces:** `liquid-surface` plus `liquid-control` / `liquid-tile` / `liquid-focus` as appropriate.
|
- **Tiles / floating controls / light surfaces:** `liquid-surface` plus `liquid-control` / `liquid-tile` / `liquid-focus` as appropriate.
|
||||||
@@ -23,6 +23,7 @@ The design language is **light liquid glass**: translucent bright surfaces, refr
|
|||||||
- **Buttons:** `liquid-button` plus one of `liquid-button-primary`, `liquid-button-success`, `liquid-button-secondary`, or `liquid-button-danger`.
|
- **Buttons:** `liquid-button` plus one of `liquid-button-primary`, `liquid-button-success`, `liquid-button-secondary`, or `liquid-button-danger`.
|
||||||
- **Add/edit surfaces:** add tiles use `liquid-ghost-tile`; tile edit controls use `liquid-edit-toolbar` and `liquid-edit-action`.
|
- **Add/edit surfaces:** add tiles use `liquid-ghost-tile`; tile edit controls use `liquid-edit-toolbar` and `liquid-edit-action`.
|
||||||
- **Full-screen modal overlay:** `liquid-modal-backdrop`.
|
- **Full-screen modal overlay:** `liquid-modal-backdrop`.
|
||||||
|
- Keep the glass effect subtle: avoid high-opacity white highlights, heavy blur, strong saturation, or oversized glow unless a specific component needs emphasis.
|
||||||
|
|
||||||
### Color tokens
|
### Color tokens
|
||||||
- Accent / focus / selection: cyan via `liquid-focus`, `cyan-400`, `cyan-200`, and `liquid-button-primary`
|
- Accent / focus / selection: cyan via `liquid-focus`, `cyan-400`, `cyan-200`, and `liquid-button-primary`
|
||||||
|
|||||||
@@ -10,10 +10,9 @@ A light liquid-glass, modern and customizable startpage built with React.
|
|||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||

|
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,13 @@ interface ServerWidgetTabProps {
|
|||||||
onChange: (updates: Partial<Config>) => void;
|
onChange: (updates: Partial<Config>) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type RangeStyle = React.CSSProperties & { '--range-progress': string };
|
||||||
|
|
||||||
|
const getRangeStyle = (value: number, min: number, max: number): RangeStyle => {
|
||||||
|
const progress = Math.min(100, Math.max(0, ((value - min) / (max - min)) * 100));
|
||||||
|
return { '--range-progress': `${progress}%` };
|
||||||
|
};
|
||||||
|
|
||||||
const ServerWidgetTab: React.FC<ServerWidgetTabProps> = ({ config, onChange }) => {
|
const ServerWidgetTab: React.FC<ServerWidgetTabProps> = ({ config, onChange }) => {
|
||||||
const [newServerName, setNewServerName] = useState('');
|
const [newServerName, setNewServerName] = useState('');
|
||||||
const [newServerAddress, setNewServerAddress] = useState('');
|
const [newServerAddress, setNewServerAddress] = useState('');
|
||||||
@@ -63,6 +70,7 @@ const ServerWidgetTab: React.FC<ServerWidgetTabProps> = ({ config, onChange }) =
|
|||||||
value={config.serverWidget.pingFrequency}
|
value={config.serverWidget.pingFrequency}
|
||||||
onChange={(e) => updateServerWidget({ pingFrequency: Number(e.target.value) })}
|
onChange={(e) => updateServerWidget({ pingFrequency: Number(e.target.value) })}
|
||||||
className="liquid-range"
|
className="liquid-range"
|
||||||
|
style={getRangeStyle(config.serverWidget.pingFrequency, 5, 60)}
|
||||||
/>
|
/>
|
||||||
<span className="w-12 text-right text-sm text-slate-200">{config.serverWidget.pingFrequency}s</span>
|
<span className="w-12 text-right text-sm text-slate-200">{config.serverWidget.pingFrequency}s</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -14,6 +14,13 @@ interface ThemeTabProps {
|
|||||||
onNextWallpaper: () => void;
|
onNextWallpaper: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type RangeStyle = React.CSSProperties & { '--range-progress': string };
|
||||||
|
|
||||||
|
const getRangeStyle = (value: number, min: number, max: number): RangeStyle => {
|
||||||
|
const progress = Math.min(100, Math.max(0, ((value - min) / (max - min)) * 100));
|
||||||
|
return { '--range-progress': `${progress}%` };
|
||||||
|
};
|
||||||
|
|
||||||
const ThemeTab: React.FC<ThemeTabProps> = ({
|
const ThemeTab: React.FC<ThemeTabProps> = ({
|
||||||
config,
|
config,
|
||||||
onChange,
|
onChange,
|
||||||
@@ -93,6 +100,7 @@ const ThemeTab: React.FC<ThemeTabProps> = ({
|
|||||||
value={config.wallpaperBlur}
|
value={config.wallpaperBlur}
|
||||||
onChange={(e) => onChange({ wallpaperBlur: Number(e.target.value) })}
|
onChange={(e) => onChange({ wallpaperBlur: Number(e.target.value) })}
|
||||||
className="liquid-range"
|
className="liquid-range"
|
||||||
|
style={getRangeStyle(config.wallpaperBlur, 0, 50)}
|
||||||
/>
|
/>
|
||||||
<span className="w-12 text-right text-sm text-slate-200">{config.wallpaperBlur}px</span>
|
<span className="w-12 text-right text-sm text-slate-200">{config.wallpaperBlur}px</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -107,6 +115,7 @@ const ThemeTab: React.FC<ThemeTabProps> = ({
|
|||||||
value={config.wallpaperBrightness}
|
value={config.wallpaperBrightness}
|
||||||
onChange={(e) => onChange({ wallpaperBrightness: Number(e.target.value) })}
|
onChange={(e) => onChange({ wallpaperBrightness: Number(e.target.value) })}
|
||||||
className="liquid-range"
|
className="liquid-range"
|
||||||
|
style={getRangeStyle(config.wallpaperBrightness, 0, 200)}
|
||||||
/>
|
/>
|
||||||
<span className="w-12 text-right text-sm text-slate-200">{config.wallpaperBrightness}%</span>
|
<span className="w-12 text-right text-sm text-slate-200">{config.wallpaperBrightness}%</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -121,6 +130,7 @@ const ThemeTab: React.FC<ThemeTabProps> = ({
|
|||||||
value={config.wallpaperOpacity}
|
value={config.wallpaperOpacity}
|
||||||
onChange={(e) => onChange({ wallpaperOpacity: Number(e.target.value) })}
|
onChange={(e) => onChange({ wallpaperOpacity: Number(e.target.value) })}
|
||||||
className="liquid-range"
|
className="liquid-range"
|
||||||
|
style={getRangeStyle(config.wallpaperOpacity, 1, 100)}
|
||||||
/>
|
/>
|
||||||
<span className="w-12 text-right text-sm text-slate-200">{config.wallpaperOpacity}%</span>
|
<span className="w-12 text-right text-sm text-slate-200">{config.wallpaperOpacity}%</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
264
index.css
@@ -27,9 +27,9 @@ body {
|
|||||||
isolation: isolate;
|
isolation: isolate;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
background:
|
background:
|
||||||
radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.16), transparent 28rem),
|
radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.06), transparent 28rem),
|
||||||
radial-gradient(circle at 82% 20%, rgba(34, 211, 238, 0.13), transparent 26rem),
|
radial-gradient(circle at 82% 20%, rgba(34, 211, 238, 0.05), transparent 26rem),
|
||||||
linear-gradient(135deg, rgba(241, 245, 249, 0.1), rgba(15, 23, 42, 0.18) 52%, rgba(8, 13, 20, 0.34));
|
linear-gradient(135deg, rgba(241, 245, 249, 0.04), rgba(15, 23, 42, 0.16) 52%, rgba(8, 13, 20, 0.32));
|
||||||
}
|
}
|
||||||
|
|
||||||
.vision-shell::before {
|
.vision-shell::before {
|
||||||
@@ -39,8 +39,8 @@ body {
|
|||||||
z-index: -15;
|
z-index: -15;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background:
|
background:
|
||||||
linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 38%, rgba(2, 6, 23, 0.34) 100%),
|
linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 38%, rgba(2, 6, 23, 0.3) 100%),
|
||||||
radial-gradient(ellipse at center, transparent 0%, rgba(2, 6, 23, 0.2) 78%, rgba(2, 6, 23, 0.42) 100%);
|
radial-gradient(ellipse at center, transparent 0%, rgba(2, 6, 23, 0.18) 78%, rgba(2, 6, 23, 0.36) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.wallpaper-transition {
|
.wallpaper-transition {
|
||||||
@@ -65,24 +65,24 @@ body {
|
|||||||
z-index: -25;
|
z-index: -25;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background:
|
background:
|
||||||
linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04) 34%, rgba(5, 12, 20, 0.38)),
|
linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 34%, rgba(5, 12, 20, 0.34)),
|
||||||
radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.16), transparent 28rem),
|
radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.05), transparent 28rem),
|
||||||
radial-gradient(circle at 50% 100%, rgba(8, 13, 24, 0.42), transparent 36rem);
|
radial-gradient(circle at 50% 100%, rgba(8, 13, 24, 0.36), transparent 36rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-surface {
|
.liquid-surface {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background:
|
background:
|
||||||
linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07) 46%, rgba(15, 23, 42, 0.2)),
|
linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04) 46%, rgba(15, 23, 42, 0.18)),
|
||||||
rgba(8, 13, 23, 0.22);
|
rgba(8, 13, 23, 0.3);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.24);
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.34),
|
inset 0 1px 0 rgba(255, 255, 255, 0.14),
|
||||||
inset 0 -18px 30px rgba(2, 6, 23, 0.18),
|
inset 0 -10px 20px rgba(2, 6, 23, 0.12),
|
||||||
0 18px 42px rgba(2, 6, 23, 0.24);
|
0 12px 28px rgba(2, 6, 23, 0.2);
|
||||||
backdrop-filter: blur(22px) saturate(150%);
|
-webkit-backdrop-filter: blur(10px) saturate(112%);
|
||||||
-webkit-backdrop-filter: blur(22px) saturate(150%);
|
backdrop-filter: blur(10px) saturate(112%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-surface::before {
|
.liquid-surface::before {
|
||||||
@@ -91,23 +91,23 @@ body {
|
|||||||
inset: 0;
|
inset: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background:
|
background:
|
||||||
linear-gradient(120deg, rgba(255, 255, 255, 0.36), transparent 34%),
|
linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 34%),
|
||||||
radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 42%);
|
radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 42%);
|
||||||
opacity: 0.7;
|
opacity: 0.28;
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-panel {
|
.liquid-panel {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background:
|
background:
|
||||||
linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08) 48%, rgba(5, 12, 22, 0.36)),
|
linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04) 48%, rgba(5, 12, 22, 0.34)),
|
||||||
rgba(8, 13, 23, 0.38);
|
rgba(8, 13, 23, 0.48);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.22);
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.28),
|
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
||||||
0 28px 80px rgba(2, 6, 23, 0.34);
|
0 22px 56px rgba(2, 6, 23, 0.3);
|
||||||
backdrop-filter: blur(30px) saturate(155%);
|
-webkit-backdrop-filter: blur(14px) saturate(115%);
|
||||||
-webkit-backdrop-filter: blur(30px) saturate(155%);
|
backdrop-filter: blur(14px) saturate(115%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-control {
|
.liquid-control {
|
||||||
@@ -129,12 +129,12 @@ body {
|
|||||||
.liquid-control:hover {
|
.liquid-control:hover {
|
||||||
transform: translateY(-1px) scale(1.025);
|
transform: translateY(-1px) scale(1.025);
|
||||||
background:
|
background:
|
||||||
linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)),
|
linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
|
||||||
rgba(255, 255, 255, 0.08);
|
rgba(255, 255, 255, 0.04);
|
||||||
border-color: rgba(255, 255, 255, 0.36);
|
border-color: rgba(255, 255, 255, 0.22);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.44),
|
inset 0 1px 0 rgba(255, 255, 255, 0.18),
|
||||||
0 18px 40px rgba(2, 6, 23, 0.28);
|
0 14px 30px rgba(2, 6, 23, 0.22);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-control:active {
|
.liquid-control:active {
|
||||||
@@ -153,8 +153,8 @@ body {
|
|||||||
.liquid-input {
|
.liquid-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: white;
|
color: white;
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgba(255, 255, 255, 0.075);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.16);
|
border: 1px solid rgba(255, 255, 255, 0.13);
|
||||||
border-radius: 0.875rem;
|
border-radius: 0.875rem;
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||||
transition:
|
transition:
|
||||||
@@ -168,8 +168,8 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.liquid-input:hover {
|
.liquid-input:hover {
|
||||||
background: rgba(255, 255, 255, 0.14);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
border-color: rgba(255, 255, 255, 0.24);
|
border-color: rgba(255, 255, 255, 0.18);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-input:focus {
|
.liquid-input:focus {
|
||||||
@@ -223,65 +223,164 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.liquid-range {
|
.liquid-range {
|
||||||
width: 12rem;
|
--range-progress: 50%;
|
||||||
height: 1.25rem;
|
width: clamp(10rem, 36vw, 13.5rem);
|
||||||
|
height: 1.6rem;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
accent-color: #22d3ee;
|
accent-color: #22d3ee;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-range:focus {
|
.liquid-range:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.liquid-range:disabled {
|
||||||
|
cursor: not-allowed;
|
||||||
|
opacity: 0.45;
|
||||||
|
}
|
||||||
|
|
||||||
.liquid-range::-webkit-slider-runnable-track {
|
.liquid-range::-webkit-slider-runnable-track {
|
||||||
height: 0.38rem;
|
height: 0.68rem;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background: linear-gradient(90deg, rgba(34, 211, 238, 0.9), rgba(255, 255, 255, 0.7));
|
background:
|
||||||
box-shadow: inset 0 1px 2px rgba(2, 6, 23, 0.24);
|
linear-gradient(90deg, rgba(34, 211, 238, 0.92), rgba(103, 232, 249, 0.78)) 0 / var(--range-progress) 100% no-repeat,
|
||||||
|
linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
|
||||||
|
rgba(8, 13, 23, 0.4);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.15),
|
||||||
|
inset 0 -1px 2px rgba(2, 6, 23, 0.24),
|
||||||
|
0 8px 18px rgba(2, 6, 23, 0.14);
|
||||||
|
transition:
|
||||||
|
border-color 180ms var(--ease-ios),
|
||||||
|
box-shadow 180ms var(--ease-ios);
|
||||||
|
}
|
||||||
|
|
||||||
|
.liquid-range:hover::-webkit-slider-runnable-track {
|
||||||
|
border-color: rgba(255, 255, 255, 0.24);
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.18),
|
||||||
|
inset 0 -1px 2px rgba(2, 6, 23, 0.2),
|
||||||
|
0 10px 22px rgba(2, 6, 23, 0.18);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-range::-webkit-slider-thumb {
|
.liquid-range::-webkit-slider-thumb {
|
||||||
width: 1rem;
|
width: 1.18rem;
|
||||||
height: 1rem;
|
height: 1.18rem;
|
||||||
margin-top: -0.31rem;
|
margin-top: -0.31rem;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background: white;
|
background: linear-gradient(145deg, #ffffff, #e5fbff 48%, #a5f3fc);
|
||||||
border: 2px solid rgba(34, 211, 238, 0.9);
|
border: 1px solid rgba(255, 255, 255, 0.86);
|
||||||
box-shadow: 0 6px 16px rgba(2, 6, 23, 0.3);
|
box-shadow:
|
||||||
|
0 0 0 4px rgba(34, 211, 238, 0.1),
|
||||||
|
0 8px 18px rgba(2, 6, 23, 0.28),
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
||||||
|
transition:
|
||||||
|
transform 180ms var(--ease-ios),
|
||||||
|
box-shadow 180ms var(--ease-ios),
|
||||||
|
border-color 180ms var(--ease-ios);
|
||||||
|
}
|
||||||
|
|
||||||
|
.liquid-range:hover::-webkit-slider-thumb {
|
||||||
|
transform: scale(1.06);
|
||||||
|
box-shadow:
|
||||||
|
0 0 0 5px rgba(34, 211, 238, 0.15),
|
||||||
|
0 10px 22px rgba(2, 6, 23, 0.32),
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
.liquid-range:active::-webkit-slider-thumb {
|
||||||
|
transform: scale(0.94);
|
||||||
|
}
|
||||||
|
|
||||||
|
.liquid-range:focus-visible::-webkit-slider-thumb {
|
||||||
|
border-color: rgba(34, 211, 238, 0.9);
|
||||||
|
box-shadow:
|
||||||
|
0 0 0 4px rgba(34, 211, 238, 0.24),
|
||||||
|
0 0 0 7px rgba(255, 255, 255, 0.08),
|
||||||
|
0 10px 22px rgba(2, 6, 23, 0.32),
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-range::-moz-range-track {
|
.liquid-range::-moz-range-track {
|
||||||
height: 0.38rem;
|
height: 0.68rem;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background: linear-gradient(90deg, rgba(34, 211, 238, 0.9), rgba(255, 255, 255, 0.7));
|
background:
|
||||||
|
linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
|
||||||
|
rgba(8, 13, 23, 0.4);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.15),
|
||||||
|
inset 0 -1px 2px rgba(2, 6, 23, 0.24),
|
||||||
|
0 8px 18px rgba(2, 6, 23, 0.14);
|
||||||
|
}
|
||||||
|
|
||||||
|
.liquid-range::-moz-range-progress {
|
||||||
|
height: 0.68rem;
|
||||||
|
border-radius: 999px;
|
||||||
|
background: linear-gradient(90deg, rgba(34, 211, 238, 0.92), rgba(103, 232, 249, 0.78));
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-range::-moz-range-thumb {
|
.liquid-range::-moz-range-thumb {
|
||||||
width: 1rem;
|
width: 1.18rem;
|
||||||
height: 1rem;
|
height: 1.18rem;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background: white;
|
background: linear-gradient(145deg, #ffffff, #e5fbff 48%, #a5f3fc);
|
||||||
border: 2px solid rgba(34, 211, 238, 0.9);
|
border: 1px solid rgba(255, 255, 255, 0.86);
|
||||||
|
box-shadow:
|
||||||
|
0 0 0 4px rgba(34, 211, 238, 0.1),
|
||||||
|
0 8px 18px rgba(2, 6, 23, 0.28),
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
||||||
|
transition:
|
||||||
|
transform 180ms var(--ease-ios),
|
||||||
|
box-shadow 180ms var(--ease-ios),
|
||||||
|
border-color 180ms var(--ease-ios);
|
||||||
|
}
|
||||||
|
|
||||||
|
.liquid-range:hover::-moz-range-thumb {
|
||||||
|
transform: scale(1.06);
|
||||||
|
box-shadow:
|
||||||
|
0 0 0 5px rgba(34, 211, 238, 0.15),
|
||||||
|
0 10px 22px rgba(2, 6, 23, 0.32),
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
.liquid-range:active::-moz-range-thumb {
|
||||||
|
transform: scale(0.94);
|
||||||
|
}
|
||||||
|
|
||||||
|
.liquid-range:focus-visible::-moz-range-thumb {
|
||||||
|
border-color: rgba(34, 211, 238, 0.9);
|
||||||
|
box-shadow:
|
||||||
|
0 0 0 4px rgba(34, 211, 238, 0.24),
|
||||||
|
0 0 0 7px rgba(255, 255, 255, 0.08),
|
||||||
|
0 10px 22px rgba(2, 6, 23, 0.32),
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-tile {
|
.liquid-tile {
|
||||||
border-radius: 1.35rem;
|
border-radius: 1.35rem;
|
||||||
transition:
|
transition:
|
||||||
transform 220ms var(--ease-liquid),
|
transform 240ms var(--ease-liquid),
|
||||||
background 220ms var(--ease-ios),
|
background 260ms var(--ease-ios),
|
||||||
border-color 220ms var(--ease-ios),
|
border-color 260ms var(--ease-ios),
|
||||||
box-shadow 220ms var(--ease-liquid);
|
box-shadow 340ms var(--ease-liquid);
|
||||||
|
will-change: transform, box-shadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-tile:hover {
|
.liquid-tile:hover {
|
||||||
transform: translateY(-4px) scale(1.035);
|
transform: translateY(-3px) scale(1.025);
|
||||||
border-color: rgba(255, 255, 255, 0.42);
|
background:
|
||||||
|
linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08) 46%, rgba(34, 211, 238, 0.08)),
|
||||||
|
rgba(255, 255, 255, 0.12);
|
||||||
|
border-color: rgba(255, 255, 255, 0.24);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.42),
|
inset 0 1px 0 rgba(255, 255, 255, 0.16),
|
||||||
0 24px 46px rgba(2, 6, 23, 0.28),
|
0 18px 34px rgba(2, 6, 23, 0.24),
|
||||||
0 0 34px rgba(34, 211, 238, 0.12);
|
0 0 20px rgba(34, 211, 238, 0.04);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-tile:active {
|
.liquid-tile:active {
|
||||||
@@ -294,16 +393,16 @@ body {
|
|||||||
border-style: dashed;
|
border-style: dashed;
|
||||||
border-color: rgba(255, 255, 255, 0.32);
|
border-color: rgba(255, 255, 255, 0.32);
|
||||||
background:
|
background:
|
||||||
linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
|
linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
|
||||||
rgba(255, 255, 255, 0.04);
|
rgba(255, 255, 255, 0.03);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-ghost-tile:hover {
|
.liquid-ghost-tile:hover {
|
||||||
color: white;
|
color: white;
|
||||||
border-color: rgba(34, 211, 238, 0.62);
|
border-color: rgba(34, 211, 238, 0.62);
|
||||||
background:
|
background:
|
||||||
linear-gradient(145deg, rgba(34, 211, 238, 0.18), rgba(255, 255, 255, 0.08)),
|
linear-gradient(145deg, rgba(34, 211, 238, 0.08), rgba(255, 255, 255, 0.04)),
|
||||||
rgba(255, 255, 255, 0.08);
|
rgba(255, 255, 255, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-edit-toolbar {
|
.liquid-edit-toolbar {
|
||||||
@@ -358,22 +457,22 @@ body {
|
|||||||
|
|
||||||
.liquid-drawer {
|
.liquid-drawer {
|
||||||
background:
|
background:
|
||||||
linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 38%, rgba(7, 12, 22, 0.48)),
|
linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03) 38%, rgba(7, 12, 22, 0.44)),
|
||||||
rgba(7, 12, 22, 0.54);
|
rgba(7, 12, 22, 0.68);
|
||||||
border-left: 1px solid rgba(255, 255, 255, 0.18);
|
border-left: 1px solid rgba(255, 255, 255, 0.12);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 1px 0 0 rgba(255, 255, 255, 0.14),
|
inset 1px 0 0 rgba(255, 255, 255, 0.08),
|
||||||
-32px 0 80px rgba(2, 6, 23, 0.32);
|
-26px 0 64px rgba(2, 6, 23, 0.3);
|
||||||
backdrop-filter: blur(34px) saturate(160%);
|
-webkit-backdrop-filter: blur(16px) saturate(112%);
|
||||||
-webkit-backdrop-filter: blur(34px) saturate(160%);
|
backdrop-filter: blur(16px) saturate(112%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-modal-backdrop {
|
.liquid-modal-backdrop {
|
||||||
background:
|
background:
|
||||||
radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.12), transparent 32rem),
|
radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.04), transparent 32rem),
|
||||||
rgba(3, 7, 18, 0.72);
|
rgba(3, 7, 18, 0.72);
|
||||||
backdrop-filter: blur(10px) saturate(130%);
|
-webkit-backdrop-filter: blur(6px) saturate(108%);
|
||||||
-webkit-backdrop-filter: blur(10px) saturate(130%);
|
backdrop-filter: blur(6px) saturate(108%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-modal-card {
|
.liquid-modal-card {
|
||||||
@@ -382,6 +481,9 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.liquid-dropdown-list {
|
.liquid-dropdown-list {
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
left: 0;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
animation: liquid-drop 150ms var(--ease-ios);
|
animation: liquid-drop 150ms var(--ease-ios);
|
||||||
@@ -429,7 +531,19 @@ body {
|
|||||||
.liquid-control:hover,
|
.liquid-control:hover,
|
||||||
.liquid-tile:hover,
|
.liquid-tile:hover,
|
||||||
.liquid-button:hover,
|
.liquid-button:hover,
|
||||||
.liquid-edit-action:hover {
|
.liquid-edit-action:hover,
|
||||||
|
.liquid-range:hover::-webkit-slider-thumb,
|
||||||
|
.liquid-range:active::-webkit-slider-thumb,
|
||||||
|
.liquid-range:hover::-moz-range-thumb,
|
||||||
|
.liquid-range:active::-moz-range-thumb {
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.liquid-range::-webkit-slider-runnable-track,
|
||||||
|
.liquid-range::-webkit-slider-thumb,
|
||||||
|
.liquid-range::-moz-range-track,
|
||||||
|
.liquid-range::-moz-range-progress,
|
||||||
|
.liquid-range::-moz-range-thumb {
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ The startpage is composed of widgets and a configuration panel:
|
|||||||
- **Icon library & auto-fetch** — Website icons can be picked from the [Dashboard Icons](https://dashboardicons.com/) library (metadata pre-downloaded to `public/icon-metadata.json`) or auto-fetched from the target site's `apple-touch-icon`/`icon` link tags, with a fallback to Google's S2 favicon service.
|
- **Icon library & auto-fetch** — Website icons can be picked from the [Dashboard Icons](https://dashboardicons.com/) library (metadata pre-downloaded to `public/icon-metadata.json`) or auto-fetched from the target site's `apple-touch-icon`/`icon` link tags, with a fallback to Google's S2 favicon service.
|
||||||
- **Configuration panel** — Slide-in right-side modal with four tabs: General, Theme, Clock, Server Widget. Includes **Export** (downloads a JSON bundle of selected `localStorage` keys) and **Import** (restores from JSON and reloads the page).
|
- **Configuration panel** — Slide-in right-side modal with four tabs: General, Theme, Clock, Server Widget. Includes **Export** (downloads a JSON bundle of selected `localStorage` keys) and **Import** (restores from JSON and reloads the page).
|
||||||
- **Edit mode** — Toggle via the top-left pencil button; reveals per-tile glass action toolbars, per-category edit buttons, and ghost glass "add" tiles.
|
- **Edit mode** — Toggle via the top-left pencil button; reveals per-tile glass action toolbars, per-category edit buttons, and ghost glass "add" tiles.
|
||||||
- **Liquid glass design language** — Light translucent surfaces, refractive edge highlights, backdrop blur, soft shadows, cyan focus states, and iOS-like easing tokens (`ease-ios`, `ease-spring`, `ease-liquid`) defined in `index.css`.
|
- **Liquid glass design language** — Soft translucent surfaces, restrained edge highlights, moderate backdrop blur, soft shadows, cyan focus states, and iOS-like easing tokens (`ease-ios`, `ease-spring`, `ease-liquid`) defined in `index.css`.
|
||||||
|
|
||||||
Performance notes:
|
Performance notes:
|
||||||
- Modals (`ConfigurationModal`, `WebsiteEditModal`, `CategoryEditModal`) are code-split via `React.lazy` + `Suspense` and only loaded when opened. `ConfigurationModal` is the heaviest chunk (it pulls in `@hello-pangea/dnd` via `ServerWidgetTab`); the rest of `@hello-pangea/dnd` is isolated from the initial load.
|
- Modals (`ConfigurationModal`, `WebsiteEditModal`, `CategoryEditModal`) are code-split via `React.lazy` + `Suspense` and only loaded when opened. `ConfigurationModal` is the heaviest chunk (it pulls in `@hello-pangea/dnd` via `ServerWidgetTab`); the rest of `@hello-pangea/dnd` is isolated from the initial load.
|
||||||
|
|||||||
BIN
screenshots/configuration.png
Normal file
|
After Width: | Height: | Size: 609 KiB |
BIN
screenshots/editing.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
screenshots/home.png
Normal file
|
After Width: | Height: | Size: 3.1 MiB |
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 37 KiB |