-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathwebrepl.css
More file actions
140 lines (122 loc) · 2.78 KB
/
webrepl.css
File metadata and controls
140 lines (122 loc) · 2.78 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
:root {
color-scheme: light;
--bg: #ffffff;
--panel: #f6f7f9;
--panel-border: #e1e5ea;
--text: #1c1f24;
--muted: #5c6572;
--accent: #f0a010;
--accent-hover: #e08f00;
--accent-active: #cc7f00;
--shadow: 0 10px 30px rgba(19, 27, 43, 0.08);
--radius: 12px;
--focus-ring: 0 0 0 3px rgba(240, 160, 16, 0.3);
}
* {
box-sizing: border-box;
}
html {
background: var(--bg);
}
body {
margin: 0;
padding: 24px 28px 32px;
font: 16px/1.6 "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
color: var(--text);
background: var(--bg);
}
h1 {
margin: 0 0 20px;
font: 600 24px/1.3 "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
color: var(--text);
}
form {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
margin-bottom: 16px;
}
/* Fixed-height wrapper keeps the terminal footprint stable; rows are computed from this height. */
#term-wrapper {
height: 420px;
}
/* Terminal fills the wrapper; row count is recalculated on load/resize only. */
#term {
height: 100%;
border-radius: var(--radius);
border: 1px solid var(--panel-border);
background: #0f141b;
color: #f1f5f9;
padding: 8px;
box-shadow: var(--shadow);
overflow: hidden;
}
#file-boxes {
margin-left: 20px;
}
.file-box {
margin: 0 0 16px;
padding: 14px 16px 16px;
background: var(--panel);
border: 1px solid var(--panel-border);
border-radius: var(--radius);
box-shadow: var(--shadow);
display: grid;
gap: 10px;
}
.file-box strong {
font-size: 15px;
}
#file-status {
color: var(--muted);
font-size: 14px;
}
input[type="text"],
input[type="file"] {
width: 100%;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid var(--panel-border);
background: #ffffff;
color: var(--text);
font-size: 14px;
}
input[type="text"]:focus,
input[type="file"]:focus {
outline: none;
border-color: var(--accent);
box-shadow: var(--focus-ring);
}
input[type="submit"],
input[type="button"] {
padding: 10px 16px;
border-radius: 999px;
border: none;
background: var(--accent);
color: #1a1200;
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
box-shadow: 0 8px 18px rgba(240, 160, 16, 0.35);
}
input[type="submit"]:hover,
input[type="button"]:hover {
background: var(--accent-hover);
transform: translateY(-1px);
}
input[type="submit"]:active,
input[type="button"]:active {
background: var(--accent-active);
transform: translateY(0);
}
input[type="submit"]:focus,
input[type="button"]:focus {
outline: none;
box-shadow: var(--focus-ring);
}
i {
color: var(--muted);
font-size: 13px;
}