-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
128 lines (109 loc) · 2.48 KB
/
style.css
File metadata and controls
128 lines (109 loc) · 2.48 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
/* GLOBAL FIX: This ensures padding doesn't expand width */
* {
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
/* Reduced slightly to fit safely inside Chrome's 800px limit */
width: 780px;
min-height: 600px;
padding: 10px;
margin: 0; /* Reset default margin */
background-color: #f4f4f9;
}
.container {
display: flex;
flex-direction: column;
gap: 8px;
}
h2 { margin: 0 0 5px 0; color: #333; font-size: 1.2em; }
.input-group { display: flex; flex-direction: column; gap: 2px; }
.row {
display: flex;
gap: 10px;
align-items: flex-end;
}
.col { flex: 1; display: flex; flex-direction: column; gap: 2px; }
textarea, input, select {
padding: 6px;
border: 1px solid #ccc;
border-radius: 4px;
width: 100%;
font-size: 13px;
}
/* Make textarea resizable only vertically */
textarea { resize: vertical; }
button#convertBtn {
padding: 8px;
background-color: #2c3e50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
width: 100%;
}
button#convertBtn:hover { background-color: #34495e; }
button#convertBtn:disabled { background-color: #95a5a6; cursor: not-allowed; }
#swapBtn {
height: 31px;
padding: 0 10px;
margin-bottom: 2px;
background-color: #ecf0f1;
color: #2c3e50;
border: 1px solid #bdc3c7;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
min-width: 40px; /* Ensures button doesn't get crushed */
}
/* Collapsible Details Styles */
.result-card {
background: white;
padding: 10px;
border: 1px solid #ddd;
border-radius: 6px;
margin-top: 5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
details {
margin-bottom: 5px;
border: 1px solid #eee;
border-radius: 4px;
}
summary {
padding: 5px 10px;
background-color: #f8f9fa;
cursor: pointer;
font-weight: bold;
font-size: 0.9em;
color: #555;
list-style: none;
}
summary::after {
content: "+";
float: right;
font-weight: bold;
}
details[open] summary::after {
content: "-";
}
.step-box {
font-family: 'Courier New', monospace;
background: #eee;
padding: 8px;
overflow-x: auto;
white-space: pre;
font-size: 11px;
margin: 0;
border-top: 1px solid #ddd;
}
.final-result { font-weight: bold; color: #27ae60; font-size: 1.1em; }
.hint { font-size: 0.8em; color: #666; font-style: italic; }
.error { color: #c0392b; font-weight: bold; }
#batchOutput {
background-color: #fafafa;
color: #333;
font-family: 'Courier New', monospace;
height: 60px;
}