-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
130 lines (111 loc) · 2.56 KB
/
styles.css
File metadata and controls
130 lines (111 loc) · 2.56 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
body {
font-family: 'Inter', sans-serif;
background-color: #1c1917;
color: #f5f5f4;
overscroll-behavior: none;
}
.editor-container { max-width: 1400px;}
.bg-panel { background-color: #292524;}
.text-accent { color: #f59e0b;}
/* Canvas styles */
#gridCanvas, #playerCanvas {
border: 2px solid #a1a1aa;
background-color: #e5e5e5;
touch-action: none;
image-rendering: crisp-edges;
image-rendering: pixelated;
width: 100%;
height: auto;
cursor: crosshair;
}
/* Tab styles */
.tab-group {
display: flex;
padding: 0.25rem;
background-color: #1c1917;
border-radius: 0.5rem;
margin-bottom: 1.5rem;
border: 1px solid #44403c;
gap: 0.25rem;
}
.tab-btn {
flex: 1;
padding: 0.5rem 1rem;
font-size: 0.875rem;
font-weight: 700;
color: #a8a29e;
border-radius: 0.375rem;
transition: all 0.2s;
border: none;
background: transparent;
cursor: pointer;
outline: none;
}
.tab-btn:hover {
color: #e7e5e4;
background-color: #292524;
}
.tab-btn.active-tab {
background-color: #44403c;
color: #f59e0b;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
outline: 1px solid #57534e;
}
/* Tool active state - Boxy and defined */
.tool-btn {
background-color: #44403c;
color: #e7e5e4;
transition: background-color 150ms;
border: 2px solid #57534e;
border-radius: 0.375rem;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.25rem;
font-weight: 700;
cursor: pointer;
}
.tool-btn.active {
box-shadow: 0 0 0 3px #f59e0b;
background-color: #f59e0b;
color: #1c1917;
border-color: #f59e0b;
}
/* Layer/Frame item focus/active */
.item {
border-radius: 0.375rem;
transition: duration 100ms;
}
.item.active {
background-color: #44403c;
border-left: 4px solid #f59e0b;
}
/* Utility and Export buttons */
.action-btn, .export-control-btn {
padding: 0.5rem 1rem;
font-weight: 600;
border-radius: 0.375rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
transition: background-color 200ms;
font-size: 0.875rem;
border: 2px solid #78716c;
cursor: pointer;
background-color: transparent;
color: #f5f5f4;
}
.action-btn:hover, .export-control-btn:hover {
background-color: #44403c;
}
.item:hover:not(.active) {
background-color: #292524;
}
/* Input fields */
input[type="number"] {
@apply rounded-md;
}
/* Output text */
.pixel-output {
font-family: monospace;
white-space: pre-wrap;
word-wrap: break-word;
}