-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
164 lines (141 loc) · 2.92 KB
/
styles.css
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/* Basic reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
font-family: 'Arial', sans-serif;
background-color: #f4f4f9;
}
body {
display: flex;
justify-content: center;
align-items: flex-start;
overflow-y: scroll;
}
.container {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 90%;
max-width: 1000px;
padding: 20px;
margin: 20px 0;
}
h1 {
font-size: 2.5rem;
color: #333;
}
p {
font-size: 1.1rem;
color: #666;
margin-bottom: 20px;
}
.conversion-box {
margin: 20px 0;
padding: 15px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #fafafa;
}
/* Container for the results */
.result-step {
margin-top: 20px;
background-color: #f1f1f1;
padding: 10px;
border-radius: 8px;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
text-align: left; /* Align content to the left */
}
pre {
background-color: #272822;
color: #f8f8f2;
padding: 10px;
border-radius: 5px;
overflow-x: auto;
max-height: 200px;
margin: 10px 0;
font-size: 0.9rem;
text-align: left; /* Align text to the left */
}
/* Additional styles for JSON syntax highlighting */
pre.json {
background-color: #2e3440; /* Dark background for JSON */
color: #d8dee9; /* Lighter text color */
}
/* Styles for the copy button */
.copy-button {
padding: 5px 10px;
margin-top: 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.copy-button:hover {
background-color: #0056b3;
}
button {
padding: 10px 20px;
background-color: #28a745;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:disabled {
background-color: #6c757d;
}
button:hover:not(:disabled) {
background-color: #218838;
}
span {
display: block;
margin-top: 10px;
font-size: 1rem;
font-weight: bold;
}
/* Ensure scrollability and visibility */
.container {
overflow-y: auto;
max-height: 100%;
}
body {
padding: 10px;
}
/* Progress Bar Styles */
#progressContainer {
width: 100%;
background-color: #ddd;
border-radius: 25px;
overflow: hidden;
margin: 20px 0;
height: 30px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
position: relative;
}
#progressBar {
width: 0%;
height: 100%;
background: linear-gradient(90deg, #28a745, #218838);
border-radius: 25px;
transition: width 0.4s ease;
}
#progressText {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: #000; /* Changed to black for better visibility */
font-weight: bold;
font-size: 1rem;
}
/* Spinner Cursor */
body.processing {
cursor: wait; /* Shows a spinner when processing */
}