Spaces:
Running
Running
.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 ; | |
visibility: hidden ; | |
height: 0 ; | |
padding: 0 ; | |
margin: 0 ; | |
} | |
/* Textarea ์คํ์ผ๋ง */ | |
#component-0 textarea, | |
.gradio-container textarea, | |
.ant-input-textarea-large textarea { | |
height: 300px ; | |
min-height: 300px ; | |
max-height: none ; | |
resize: vertical ; | |
} | |
#component-0 .ant-input-textarea, | |
.gradio-container .ant-input-textarea, | |
.ant-input-textarea-large { | |
height: auto ; | |
min-height: 300px ; | |
} | |
/* 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 ; | |
padding: 10px ; | |
white-space: normal ; | |
line-height: 1.5 ; | |
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 ; | |
} /* ์ค๊ดํธ ๋ซ๊ธฐ ์ถ๊ฐ */ | |
/* ์ธ์ ๋๋ก์ด ๊ด๋ จ ์คํ์ผ */ | |
.session-drawer .chatbot { | |
height: calc(100vh - 200px); | |
overflow-y: auto; | |
} | |
.session-list { | |
margin-bottom: 1rem; | |
} | |
.close-btn { | |
margin-top: 1rem; | |
} |