Files
tts/client/static/styles.css
dsyoon c40fa33e7b Add save progress UI and fix MMS errors
Show a progress bar during MP3 generation, update styles, and improve MMS error messaging.
2026-01-30 19:01:24 +09:00

130 lines
1.7 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
background: #f4f4f4;
}
.container {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 24px;
padding: 24px;
height: 100vh;
}
.panel {
background: #ffffff;
border: 1px solid #d2d2d2;
padding: 20px;
display: flex;
flex-direction: column;
gap: 16px;
}
.panel-header {
font-weight: 700;
font-size: 18px;
color: #444;
}
textarea {
width: 100%;
resize: none;
padding: 12px;
border: 1px solid #c9c9c9;
border-radius: 4px;
font-size: 16px;
line-height: 1.5;
flex: 1;
}
button {
border: none;
padding: 12px 18px;
font-size: 16px;
cursor: pointer;
border-radius: 4px;
}
button.primary {
background: #1f5f7a;
color: #ffffff;
}
button.secondary {
background: #4f9acb;
color: #ffffff;
}
button.danger {
background: #c84040;
color: #ffffff;
}
.progress-wrap {
width: 100%;
height: 10px;
background: #f1d9a6;
border-radius: 6px;
overflow: hidden;
}
.progress-bar {
height: 100%;
width: 0%;
background: #f5a623;
transition: width 0.2s ease;
}
.tts-list {
list-style: none;
padding: 0;
margin: 0;
flex: 1;
overflow-y: auto;
}
.tts-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 6px;
cursor: pointer;
border-bottom: 1px solid #eee;
}
.tts-item:hover {
background: #f1f6f9;
}
.bullet {
font-size: 18px;
color: #555;
}
.item-label {
font-size: 15px;
color: #333;
}
.right-actions {
display: flex;
gap: 12px;
justify-content: flex-end;
}
.hidden {
display: none;
}
#download-link {
text-align: right;
color: #1f5f7a;
text-decoration: none;
font-size: 14px;
}