source: gs3-extensions/dl-chatgpt/trunk/src/react-gui/styles/Home.module.css.orig@ 38809

Last change on this file since 38809 was 38809, checked in by davidb, 4 months ago

New location for this script (previously in thewillow site); note this version has a few extra changes in it from the last commit in thewillow site version

File size: 4.1 KB
Line 
1.main {
2 display: flex;
3 flex-direction: column;
4 justify-content: space-between;
5 align-items: center;
6 padding: 2rem;
7}
8
9.header {
10 width: auto;
11}
12
13.header p {
14 text-align: center;
15}
16
17.topnav {
18 background-color: #1d2333;
19 border-bottom: 1px solid #30373d;
20 display: flex;
21 justify-content: space-between;
22 padding: 1rem 0.75rem 1rem 0.75rem;
23 align-items: center;
24}
25
26.navlogo, .navlinks a {
27 font-weight: 500;
28}
29
30.navlogo {
31 font-size: 1.25rem;
32 margin-left: 1rem;
33}
34
35.navlinks {
36 width: 20rem;
37 display: flex;
38 justify-content: space-evenly;
39 align-items: center;
40}
41
42.apptitle {
43 font-size: 2.5rem;
44 font-weight: 500;
45 display: flex;
46 justify-content: center;
47}
48
49.appdescription {
50 font-size: 1.1rem;
51 margin: 1rem;
52}
53
54.link {
55 font-weight: 500;
56}
57
58.cloudform {
59 position: relative;
60}
61
62.textarea {
63 position: relative;
64 resize: none;
65 font-size: 1.1rem;
66 padding: 1rem 2rem 1rem 2rem;
67 width: 75vw;
68 border-radius: 0.5rem;
69 border: 1px solid #30373d;
70 background: #0e1524;
71 color: #ECECF1;
72 outline: none;
73}
74
75.textarea:disabled {
76 opacity: 0.5;
77}
78
79.textarea::placeholder {
80 color: #5f6368;
81}
82
83.generatebutton {
84 position: absolute;
85 top: 0.87rem;
86 right: 1rem;
87 color: rgb(165, 162, 162);
88 background: none;
89 padding: 0.3rem;
90 border: none;
91 display: flex;
92}
93
94.loadingwheel {
95 position: absolute;
96 top: 0.2rem;
97 right: 0.25rem;
98}
99
100.svgicon {
101 transform: rotate(90deg);
102 width: 1.2em;
103 height: 1.2em;
104 fill: currentColor;
105}
106
107.generatebutton:hover {
108 background: #1f2227;
109 border-radius: 0.2rem;
110}
111
112.generatebutton:disabled {
113 opacity: 0.9;
114 cursor: not-allowed;
115 background: none;
116}
117
118.messagelist {
119 width: 100%;
120 height: 100%;
121 overflow-y: scroll;
122 border-radius: 0.5rem;
123}
124
125.messagelistloading {
126 display: flex;
127 width: 100%;
128 justify-content: center;
129 margin-top: 1rem;
130}
131
132.usermessage {
133 background: #0e1524;
134 padding: 1.5rem;
135 color: #ECECF1;
136}
137
138.usermessagewaiting{
139 padding: 1.5rem;
140 color: #ECECF1;
141 background: linear-gradient(to left, #0e1524, #172036, #0e1524);
142 background-size: 200% 200%;
143 background-position: -100% 0;
144 animation: loading-gradient 2s ease-in-out infinite;
145 animation-direction: alternate;
146 animation-name: loading-gradient;
147}
148
149@keyframes loading-gradient {
150 0% {
151 background-position: -100% 0;
152 }
153 100% {
154 background-position: 100% 0;
155 }
156}
157
158.apimessage {
159 background: #1d2333;
160 padding: 1.5rem;
161 color: #ECECF1;
162 animation: fadein 0.5s;
163}
164
165@keyframes fadein {
166 from { opacity: 0; }
167 to { opacity: 1; }
168}
169
170.apimessage, .usermessage, .usermessagewaiting {
171 display: flex;
172}
173
174.markdownanswer {
175 line-height: 1.75;
176}
177
178.markdownanswer a:hover {
179 opacity: 0.8;
180}
181
182.markdownanswer a {
183 color: #16bed7;
184 font-weight: 500;
185}
186
187.markdownanswer code {
188 color: #15cb19;
189 font-weight: 500;
190 white-space: pre-wrap !important;
191}
192
193.markdownanswer ol, .markdownanswer ul {
194 margin: 1rem;
195}
196
197.boticon, .usericon {
198 margin-right: 1rem;
199 border-radius: 0.1rem;
200}
201
202.markdownanswer h1, .markdownanswer h2, .markdownanswer h3 {
203 font-size: inherit;
204}
205
206
207.center {
208 display: flex;
209 justify-content: center;
210 align-items: center;
211 position: relative;
212 padding: 2rem 0;
213 flex-direction: column;
214}
215
216.cloud {
217 width: 75vw;
218 height: 65vh;
219 background: #0e1524;
220 border-radius: 0.5rem;
221 border: 1px solid #30373d;
222 display: flex;
223 justify-content: center;
224 align-items: center;
225}
226
227.pointsnormal {
228 width: 90%;
229 height: 90%;
230}
231
232.pointsdim {
233 width: 90%;
234 height: 90%;
235 opacity: 0.25;
236}
237
238.footer {
239 color: #5f6368;
240 font-size: 0.8rem;
241 margin: 1.5rem;
242}
243
244.footer a {
245 font-weight: 500;
246 color: #7a7d81;
247}
248
249.footer a:hover {
250 opacity: 0.8;
251}
252
253/* Mobile optimization */
254@media (max-width: 600px) {
255
256 .main {
257 padding: 1rem;
258 max-height: 90vh;
259 }
260
261 .cloud {
262 width: 22rem;
263 height: 28rem;
264 }
265 .textarea {
266 width: 22rem;
267 }
268 .topnav {
269 border: 1px solid black;
270 align-items: center;
271 padding: 0.85rem 0.75rem 0.85rem 0.75rem;
272 }
273
274.navlogo {
275 font-size: 1.25rem;
276 width: 20rem;
277}
278
279.markdownanswer code {
280 white-space : pre-wrap !important;
281}
282
283.footer {
284 font-size: 0.7rem;
285 width: 100%;
286 text-align: center;
287}
288}
Note: See TracBrowser for help on using the repository browser.