mouse-web / app.css
seawolf2357's picture
Update app.css
be9a586 verified
raw
history blame
2.79 kB
.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;
}
.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;
}
/* textarea์˜ ๋ถ€๋ชจ ์ปจํ…Œ์ด๋„ˆ๋„ ํ•จ๊ป˜ ์กฐ์ • */
#component-0 .ant-input-textarea,
.gradio-container .ant-input-textarea,
.ant-input-textarea-large {
height: auto !important;
min-height: 300px !important;
}
/* Setting ๋ฒ„ํŠผ ๊ด€๋ จ ์Šคํƒ€์ผ ์ˆ˜์ • */
.setting-buttons-row {
padding: 10px;
margin-bottom: 10px;
background: transparent;
position: relative;
z-index: 1000;
}
/* Examples ์„น์…˜ ์Šคํƒ€์ผ ์ˆ˜์ • */
.examples-section {
margin-top: 24px;
padding: 0 24px;
width: 100%;
display: flex;
flex-direction: column;
}
.examples-section .ant-row {
display: flex;
flex-wrap: wrap;
margin: 0 -8px;
}
.examples-section .ant-col {
padding: 0 8px;
margin-bottom: 16px;
flex: 0 0 33.333333%;
max-width: 33.333333%;
}
.examples-section .ant-card {
height: 100%;
margin-bottom: 0;
}
.examples-section .ant-card-meta {
padding: 12px;
}
/* ์šฐ์ธก ํŒจ๋„ ์Šคํƒ€์ผ ์ˆ˜์ • */
.right_panel {
position: relative;
min-height: 600px;
border: 1px solid #e8e8e8;
border-radius: 4px;
overflow: hidden;
margin-top: 60px; /* Setting ๋ฒ„ํŠผ์„ ์œ„ํ•œ ์—ฌ๋ฐฑ */
}
.html_content {
height: 100%;
}
/* ๋ฐ˜์‘ํ˜• ๋ ˆ์ด์•„์›ƒ์„ ์œ„ํ•œ ๋ฏธ๋””์–ด ์ฟผ๋ฆฌ */
@media (max-width: 768px) {
.examples-section .ant-col {
flex: 0 0 100%;
max-width: 100%;
}
}
@media (min-width: 769px) and (max-width: 1200px) {
.examples-section .ant-col {
flex: 0 0 50%;
max-width: 50%;
}
}
.main-content {
margin-bottom: 24px;
}