Files
ytp-glm/src/app.css

210 lines
3.7 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Tailwind benzeri stil sistemi */
:root {
--primary-color: #2c3e50;
--inactive-color: #F2F3F7;
--background-color: #FFFFFF;
--card-border-color: #c9c8cb;
--text-color: #1F2937;
--text-secondary: #6B7280;
--page-horizontal-padding: 25px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background-color: var(--background-color);
color: var(--text-color);
line-height: 1.6;
}
/* Responsive tasarım */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
/* 1080p ve 720p monitör uyumluluğu */
@media (min-width: 1280px) {
.container {
max-width: 1152px;
}
}
@media (min-width: 1920px) {
.container {
max-width: 1728px;
}
}
/* Kart yapısı */
.card {
background: var(--background-color);
border: 1px solid #c9c8cb;
border-radius: 12px;
box-shadow: none;
padding: 2rem;
transition: all 0.3s ease;
}
/* Buton stilleri */
.btn {
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
border: none;
font-size: 0.95rem;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.btn-primary {
background-color: var(--primary-color);
color: white;
}
.btn-primary:hover {
background-color: #284057;
transform: translateY(-1px);
}
.btn-inactive {
background-color: var(--inactive-color);
color: var(--text-secondary);
}
.btn-inactive:hover {
background-color: #E5E7EB;
}
/* Form stilleri */
.form-group {
margin-bottom: 1.5rem;
}
.form-label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--text-color);
}
.form-input {
width: 100%;
padding: 0.75rem 1rem;
border: 2px solid var(--card-border-color);
border-radius: 8px;
font-size: 0.95rem;
transition: all 0.3s ease;
background-color: var(--background-color);
}
.form-input:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(108, 165, 227, 0.1);
}
/* Login ekranı özel stilleri */
.login-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 1rem;
}
.login-card {
width: 100%;
max-width: 420px;
background: var(--background-color);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Karşılama ekranı stilleri */
.welcome-container {
min-height: 100vh;
background: #F2F3F7;
padding: 2rem var(--page-horizontal-padding);
}
.welcome-card {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
/* Logo başlık */
.app-title {
font-size: 2rem;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 0.5rem;
}
.app-subtitle {
font-size: 1.1rem;
color: var(--text-secondary);
margin-bottom: 2rem;
}
/* Rol badge stilleri */
.role-badge {
display: inline-block;
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.role-admin {
background-color: #FEE2E2;
color: #DC2626;
}
.role-fuel {
background-color: #DBEAFE;
color: #2563EB;
}
.role-goods {
background-color: #D1FAE5;
color: #059669;
}
/* Hata mesajları */
.error-message {
background-color: #FEE2E2;
color: #DC2626;
padding: 0.75rem 1rem;
border-radius: 8px;
margin-bottom: 1rem;
font-size: 0.9rem;
border-left: 4px solid #DC2626;
}
/* Başarı mesajları */
.success-message {
background-color: #D1FAE5;
color: #059669;
padding: 0.75rem 1rem;
border-radius: 8px;
margin-bottom: 1rem;
font-size: 0.9rem;
border-left: 4px solid #059669;
}