-
Notifications
You must be signed in to change notification settings - Fork 6
/
options.css
247 lines (205 loc) · 5.6 KB
/
options.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
.GPTExtensionbody {
font-family: sans-serif;
margin: 0;
padding: 0;
background-color: #E9E9CA;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.GPTExtensionh1 {
margin-bottom: 5px;
font-size: 36px;
text-align: center;
}
.GPTExtensionForm {
background-color: #ffffcc;
padding: 5px;
border-radius: 5px;
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
margin: 0 auto;
width: 590px;
resize: both;
/* enable resizing for form */
overflow: auto;
/* add overflow to show scrollbars when form is resized */
}
.GPTExtensionlabel {
display: inline-block;
width: 80%;
margin-bottom: 5px;
font-weight: bold;
height: 5%;
/* adjust height for label */
}
.GPTExtensioninput[type=text] {
width: 100%;
}
.GPTExtensioninput[type=password] {
width: 100%;
}
.GPTExtensionnameinput[type=text] {
width: 30%;
font-weight: bold;
}
.GPTExtensioninput[type=text],
.GPTExtensioninput[type=password],
.GPTExtensionnameinput[type=text],
.GPTExtensionselect,
.GPTExtensiontextarea {
margin-bottom: 1%;
/* adjust margin for inputs, select, and buttons */
font-size: 1em;
display: block;
padding: 5px;
border: 2px solid #ccc;
background-color: #ffffe9;
color: #111;
border-radius: 5px;
box-sizing: border-box;
}
.GPTExtensionrespons-container {
border: 1px solid #ccc;
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.GPTExtensionrespons-checkbox {
display: inline-block;
vertical-align: top;
margin-right: 10px;
}
.GPTExtensionrole {
display: inline-block;
width: 32px;
height: 32px;
vertical-align: top;
background-color: #F3F8D7;
margin-right: 10px;
}
.GPTExtensionrole img {
width: 100%;
height: 100%;
}
.GPTExtensioncontext {
display: inline-block;
width: calc(100% - 42px);
vertical-align: top;
}
.GPTExtensionlabel {
display: inline-block;
width: 80%;
margin-bottom: 5px;
font-weight: bold;
}
.GPTExtensiontextareablur {
display: block;
width: 100%;
padding: 5px;
margin-bottom: 5px;
border: 2px solid #ccc;
background-color: #ffffe9;
color: #111;
border-radius: 5px;
box-sizing: border-box;
font-size: 1em;
height: calc(1em + 15px);
/* Set initial height to one line */
resize: none;
/* Prevent resizing */
}
.GPTExtensionresponse {
background-color: #ffffe9;
color: #111;
width: 100%;
border: 1px solid #ccc;
height: 40%;
overflow: auto;
max-height: 40%;
box-sizing: border-box;
}
.GPTExtensiontextarea {
width: 100%;
padding: 5px;
border: 1px solid #ccc;
border-radius: 1px;
box-sizing: border-box;
margin-bottom: 5px;
background-color: #ffffe9;
color: #111;
height: 30%;
resize: none;
}
.GPTExtensionselect {
display: block;
padding: 5px;
margin-bottom: 5px;
border: 1px solid #ccc;
background-color: #ffffe9;
color: #111;
border-radius: 1px;
box-sizing: border-box;
display: inline-block;
font-weight: bold;
}
.GPTExtensionimg {
padding: 5px;
margin-top: 5px;
position: absolute;
top: 0;
right: 0;
}
#copyButton,
#copyToEditButton {
cursor: pointer;
/* change the cursor to a pointer when hovering over the image */
border: none;
/* remove the default border */
background: transparent;
/* make the background transparent */
}
#copyButton,
#copyToEditButton:hover {
opacity: 0.8;
/* reduce the opacity of the image when the mouse hovers over it */
}
.GPTExtensionbutton {
display: block;
background-color: #4285f4;
color: #ffffff;
border: none;
border-radius: 1px;
padding: 5px 5px;
margin-bottom: 1px;
margin-left: 5px;
cursor: pointer;
}
.GPTExtensionbutton:hover {
background-color: #3c78d8;
}
.GPTExtensionbutton:active {
background-color: #2c5ca6;
}
.GPTExtensionbutton-container {
display: flex;
justify-content: space-between;
align-items: center;
}
#pinicon {
margin: 0 auto; /* centers the pin icon */
}
#importcontexticon,
#exportcontexticon,
#optionsbutton {
margin-left: 10px; /* aligns the icons to the right */
}
#GPTExtensionprofiles-list {
margin: 0px;
padding-left: 25px;
}
.GPTExtensionli {
position: relative;
padding-left: 0px;
cursor: pointer;
}