Spaces:
Running
Running
:root { | |
--primary-color: #FB7F0D; | |
--secondary-color: #ff9a8b; | |
--accent-color: #FF6B6B; | |
--background-color: #FFFFFF; | |
--card-bg: #ffffff; | |
--text-color: #334155; | |
--border-radius: 18px; | |
--shadow: 0 8px 30px rgba(251, 127, 13, 0.08); | |
} | |
/* ββ μ μ μ€νμΌ ββ */ | |
body { | |
font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif; | |
background-color: var(--background-color); | |
color: var(--text-color); | |
line-height: 1.6; | |
margin: 0; | |
padding: 0; | |
} | |
/* νΈν° μ¨κΉ μ€μ */ | |
footer { | |
visibility: hidden; | |
} | |
.gradio-container { | |
width: 100%; | |
margin: 0 auto; | |
padding: 20px; | |
background-color: var(--background-color); | |
} | |
/* ββ μΉμ μ€νμΌ ββ */ | |
.custom-section-group, | |
.gr-block.gr-group { | |
background-color: var(--background-color) ; | |
box-shadow: none ; | |
} | |
.custom-section-group::before, | |
.custom-section-group::after, | |
.gr-block.gr-group::before, | |
.gr-block.gr-group::after { | |
display: none ; | |
content: none ; | |
} | |
/* μΉμ νλ μ */ | |
.custom-frame { | |
background-color: var(--card-bg); | |
border: 1px solid rgba(0, 0, 0, 0.04); | |
border-radius: var(--border-radius); | |
padding: 20px; | |
margin: 10px 0; | |
box-shadow: var(--shadow); | |
} | |
/* μ μ μ μλ μΉμ */ | |
.collapsible-section { | |
margin-bottom: 10px; | |
} | |
.collapsible-header { | |
background-color: var(--primary-color); | |
color: white; | |
padding: 10px 15px; | |
border-radius: var(--border-radius); | |
cursor: pointer; | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
transition: background-color 0.3s; | |
} | |
.collapsible-header:hover { | |
background-color: var(--secondary-color); | |
} | |
.collapsible-content { | |
display: none; | |
padding: 15px; | |
background-color: var(--card-bg); | |
border: 1px solid rgba(0, 0, 0, 0.04); | |
border-radius: 0 0 var(--border-radius) var(--border-radius); | |
margin-top: -5px; | |
} | |
.collapsible-content.active { | |
display: block; | |
} | |
/* λ λ²νΌμ 곡ν΅μΌλ‘ μ μ©ν μ€νμΌ */ | |
.execution-button { | |
font-size: 18px ; | |
padding: 10px 20px ; | |
height: 45px ; | |
width: 100% ; | |
border-radius: 30px ; | |
margin: 0 ; | |
display: flex ; | |
align-items: center ; | |
justify-content: center ; | |
text-align: center ; | |
color: white ; | |
border: none ; | |
transition: transform 0.3s ease ; | |
} | |
/* κ° λ²νΌλ³ κ³ μ μμ */ | |
.primary-button { | |
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) ; | |
box-shadow: 0 4px 8px rgba(251, 127, 13, 0.25) ; | |
} | |
.secondary-button { | |
background: linear-gradient(135deg, #6c757d, #495057) ; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) ; | |
} | |
.execution-button:hover { | |
transform: translateY(-2px) ; | |
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25) ; | |
} | |
/* μ€ν λ²νΌ 컨ν μ΄λ */ | |
.execution-section { | |
margin-top: 20px; | |
padding: 15px; | |
background-color: #f9f9f9; | |
border-radius: 8px; | |
border: 1px solid #e5e5e5; | |
} | |
/* ββ μ»΄ν¬λνΈ μ€νμΌ ββ */ | |
/* λ²νΌ μ€νμΌ */ | |
.custom-button { | |
border-radius: 30px ; | |
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) ; | |
color: white ; | |
font-size: 18px ; | |
padding: 10px 20px ; | |
border: none; | |
box-shadow: 0 4px 8px rgba(251, 127, 13, 0.25); | |
transition: transform 0.3s ease; | |
} | |
.custom-button:hover { | |
transform: translateY(-2px); | |
box-shadow: 0 6px 12px rgba(251, 127, 13, 0.3); | |
} | |
/* μμ λ²νΌ */ | |
.custom-button-small { | |
border-radius: 20px ; | |
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) ; | |
color: white ; | |
font-size: 14px ; | |
padding: 8px 15px ; | |
border: none; | |
box-shadow: 0 2px 6px rgba(251, 127, 13, 0.25); | |
transition: transform 0.3s ease; | |
} | |
.custom-button-small:hover { | |
transform: translateY(-1px); | |
box-shadow: 0 4px 8px rgba(251, 127, 13, 0.3); | |
} | |
/* 리μ λ²νΌ */ | |
.reset-button { | |
border-radius: 30px ; | |
background: linear-gradient(135deg, #6c757d, #495057) ; | |
color: white ; | |
font-size: 16px ; | |
padding: 8px 16px ; | |
border: none; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); | |
transition: transform 0.3s ease; | |
margin-top: 20px; | |
} | |
.reset-button:hover { | |
transform: translateY(-2px); | |
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); | |
} | |
/* μ λ ₯ νλ μ€νμΌ */ | |
.gr-input, .gr-text-input, .gr-sample-inputs { | |
border-radius: var(--border-radius) ; | |
border: 1px solid #dddddd ; | |
padding: 12px ; | |
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) ; | |
transition: all 0.3s ease ; | |
} | |
.gr-input:focus, .gr-text-input:focus { | |
border-color: var(--primary-color) ; | |
outline: none ; | |
box-shadow: 0 0 0 2px rgba(251, 127, 13, 0.2) ; | |
} | |
/* 체ν¬λ°μ€μ λΌλμ€ λ²νΌ μ€νμΌ */ | |
input[type="checkbox"], input[type="radio"] { | |
accent-color: var(--primary-color); | |
} | |
/* λλ‘λ€μ΄ μ€νμΌ */ | |
.gr-dropdown { | |
border-radius: var(--border-radius) ; | |
border: 1px solid #dddddd ; | |
padding: 12px ; | |
transition: all 0.3s ease ; | |
} | |
.gr-dropdown:focus { | |
border-color: var(--primary-color) ; | |
outline: none ; | |
box-shadow: 0 0 0 2px rgba(251, 127, 13, 0.2) ; | |
} | |
/* ββ μΉμ μ λͺ© μ€νμΌ ββ */ | |
.section-title { | |
display: flex; | |
align-items: center; | |
font-size: 20px; | |
font-weight: 700; | |
color: #333333; | |
margin-bottom: 10px; | |
padding-bottom: 5px; | |
border-bottom: 2px solid var(--primary-color); | |
font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif; | |
} | |
.section-title img, .section-title i { | |
margin-right: 10px; | |
font-size: 20px; | |
color: var(--primary-color); | |
} | |
/* μλΈ μΉμ μ λͺ© */ | |
.subsection-title { | |
font-size: 18px; | |
font-weight: 600; | |
color: #444444; | |
margin: 15px 0 8px 0; | |
} | |
/* ββ ν μ΄λΈ μ€νμΌ ββ */ | |
.styled-table { | |
width: 100%; | |
border-collapse: collapse; | |
table-layout: fixed; | |
margin: 0; | |
padding: 0; | |
font-size: 14px; | |
} | |
.styled-table th, | |
.styled-table td { | |
padding: 12px 15px; | |
text-align: left; | |
border-bottom: 1px solid #dddddd; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
.styled-table th { | |
background-color: var(--primary-color); | |
color: white; | |
font-weight: bold; | |
position: sticky; | |
top: 0; | |
white-space: nowrap; | |
} | |
.styled-table tbody tr:nth-of-type(even) { | |
background-color: #f3f3f3; | |
} | |
.styled-table tbody tr:hover { | |
background-color: #f0f0f0; | |
} | |
.styled-table tbody tr:last-of-type { | |
border-bottom: 2px solid var(--primary-color); | |
} | |
/* λ°μ΄ν° 컨ν μ΄λ */ | |
.data-container { | |
max-height: 600px; | |
overflow-y: auto; | |
border-radius: var(--border-radius); | |
border: 1px solid #e5e5e5; | |
margin-top: 15px; | |
} | |
/* μ€ν¬λ‘€λ° μ€νμΌ */ | |
::-webkit-scrollbar { | |
width: 8px; | |
height: 8px; | |
} | |
::-webkit-scrollbar-track { | |
background: rgba(0, 0, 0, 0.05); | |
border-radius: 10px; | |
} | |
::-webkit-scrollbar-thumb { | |
background: var(--primary-color); | |
border-radius: 10px; | |
} | |
/* ββ λΆμ κ²°κ³Ό μ€νμΌ ββ */ | |
.analysis-result { | |
margin-top: 30px; | |
border: 1px solid #ddd; | |
border-radius: 5px; | |
padding: 15px; | |
background-color: #f9f9f9; | |
} | |
.result-header { | |
font-weight: bold; | |
margin-bottom: 15px; | |
color: var(--primary-color); | |
font-size: 16px; | |
} | |
.summary-box { | |
background-color: #f5f5f5; | |
border-left: 4px solid var(--primary-color); | |
padding: 10px 15px; | |
margin-bottom: 20px; | |
font-size: 14px; | |
} | |
.summary-title { | |
font-weight: bold; | |
margin-bottom: 5px; | |
} | |
.recommendation-box { | |
background-color: #e7f7f3; | |
border-radius: 5px; | |
padding: 15px; | |
margin-bottom: 25px; | |
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |
} | |
.recommendation-title { | |
font-weight: bold; | |
font-size: 16px; | |
color: var(--primary-color); | |
margin-bottom: 10px; | |
} | |
.recommendation-item { | |
padding: 6px 0; | |
border-bottom: 1px solid #e0e0e0; | |
} | |
.recommendation-item:last-child { | |
border-bottom: none; | |
} | |
/* ββ ν€μλ νκ·Έ μ€νμΌ ββ */ | |
.keyword-tag-container { | |
margin-top: 20px; | |
padding: 10px; | |
border: 1px solid #ddd; | |
border-radius: 5px; | |
background-color: #f9f9f9; | |
} | |
.keyword-tag { | |
display: inline-block; | |
background-color: var(--primary-color); | |
color: white; | |
padding: 5px 10px; | |
margin: 5px; | |
border-radius: 15px; | |
font-size: 12px; | |
} | |
.category-tag { | |
display: inline-block; | |
background-color: #2c7fb8; | |
color: white; | |
padding: 5px 10px; | |
margin: 5px; | |
border-radius: 15px; | |
font-size: 12px; | |
} | |
/* ββ λ μ΄μμ μ νΈλ¦¬ν° ββ */ | |
.hidden-section { | |
display: none; | |
} | |
/* μΉμ νμ/μ¨κΉ μ μ΄ */ | |
.section-visible { | |
display: block; | |
animation: fadeIn 0.5s ease-out; | |
} | |
/* μ λλ©μ΄μ ν¨κ³Ό */ | |
@keyframes fadeIn { | |
from { opacity: 0; transform: translateY(10px); } | |
to { opacity: 1; transform: translateY(0); } | |
} | |
.fade-in { | |
animation: fadeIn 0.5s ease-out; | |
} | |
/* λ°μν μ‘°μ */ | |
@media (max-width: 768px) { | |
.grid-container { | |
grid-template-columns: 1fr; | |
} | |
} |