migrate/resources/css/base.css

240 lines
3.8 KiB
CSS

@import 'tailwindcss';
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: linear-gradient(135deg, #FF6B35 0%, #E54A0F 100%);
min-height: 100vh;
padding: 20px;
}
.container {
width: 90%;
max-width: 90%;
margin: 0 auto;
background: white;
border-radius: 12px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
overflow: hidden;
}
.header {
background: linear-gradient(135deg, #FF6B35 0%, #E54A0F 100%);
color: white;
padding: 30px;
text-align: center;
}
.header h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.header p {
opacity: 0.9;
font-size: 1.1em;
}
.content {
padding: 30px;
}
.section {
margin-bottom: 30px;
padding: 20px;
background: #f8f9fa;
border-radius: 8px;
border-left: 4px solid #E54A0F;
}
.section h2 {
color: #333;
margin-bottom: 15px;
font-size: 1.5em;
}
.btn {
padding: 12px 30px;
border: none;
border-radius: 6px;
font-size: 1em;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.btn-primary {
background: linear-gradient(135deg, #FF6B35 0%, #E54A0F 100%);
color: white;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(229, 74, 15, 0.4);
}
.btn-primary:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.btn-secondary {
background: #6c757d;
color: white;
}
.btn-secondary:hover {
background: #5a6268;
}
.btn-danger {
background: #d32f2f;
color: white;
}
.btn-danger:hover {
background: #b71c1c;
}
.actions {
display: flex;
gap: 15px;
margin-top: 20px;
}
.info-box {
background: #e7f3ff;
border-left: 4px solid #2196F3;
padding: 15px;
border-radius: 4px;
margin-top: 15px;
}
.info-box p {
margin: 5px 0;
color: #1976D2;
}
.loading {
display: none;
text-align: center;
padding: 20px;
}
.loading.active {
display: block;
}
.spinner {
border: 4px solid #f3f3f3;
border-top: 4px solid #E54A0F;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin: 0 auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin-top: 15px;
}
.stat-card {
background: white;
padding: 20px;
border-radius: 8px;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.stat-card .number {
font-size: 2em;
font-weight: bold;
color: #E54A0F;
}
.stat-card .label {
color: #666;
margin-top: 5px;
}
.log-container {
background: #1e1e1e;
color: #d4d4d4;
padding: 20px;
border-radius: 6px;
max-height: 400px;
overflow-y: auto;
font-family: 'Courier New', monospace;
font-size: 0.9em;
margin-top: 15px;
display: none;
}
.log-container.active {
display: block;
}
.log-entry {
margin-bottom: 5px;
padding: 5px 0;
}
.log-entry.error {
color: #f48771;
}
.log-entry.success {
color: #4ec9b0;
}
/* Navigation */
.navigation {
display: flex;
border-bottom: 2px solid #ddd;
margin-bottom: 20px;
background: #f8f9fa;
border-radius: 8px 8px 0 0;
}
.nav-link {
padding: 15px 30px;
text-decoration: none;
border: none;
background: transparent;
font-size: 1em;
font-weight: 600;
color: #666;
transition: all 0.3s;
border-bottom: 3px solid transparent;
margin-bottom: -2px;
}
.nav-link:hover {
background: #e9ecef;
color: #333;
}
.nav-link.active {
color: #E54A0F;
border-bottom-color: #E54A0F;
background: white;
}