-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (103 loc) · 1.89 KB
/
style.css
File metadata and controls
119 lines (103 loc) · 1.89 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
:root {
--bg: #fff;
--fg: #111;
--muted: #666;
--accent: #115;
--val-sel-bg: rgba(211, 51, 51, 0.12);
--col-sel-bg: rgba(0, 250, 0, 0.22);
}
body {
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
background: var(--bg);
color: var(--fg);
margin: 20px;
}
.container {
max-width: 980px;
margin: 0 auto;
}
h1 {
font-size: 18px;
margin: 0 0 12px 0;
}
.controls {
margin-bottom: 8px;
display: flex;
gap: 8px;
align-items: center;
}
button {
padding: 6px 10px;
font-size: 14px;
cursor: pointer;
}
.msg {
color: var(--muted);
font-size: 13px;
}
label {
display: block;
margin-bottom: 6px;
color: var(--muted);
}
textarea {
width: 100%;
min-height: 160px;
font-family: monospace;
font-size: 13px;
line-height: 1.4;
padding: 10px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 6px;
resize: vertical;
}
.hidden {
display: none;
}
#rendered {
font-family: monospace;
white-space: pre-wrap;
word-break: break-word;
padding: 10px;
border: 1px solid #e2e2e2;
border-radius: 6px;
min-height: 120px;
position: relative;
background: #fafafa;
}
/* column name style */
.col-name {
cursor: pointer;
color: var(--muted);
background: transparent;
padding: 2px 4px;
border-radius: 4px;
margin-right: 4px;
display: inline-block;
}
.col-name:hover {
background: #eee;
color: var(--fg);
}
/* value tokens */
.val {
color: var(--fg);
}
.val.highlight {
background: var(--val-sel-bg);
border-radius: 3px;
padding: 0 2px;
}
/* selected column indicator */
.col-name.selected {
background: var(--col-sel-bg);
color: var(--accent);
font-weight: 600;
}
/* small hint text */
.hint {
margin-top: 8px;
color: var(--muted);
font-size: 13px;
}