File size: 4,052 Bytes
718aa48 6d67922 718aa48 6d67922 7545e58 718aa48 6d67922 718aa48 6d67922 718aa48 6d67922 718aa48 6d67922 718aa48 6d67922 5447bea 7545e58 6d67922 7545e58 6d67922 718aa48 7545e58 6d67922 49124bc 6d67922 7545e58 6d67922 282cafb 6d67922 8b388a7 7545e58 6d67922 8b388a7 6d67922 8b388a7 6d67922 8b388a7 6d67922 7545e58 e2d2341 6d67922 7545e58 6d67922 df13fd0 e2d2341 6d67922 df13fd0 6d67922 f7a9ecd 6d67922 7545e58 e2d2341 6d67922 75ff285 7545e58 48522da 6d67922 196a6b5 2cccc63 48522da |
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 |
/* Gruvbox Material Theme: Light & Dark */
:root {
--bg0: #f2e5bc;
--bg1: #eddeb5;
--bg-statusline1: #ebdbb2;
--bg-statusline2: #ebdbb2;
--fg0: #654735;
--fg1: #4f3829;
--blue: #45707a;
--green: #6c782e;
--purple: #945e80;
--visual_green: #d7d9ae;
--aqua: #689d6a;
}
.dark {
--bg0: #32302f;
--bg1: #3c3836;
--bg-statusline1: #3c3836;
--bg-statusline2: #46413e;
--fg0: #d4be98;
--fg1: #ddc7a1;
--blue: #7daea3;
--green: #a9b665;
--purple: #d3869b;
--visual_green: #a9b665;
--aqua: #8ec07c;
}
/* Base Styling */
body {
background-color: var(--bg0);
color: var(--fg0);
}
input, button, #chatContainer {
background-color: var(--bg1);
color: var(--fg0);
}
input::placeholder {
color: var(--fg1);
}
button {
background-color: var(--blue) !important;
color: var(--fg1) !important;
font-weight: 700;
font-size: 1rem;
letter-spacing: 0.25px;
transition: background-color 0.3s;
border: none;
}
button:hover {
background-color: var(--purple) !important;
color: var(--fg0) !important;
}
/* Config Panel Layout */
#configPanel {
max-height: 1000px;
overflow: visible;
transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
display: flex;
flex-direction: column;
gap: 1rem;
}
#configPanel > h2 {
text-align: center;
}
#configPanel .grid {
justify-items: center;
}
.model-zone {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
/* Minimal View */
#configPanel.minimal .model-label,
#configPanel.minimal .model-dropdown,
#configPanel.minimal .options {
display: none !important;
}
#configPanel.minimal .model-name {
display: inline-block;
font-weight: bold;
margin-top: 0.25rem;
}
#configPanel.minimal .loader {
display: none;
}
#configPanel.minimal .model-zone.loading .loader {
display: flex;
justify-content: center;
margin-top: 0.5rem;
}
/* Expanded View */
#configPanel.expanded .model-label,
#configPanel.expanded .model-dropdown {
display: block;
}
#configPanel.expanded .model-name {
display: none;
}
#configPanel.expanded .loader {
display: none;
}
#configPanel.expanded .model-zone.loading .loader {
display: flex;
justify-content: center;
margin-top: 0.5rem;
}
/* Dropdown */
.model-dropdown {
position: relative;
background-color: var(--bg-statusline1);
padding: 0.5rem;
border-radius: 0.5rem;
cursor: pointer;
}
.options {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
width: 240px;
z-index: 9999;
background-color: var(--bg-statusline1);
color: var(--fg0);
box-shadow: 0 4px 8px rgba(0,0,0,0.25);
border-radius: 0.5rem;
max-height: 15rem;
overflow-y: auto;
display: none;
}
.options.show {
display: block;
}
.options div {
padding: 0.5rem;
text-align: center;
cursor: pointer;
}
.options div:hover {
background-color: var(--blue);
color: var(--fg1);
font-weight: 600;
}
/* Scrollbar WebKit */
.options::-webkit-scrollbar {
width: 8px;
}
.options::-webkit-scrollbar-track {
background-color: var(--bg-statusline1);
border-radius: 0.25rem;
}
.options::-webkit-scrollbar-thumb {
background-color: #665c54;
border-radius: 4px;
border: 2px solid var(--bg-statusline1);
}
.options::-webkit-scrollbar-thumb:hover {
background-color: #7c6f64;
}
/* Loader */
.loader {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
gap: 4px;
margin-top: 4px;
}
.dot {
width: 8px;
height: 8px;
background-color: var(--aqua);
border-radius: 50%;
animation: bounce 1.4s infinite ease-in-out both;
}
.dot:nth-child(2) {
animation-delay: 0.15s;
}
.dot:nth-child(3) {
animation-delay: 0.3s;
}
@keyframes bounce {
0%, 80%, 100% { transform: scale(0); }
40% { transform: scale(1); }
}
/* Footer */
footer {
margin-top: 1rem;
padding-top: 1rem;
font-size: 0.875rem;
color: var(--fg1);
opacity: 0.7;
}
/* Chat */
#chatContainer {
position: relative;
z-index: 0;
}
#chatContainer div {
white-space: pre-wrap;
word-break: break-word;
}
|