-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
254 lines (220 loc) · 4.86 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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
/* styles.css */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
max-width: 900px;
margin: auto;
padding: 20px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
}
h1 {
text-align: center;
color: #333;
}
.settings-icon {
cursor: pointer;
font-size: 24px;
color: #333;
transition: color 0.3s;
}
.settings-icon:hover {
color: #1f77b4; /* Change color on hover */
}
.input-section {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
gap: 10px; /* Space between elements */
}
#search-input {
width: 50%;
padding: 10px;
font-size: 16px;
border: 2px solid #555;
border-radius: 4px;
outline: none;
}
#search-button,
#clear-button {
padding: 10px 20px;
font-size: 16px;
border: 2px solid #555;
background-color: #555;
color: #fff;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.3s;
}
#search-button:hover,
#clear-button:hover {
background-color: #333;
}
/* Description Section Styling */
.description {
max-width: 700px;
margin: 0 auto 20px auto;
padding: 15px;
background-color: #ffffff;
border-left: 5px solid #1f77b4; /* Accent color matching the first token color */
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.description p {
margin: 0;
color: #555;
line-height: 1.6;
font-size: 16px;
}
.description p strong {
color: #1f77b4; /* Highlighting the tool's name with the first token color */
}
/* API Selection Section Styling */
.api-selection {
max-width: 700px;
margin: 0 auto 20px auto;
padding: 10px 15px;
background-color: #ffffff;
border-left: 5px solid #17becf; /* Accent color for API selection */
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.api-selection label {
margin-right: 10px;
font-weight: bold;
color: #333;
}
#api-selector {
padding: 8px;
font-size: 16px;
border: 2px solid #555;
border-radius: 4px;
outline: none;
}
/* Removed API Key Input Section Styling */
/* Tokens and Tiles */
.tokens-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin-bottom: 20px;
}
.token {
padding: 5px 10px;
border-radius: 15px;
color: #fff;
font-weight: bold;
display: flex;
align-items: center;
}
.tiles-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}
.tile {
padding: 10px 15px;
background-color: #e0e0e0;
border-radius: 4px;
cursor: pointer;
transition: opacity 0.3s;
position: relative;
color: #fff;
font-weight: bold;
text-align: center;
min-width: 100px;
display: flex;
align-items: center;
justify-content: center;
}
.tile:hover {
opacity: 0.8;
}
.no-synonym {
background-color: #ffcccc;
color: #800000;
cursor: default;
}
/* Modal Styling */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
.modal-content {
background-color: #fefefe;
margin: 10% auto; /* 10% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 400px; /* Could be more or less, depending on screen size */
border-radius: 4px;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.close-button {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close-button:hover,
.close-button:focus {
color: black;
text-decoration: none;
}
/* Settings Modal Elements */
#settings-modal h2 {
margin-top: 0;
}
#settings-modal label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #333;
}
#user-api-key {
width: 100%;
padding: 8px;
font-size: 16px;
border: 2px solid #555;
border-radius: 4px;
outline: none;
margin-bottom: 15px;
}
#save-settings {
padding: 10px 20px;
font-size: 16px;
border: none;
background-color: #1f77b4;
color: #fff;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.3s;
}
#save-settings:hover {
background-color: #155a8a;
}
@media (max-width: 600px) {
#search-input {
width: 60%;
}
#search-button,
#clear-button {
padding: