-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlight.css
108 lines (100 loc) · 3.1 KB
/
light.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
body {
padding: 10px;
font-family: Montserrat, Helvetica, sans-serif;
background-color: #f2f2f2;
}
h1 {
text-align: center;
font-size: 2rem;
font-weight: 300;
color: #545454;
margin-bottom: 20px;
margin-top: 20px;
}
#chatlog {
border: 1px solid #ddd;
border-radius: 4px;
padding: 1rem;
margin: 1rem 0;
overflow: auto;
color:#545454;
}
#settings {
text-align: center;
font-size: 0.8rem;
color: #979797;
margin-bottom: 22px;
margin-top: 0px;
}
label {
display: block;
margin-top: 1rem;
font-weight: bold;
}
input[type="text"] {
padding: 1rem;
font-size: 1rem;
border: 1px solid #ddd;
border-radius: 4px;
margin-top: 0.5rem;
margin-right: 2px;
width: 50%;
}
button {
padding: 1rem;
font-size: 1rem;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 4px;
margin-top: 1rem;
margin-right: 1px;
cursor: pointer;
}
button:hover {
background-color: #0069d9;
}
#model-select {
padding: 1rem;
font-size: 1rem;
border: 1px solid #ddd;
border-radius: 4px;
margin-top: 1rem;
width: 480px;
}
@keyframes spinner {
to {transform: rotate(360deg);}
}
.spinner:before {
content: '';
float: right;
box-sizing: border-box;
width: 80px;
height: 40px;
aspect-ratio: 2;
--c: no-repeat linear-gradient(#878787 0 0);
background: var(--c), var(--c), var(--c), var(--c), var(--c), var(--c), var(--c);
animation: l4-1 1.5s infinite, l4-2 1.5s infinite;
}
@keyframes l4-1 {
0% {background-size: 0 4px,4px 0 ,0 4px,4px 0 ,0 4px,4px 0 ,0 4px}
7.14% {background-size: 25% 4px,4px 0 ,0 4px,4px 0 ,0 4px,4px 0 ,0 4px}
14.29% {background-size: 25% 4px,4px 50%,0 4px,4px 0 ,0 4px,4px 0 ,0 4px}
21.43% {background-size: 25% 4px,4px 50%,25% 4px,4px 0 ,0 4px,4px 0 ,0 4px}
28.57% {background-size: 25% 4px,4px 50%,25% 4px,4px 100%,0 4px,4px 0 ,0 4px}
35.71% {background-size: 25% 4px,4px 50%,25% 4px,4px 100%,25% 4px,4px 0 ,0 4px}
42.86% {background-size: 25% 4px,4px 50%,25% 4px,4px 100%,25% 4px,4px 50%,0 4px}
49%,
51% {background-size: 25% 4px,4px 50%,25% 4px,4px 100%,25% 4px,4px 50%,25% 4px}
57.14% {background-size: 0 4px,4px 50%,25% 4px,4px 100%,25% 4px,4px 50%,25% 4px}
64.29% {background-size: 0 4px,4px 0 ,25% 4px,4px 100%,25% 4px,4px 50%,25% 4px}
71.43% {background-size: 0 4px,4px 0 ,0 4px,4px 100%,25% 4px,4px 50%,25% 4px}
78.57% {background-size: 0 4px,4px 0 ,0 4px,4px 0 ,25% 4px,4px 50%,25% 4px}
85.71% {background-size: 0 4px,4px 0 ,0 4px,4px 0 ,0 4px,4px 50%,25% 4px}
92.86% {background-size: 0 4px,4px 0 ,0 4px,4px 0 ,0 4px,4px 0 ,25% 4px}
100% {background-size: 0 4px,4px 0 ,0 4px,4px 0 ,0 4px,4px 0 ,0 4px}
}
@keyframes l4-2 {
0%,49.9% {background-position:0 50%,bottom 20px left 16px,20px 0,50% 0,40px 100%,bottom 0 right 16px,60px 50% }
50%,100% {background-position:right 60px top 50%,16px 0,right 40px top 0,50% 100%,right 20px bottom 0,right 16px top 20px,100% 50%}
}