purity-world 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +89 -0
- package/cursors/alias.svg +17 -0
- package/cursors/all-scroll.svg +12 -0
- package/cursors/bottom_left_corner.svg +16 -0
- package/cursors/bottom_right_corner.svg +16 -0
- package/cursors/bottom_side.svg +18 -0
- package/cursors/cell.svg +9 -0
- package/cursors/center_ptr.svg +9 -0
- package/cursors/col-resize.svg +9 -0
- package/cursors/color-picker.svg +10 -0
- package/cursors/context-menu.svg +10 -0
- package/cursors/copy.svg +17 -0
- package/cursors/crosshair.svg +20 -0
- package/cursors/default.svg +9 -0
- package/cursors/dnd-move.svg +9 -0
- package/cursors/dnd-no-drop.svg +16 -0
- package/cursors/down-arrow.svg +9 -0
- package/cursors/draft.svg +9 -0
- package/cursors/fleur.svg +10 -0
- package/cursors/help.svg +20 -0
- package/cursors/left-arrow.svg +9 -0
- package/cursors/left_side.svg +18 -0
- package/cursors/no-drop.svg +16 -0
- package/cursors/not-allowed.svg +9 -0
- package/cursors/openhand.svg +9 -0
- package/cursors/pencil.svg +9 -0
- package/cursors/pirate.svg +9 -0
- package/cursors/pointer.svg +9 -0
- package/cursors/progress-01.svg +15 -0
- package/cursors/progress-02.svg +15 -0
- package/cursors/progress-03.svg +15 -0
- package/cursors/progress-04.svg +15 -0
- package/cursors/progress-05.svg +15 -0
- package/cursors/progress-06.svg +15 -0
- package/cursors/progress-07.svg +15 -0
- package/cursors/progress-08.svg +15 -0
- package/cursors/progress-09.svg +15 -0
- package/cursors/progress-10.svg +15 -0
- package/cursors/progress-11.svg +15 -0
- package/cursors/progress-12.svg +15 -0
- package/cursors/progress-13.svg +15 -0
- package/cursors/progress-14.svg +15 -0
- package/cursors/progress-15.svg +15 -0
- package/cursors/progress-16.svg +15 -0
- package/cursors/progress-17.svg +15 -0
- package/cursors/progress-18.svg +15 -0
- package/cursors/progress-19.svg +15 -0
- package/cursors/progress-20.svg +15 -0
- package/cursors/progress-21.svg +15 -0
- package/cursors/progress-22.svg +15 -0
- package/cursors/progress-23.svg +15 -0
- package/cursors/right-arrow.svg +9 -0
- package/cursors/right_ptr.svg +9 -0
- package/cursors/right_side.svg +18 -0
- package/cursors/row-resize.svg +9 -0
- package/cursors/size_bdiag.svg +10 -0
- package/cursors/size_fdiag.svg +10 -0
- package/cursors/size_hor.svg +10 -0
- package/cursors/size_ver.svg +12 -0
- package/cursors/text.svg +9 -0
- package/cursors/top_left_corner.svg +16 -0
- package/cursors/top_right_corner.svg +16 -0
- package/cursors/top_side.svg +18 -0
- package/cursors/up-arrow.svg +9 -0
- package/cursors/vertical-text.svg +9 -0
- package/cursors/wait-01.svg +14 -0
- package/cursors/wait-02.svg +14 -0
- package/cursors/wait-03.svg +14 -0
- package/cursors/wait-04.svg +14 -0
- package/cursors/wait-05.svg +14 -0
- package/cursors/wait-06.svg +14 -0
- package/cursors/wait-07.svg +14 -0
- package/cursors/wait-08.svg +14 -0
- package/cursors/wait-09.svg +14 -0
- package/cursors/wait-10.svg +14 -0
- package/cursors/wait-11.svg +14 -0
- package/cursors/wait-12.svg +14 -0
- package/cursors/wait-13.svg +14 -0
- package/cursors/wait-14.svg +14 -0
- package/cursors/wait-15.svg +14 -0
- package/cursors/wait-16.svg +14 -0
- package/cursors/wait-17.svg +14 -0
- package/cursors/wait-18.svg +14 -0
- package/cursors/wait-19.svg +14 -0
- package/cursors/wait-20.svg +14 -0
- package/cursors/wait-21.svg +14 -0
- package/cursors/wait-22.svg +14 -0
- package/cursors/wait-23.svg +14 -0
- package/cursors/wayland-cursor.svg +10 -0
- package/cursors/x-cursor.svg +11 -0
- package/cursors/zoom-in.svg +13 -0
- package/cursors/zoom-out.svg +13 -0
- package/index.cjs +1 -0
- package/index.d.ts +1 -0
- package/index.js +1972 -0
- package/package.json +60 -0
- package/style.css +1 -0
- package/styles/_base.scss +525 -0
- package/styles/_mixins.scss +57 -0
- package/styles/_theme-dark.scss +103 -0
- package/styles/_theme-light.scss +103 -0
- package/styles/_themes.scss +34 -0
- package/styles/_variables.scss +72 -0
- package/styles/index.scss +7 -0
- package/types/bootstrap.d.ts +42 -0
- package/types/bootstrap.d.ts.map +1 -0
- package/types/common.d.ts +9 -0
- package/types/common.d.ts.map +1 -0
- package/types/component.d.ts +57 -0
- package/types/component.d.ts.map +1 -0
- package/types/core.d.ts +46 -0
- package/types/core.d.ts.map +1 -0
- package/types/di.d.ts +53 -0
- package/types/di.d.ts.map +1 -0
- package/types/directive.d.ts +47 -0
- package/types/directive.d.ts.map +1 -0
- package/types/http.d.ts +211 -0
- package/types/http.d.ts.map +1 -0
- package/types/pipe.d.ts +34 -0
- package/types/pipe.d.ts.map +1 -0
- package/types/router.d.ts +145 -0
- package/types/router.d.ts.map +1 -0
- package/types/seo.d.ts +134 -0
- package/types/seo.d.ts.map +1 -0
- package/types/validator.d.ts +73 -0
- package/types/validator.d.ts.map +1 -0
- package/types/virtual-for.d.ts +36 -0
- package/types/virtual-for.d.ts.map +1 -0
- package/types/vite-plugin.d.ts +18 -0
- package/types/vite-plugin.d.ts.map +1 -0
- package/vite.cjs +4 -0
- package/vite.d.ts +1 -0
- package/vite.js +51 -0
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "purity-world",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Lightweight, native TypeScript frontend framework built on Custom Elements v1, fine-grained synchronous signals, and Adwaita design system",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.cjs",
|
|
7
|
+
"module": "./index.js",
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./index.d.ts",
|
|
12
|
+
"import": "./index.js",
|
|
13
|
+
"require": "./index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./vite": {
|
|
16
|
+
"types": "./vite.d.ts",
|
|
17
|
+
"import": "./vite.js",
|
|
18
|
+
"require": "./vite.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./styles": "./style.css",
|
|
21
|
+
"./styles/*": "./styles/*",
|
|
22
|
+
"./cursors/*": "./cursors/*"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"index.js",
|
|
26
|
+
"index.cjs",
|
|
27
|
+
"index.d.ts",
|
|
28
|
+
"vite.js",
|
|
29
|
+
"vite.cjs",
|
|
30
|
+
"vite.d.ts",
|
|
31
|
+
"types",
|
|
32
|
+
"style.css",
|
|
33
|
+
"styles",
|
|
34
|
+
"cursors",
|
|
35
|
+
"README.md",
|
|
36
|
+
"LICENSE"
|
|
37
|
+
],
|
|
38
|
+
"keywords": [
|
|
39
|
+
"signals",
|
|
40
|
+
"reactivity",
|
|
41
|
+
"web-components",
|
|
42
|
+
"custom-elements",
|
|
43
|
+
"framework",
|
|
44
|
+
"typescript",
|
|
45
|
+
"http-client",
|
|
46
|
+
"virtual-scroll",
|
|
47
|
+
"router",
|
|
48
|
+
"adwaita"
|
|
49
|
+
],
|
|
50
|
+
"author": "Purity Contributors",
|
|
51
|
+
"license": "MIT",
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"vite": ">=5.0.0"
|
|
54
|
+
},
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"vite": {
|
|
57
|
+
"optional": true
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
package/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--font-mono: 'Adwaita Mono', 'Source Code Pro', monospace;--font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;--font-size-xs: 12px;--font-size-sm: 13.5px;--font-size-base: 15px;--font-size-lg: 18px;--font-size-xl: 24px;--font-size-xxl: 32px;--radius-window: 16px;--radius-control: 8px;--radius-pill: 999px;--radius-card: 12px;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 12px;--spacing-lg: 16px;--spacing-xl: 24px;--spacing-xxl: 32px;--header-max-width: 1366px;--transition-fast: 0.18s;--transition-normal: 0.28s;--transition-slow: 0.45s;--ease-gnome: cubic-bezier(0.25, 0.8, 0.25, 1);--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);--blur-subtle: blur(10px) saturate(150%);--blur-effect: blur(20px) saturate(175%);--blur-heavy: blur(32px) saturate(190%);--cursor-default: url('/cursors/default.svg') 4 4, default;--cursor-pointer: url('/cursors/pointer.svg') 16 4, pointer;--cursor-text: url('/cursors/text.svg') 16 15, text;--cursor-grab: url('/cursors/openhand.svg') 16 16, grab;--cursor-grabbing: url('/cursors/dnd-move.svg') 16 16, grabbing;--cursor-not-allowed: url('/cursors/not-allowed.svg') 16 15, not-allowed;--cursor-crosshair: url('/cursors/crosshair.svg') 17 17, crosshair;--cursor-help: url('/cursors/help.svg') 4 4, help;--cursor-move: url('/cursors/all-scroll.svg') 15 15, move;--cursor-col-resize: url('/cursors/col-resize.svg') 16 15, col-resize;--cursor-row-resize: url('/cursors/row-resize.svg') 16 15, row-resize;--cursor-ew-resize: url('/cursors/size_hor.svg') 16 15, ew-resize;--cursor-ns-resize: url('/cursors/size_ver.svg') 16 15, ns-resize;--cursor-nwse-resize: url('/cursors/size_bdiag.svg') 16 15, nwse-resize;--cursor-nesw-resize: url('/cursors/size_fdiag.svg') 16 15, nesw-resize;--cursor-zoom-in: url('/cursors/zoom-in.svg') 15 15, zoom-in;--cursor-zoom-out: url('/cursors/zoom-out.svg') 15 15, zoom-out;--cursor-context-menu: url('/cursors/context-menu.svg') 4 4, context-menu;--cursor-progress: url('/cursors/progress-01.svg') 4 4, progress;--cursor-wait: url('/cursors/wait-01.svg') 16 15, wait;--cursor-copy: url('/cursors/copy.svg') 16 4, copy;--cursor-alias: url('/cursors/alias.svg') 16 4, alias;--cursor-cell: url('/cursors/cell.svg') 16 16, cell;--cursor-color-picker: url('/cursors/color-picker.svg') 4 16, crosshair;--cursor-pencil: url('/cursors/pencil.svg') 4 16, crosshair;--cursor-vertical-text: url('/cursors/vertical-text.svg') 16 15, vertical-text;--cursor-dnd-no-drop: url('/cursors/dnd-no-drop.svg') 16 15, no-drop}:root{--gnome-bg: #1e1e1e;--gnome-surface: rgba(34, 34, 40, 0.72);--gnome-surface-solid: #242424;--gnome-header: rgba(30, 30, 36, 0.88);--gnome-card: rgba(255, 255, 255, 0.06);--gnome-hover: rgba(255, 255, 255, 0.12);--gnome-active: rgba(255, 255, 255, 0.18);--gnome-subtle: rgba(255, 255, 255, 0.03);--gnome-input: rgba(255, 255, 255, 0.08);--gnome-input-hover: rgba(255, 255, 255, 0.14);--gnome-input-focus: rgba(255, 255, 255, 0.16);--select-chevron-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233584e4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--gnome-border: rgba(255, 255, 255, 0.14);--gnome-border-subtle: rgba(255, 255, 255, 0.08);--gnome-border-focus: rgba(53, 132, 228, 0.6);--text-main: #ffffff;--text-secondary: #9a9996;--text-muted: #777777;--text-off: rgba(255, 255, 255, 0.25);--text-inverse: #1e1e1e;--accent: #3584e4;--accent-hover: #4791eb;--accent-active: #1c71d8;--accent-shadow: rgba(53, 132, 228, 0.35);--accent-subtle: rgba(53, 132, 228, 0.15);--gnome-success: #2ec27e;--gnome-error: #ed333b;--gnome-info: #3584e4;--gnome-warn: #f8e45c;--gnome-success-bg: rgba(46, 194, 126, 0.18);--gnome-error-bg: rgba(237, 51, 59, 0.18);--gnome-info-bg: rgba(53, 132, 228, 0.18);--gnome-warn-bg: rgba(248, 228, 92, 0.18);--shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.55);--shadow-popup: 0 16px 40px rgba(0, 0, 0, 0.65), inset 0 1px rgba(255, 255, 255, 0.1);--shadow-control: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.08);--wallpaper: radial-gradient(circle at top left, rgba(53, 132, 228, 0.45), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 65, 172, 0.45), transparent 45%), #1e1e1e;--wallpaper-bg-color: #1e1e1e;--dp-surface-bg: rgba(30, 30, 34, 0.88);--dp-surface-blur-bg: rgba(28, 28, 34, 0.65);--dp-text-main: var(--text-main);--dp-text-secondary: var(--text-secondary);--dp-border: var(--gnome-border);--dp-shadow: var(--shadow-popup);--dropdown-bg: rgba(30, 30, 34, 0.96);--dropdown-blur-bg: rgba(28, 28, 34, 0.90);--dropdown-border: var(--gnome-border);--dropdown-shadow: var(--shadow-popup);--popover-bg: rgba(30, 30, 36, 0.92);--popover-blur-bg: rgba(28, 28, 34, 0.85);--popover-border: rgba(255, 255, 255, 0.16);--popover-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);--radial-bg: rgba(30, 30, 30, 0.92);--radial-blur-bg: rgba(30, 30, 30, 0.75);--radial-segment-bg: rgba(45, 45, 45, 0.7);--radial-text: #ffffff;--radial-border: rgba(255, 255, 255, 0.12);--code-bg: rgba(14, 18, 26, 0.85);--code-border: rgba(255, 255, 255, 0.1);--code-text: #e6edf3;--code-kw: #ff7b72;--code-dec: #d2a8ff;--code-fn: #79c0ff;--code-typ: #ffa657;--code-str: #a5d6ff;--code-num: #79c0ff;--code-cmt: #8b949e;--code-tag: #7ee787;--code-attr: #79c0ff;--code-expr: #ffa657}html,body{--gnome-bg: #1e1e1e;--gnome-surface: rgba(34, 34, 40, 0.72);--gnome-surface-solid: #242424;--gnome-header: rgba(30, 30, 36, 0.88);--gnome-card: rgba(255, 255, 255, 0.06);--gnome-hover: rgba(255, 255, 255, 0.12);--gnome-active: rgba(255, 255, 255, 0.18);--gnome-subtle: rgba(255, 255, 255, 0.03);--gnome-input: rgba(255, 255, 255, 0.08);--gnome-input-hover: rgba(255, 255, 255, 0.14);--gnome-input-focus: rgba(255, 255, 255, 0.16);--select-chevron-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233584e4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--gnome-border: rgba(255, 255, 255, 0.14);--gnome-border-subtle: rgba(255, 255, 255, 0.08);--gnome-border-focus: rgba(53, 132, 228, 0.6);--text-main: #ffffff;--text-secondary: #9a9996;--text-muted: #777777;--text-off: rgba(255, 255, 255, 0.25);--text-inverse: #1e1e1e;--accent: #3584e4;--accent-hover: #4791eb;--accent-active: #1c71d8;--accent-shadow: rgba(53, 132, 228, 0.35);--accent-subtle: rgba(53, 132, 228, 0.15);--gnome-success: #2ec27e;--gnome-error: #ed333b;--gnome-info: #3584e4;--gnome-warn: #f8e45c;--gnome-success-bg: rgba(46, 194, 126, 0.18);--gnome-error-bg: rgba(237, 51, 59, 0.18);--gnome-info-bg: rgba(53, 132, 228, 0.18);--gnome-warn-bg: rgba(248, 228, 92, 0.18);--shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.55);--shadow-popup: 0 16px 40px rgba(0, 0, 0, 0.65), inset 0 1px rgba(255, 255, 255, 0.1);--shadow-control: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.08);--wallpaper: radial-gradient(circle at top left, rgba(53, 132, 228, 0.45), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 65, 172, 0.45), transparent 45%), #1e1e1e;--wallpaper-bg-color: #1e1e1e;--dp-surface-bg: rgba(30, 30, 34, 0.88);--dp-surface-blur-bg: rgba(28, 28, 34, 0.65);--dp-text-main: var(--text-main);--dp-text-secondary: var(--text-secondary);--dp-border: var(--gnome-border);--dp-shadow: var(--shadow-popup);--dropdown-bg: rgba(30, 30, 34, 0.96);--dropdown-blur-bg: rgba(28, 28, 34, 0.90);--dropdown-border: var(--gnome-border);--dropdown-shadow: var(--shadow-popup);--popover-bg: rgba(30, 30, 36, 0.92);--popover-blur-bg: rgba(28, 28, 34, 0.85);--popover-border: rgba(255, 255, 255, 0.16);--popover-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);--radial-bg: rgba(30, 30, 30, 0.92);--radial-blur-bg: rgba(30, 30, 30, 0.75);--radial-segment-bg: rgba(45, 45, 45, 0.7);--radial-text: #ffffff;--radial-border: rgba(255, 255, 255, 0.12);--code-bg: rgba(14, 18, 26, 0.85);--code-border: rgba(255, 255, 255, 0.1);--code-text: #e6edf3;--code-kw: #ff7b72;--code-dec: #d2a8ff;--code-fn: #79c0ff;--code-typ: #ffa657;--code-str: #a5d6ff;--code-num: #79c0ff;--code-cmt: #8b949e;--code-tag: #7ee787;--code-attr: #79c0ff;--code-expr: #ffa657;color-scheme:dark}html[data-theme=dark],body[data-theme=dark],[data-theme=dark]{--gnome-bg: #1e1e1e;--gnome-surface: rgba(34, 34, 40, 0.72);--gnome-surface-solid: #242424;--gnome-header: rgba(30, 30, 36, 0.88);--gnome-card: rgba(255, 255, 255, 0.06);--gnome-hover: rgba(255, 255, 255, 0.12);--gnome-active: rgba(255, 255, 255, 0.18);--gnome-subtle: rgba(255, 255, 255, 0.03);--gnome-input: rgba(255, 255, 255, 0.08);--gnome-input-hover: rgba(255, 255, 255, 0.14);--gnome-input-focus: rgba(255, 255, 255, 0.16);--select-chevron-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233584e4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--gnome-border: rgba(255, 255, 255, 0.14);--gnome-border-subtle: rgba(255, 255, 255, 0.08);--gnome-border-focus: rgba(53, 132, 228, 0.6);--text-main: #ffffff;--text-secondary: #9a9996;--text-muted: #777777;--text-off: rgba(255, 255, 255, 0.25);--text-inverse: #1e1e1e;--accent: #3584e4;--accent-hover: #4791eb;--accent-active: #1c71d8;--accent-shadow: rgba(53, 132, 228, 0.35);--accent-subtle: rgba(53, 132, 228, 0.15);--gnome-success: #2ec27e;--gnome-error: #ed333b;--gnome-info: #3584e4;--gnome-warn: #f8e45c;--gnome-success-bg: rgba(46, 194, 126, 0.18);--gnome-error-bg: rgba(237, 51, 59, 0.18);--gnome-info-bg: rgba(53, 132, 228, 0.18);--gnome-warn-bg: rgba(248, 228, 92, 0.18);--shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.55);--shadow-popup: 0 16px 40px rgba(0, 0, 0, 0.65), inset 0 1px rgba(255, 255, 255, 0.1);--shadow-control: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.08);--wallpaper: radial-gradient(circle at top left, rgba(53, 132, 228, 0.45), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 65, 172, 0.45), transparent 45%), #1e1e1e;--wallpaper-bg-color: #1e1e1e;--dp-surface-bg: rgba(30, 30, 34, 0.88);--dp-surface-blur-bg: rgba(28, 28, 34, 0.65);--dp-text-main: var(--text-main);--dp-text-secondary: var(--text-secondary);--dp-border: var(--gnome-border);--dp-shadow: var(--shadow-popup);--dropdown-bg: rgba(30, 30, 34, 0.96);--dropdown-blur-bg: rgba(28, 28, 34, 0.90);--dropdown-border: var(--gnome-border);--dropdown-shadow: var(--shadow-popup);--popover-bg: rgba(30, 30, 36, 0.92);--popover-blur-bg: rgba(28, 28, 34, 0.85);--popover-border: rgba(255, 255, 255, 0.16);--popover-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);--radial-bg: rgba(30, 30, 30, 0.92);--radial-blur-bg: rgba(30, 30, 30, 0.75);--radial-segment-bg: rgba(45, 45, 45, 0.7);--radial-text: #ffffff;--radial-border: rgba(255, 255, 255, 0.12);--code-bg: rgba(14, 18, 26, 0.85);--code-border: rgba(255, 255, 255, 0.1);--code-text: #e6edf3;--code-kw: #ff7b72;--code-dec: #d2a8ff;--code-fn: #79c0ff;--code-typ: #ffa657;--code-str: #a5d6ff;--code-num: #79c0ff;--code-cmt: #8b949e;--code-tag: #7ee787;--code-attr: #79c0ff;--code-expr: #ffa657;color-scheme:dark}html[data-theme=light],body[data-theme=light],[data-theme=light]{--gnome-bg: #f6f5f4;--gnome-surface: rgba(255, 255, 255, 0.84);--gnome-surface-solid: #ffffff;--gnome-header: rgba(255, 255, 255, 0.92);--gnome-card: rgba(0, 0, 0, 0.04);--gnome-hover: rgba(0, 0, 0, 0.06);--gnome-active: rgba(0, 0, 0, 0.1);--gnome-subtle: rgba(0, 0, 0, 0.02);--gnome-input: rgba(0, 0, 0, 0.05);--gnome-input-hover: rgba(0, 0, 0, 0.08);--gnome-input-focus: rgba(255, 255, 255, 0.95);--select-chevron-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231c71d8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--gnome-border: rgba(0, 0, 0, 0.16);--gnome-border-subtle: rgba(0, 0, 0, 0.09);--gnome-border-focus: rgba(28, 113, 216, 0.7);--text-main: #1c1c1c;--text-secondary: #5e5c64;--text-muted: #8a8886;--text-off: rgba(0, 0, 0, 0.35);--text-inverse: #ffffff;--accent: #1c71d8;--accent-hover: #3584e4;--accent-active: #1a5fb4;--accent-shadow: rgba(28, 113, 216, 0.28);--accent-subtle: rgba(28, 113, 216, 0.12);--gnome-success: #26a269;--gnome-error: #c01c28;--gnome-info: #1c71d8;--gnome-warn: #cd9309;--gnome-success-bg: rgba(38, 162, 105, 0.15);--gnome-error-bg: rgba(192, 28, 40, 0.15);--gnome-info-bg: rgba(28, 113, 216, 0.15);--gnome-warn-bg: rgba(205, 147, 9, 0.15);--shadow-deep: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);--shadow-popup: 0 16px 40px rgba(0, 0, 0, 0.14), 0 2px 10px rgba(0, 0, 0, 0.08), inset 0 1px rgba(255, 255, 255, 0.9);--shadow-control: 0 2px 6px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.6);--wallpaper: radial-gradient(circle at top left, rgba(53, 132, 228, 0.22), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 65, 172, 0.22), transparent 45%), #f6f5f4;--wallpaper-bg-color: #f6f5f4;--dp-surface-bg: rgba(255, 255, 255, 0.88);--dp-surface-blur-bg: rgba(255, 255, 255, 0.65);--dp-text-main: var(--text-main);--dp-text-secondary: var(--text-secondary);--dp-border: var(--gnome-border);--dp-shadow: var(--shadow-popup);--dropdown-bg: rgba(255, 255, 255, 0.96);--dropdown-blur-bg: rgba(255, 255, 255, 0.90);--dropdown-border: var(--gnome-border);--dropdown-shadow: var(--shadow-popup);--popover-bg: rgba(255, 255, 255, 0.96);--popover-blur-bg: rgba(255, 255, 255, 0.92);--popover-border: rgba(0, 0, 0, 0.18);--popover-shadow: 0 16px 38px rgba(0, 0, 0, 0.18), 0 4px 14px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);--radial-bg: rgba(255, 255, 255, 0.94);--radial-blur-bg: rgba(255, 255, 255, 0.82);--radial-segment-bg: rgba(240, 240, 240, 0.85);--radial-text: #1c1c1c;--radial-border: rgba(0, 0, 0, 0.12);--code-bg: #f6f8fa;--code-border: rgba(0, 0, 0, 0.12);--code-text: #24292f;--code-kw: #cf222e;--code-dec: #8250df;--code-fn: #0550ae;--code-typ: #953800;--code-str: #0a3069;--code-num: #0550ae;--code-cmt: #6e7781;--code-tag: #116329;--code-attr: #0550ae;--code-expr: #953800;color-scheme:light}@font-face{font-family:"Adwaita Mono";src:url("../app/assets/mono/AdwaitaMono-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}*,*::before,*::after{cursor:inherit}html{margin:0;padding:0;min-height:100%;background-color:var(--wallpaper-bg-color, #1e1e1e);transition:background-color var(--transition-normal) ease;cursor:var(--cursor-default)}body{position:relative;margin:0;padding:7px;box-sizing:border-box;min-height:100vh;background:var(--wallpaper);background-attachment:fixed;background-repeat:no-repeat;background-size:cover;background-color:var(--wallpaper-bg-color, #1e1e1e);color:var(--text-main);font-family:var(--font-main);transition:background-color var(--transition-normal) ease,color var(--transition-normal) ease;cursor:var(--cursor-default)}a,button,[role=button],input[type=button],input[type=submit],input[type=reset],select,summary,label[for],.clickable,.button-base,.button-danger,.button-cancel,.button-primary,.button-secondary,.button-error,.editor-tab,.action-btn,.theme-toggle-btn,.toast-close-btn,.delete-btn{cursor:var(--cursor-pointer)}input[type=text],input[type=number],input[type=password],input[type=email],input[type=search],input[type=url],input[type=tel],textarea,.input-primary,[contenteditable=true],code,pre{cursor:var(--cursor-text)}:disabled,[disabled],.disabled,[aria-disabled=true]{cursor:var(--cursor-not-allowed) !important}[draggable=true],.draggable,.draggable-target,.drag-handle{cursor:var(--cursor-grab)}.is-dragging,.dragging,.p-dragging{cursor:var(--cursor-grabbing) !important}html.http-loading,body.http-loading,.http-loading,.is-loading,[data-loading=true],.loading,.loader-inline-root.visible{cursor:var(--cursor-progress) !important}html.http-loading *,body.http-loading *,.http-loading *,.is-loading *,[data-loading=true] *,.loading *,.loader-inline-root.visible *{cursor:var(--cursor-progress) !important}.label-base,.warn,.info,.error,.success{display:inline-flex;align-items:center;padding:2px 12px;border-radius:var(--radius-pill);font-size:11px;font-weight:800;line-height:1.4;text-transform:uppercase;letter-spacing:.05em;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);border:1px solid rgba(0,0,0,.15)}.success{background-color:var(--gnome-success);color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.3),0 2px 6px rgba(46,194,126,.3)}.error{color:#fff;background-color:var(--gnome-error);box-shadow:inset 0 1px rgba(255,255,255,.3),0 2px 6px rgba(237,51,59,.3)}.info{color:#fff;background-color:var(--gnome-info);box-shadow:inset 0 1px rgba(255,255,255,.3),0 2px 6px rgba(53,132,228,.3)}.warn{color:rgba(0,0,0,.85);background-color:var(--gnome-warn);box-shadow:inset 0 1px rgba(255,255,255,.5),0 2px 6px rgba(248,228,92,.3)}.window-base,.window{margin:var(--spacing-lg)}.window{background:var(--gnome-surface);-webkit-backdrop-filter:var(--blur-effect);backdrop-filter:var(--blur-effect);border:1px solid var(--gnome-border);border-radius:var(--radius-window);box-shadow:var(--shadow-deep);overflow:hidden;color:var(--text-main);font-family:var(--font-main);display:flex;flex-direction:column;padding:10px;transition:background-color var(--transition-normal) ease,border-color var(--transition-normal) ease,box-shadow var(--transition-normal) ease}.button-base,.button-error,.button-danger,.button-cancel,.button-secondary,.button-primary{margin:var(--spacing-sm)}.button-primary{background-color:var(--accent);background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);color:#fff;font-family:var(--font-main);font-weight:700;font-size:var(--font-size-sm);padding:10px 20px;border-radius:var(--radius-control);border:1px solid rgba(0,0,0,.15);box-shadow:var(--shadow-control);cursor:var(--cursor-pointer);transition:all var(--transition-fast) var(--ease-gnome);outline:none}.button-primary:hover:not(:disabled):not(.disabled){background-color:var(--accent-hover);transform:translateY(-1px);box-shadow:0 4px 14px var(--accent-shadow),inset 0 1px rgba(255,255,255,.25)}.button-primary:active:not(:disabled):not(.disabled){background-color:var(--accent-active);transform:translateY(0);box-shadow:inset 0 2px 4px rgba(0,0,0,.25)}.button-primary:focus-visible{box-shadow:0 0 0 3px var(--accent-shadow);border-color:var(--accent)}.button-primary:disabled,.button-primary.disabled{opacity:.45;cursor:var(--cursor-not-allowed) !important;pointer-events:none;transform:none !important;box-shadow:none !important}.button-secondary{background-color:var(--gnome-card);-webkit-backdrop-filter:var(--blur-subtle);backdrop-filter:var(--blur-subtle);border:1px solid var(--gnome-border);color:var(--text-main);font-family:var(--font-main);font-weight:700;font-size:var(--font-size-sm);padding:10px 20px;border-radius:var(--radius-control);cursor:var(--cursor-pointer);transition:all var(--transition-fast) var(--ease-gnome);outline:none}.button-secondary:hover:not(:disabled):not(.disabled){background-color:var(--gnome-hover);border-color:var(--gnome-border-focus);transform:translateY(-1px)}.button-secondary:active:not(:disabled):not(.disabled){background-color:var(--gnome-active);transform:translateY(0)}.button-secondary:focus-visible{box-shadow:0 0 0 3px var(--accent-shadow);border-color:var(--accent)}.button-secondary:disabled,.button-secondary.disabled{opacity:.45;cursor:var(--cursor-not-allowed) !important;pointer-events:none;transform:none !important;box-shadow:none !important}.button-error,.button-danger,.button-cancel{background-color:var(--gnome-error);background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);color:#fff;font-family:var(--font-main);font-weight:700;font-size:var(--font-size-sm);padding:10px 20px;border-radius:var(--radius-control);border:1px solid rgba(0,0,0,.2);box-shadow:inset 0 1px rgba(255,255,255,.3),0 2px 6px rgba(237,51,59,.35);cursor:var(--cursor-pointer);transition:all var(--transition-fast) var(--ease-gnome);outline:none}.button-error:hover:not(:disabled):not(.disabled),.button-danger:hover:not(:disabled):not(.disabled),.button-cancel:hover:not(:disabled):not(.disabled){background-color:#e01b24;transform:translateY(-1px);box-shadow:0 4px 14px rgba(237,51,59,.4),inset 0 1px rgba(255,255,255,.4)}.button-error:active:not(:disabled):not(.disabled),.button-danger:active:not(:disabled):not(.disabled),.button-cancel:active:not(:disabled):not(.disabled){background-color:#c01c28;transform:translateY(0);box-shadow:inset 0 2px 4px rgba(0,0,0,.3)}.button-error:focus-visible,.button-danger:focus-visible,.button-cancel:focus-visible{box-shadow:0 0 0 3px rgba(237,51,59,.4)}.button-error:disabled,.button-error.disabled,.button-danger:disabled,.button-danger.disabled,.button-cancel:disabled,.button-cancel.disabled{opacity:.45;cursor:var(--cursor-not-allowed) !important;pointer-events:none;transform:none !important;box-shadow:none !important}.button-group{display:flex;flex-direction:row;align-items:center}.base-input,select,.select-primary,.input-primary{margin:var(--spacing-sm)}.input-primary{background-color:var(--gnome-input);-webkit-backdrop-filter:var(--blur-subtle);backdrop-filter:var(--blur-subtle);border:1px solid var(--gnome-border);border-radius:var(--radius-control);color:var(--text-main);padding:10px 16px;font-family:var(--font-main);font-size:var(--font-size-sm);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:all var(--transition-fast) ease;outline:none}.input-primary::placeholder{color:var(--text-secondary);opacity:.65}.input-primary:hover{background-color:var(--gnome-input-hover);border-color:var(--gnome-border)}.input-primary:focus{background-color:var(--gnome-input-focus);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-shadow)}select,.select-primary{display:inline-flex;align-items:center;background-color:var(--gnome-input);-webkit-backdrop-filter:var(--blur-subtle);backdrop-filter:var(--blur-subtle);border:1px solid var(--gnome-border);border-radius:var(--radius-control);color:var(--text-main);padding:10px 38px 10px 14px;font-family:var(--font-main);font-size:var(--font-size-sm);font-weight:500;box-shadow:inset 0 1px 2px rgba(0,0,0,.1),var(--shadow-control);transition:all var(--transition-fast) var(--ease-gnome);cursor:var(--cursor-pointer);outline:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:var(--select-chevron-icon);background-repeat:no-repeat;background-position:right 12px center;background-size:14px}select:hover:not(:disabled),.select-primary:hover:not(:disabled){background-color:var(--gnome-input-hover);border-color:var(--gnome-border-focus);transform:translateY(-1px)}select:focus,.select-primary:focus{background-color:var(--gnome-input-focus);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-shadow);transform:translateY(0)}select:active:not(:disabled),.select-primary:active:not(:disabled){background-color:var(--gnome-active);transform:translateY(0)}select:disabled,select.disabled,.select-primary:disabled,.select-primary.disabled{opacity:.45;cursor:var(--cursor-not-allowed) !important;pointer-events:none;transform:none !important;box-shadow:none !important}select option,select optgroup,.select-primary option,.select-primary optgroup{background-color:var(--gnome-surface-solid, #242424);color:var(--text-main, #ffffff);font-family:var(--font-main);font-size:var(--font-size-sm);padding:8px 12px}.select-wrapper{position:relative;display:inline-flex;align-items:center;max-width:100%}.input-primary.error,.input-primary.is-invalid,select.error,select.is-invalid,.select-primary.error,.select-primary.is-invalid,.is-invalid{border-color:var(--gnome-error) !important;box-shadow:0 0 0 3px var(--gnome-error-bg) !important}.input-primary.is-valid,select.is-valid,.select-primary.is-valid,.is-valid{border-color:var(--gnome-success) !important;box-shadow:0 0 0 3px var(--gnome-success-bg) !important}[data-theme=light] select option,[data-theme=light] select optgroup,[data-theme=light] .select-primary option,[data-theme=light] .select-primary optgroup{background-color:#fff;color:#1c1c1c}.mono-text{font-family:var(--font-mono);font-weight:400;font-size:1.05rem;color:var(--accent)}.flex-vertical{display:flex;flex-direction:column;align-items:center;justify-content:center}.flex-vertical>*{margin:var(--spacing-sm)}.flex-horizontal{display:flex;flex-direction:row;align-items:center;justify-content:center}.flex-horizontal>*{margin:var(--spacing-sm)}h1,h2,h3,h4,h5,h6{margin:var(--spacing-md) var(--spacing-xl);color:var(--text-main)}/*# sourceMappingURL=style.css.map */
|
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Purity Design System - Base Styles & UI Elements
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/* 1. Tell the browser where the font file is */
|
|
6
|
+
@font-face {
|
|
7
|
+
font-family: 'Adwaita Mono';
|
|
8
|
+
src: url('../app/assets/mono/AdwaitaMono-Regular.ttf') format('truetype');
|
|
9
|
+
font-weight: 400;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
font-display: swap;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Global Cursor Hierarchy (Breeze Cursors) */
|
|
15
|
+
*,
|
|
16
|
+
*::before,
|
|
17
|
+
*::after {
|
|
18
|
+
cursor: inherit;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
html {
|
|
22
|
+
margin: 0;
|
|
23
|
+
padding: 0;
|
|
24
|
+
min-height: 100%;
|
|
25
|
+
background-color: var(--wallpaper-bg-color, #1e1e1e);
|
|
26
|
+
transition: background-color var(--transition-normal) ease;
|
|
27
|
+
cursor: var(--cursor-default);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
body {
|
|
31
|
+
position: relative;
|
|
32
|
+
margin: 0;
|
|
33
|
+
padding: 7px;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
min-height: 100vh;
|
|
36
|
+
background: var(--wallpaper);
|
|
37
|
+
background-attachment: fixed;
|
|
38
|
+
background-repeat: no-repeat;
|
|
39
|
+
background-size: cover;
|
|
40
|
+
background-color: var(--wallpaper-bg-color, #1e1e1e);
|
|
41
|
+
color: var(--text-main);
|
|
42
|
+
font-family: var(--font-main);
|
|
43
|
+
transition: background-color var(--transition-normal) ease, color var(--transition-normal) ease;
|
|
44
|
+
cursor: var(--cursor-default);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Global Interactive Element Breeze Cursors */
|
|
48
|
+
a,
|
|
49
|
+
button,
|
|
50
|
+
[role='button'],
|
|
51
|
+
input[type='button'],
|
|
52
|
+
input[type='submit'],
|
|
53
|
+
input[type='reset'],
|
|
54
|
+
select,
|
|
55
|
+
summary,
|
|
56
|
+
label[for],
|
|
57
|
+
.clickable,
|
|
58
|
+
.button-base,
|
|
59
|
+
.button-primary,
|
|
60
|
+
.button-secondary,
|
|
61
|
+
.button-error,
|
|
62
|
+
.button-danger,
|
|
63
|
+
.button-cancel,
|
|
64
|
+
.editor-tab,
|
|
65
|
+
.action-btn,
|
|
66
|
+
.theme-toggle-btn,
|
|
67
|
+
.toast-close-btn,
|
|
68
|
+
.delete-btn {
|
|
69
|
+
cursor: var(--cursor-pointer);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
input[type='text'],
|
|
73
|
+
input[type='number'],
|
|
74
|
+
input[type='password'],
|
|
75
|
+
input[type='email'],
|
|
76
|
+
input[type='search'],
|
|
77
|
+
input[type='url'],
|
|
78
|
+
input[type='tel'],
|
|
79
|
+
textarea,
|
|
80
|
+
.input-primary,
|
|
81
|
+
[contenteditable='true'],
|
|
82
|
+
code,
|
|
83
|
+
pre {
|
|
84
|
+
cursor: var(--cursor-text);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:disabled,
|
|
88
|
+
[disabled],
|
|
89
|
+
.disabled,
|
|
90
|
+
[aria-disabled='true'] {
|
|
91
|
+
cursor: var(--cursor-not-allowed) !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
[draggable='true'],
|
|
95
|
+
.draggable,
|
|
96
|
+
.draggable-target,
|
|
97
|
+
.drag-handle {
|
|
98
|
+
cursor: var(--cursor-grab);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.is-dragging,
|
|
102
|
+
.dragging,
|
|
103
|
+
.p-dragging {
|
|
104
|
+
cursor: var(--cursor-grabbing) !important;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* HTTP Request & Loading State Breeze Cursors */
|
|
108
|
+
html.http-loading,
|
|
109
|
+
body.http-loading,
|
|
110
|
+
.http-loading,
|
|
111
|
+
.is-loading,
|
|
112
|
+
[data-loading='true'],
|
|
113
|
+
.loading,
|
|
114
|
+
.loader-inline-root.visible {
|
|
115
|
+
cursor: var(--cursor-progress) !important;
|
|
116
|
+
|
|
117
|
+
* {
|
|
118
|
+
cursor: var(--cursor-progress) !important;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* Base Label Styling */
|
|
123
|
+
.label-base {
|
|
124
|
+
display: inline-flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
padding: 2px 12px;
|
|
127
|
+
border-radius: var(--radius-pill);
|
|
128
|
+
font-size: 11px;
|
|
129
|
+
font-weight: 800;
|
|
130
|
+
line-height: 1.4;
|
|
131
|
+
text-transform: uppercase;
|
|
132
|
+
letter-spacing: 0.05em;
|
|
133
|
+
background-image: linear-gradient(
|
|
134
|
+
to bottom,
|
|
135
|
+
rgba(255, 255, 255, 0.2) 0%,
|
|
136
|
+
rgba(255, 255, 255, 0.05) 50%,
|
|
137
|
+
transparent 100%
|
|
138
|
+
);
|
|
139
|
+
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* Status Labels */
|
|
143
|
+
.success {
|
|
144
|
+
@extend .label-base;
|
|
145
|
+
background-color: var(--gnome-success);
|
|
146
|
+
color: #ffffff;
|
|
147
|
+
box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(46, 194, 126, 0.3);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.error {
|
|
151
|
+
@extend .label-base;
|
|
152
|
+
color: #ffffff;
|
|
153
|
+
background-color: var(--gnome-error);
|
|
154
|
+
box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(237, 51, 59, 0.3);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.info {
|
|
158
|
+
@extend .label-base;
|
|
159
|
+
color: #ffffff;
|
|
160
|
+
background-color: var(--gnome-info);
|
|
161
|
+
box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(53, 132, 228, 0.3);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.warn {
|
|
165
|
+
@extend .label-base;
|
|
166
|
+
color: rgba(0, 0, 0, 0.85);
|
|
167
|
+
background-color: var(--gnome-warn);
|
|
168
|
+
box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 2px 6px rgba(248, 228, 92, 0.3);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.window-base {
|
|
172
|
+
margin: var(--spacing-lg);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Glassmorphic Window Container */
|
|
176
|
+
.window {
|
|
177
|
+
@extend .window-base;
|
|
178
|
+
|
|
179
|
+
background: var(--gnome-surface);
|
|
180
|
+
-webkit-backdrop-filter: var(--blur-effect);
|
|
181
|
+
backdrop-filter: var(--blur-effect);
|
|
182
|
+
|
|
183
|
+
border: 1px solid var(--gnome-border);
|
|
184
|
+
border-radius: var(--radius-window);
|
|
185
|
+
box-shadow: var(--shadow-deep);
|
|
186
|
+
|
|
187
|
+
overflow: hidden;
|
|
188
|
+
color: var(--text-main);
|
|
189
|
+
font-family: var(--font-main);
|
|
190
|
+
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: column;
|
|
193
|
+
padding: 10px;
|
|
194
|
+
transition: background-color var(--transition-normal) ease, border-color var(--transition-normal) ease, box-shadow var(--transition-normal) ease;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.button-base {
|
|
198
|
+
margin: var(--spacing-sm);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* Primary Elevated Button */
|
|
202
|
+
.button-primary {
|
|
203
|
+
@extend .button-base;
|
|
204
|
+
background-color: var(--accent);
|
|
205
|
+
background-image: linear-gradient(
|
|
206
|
+
to bottom,
|
|
207
|
+
rgba(255, 255, 255, 0.15),
|
|
208
|
+
transparent
|
|
209
|
+
);
|
|
210
|
+
color: #ffffff;
|
|
211
|
+
font-family: var(--font-main);
|
|
212
|
+
font-weight: 700;
|
|
213
|
+
font-size: var(--font-size-sm);
|
|
214
|
+
padding: 10px 20px;
|
|
215
|
+
border-radius: var(--radius-control);
|
|
216
|
+
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
217
|
+
box-shadow: var(--shadow-control);
|
|
218
|
+
cursor: var(--cursor-pointer);
|
|
219
|
+
transition: all var(--transition-fast) var(--ease-gnome);
|
|
220
|
+
outline: none;
|
|
221
|
+
|
|
222
|
+
&:hover:not(:disabled):not(.disabled) {
|
|
223
|
+
background-color: var(--accent-hover);
|
|
224
|
+
transform: translateY(-1px);
|
|
225
|
+
box-shadow: 0 4px 14px var(--accent-shadow), inset 0 1px rgba(255, 255, 255, 0.25);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&:active:not(:disabled):not(.disabled) {
|
|
229
|
+
background-color: var(--accent-active);
|
|
230
|
+
transform: translateY(0);
|
|
231
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&:focus-visible {
|
|
235
|
+
box-shadow: 0 0 0 3px var(--accent-shadow);
|
|
236
|
+
border-color: var(--accent);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
&:disabled,
|
|
240
|
+
&.disabled {
|
|
241
|
+
opacity: 0.45;
|
|
242
|
+
cursor: var(--cursor-not-allowed) !important;
|
|
243
|
+
pointer-events: none;
|
|
244
|
+
transform: none !important;
|
|
245
|
+
box-shadow: none !important;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/* Secondary Translucent Button */
|
|
250
|
+
.button-secondary {
|
|
251
|
+
@extend .button-base;
|
|
252
|
+
background-color: var(--gnome-card);
|
|
253
|
+
-webkit-backdrop-filter: var(--blur-subtle);
|
|
254
|
+
backdrop-filter: var(--blur-subtle);
|
|
255
|
+
border: 1px solid var(--gnome-border);
|
|
256
|
+
color: var(--text-main);
|
|
257
|
+
font-family: var(--font-main);
|
|
258
|
+
font-weight: 700;
|
|
259
|
+
font-size: var(--font-size-sm);
|
|
260
|
+
padding: 10px 20px;
|
|
261
|
+
border-radius: var(--radius-control);
|
|
262
|
+
cursor: var(--cursor-pointer);
|
|
263
|
+
transition: all var(--transition-fast) var(--ease-gnome);
|
|
264
|
+
outline: none;
|
|
265
|
+
|
|
266
|
+
&:hover:not(:disabled):not(.disabled) {
|
|
267
|
+
background-color: var(--gnome-hover);
|
|
268
|
+
border-color: var(--gnome-border-focus);
|
|
269
|
+
transform: translateY(-1px);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
&:active:not(:disabled):not(.disabled) {
|
|
273
|
+
background-color: var(--gnome-active);
|
|
274
|
+
transform: translateY(0);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&:focus-visible {
|
|
278
|
+
box-shadow: 0 0 0 3px var(--accent-shadow);
|
|
279
|
+
border-color: var(--accent);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
&:disabled,
|
|
283
|
+
&.disabled {
|
|
284
|
+
opacity: 0.45;
|
|
285
|
+
cursor: var(--cursor-not-allowed) !important;
|
|
286
|
+
pointer-events: none;
|
|
287
|
+
transform: none !important;
|
|
288
|
+
box-shadow: none !important;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/* Error / Cancel / Destructive Button */
|
|
293
|
+
.button-error,
|
|
294
|
+
.button-danger,
|
|
295
|
+
.button-cancel {
|
|
296
|
+
@extend .button-base;
|
|
297
|
+
background-color: var(--gnome-error);
|
|
298
|
+
background-image: linear-gradient(
|
|
299
|
+
to bottom,
|
|
300
|
+
rgba(255, 255, 255, 0.15),
|
|
301
|
+
transparent
|
|
302
|
+
);
|
|
303
|
+
color: #ffffff;
|
|
304
|
+
font-family: var(--font-main);
|
|
305
|
+
font-weight: 700;
|
|
306
|
+
font-size: var(--font-size-sm);
|
|
307
|
+
padding: 10px 20px;
|
|
308
|
+
border-radius: var(--radius-control);
|
|
309
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
310
|
+
box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(237, 51, 59, 0.35);
|
|
311
|
+
cursor: var(--cursor-pointer);
|
|
312
|
+
transition: all var(--transition-fast) var(--ease-gnome);
|
|
313
|
+
outline: none;
|
|
314
|
+
|
|
315
|
+
&:hover:not(:disabled):not(.disabled) {
|
|
316
|
+
background-color: #e01b24;
|
|
317
|
+
transform: translateY(-1px);
|
|
318
|
+
box-shadow: 0 4px 14px rgba(237, 51, 59, 0.4), inset 0 1px rgba(255, 255, 255, 0.4);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
&:active:not(:disabled):not(.disabled) {
|
|
322
|
+
background-color: #c01c28;
|
|
323
|
+
transform: translateY(0);
|
|
324
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
&:focus-visible {
|
|
328
|
+
box-shadow: 0 0 0 3px rgba(237, 51, 59, 0.4);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
&:disabled,
|
|
332
|
+
&.disabled {
|
|
333
|
+
opacity: 0.45;
|
|
334
|
+
cursor: var(--cursor-not-allowed) !important;
|
|
335
|
+
pointer-events: none;
|
|
336
|
+
transform: none !important;
|
|
337
|
+
box-shadow: none !important;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.button-group {
|
|
342
|
+
display: flex;
|
|
343
|
+
flex-direction: row;
|
|
344
|
+
align-items: center;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.base-input {
|
|
348
|
+
margin: var(--spacing-sm);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/* Translucent Glass Input */
|
|
352
|
+
.input-primary {
|
|
353
|
+
@extend .base-input;
|
|
354
|
+
|
|
355
|
+
background-color: var(--gnome-input);
|
|
356
|
+
-webkit-backdrop-filter: var(--blur-subtle);
|
|
357
|
+
backdrop-filter: var(--blur-subtle);
|
|
358
|
+
|
|
359
|
+
border: 1px solid var(--gnome-border);
|
|
360
|
+
border-radius: var(--radius-control);
|
|
361
|
+
color: var(--text-main);
|
|
362
|
+
padding: 10px 16px;
|
|
363
|
+
font-family: var(--font-main);
|
|
364
|
+
font-size: var(--font-size-sm);
|
|
365
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
366
|
+
transition: all var(--transition-fast) ease;
|
|
367
|
+
outline: none;
|
|
368
|
+
|
|
369
|
+
&::placeholder {
|
|
370
|
+
color: var(--text-secondary);
|
|
371
|
+
opacity: 0.65;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
&:hover {
|
|
375
|
+
background-color: var(--gnome-input-hover);
|
|
376
|
+
border-color: var(--gnome-border);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
&:focus {
|
|
380
|
+
background-color: var(--gnome-input-focus);
|
|
381
|
+
border-color: var(--accent);
|
|
382
|
+
box-shadow: 0 0 0 3px var(--accent-shadow);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/* Translucent Glass Select / Dropdown Control */
|
|
387
|
+
select,
|
|
388
|
+
.select-primary {
|
|
389
|
+
@extend .base-input;
|
|
390
|
+
|
|
391
|
+
display: inline-flex;
|
|
392
|
+
align-items: center;
|
|
393
|
+
background-color: var(--gnome-input);
|
|
394
|
+
-webkit-backdrop-filter: var(--blur-subtle);
|
|
395
|
+
backdrop-filter: var(--blur-subtle);
|
|
396
|
+
|
|
397
|
+
border: 1px solid var(--gnome-border);
|
|
398
|
+
border-radius: var(--radius-control);
|
|
399
|
+
color: var(--text-main);
|
|
400
|
+
padding: 10px 38px 10px 14px;
|
|
401
|
+
font-family: var(--font-main);
|
|
402
|
+
font-size: var(--font-size-sm);
|
|
403
|
+
font-weight: 500;
|
|
404
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), var(--shadow-control);
|
|
405
|
+
transition: all var(--transition-fast) var(--ease-gnome);
|
|
406
|
+
cursor: var(--cursor-pointer);
|
|
407
|
+
outline: none;
|
|
408
|
+
|
|
409
|
+
appearance: none;
|
|
410
|
+
-webkit-appearance: none;
|
|
411
|
+
-moz-appearance: none;
|
|
412
|
+
background-image: var(--select-chevron-icon);
|
|
413
|
+
background-repeat: no-repeat;
|
|
414
|
+
background-position: right 12px center;
|
|
415
|
+
background-size: 14px;
|
|
416
|
+
|
|
417
|
+
&:hover:not(:disabled) {
|
|
418
|
+
background-color: var(--gnome-input-hover);
|
|
419
|
+
border-color: var(--gnome-border-focus);
|
|
420
|
+
transform: translateY(-1px);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
&:focus {
|
|
424
|
+
background-color: var(--gnome-input-focus);
|
|
425
|
+
border-color: var(--accent);
|
|
426
|
+
box-shadow: 0 0 0 3px var(--accent-shadow);
|
|
427
|
+
transform: translateY(0);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
&:active:not(:disabled) {
|
|
431
|
+
background-color: var(--gnome-active);
|
|
432
|
+
transform: translateY(0);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
&:disabled,
|
|
436
|
+
&.disabled {
|
|
437
|
+
opacity: 0.45;
|
|
438
|
+
cursor: var(--cursor-not-allowed) !important;
|
|
439
|
+
pointer-events: none;
|
|
440
|
+
transform: none !important;
|
|
441
|
+
box-shadow: none !important;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
option,
|
|
445
|
+
optgroup {
|
|
446
|
+
background-color: var(--gnome-surface-solid, #242424);
|
|
447
|
+
color: var(--text-main, #ffffff);
|
|
448
|
+
font-family: var(--font-main);
|
|
449
|
+
font-size: var(--font-size-sm);
|
|
450
|
+
padding: 8px 12px;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/* Select Container Helper */
|
|
455
|
+
.select-wrapper {
|
|
456
|
+
position: relative;
|
|
457
|
+
display: inline-flex;
|
|
458
|
+
align-items: center;
|
|
459
|
+
max-width: 100%;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.input-primary.error,
|
|
463
|
+
.input-primary.is-invalid,
|
|
464
|
+
select.error,
|
|
465
|
+
select.is-invalid,
|
|
466
|
+
.select-primary.error,
|
|
467
|
+
.select-primary.is-invalid,
|
|
468
|
+
.is-invalid {
|
|
469
|
+
border-color: var(--gnome-error) !important;
|
|
470
|
+
box-shadow: 0 0 0 3px var(--gnome-error-bg) !important;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.input-primary.is-valid,
|
|
474
|
+
select.is-valid,
|
|
475
|
+
.select-primary.is-valid,
|
|
476
|
+
.is-valid {
|
|
477
|
+
border-color: var(--gnome-success) !important;
|
|
478
|
+
box-shadow: 0 0 0 3px var(--gnome-success-bg) !important;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/* Light Theme Option Dropdown Styling */
|
|
482
|
+
[data-theme='light'] {
|
|
483
|
+
select option,
|
|
484
|
+
select optgroup,
|
|
485
|
+
.select-primary option,
|
|
486
|
+
.select-primary optgroup {
|
|
487
|
+
background-color: #ffffff;
|
|
488
|
+
color: #1c1c1c;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/* Typography & Layout Helpers */
|
|
493
|
+
.mono-text {
|
|
494
|
+
font-family: var(--font-mono);
|
|
495
|
+
font-weight: 400;
|
|
496
|
+
font-size: 1.05rem;
|
|
497
|
+
color: var(--accent);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.flex-vertical {
|
|
501
|
+
display: flex;
|
|
502
|
+
flex-direction: column;
|
|
503
|
+
align-items: center;
|
|
504
|
+
justify-content: center;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.flex-vertical > * {
|
|
508
|
+
margin: var(--spacing-sm);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.flex-horizontal {
|
|
512
|
+
display: flex;
|
|
513
|
+
flex-direction: row;
|
|
514
|
+
align-items: center;
|
|
515
|
+
justify-content: center;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.flex-horizontal > * {
|
|
519
|
+
margin: var(--spacing-sm);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
h1, h2, h3, h4, h5, h6 {
|
|
523
|
+
margin: var(--spacing-md) var(--spacing-xl);
|
|
524
|
+
color: var(--text-main);
|
|
525
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Purity Design System - Reusable Mixins
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
@mixin glass-surface($bg: var(--gnome-surface), $blur: var(--blur-effect), $border: var(--gnome-border)) {
|
|
6
|
+
background: $bg;
|
|
7
|
+
-webkit-backdrop-filter: $blur;
|
|
8
|
+
backdrop-filter: $blur;
|
|
9
|
+
border: 1px solid $border;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin flex-center {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin flex-between {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin focus-ring($color: var(--accent), $spread: 3px) {
|
|
25
|
+
outline: none;
|
|
26
|
+
&:focus-visible {
|
|
27
|
+
box-shadow: 0 0 0 $spread rgba(53, 132, 228, 0.45);
|
|
28
|
+
border-color: $color;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@mixin button-hover-lift {
|
|
33
|
+
transition: all var(--transition-fast) var(--ease-gnome);
|
|
34
|
+
&:hover:not(:disabled):not(.disabled) {
|
|
35
|
+
transform: translateY(-1px);
|
|
36
|
+
}
|
|
37
|
+
&:active:not(:disabled):not(.disabled) {
|
|
38
|
+
transform: translateY(0);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@mixin custom-scrollbar($width: 6px) {
|
|
43
|
+
&::-webkit-scrollbar {
|
|
44
|
+
width: $width;
|
|
45
|
+
height: $width;
|
|
46
|
+
}
|
|
47
|
+
&::-webkit-scrollbar-track {
|
|
48
|
+
background: transparent;
|
|
49
|
+
}
|
|
50
|
+
&::-webkit-scrollbar-thumb {
|
|
51
|
+
background: var(--gnome-border);
|
|
52
|
+
border-radius: 999px;
|
|
53
|
+
&:hover {
|
|
54
|
+
background: var(--text-secondary);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|