|
.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, div[class*="footer"], #footer { |
|
display: none !important; |
|
} |
|
|
|
#component-0 textarea, |
|
.gradio-container textarea, |
|
.ant-input-textarea-large textarea { |
|
height: 300px !important; |
|
min-height: 300px !important; |
|
resize: vertical !important; |
|
} |
|
|
|
.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-btn { |
|
flex: 1; |
|
min-width: 80px; |
|
} |
|
|
|
.ant-btn-primary { |
|
background-color: #1890ff; |
|
} |
|
|
|
.ant-btn-default:hover { |
|
color: #1890ff; |
|
border-color: #1890ff; |
|
} |
|
|
|
.ant-btn-default[title="Code 실행"] { |
|
background-color: #52c41a; |
|
color: white; |
|
border: none; |
|
} |
|
|
|
.ant-btn-default[title="Code 실행"]:hover { |
|
background-color: #73d13d; |
|
} |
|
|
|
.session-drawer .chatbot { |
|
height: calc(100vh - 200px); |
|
overflow-y: auto; |
|
} |
|
|
|
.session-history { |
|
height: 700px; |
|
overflow-y: auto; |
|
} |
|
|
|
.prompt-grid { |
|
display: grid; |
|
grid-template-columns: repeat(3, 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); |
|
min-height: 300px; |
|
} |
|
|
|
.prompt-card:hover { |
|
transform: translateY(-2px); |
|
box-shadow: 0 4px 10px rgba(0,0,0,0.15); |
|
} |
|
|
|
.card-image { |
|
width: 100%; |
|
height: 200px; |
|
object-fit: cover; |
|
border-radius: 4px; |
|
margin-bottom: 10px; |
|
} |
|
|
|
.card-name { |
|
font-weight: bold; |
|
margin-bottom: 8px; |
|
font-size: 16px; |
|
} |
|
|
|
.card-prompt-container { |
|
position: relative; |
|
padding-right: 60px; |
|
} |
|
|
|
.card-prompt { |
|
font-size: 0.9em; |
|
color: #666; |
|
display: -webkit-box; |
|
-webkit-line-clamp: 3; |
|
-webkit-box-orient: vertical; |
|
overflow: hidden; |
|
} |
|
|
|
.copy-btn { |
|
position: absolute; |
|
right: 0; |
|
top: 0; |
|
padding: 4px 8px; |
|
background: #f0f0f0; |
|
border: 1px solid #ddd; |
|
border-radius: 4px; |
|
cursor: pointer; |
|
font-size: 0.9em; |
|
transition: all 0.2s ease; |
|
} |
|
|
|
.copy-btn:hover { |
|
background: #e0e0e0; |
|
} |
|
|
|
.copy-btn:active { |
|
background: #d0d0d0; |
|
} |
|
|
|
.template-buttons { |
|
margin-top: 10px; |
|
} |