This commit is contained in:
2025-06-07 13:45:48 +09:00
parent d642b913ab
commit 9580740398
18 changed files with 936 additions and 1669 deletions

225
frontend/src/styles.css Normal file
View File

@ -0,0 +1,225 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, sans-serif;
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.header {
background-color: #fff;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.title {
font-size: 24px;
font-weight: bold;
margin-bottom: 8px;
}
.subtitle {
color: #666;
font-size: 14px;
}
.tabs {
display: flex;
background-color: #fff;
border-radius: 8px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.tab {
flex: 1;
padding: 15px 20px;
border: none;
background: transparent;
cursor: pointer;
font-size: 16px;
transition: background-color 0.2s;
}
.tab:first-child {
border-radius: 8px 0 0 8px;
}
.tab:last-child {
border-radius: 0 8px 8px 0;
}
.tab.active {
background-color: #007bff;
color: white;
}
.tab:hover:not(.active) {
background-color: #f8f9fa;
}
.content {
background-color: #fff;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.table th,
.table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #e9ecef;
}
.table th {
background-color: #f8f9fa;
font-weight: 600;
}
.table tr:hover {
background-color: #f8f9fa;
}
.btn {
display: inline-block;
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
text-decoration: none;
transition: background-color 0.2s;
}
.btn-primary {
background-color: #007bff;
color: white;
}
.btn-primary:hover {
background-color: #0056b3;
}
.btn-danger {
background-color: #dc3545;
color: white;
}
.btn-danger:hover {
background-color: #c82333;
}
.btn-secondary {
background-color: #6c757d;
color: white;
}
.btn-secondary:hover {
background-color: #545b62;
}
.form-group {
margin-bottom: 15px;
}
.form-label {
display: block;
margin-bottom: 5px;
font-weight: 500;
}
.form-input {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}
.form-input:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}
.audio-player {
width: 100%;
margin: 10px 0;
}
.loading {
text-align: center;
padding: 40px;
color: #666;
}
.error {
background-color: #f8d7da;
color: #721c24;
padding: 10px;
border-radius: 4px;
margin-bottom: 20px;
}
.success {
background-color: #d4edda;
color: #155724;
padding: 10px;
border-radius: 4px;
margin-bottom: 20px;
}
.empty-state {
text-align: center;
padding: 40px;
color: #666;
}
.feed-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px;
border: 1px solid #e9ecef;
border-radius: 4px;
margin-bottom: 10px;
}
.feed-info {
flex: 1;
}
.feed-title {
font-weight: 500;
margin-bottom: 4px;
}
.feed-url {
color: #666;
font-size: 14px;
}
.feed-actions {
display: flex;
gap: 10px;
}