Spaces:
Sleeping
Sleeping
File size: 3,414 Bytes
075a2b6 |
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 |
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #1a1a1a;
}
body {
margin: 0;
}
/* New 3-Panel Grid Layout */
.app-container {
display: grid;
grid-template-columns: 320px 1fr 400px; /* System | Main | Knowledge */
grid-template-rows: auto 1fr; /* Header | Content */
grid-template-areas:
"header header header"
"system-panel main-panel knowledge-panel";
height: 100vh;
width: 100vw;
overflow: hidden;
}
.app-header {
grid-area: header;
padding: 1rem 2rem;
border-bottom: 1px solid #333;
background-color: #242424;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.tagline {
color: #888;
font-size: 0.9rem;
margin: 0.2rem 0 0 0;
}
.system-panel,
.main-panel,
.knowledge-panel {
padding: 1rem;
overflow-y: auto;
height: calc(100vh - 80px); /* Adjust based on header height */
}
.system-panel {
grid-area: system-panel;
background-color: #202020;
border-right: 1px solid #333;
}
.main-panel {
grid-area: main-panel;
display: flex;
flex-direction: column;
}
.knowledge-panel {
grid-area: knowledge-panel;
background-color: #202020;
border-left: 1px solid #333;
}
.panel-section {
margin-bottom: 2rem;
border: 1px solid #333;
border-radius: 8px;
padding: 1rem;
}
.panel-section h3 {
margin-top: 0;
color: #00aaff;
}
/* General Component Styles */
button {
padding: 10px 20px;
border-radius: 6px;
border: 1px solid transparent;
background-color: #007acc;
color: white;
font-size: 1em;
font-weight: 500;
cursor: pointer;
transition: all 0.15s ease;
user-select: none;
}
button:disabled {
background-color: #444;
cursor: not-allowed;
opacity: 0.6;
}
button:hover:not(:disabled) {
background-color: #0099e6;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 122, 204, 0.3);
}
button:active:not(:disabled) {
transform: translateY(0) scale(0.98);
box-shadow: 0 1px 4px rgba(0, 122, 204, 0.2);
}
input, select, textarea {
width: 100%;
padding: 10px 15px;
border-radius: 6px;
border: 1px solid #555;
background-color: #333;
color: white;
font-size: 1em;
box-sizing: border-box;
}
/* Chat/Inference Styles (re-purposed) */
.chat-container {
display: flex;
flex-direction: column;
height: 100%;
}
.messages {
flex-grow: 1;
overflow-y: auto;
padding-right: 10px;
margin-bottom: 1rem;
}
.message {
margin-bottom: 1.5rem;
padding: 1rem;
border-radius: 8px;
line-height: 1.6;
}
.question {
background-color: #3a3a3a;
align-self: flex-end;
max-width: 80%;
margin-left: auto;
}
.response {
background-color: #2a2a2a;
border: 1px solid #4a4a4a;
max-width: 95%;
}
.input-area {
margin-top: 1rem;
display: flex;
gap: 10px;
}
/* Save button disabled state */
.save-btn:disabled {
background-color: #555;
cursor: not-allowed;
}
/* Loading Dots Animation */
.loading-dots {
display: inline-block;
width: 1.5em; /* Adjust as needed */
text-align: left;
}
.loading-dots span {
animation: blink 1.4s infinite;
}
.loading-dots span:nth-child(2) {
animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes blink {
0% { opacity: 0.2; }
20% { opacity: 1; }
100% { opacity: 0.2; }
}
|