mirror of
https://github.com/EDeev/web-dev.git
synced 2026-06-15 19:11:12 +03:00
1427 lines
28 KiB
CSS
1427 lines
28 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');
|
|
|
|
:root {
|
|
--primary: #e63946;
|
|
--primary-light: #ff6b6b;
|
|
--primary-dark: #c1121f;
|
|
--primary-bg: rgba(230, 57, 70, 0.15);
|
|
--primary-glow: rgba(230, 57, 70, 0.3);
|
|
|
|
--bg-main: #0d0d0d;
|
|
--bg-darker: #080808;
|
|
--bg-card: #141414;
|
|
--bg-card-hover: #1a1a1a;
|
|
--bg-elevated: #1e1e1e;
|
|
--bg-input: #1a1a1a;
|
|
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #b0b0b0;
|
|
--text-muted: #666666;
|
|
|
|
--border: #2a2a2a;
|
|
--border-light: #3a3a3a;
|
|
|
|
--success: #22c55e;
|
|
--error: #ef4444;
|
|
|
|
--radius-sm: 8px;
|
|
--radius-md: 12px;
|
|
--radius-lg: 16px;
|
|
--radius-xl: 24px;
|
|
|
|
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
color: var(--text-secondary);
|
|
background-color: var(--bg-main);
|
|
-webkit-font-smoothing: antialiased;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
main.my-1 {
|
|
flex: 1;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: 'Raleway', sans-serif;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.02em;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
|
|
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
|
|
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
|
|
|
|
a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary-light);
|
|
}
|
|
|
|
::selection {
|
|
background: var(--primary);
|
|
color: white;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bg-main);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--primary);
|
|
}
|
|
|
|
/* ===== NAVBAR ===== */
|
|
.navbar {
|
|
background: rgba(13, 13, 13, 0.8) !important;
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid var(--border);
|
|
padding: 1rem 0;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-family: 'Raleway', sans-serif;
|
|
font-weight: 700;
|
|
color: var(--text-primary) !important;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.navbar-brand:hover {
|
|
color: var(--primary) !important;
|
|
}
|
|
|
|
.navbar .nav-link {
|
|
color: var(--text-secondary) !important;
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
padding: 0.5rem 1rem !important;
|
|
border-radius: var(--radius-sm);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.navbar .nav-link:hover {
|
|
color: var(--text-primary) !important;
|
|
background: var(--primary-bg);
|
|
}
|
|
|
|
.navbar .nav-link.active {
|
|
color: var(--primary) !important;
|
|
background: var(--primary-bg);
|
|
}
|
|
|
|
.navbar-toggler {
|
|
border-color: var(--border) !important;
|
|
}
|
|
|
|
.navbar-toggler-icon {
|
|
filter: invert(1);
|
|
}
|
|
|
|
/* ===== DROPDOWN ===== */
|
|
.dropdown-menu {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
padding: 0.5rem;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
min-width: 200px;
|
|
}
|
|
|
|
.dropdown-item {
|
|
color: var(--text-secondary);
|
|
border-radius: var(--radius-sm);
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.9rem;
|
|
transition: var(--transition);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.dropdown-item:hover,
|
|
.dropdown-item:focus {
|
|
background: var(--primary-bg);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.dropdown-item i {
|
|
width: 1.25rem;
|
|
text-align: center;
|
|
font-size: 0.85rem;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.navbar .dropdown-toggle::after {
|
|
margin-left: 0.4rem;
|
|
vertical-align: 0.15em;
|
|
border-top-color: var(--text-muted);
|
|
}
|
|
|
|
/* ===== MAIN CONTAINER ===== */
|
|
.container {
|
|
max-width: 1200px;
|
|
}
|
|
|
|
main.my-3 {
|
|
padding-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
/* ===== CARDS (posts list) ===== */
|
|
.card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
transition: var(--transition);
|
|
width: 100%;
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--border-light);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.card-img-top {
|
|
aspect-ratio: 16/9;
|
|
object-fit: cover;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.card-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.card-title {
|
|
margin-bottom: 0.75rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.card-text {
|
|
color: var(--text-secondary);
|
|
font-size: 0.95rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.card-footer {
|
|
background: transparent;
|
|
border-top: 1px solid var(--border);
|
|
color: var(--text-muted) !important;
|
|
padding: 1rem 1.5rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
/* ===== BUTTONS ===== */
|
|
.btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.75rem 1.5rem;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
border-radius: var(--radius-md);
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
|
|
border: none;
|
|
color: white;
|
|
box-shadow: 0 4px 15px var(--primary-glow);
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-primary:hover,
|
|
.btn-primary:focus {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
|
|
background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
|
|
border: none;
|
|
}
|
|
|
|
.btn-outline {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.75rem 1.5rem;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
border-radius: var(--radius-md);
|
|
background: transparent;
|
|
border: 2px solid var(--border-light);
|
|
color: var(--text-primary);
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
border-color: var(--primary);
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* ===== POST PAGE ===== */
|
|
.post-header {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.post-title {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.post-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
color: var(--text-muted);
|
|
font-size: 0.9rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.post-meta span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.post-image {
|
|
width: 100%;
|
|
border-radius: var(--radius-lg);
|
|
aspect-ratio: 16/9;
|
|
object-fit: cover;
|
|
margin-bottom: 2rem;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.post-content {
|
|
color: var(--text-secondary);
|
|
line-height: 1.8;
|
|
font-size: 1rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
/* ===== COMMENT FORM ===== */
|
|
.comment-form-section {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 2rem;
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.comment-form-section h3 {
|
|
margin-bottom: 1.25rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.comment-form-section textarea {
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
padding: 0.75rem 1rem;
|
|
color: var(--text-primary);
|
|
font-size: 0.9rem;
|
|
font-family: 'Inter', sans-serif;
|
|
transition: var(--transition);
|
|
width: 100%;
|
|
min-height: 120px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.comment-form-section textarea:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
|
|
outline: none;
|
|
}
|
|
|
|
.comment-form-section textarea::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ===== COMMENTS ===== */
|
|
.comments-section h3 {
|
|
margin-bottom: 1.5rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.comment {
|
|
display: flex;
|
|
gap: 1rem;
|
|
padding: 1.25rem 0;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.comment:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.comment-avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
min-width: 48px;
|
|
border-radius: 9999px;
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
font-family: 'Raleway', sans-serif;
|
|
}
|
|
|
|
.comment-body {
|
|
flex: 1;
|
|
}
|
|
|
|
.comment-author {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
font-size: 0.95rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.comment-text {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Replies */
|
|
.replies {
|
|
margin-top: 1rem;
|
|
padding-left: 1.5rem;
|
|
border-left: 2px solid var(--border);
|
|
}
|
|
|
|
.reply {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem 0;
|
|
}
|
|
|
|
.reply-avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
min-width: 36px;
|
|
border-radius: 9999px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 0.85rem;
|
|
font-family: 'Raleway', sans-serif;
|
|
}
|
|
|
|
.reply .comment-author {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.reply .comment-text {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
/* ===== ABOUT PAGE ===== */
|
|
.avatar {
|
|
max-width: 100%;
|
|
border-radius: 9999px;
|
|
border: 3px solid var(--border);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.avatar:hover {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 40px rgba(230, 57, 70, 0.2);
|
|
}
|
|
|
|
/* ===== FOOTER ===== */
|
|
footer {
|
|
background: var(--bg-darker);
|
|
border-top: 1px solid var(--border);
|
|
padding: 2rem 0;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.footer-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.footer-name {
|
|
color: var(--text-primary);
|
|
font-family: 'Raleway', sans-serif;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.footer-group {
|
|
color: var(--text-muted);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--text-secondary);
|
|
font-size: 0.85rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--primary);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* ===== INDEX PAGE ===== */
|
|
.task-list li {
|
|
color: var(--text-secondary);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.task-description {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.task-description .fw-bold,
|
|
p.fw-bold.task-description {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.img-fluid.border {
|
|
border-color: var(--border) !important;
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
/* ===== DATA CARDS (Lab 2) ===== */
|
|
.data-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 2rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.data-card:hover {
|
|
border-color: var(--border-light);
|
|
}
|
|
|
|
.data-card h3 {
|
|
margin-bottom: 1.25rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.data-card h4 {
|
|
margin-bottom: 1rem;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* ===== DATA TABLE ===== */
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.data-table thead th {
|
|
background: var(--bg-elevated);
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
padding: 0.75rem 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.data-table tbody td {
|
|
padding: 0.65rem 1rem;
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
border-bottom: 1px solid var(--border);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.data-table tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.data-table tbody tr:hover {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.data-table tbody td:first-child {
|
|
color: var(--primary);
|
|
font-weight: 500;
|
|
font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.header-value {
|
|
max-width: 500px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* ===== FORMS (Lab 2) ===== */
|
|
.form-control {
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
padding: 0.75rem 1rem;
|
|
color: var(--text-primary);
|
|
font-size: 0.9rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.form-control:focus {
|
|
background: var(--bg-input);
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
|
|
outline: none;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.form-control::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.form-control.is-invalid {
|
|
border-color: var(--error);
|
|
background: var(--bg-input);
|
|
}
|
|
|
|
.form-control.is-invalid:focus {
|
|
border-color: var(--error);
|
|
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
|
|
}
|
|
|
|
.invalid-feedback {
|
|
color: var(--error);
|
|
font-size: 0.85rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.form-label {
|
|
color: var(--text-primary);
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* ===== LOGIN FORM ===== */
|
|
.login-form {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* ===== PHONE RESULT ===== */
|
|
.result-card {
|
|
background: rgba(34, 197, 94, 0.1);
|
|
border: 1px solid rgba(34, 197, 94, 0.3);
|
|
border-radius: var(--radius-md);
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.result-card h4 {
|
|
color: var(--success);
|
|
margin-bottom: 0.5rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.formatted-phone {
|
|
color: var(--text-primary);
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
font-family: 'Raleway', sans-serif;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
/* ===== CODE BLOCK ===== */
|
|
.code-block {
|
|
background: var(--bg-darker);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.code-block code {
|
|
color: var(--primary-light);
|
|
font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
|
|
font-size: 0.9rem;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.text-muted-custom {
|
|
color: var(--text-muted);
|
|
font-size: 0.9rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.text-muted-custom code {
|
|
background: var(--bg-elevated);
|
|
padding: 0.2em 0.4em;
|
|
border-radius: 4px;
|
|
color: var(--primary-light);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
/* ===== FLASH MESSAGES ===== */
|
|
.flash-messages {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.flash-message {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
padding: 1rem 1.5rem;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
animation: slideIn 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.flash-icon {
|
|
font-size: 1.25rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.flash-success {
|
|
border-color: rgba(34, 197, 94, 0.3);
|
|
}
|
|
|
|
.flash-success .flash-icon {
|
|
color: var(--success);
|
|
}
|
|
|
|
.flash-error {
|
|
border-color: rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.flash-error .flash-icon {
|
|
color: var(--error);
|
|
}
|
|
|
|
.flash-warning {
|
|
border-color: rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.flash-warning .flash-icon {
|
|
color: #f59e0b;
|
|
}
|
|
|
|
/* ===== AUTH CARD ===== */
|
|
.auth-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-xl);
|
|
padding: 2.5rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.auth-header {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.auth-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 9999px;
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
margin: 0 auto 1.25rem;
|
|
}
|
|
|
|
.auth-header h1 {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.auth-subtitle {
|
|
color: var(--text-muted);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.input-icon-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.input-icon {
|
|
position: absolute;
|
|
left: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-muted);
|
|
font-size: 0.9rem;
|
|
transition: var(--transition);
|
|
z-index: 2;
|
|
}
|
|
|
|
.form-control-icon {
|
|
padding-left: 2.75rem !important;
|
|
}
|
|
|
|
.form-control-icon:focus + .input-icon,
|
|
.input-icon-wrapper:focus-within .input-icon {
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Checkbox */
|
|
.checkbox-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.custom-checkbox {
|
|
display: none;
|
|
}
|
|
|
|
.checkmark {
|
|
width: 20px;
|
|
height: 20px;
|
|
min-width: 20px;
|
|
border: 2px solid var(--border-light);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition);
|
|
position: relative;
|
|
}
|
|
|
|
.custom-checkbox:checked + .checkmark {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.custom-checkbox:checked + .checkmark::after {
|
|
content: '\2713';
|
|
color: white;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.checkbox-label {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.btn-primary.w-100 {
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 0.85rem 1.5rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* ===== VISITS CARD ===== */
|
|
.visits-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-xl);
|
|
padding: 3rem 2.5rem;
|
|
text-align: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.visits-card:hover {
|
|
border-color: var(--border-light);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.visits-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 9999px;
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2rem;
|
|
margin: 0 auto 1.5rem;
|
|
}
|
|
|
|
.visits-card h1 {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.visits-description {
|
|
color: var(--text-muted);
|
|
font-size: 0.9rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.visits-counter {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.visits-number {
|
|
font-family: 'Raleway', sans-serif;
|
|
font-size: 4rem;
|
|
font-weight: 700;
|
|
color: var(--primary);
|
|
line-height: 1;
|
|
text-shadow: 0 0 40px rgba(230, 57, 70, 0.3);
|
|
}
|
|
|
|
.visits-label {
|
|
color: var(--text-muted);
|
|
font-size: 1rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
/* ===== SECRET PAGE ===== */
|
|
.secret-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-xl);
|
|
padding: 3rem 2.5rem;
|
|
text-align: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.secret-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 9999px;
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2rem;
|
|
margin: 0 auto 1.5rem;
|
|
}
|
|
|
|
.secret-card h1 {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.secret-welcome {
|
|
font-size: 1.1rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.secret-username {
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.secret-description {
|
|
color: var(--text-muted);
|
|
font-size: 0.9rem;
|
|
margin-bottom: 2rem;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.secret-info {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.secret-info-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
background: var(--bg-elevated);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
padding: 1rem 1.5rem;
|
|
}
|
|
|
|
.secret-info-item i {
|
|
color: var(--primary);
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.secret-info-item div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: left;
|
|
}
|
|
|
|
.info-label {
|
|
color: var(--text-muted);
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.info-value {
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
/* ===== USERS PAGE ===== */
|
|
.users-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.user-avatar-sm {
|
|
width: 36px;
|
|
height: 36px;
|
|
min-width: 36px;
|
|
border-radius: 9999px;
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 0.85rem;
|
|
font-family: 'Raleway', sans-serif;
|
|
}
|
|
|
|
.user-avatar-lg {
|
|
width: 72px;
|
|
height: 72px;
|
|
min-width: 72px;
|
|
border-radius: 9999px;
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 1.75rem;
|
|
font-family: 'Raleway', sans-serif;
|
|
border: 2px solid rgba(230, 57, 70, 0.3);
|
|
}
|
|
|
|
.role-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background: rgba(230, 57, 70, 0.1);
|
|
color: var(--primary);
|
|
border: 1px solid rgba(230, 57, 70, 0.3);
|
|
border-radius: 9999px;
|
|
padding: 0.2rem 0.7rem;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ===== ACTION BUTTONS ===== */
|
|
.action-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.btn-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.4rem 0.75rem;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
text-decoration: none;
|
|
background: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-view {
|
|
color: var(--text-secondary);
|
|
border-color: var(--border);
|
|
background: var(--bg-elevated);
|
|
}
|
|
|
|
.btn-view:hover {
|
|
color: var(--text-primary);
|
|
border-color: var(--border-light);
|
|
background: var(--bg-card-hover);
|
|
}
|
|
|
|
.btn-edit {
|
|
color: #3b82f6;
|
|
border-color: rgba(59, 130, 246, 0.3);
|
|
background: rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.btn-edit:hover {
|
|
color: #60a5fa;
|
|
border-color: rgba(59, 130, 246, 0.5);
|
|
background: rgba(59, 130, 246, 0.15);
|
|
}
|
|
|
|
.btn-delete {
|
|
color: var(--error);
|
|
border-color: rgba(239, 68, 68, 0.3);
|
|
background: rgba(239, 68, 68, 0.1);
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
color: #f87171;
|
|
border-color: rgba(239, 68, 68, 0.5);
|
|
background: rgba(239, 68, 68, 0.15);
|
|
}
|
|
|
|
/* ===== EMPTY STATE ===== */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 3rem 2rem;
|
|
}
|
|
|
|
.empty-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 9999px;
|
|
background: var(--bg-elevated);
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2rem;
|
|
margin: 0 auto 1.5rem;
|
|
}
|
|
|
|
.empty-state p {
|
|
color: var(--text-muted);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* ===== USER PROFILE ===== */
|
|
.user-profile-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
padding-bottom: 1.25rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.user-login-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background: var(--bg-elevated);
|
|
color: var(--text-muted);
|
|
border-radius: var(--radius-sm);
|
|
padding: 0.2rem 0.6rem;
|
|
font-size: 0.85rem;
|
|
font-family: 'Fira Code', monospace;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.field-label {
|
|
color: var(--text-muted);
|
|
font-size: 0.85rem;
|
|
width: 38%;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ===== PAGE BACK HEADER ===== */
|
|
.page-back-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.page-back-header h1 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.btn-back {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 38px;
|
|
height: 38px;
|
|
min-width: 38px;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-elevated);
|
|
border: 1px solid var(--border);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.btn-back:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
background: var(--primary-bg);
|
|
}
|
|
|
|
/* ===== MODAL ===== */
|
|
.custom-modal {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.custom-modal-header {
|
|
border-bottom: 1px solid var(--border);
|
|
padding: 1.25rem 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.modal-title-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.modal-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
min-width: 36px;
|
|
border-radius: 9999px;
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: var(--error);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.modal-title {
|
|
color: var(--text-primary);
|
|
font-family: 'Raleway', sans-serif;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
}
|
|
|
|
.custom-modal-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.custom-modal-footer {
|
|
border-top: 1px solid var(--border);
|
|
padding: 1rem 1.5rem;
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
/* ===== DANGER BUTTON ===== */
|
|
.btn-danger-custom {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1.5rem;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
border-radius: var(--radius-md);
|
|
background: linear-gradient(135deg, #ef4444, #dc2626);
|
|
border: none;
|
|
color: white;
|
|
box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-danger-custom:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
|
|
}
|
|
|
|
/* ===== FORM SELECT ===== */
|
|
.form-select-custom {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
|
|
background-repeat: no-repeat;
|
|
background-position: right 0.75rem center;
|
|
background-size: 16px 12px;
|
|
padding-right: 2.5rem !important;
|
|
}
|
|
|
|
.form-select-custom option {
|
|
background: var(--bg-card);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* ===== RESPONSIVE ===== */
|
|
@media (max-width: 768px) {
|
|
.post-meta {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.footer-content {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.comment {
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.comment-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
min-width: 40px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.replies {
|
|
padding-left: 1rem;
|
|
}
|
|
|
|
.data-card {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.data-table tbody td,
|
|
.data-table thead th {
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.formatted-phone {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.users-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.action-buttons {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn-action {
|
|
font-size: 0.75rem;
|
|
padding: 0.35rem 0.6rem;
|
|
}
|
|
|
|
.user-profile-header {
|
|
gap: 1rem;
|
|
}
|
|
|
|
.user-avatar-lg {
|
|
width: 56px;
|
|
height: 56px;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.field-label {
|
|
width: 42%;
|
|
}
|
|
}
|
|
|
|
/* ===== Пагинация ===== */
|
|
.pagination-container {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
justify-content: center;
|
|
margin-top: 2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pagination-btn {
|
|
min-width: 40px;
|
|
height: 40px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #141414;
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
text-decoration: none;
|
|
padding: 0 0.6rem;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pagination-btn:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.pagination-btn.active {
|
|
background: rgba(230, 57, 70, 0.15);
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
}
|