158 lines
2.4 KiB
CSS
158 lines
2.4 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
[dir="rtl"] {
|
|
text-align: right;
|
|
direction: rtl;
|
|
}
|
|
|
|
[dir="ltr"] {
|
|
text-align: left;
|
|
direction: ltr;
|
|
}
|
|
|
|
.app,
|
|
.App {
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
background: var(--color-background);
|
|
color: var(--color-text);
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
color: white;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
.btn-logout {
|
|
position: absolute;
|
|
left: 0;
|
|
padding: 8px 16px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: white;
|
|
border: 2px solid white;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.btn-logout:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
[dir="rtl"] .btn-logout {
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 600;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
background: var(--color-background);
|
|
color: var(--color-text);
|
|
border-radius: 20px;
|
|
padding: 30px;
|
|
box-shadow: var(--shadow-heavy);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.actions-bar {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-bottom: 25px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-heavy);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--color-background-secondary);
|
|
color: var(--color-text);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--color-background-tertiary);
|
|
border-color: var(--color-border);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--color-danger);
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background: var(--color-danger-hover);
|
|
}
|
|
|
|
.btn-success {
|
|
background: var(--color-success);
|
|
color: white;
|
|
}
|
|
|
|
.btn-success:hover {
|
|
background: var(--color-success-hover);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-heavy);
|
|
}
|
|
|
|
.loading {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #6b7280;
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 20px;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.actions-bar {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
}
|
|
}
|