- Format all TypeScript/React code with Prettier - Format all Rust code with cargo fmt - Fix bundle identifier from .app to .desktop to avoid macOS conflicts - Prepare codebase for v3.0.0 Tauri release
207 lines
3.1 KiB
CSS
207 lines
3.1 KiB
CSS
.provider-list {
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 3rem 1rem;
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
.empty-state p:first-child {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.provider-items {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.provider-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
border: 2px solid #ecf0f1;
|
|
border-radius: 6px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.provider-item:hover {
|
|
border-color: #3498db;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.provider-item.current {
|
|
border-color: #27ae60;
|
|
background: #f0fdf4;
|
|
}
|
|
|
|
.provider-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.provider-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-weight: 500;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.provider-name input[type="radio"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.provider-name input[type="radio"]:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.current-badge {
|
|
background: #27ae60;
|
|
color: white;
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 3px;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.provider-url {
|
|
color: #7f8c8d;
|
|
font-size: 0.9rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.url-link {
|
|
color: #3498db;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.url-link:hover {
|
|
color: #2980b9;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.api-url {
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
.provider-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-right: 2rem;
|
|
}
|
|
|
|
.status-icon {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.status-text {
|
|
color: #555;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.response-time {
|
|
color: #3498db;
|
|
font-size: 0.85rem;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.provider-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.check-btn {
|
|
padding: 0.375rem 0.75rem;
|
|
border: 1px solid #f39c12;
|
|
background: white;
|
|
color: #f39c12;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.check-btn:hover:not(:disabled) {
|
|
background: #f39c12;
|
|
color: white;
|
|
}
|
|
|
|
.check-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.enable-btn {
|
|
padding: 0.375rem 0.75rem;
|
|
border: 1px solid #27ae60;
|
|
background: white;
|
|
color: #27ae60;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.enable-btn:hover:not(:disabled) {
|
|
background: #27ae60;
|
|
color: white;
|
|
}
|
|
|
|
.enable-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.edit-btn {
|
|
padding: 0.375rem 0.75rem;
|
|
border: 1px solid #3498db;
|
|
background: white;
|
|
color: #3498db;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.edit-btn:hover:not(:disabled) {
|
|
background: #3498db;
|
|
color: white;
|
|
}
|
|
|
|
.edit-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.delete-btn {
|
|
padding: 0.375rem 0.75rem;
|
|
border: 1px solid #e74c3c;
|
|
background: white;
|
|
color: #e74c3c;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.delete-btn:hover:not(:disabled) {
|
|
background: #e74c3c;
|
|
color: white;
|
|
}
|
|
|
|
.delete-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|