File size: 4,133 Bytes
3878434 0f7f02e 3878434 1bac084 3878434 c6255a0 b98c9c4 74ca01d 5976ead c6255a0 74ca01d c6255a0 635a5d9 5976ead cdfac48 be9a586 5976ead cdfac48 1bac084 0f7f02e ca5fdac 1bac084 ca5fdac 1bac084 ca5fdac 1bac084 ca5fdac 79c24bb ca5fdac 6524333 79c24bb ab921a6 79c24bb 6524333 79c24bb 6524333 042c5d8 ca5fdac 763f7a0 66138a0 763f7a0 66138a0 763f7a0 66138a0 763f7a0 66138a0 4fd85ad f2615df 763f7a0 |
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 |
.left_header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.render_header {
height: 30px;
width: 100%;
padding: 5px 16px;
background-color: #f5f5f5;
margin-top: 50px;
}
.header_btn {
display: inline-block;
height: 10px;
width: 10px;
border-radius: 50%;
margin-right: 4px;
}
.render_header > .header_btn:nth-child(1) {
background-color: #f5222d;
}
.render_header > .header_btn:nth-child(2) {
background-color: #faad14;
}
.render_header > .header_btn:nth-child(3) {
background-color: #52c41a;
}
.right_content {
height: 920px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.history_chatbot button {
background: none;
border: none;
}
/* Footer ์จ๊ธฐ๊ธฐ */
footer, .footer, div[class*="footer"], #footer {
display: none !important;
visibility: hidden !important;
height: 0 !important;
padding: 0 !important;
margin: 0 !important;
}
/* Textarea ์คํ์ผ๋ง */
#component-0 textarea,
.gradio-container textarea,
.ant-input-textarea-large textarea {
height: 300px !important;
min-height: 300px !important;
max-height: none !important;
resize: vertical !important;
}
#component-0 .ant-input-textarea,
.gradio-container .ant-input-textarea,
.ant-input-textarea-large {
height: auto !important;
min-height: 300px !important;
}
/* Setting ๋ฒํผ ์คํ์ผ๋ง */
.setting-buttons {
position: absolute;
top: 0;
right: 0;
z-index: 1000;
display: flex;
gap: 8px;
padding: 10px;
background-color: white;
}
/* ์ฐ์ธก ํจ๋ ์คํ์ผ๋ง */
.right_panel {
position: relative;
min-height: 600px;
padding-top: 50px;
}
.html_content {
height: 100%;
}
/* ๋ฒํผ ์ปจํ
์ด๋ ์คํ์ผ๋ง */
.ant-flex {
width: 100%;
}
/* ๋ฒํผ ์คํ์ผ๋ง */
.ant-btn {
flex: 1;
min-width: 80px;
}
.ant-btn-primary {
background-color: #1890ff;
}
.ant-btn-default:hover {
color: #1890ff;
border-color: #1890ff;
}
/* Code ์คํ ๋ฒํผ ํน๋ณ ์คํ์ผ */
.ant-btn-default[title="Code ์คํ"] {
background-color: #52c41a;
color: white;
border: none;
}
.ant-btn-default[title="Code ์คํ"]:hover {
background-color: #73d13d;
color: white;
}
/* Example ๋ฒํผ ์คํ์ผ๋ง */
.ant-btn-block {
margin-top: 8px;
text-align: left;
height: auto !important;
padding: 10px !important;
white-space: normal !important;
line-height: 1.5 !important;
transition: all 0.3s ease;
}
.ant-btn-block:hover {
background-color: #f0f0f0;
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* ๋ฒํผ ์ฌ์ด ๊ฐ๊ฒฉ */
.ant-btn-block + .ant-btn-block {
margin-top: 6px;
}
.ant-row {
margin: 0 !important;
} /* ์ค๊ดํธ ๋ซ๊ธฐ ์ถ๊ฐ */
/* ์ธ์
๋๋ก์ด ๊ด๋ จ ์คํ์ผ */
.session-drawer .chatbot {
height: calc(100vh - 200px);
overflow-y: auto;
}
.session-list {
margin-bottom: 1rem;
}
.close-btn {
margin-top: 1rem;
}
.session-history {
height: 700px;
overflow-y: auto;
}
.prompt-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
padding: 20px;
}
.prompt-card {
background: white;
border: 1px solid #eee;
border-radius: 8px;
padding: 15px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.prompt-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
#code-display {
margin-top: 20px;
padding: 20px;
background: #f5f5f5;
border-radius: 8px;
font-family: monospace;
white-space: pre-wrap;
}
#code-display.visible {
display: block;
}
.session-history {
height: 700px;
overflow-y: auto;
}
.prompt-card {
background: white;
border: 1px solid #eee;
border-radius: 8px;
padding: 15px;
cursor: pointer;
transition: all 0.3s ease;
}
.prompt-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
#code-display {
display: none;
} |