-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
129 lines (110 loc) · 1.83 KB
/
Copy pathstyles.css
File metadata and controls
129 lines (110 loc) · 1.83 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
:root {
color-scheme: light;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: #f4f6f8;
color: #1d242d;
}
.app {
display: grid;
gap: 1rem;
grid-template-columns: minmax(280px, 360px) 1fr;
min-height: 100vh;
padding: 1rem;
}
.panel,
.workspace {
background: #ffffff;
border: 1px solid #d7dde5;
border-radius: 10px;
padding: 1rem;
}
.panel h1 {
margin: 0 0 0.5rem;
font-size: 1.2rem;
}
.hint {
margin: 0 0 1rem;
color: #4c5a68;
font-size: 0.92rem;
}
.field-label {
display: block;
font-weight: 600;
margin-bottom: 0.35rem;
margin-top: 0.8rem;
}
.row {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.85rem;
flex-wrap: wrap;
}
.controls-row {
display: grid;
grid-template-columns: auto 1fr auto auto;
gap: 0.5rem;
align-items: center;
margin-top: 0.85rem;
}
.controls-row input[type="color"] {
width: 48px;
height: 32px;
padding: 0;
border: none;
background: none;
}
textarea,
input[type="file"],
button {
width: 100%;
font: inherit;
}
textarea {
resize: vertical;
border-radius: 8px;
border: 1px solid #b6c0cb;
padding: 0.6rem;
}
button {
width: auto;
border: 1px solid #8b96a3;
border-radius: 8px;
padding: 0.45rem 0.7rem;
background: #f7f9fb;
cursor: pointer;
}
button:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.status {
margin-top: 1rem;
min-height: 1.2rem;
font-size: 0.92rem;
}
.status.error {
color: #aa1e28;
}
.workspace {
overflow: auto;
}
#editorCanvas {
display: block;
max-width: 100%;
height: auto;
border: 1px dashed #9bacbd;
background: repeating-conic-gradient(#fbfdff 0% 25%, #f0f5fa 0% 50%) 50% / 18px 18px;
cursor: crosshair;
}
@media (max-width: 980px) {
.app {
grid-template-columns: 1fr;
}
}