-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
148 lines (129 loc) · 3.38 KB
/
Copy pathstyles.css
File metadata and controls
148 lines (129 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
:root {
--bg: #0f1115;
--panel: #171a21;
--muted: #a6adbb;
--text: #e6e9ef;
--accent: #8ab4f8;
--accent-2: #a78bfa;
--danger: #ef4444;
--radius: 12px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
background: radial-gradient(1200px 800px at 10% 10%, #191d26, var(--bg));
color: var(--text);
}
.app-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid #202736;
background: linear-gradient(180deg, #141821, #10131a);
}
.app-header h1 { font-size: 18px; margin: 0; font-weight: 600; }
.file-controls { display: flex; gap: 12px; align-items: center; }
.url-controls { display: flex; gap: 8px; align-items: center; }
.url-controls input[type=url] {
width: min(50vw, 360px);
background: #10141d;
border: 1px solid #2b3244;
color: var(--text);
padding: 10px 12px;
border-radius: 8px;
outline: none;
}
.upload-btn { position: relative; overflow: hidden; display: inline-flex; }
.upload-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-btn span {
background: var(--accent-2);
border: 0;
color: white;
padding: 10px 14px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
}
button {
background: #2a3142;
color: var(--text);
border: 1px solid #394259;
border-radius: 8px;
padding: 10px 12px;
cursor: pointer;
}
button:disabled { opacity: .6; cursor: not-allowed; }
.app-main { display: grid; place-items: center; padding: 24px; }
.workspace {
display: grid;
grid-template-columns: minmax(320px, 900px);
gap: 18px;
width: min(96vw, 1100px);
}
.stage-wrapper {
background: var(--panel);
border: 1px solid #252b3a;
border-radius: var(--radius);
padding: 14px;
box-shadow: 0 6px 30px rgba(0,0,0,.35);
}
.stage {
position: relative;
width: 100%;
padding-top: 100%; /* square */
overflow: hidden;
border-radius: 14px;
background: #0b0d12;
user-select: none;
}
.stage img {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
will-change: transform;
image-rendering: auto;
max-width: none; /* allow scaling beyond container */
pointer-events: none; /* dragging uses stage */
}
/* Dark overlay mask with a visible circular hole */
.mask {
position: absolute;
inset: 0;
background: radial-gradient(circle at center, transparent 41%, rgba(10,12,17,.78) 42%);
/* remove extra guide ring */
box-shadow: none;
pointer-events: none;
}
/* Hairline ring for guidance */
.circle-guide {
position: absolute;
inset: 0;
border-radius: 50%;
width: 82%;
height: 82%;
left: 9%;
top: 9%;
box-shadow: 0 0 0 2px rgba(255,255,255,.12) inset;
pointer-events: none;
}
.controls {
display: grid;
gap: 12px;
background: var(--panel);
border: 1px solid #252b3a;
border-radius: var(--radius);
padding: 14px;
}
.action-row { display: flex; gap: 8px; flex-wrap: wrap; }
.action-row button { padding: 8px 10px; }
.zoom-row { display: grid; grid-template-columns: 48px 1fr 48px; gap: 12px; align-items: center; }
.zoom-row input[type=range] { width: 100%; height: 6px; }
.meta { color: var(--muted); font-size: 13px; }
.app-footer { text-align: center; color: var(--muted); padding: 10px 0 24px; }
@media (min-width: 900px) {
.workspace { grid-template-columns: minmax(380px, 700px) 1fr; align-items: start; }
}