2025-06-30 18:25:26 +00:00
|
|
|
/* Admin Panel Layout */
|
|
|
|
.admin-panel {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
background-color: var(--background-color);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-container {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0.75rem 2rem;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-left {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-right {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.community-selector {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.community-selector select {
|
|
|
|
padding: 6px 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
background-color: white;
|
|
|
|
min-width: 180px;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.community-selector select:focus {
|
|
|
|
outline: none;
|
|
|
|
border-color: #3b82f6;
|
|
|
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Стиль для выбранного сообщества */
|
|
|
|
.community-selected {
|
|
|
|
border-color: #10b981 !important;
|
|
|
|
background-color: #f0fdf4 !important;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.community-badge {
|
|
|
|
background: linear-gradient(135deg, #10b981, #059669);
|
|
|
|
color: white;
|
|
|
|
padding: 4px 8px;
|
|
|
|
border-radius: 12px;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
font-weight: 500;
|
|
|
|
white-space: nowrap;
|
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-indicator {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
color: #666;
|
|
|
|
font-style: italic;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
2025-07-02 19:30:21 +00:00
|
|
|
height: 2rem;
|
|
|
|
width: auto;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-container h1 {
|
2025-07-02 19:30:21 +00:00
|
|
|
margin: 0;
|
|
|
|
color: var(--text-color);
|
|
|
|
font-size: 1.5rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.version-badge {
|
|
|
|
background: linear-gradient(135deg, #10b981, #059669);
|
|
|
|
color: white;
|
|
|
|
padding: 2px 8px;
|
|
|
|
border-radius: 8px;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
font-weight: 500;
|
|
|
|
letter-spacing: 0.5px;
|
|
|
|
box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
|
|
|
|
white-space: nowrap;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.logout-button {
|
2025-07-02 19:30:21 +00:00
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: transparent;
|
|
|
|
color: var(--text-color);
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.2s ease;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.logout-button:hover {
|
2025-07-02 19:30:21 +00:00
|
|
|
background-color: var(--hover-color);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.admin-tabs {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
padding: 0.75rem 2rem;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2025-07-02 19:30:21 +00:00
|
|
|
flex: 1;
|
|
|
|
padding: 1rem 3rem;
|
|
|
|
max-width: 1400px;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 100%;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Common Styles */
|
|
|
|
.loading {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: 2rem;
|
|
|
|
color: var(--text-color-light);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.empty-state {
|
2025-07-02 19:30:21 +00:00
|
|
|
text-align: center;
|
|
|
|
padding: 60px 20px;
|
|
|
|
color: #6b7280;
|
|
|
|
max-width: 600px;
|
|
|
|
margin: 0 auto;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.empty-state h3 {
|
2025-07-02 19:30:21 +00:00
|
|
|
color: #374151;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
font-size: 1.5rem;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.empty-state p {
|
2025-07-02 19:30:21 +00:00
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.6;
|
|
|
|
margin-bottom: 0;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.empty-state code {
|
2025-07-02 19:30:21 +00:00
|
|
|
background: #f3f4f6;
|
|
|
|
padding: 2px 6px;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", monospace;
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: #1f2937;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.empty-state details {
|
2025-07-02 19:30:21 +00:00
|
|
|
text-align: left;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.empty-state summary:hover {
|
2025-07-02 19:30:21 +00:00
|
|
|
color: #3b82f6;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.empty-state pre {
|
2025-07-02 19:30:21 +00:00
|
|
|
text-align: left;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-break: break-all;
|
|
|
|
margin: 0;
|
|
|
|
font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", monospace;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.error-message {
|
2025-07-02 19:30:21 +00:00
|
|
|
margin: 1rem 2rem;
|
|
|
|
padding: 1rem;
|
|
|
|
background-color: var(--error-color-light);
|
|
|
|
color: var(--error-color-dark);
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid var(--error-color);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.success-message {
|
2025-07-02 19:30:21 +00:00
|
|
|
margin: 1rem 2rem;
|
|
|
|
padding: 1rem;
|
|
|
|
background-color: var(--success-color-light);
|
|
|
|
color: var(--success-color-dark);
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid var(--success-color);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Users Route Styles */
|
|
|
|
.authors-container {
|
2025-07-02 19:30:21 +00:00
|
|
|
padding: 0;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.authors-controls {
|
2025-07-02 19:30:21 +00:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
width: 100%;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-container {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
width: 100%;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-input-group {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
flex: 1;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-input {
|
2025-07-02 19:30:21 +00:00
|
|
|
flex: 1;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
border-radius: var(--border-radius-sm);
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
color: var(--text-color);
|
|
|
|
background-color: var(--background-color);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-input:focus {
|
2025-07-02 19:30:21 +00:00
|
|
|
outline: none;
|
|
|
|
border-color: var(--primary-color);
|
|
|
|
box-shadow: 0 0 0 2px var(--primary-color-light);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-button {
|
2025-07-02 19:30:21 +00:00
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: white;
|
|
|
|
border: none;
|
|
|
|
border-radius: var(--border-radius-sm);
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all var(--transition-fast);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-button:hover {
|
2025-07-02 19:30:21 +00:00
|
|
|
background-color: var(--primary-color-dark);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.authors-list {
|
2025-07-02 19:30:21 +00:00
|
|
|
overflow-x: auto;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.authors-list table {
|
2025-07-02 19:30:21 +00:00
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
min-width: 800px;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.authors-list th,
|
|
|
|
.authors-list td {
|
2025-07-02 19:30:21 +00:00
|
|
|
padding: 1.2rem 1.5rem;
|
|
|
|
text-align: left;
|
|
|
|
border-bottom: 1px solid var(--border-color);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.authors-list th {
|
2025-07-02 19:30:21 +00:00
|
|
|
background-color: var(--header-background);
|
|
|
|
color: var(--text-color);
|
|
|
|
font-weight: var(--font-weight-medium);
|
|
|
|
white-space: nowrap;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
|
2025-06-30 18:25:26 +00:00
|
|
|
|
|
|
|
.roles-cell {
|
2025-07-02 19:30:21 +00:00
|
|
|
min-width: 200px;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.roles-container {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.5rem;
|
|
|
|
align-items: center;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.role-badge {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.25rem;
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
background-color: var(--secondary-color-light);
|
|
|
|
border-radius: var(--border-radius-sm);
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
color: var(--text-color);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.role-icon {
|
2025-07-02 19:30:21 +00:00
|
|
|
font-size: var(--font-size-base);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.edit-role-badge {
|
2025-07-02 19:30:21 +00:00
|
|
|
cursor: pointer;
|
|
|
|
background-color: var(--primary-color-light);
|
|
|
|
color: var(--primary-color);
|
|
|
|
transition: all var(--transition-fast);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.edit-role-badge:hover {
|
2025-07-02 19:30:21 +00:00
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: white;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Shouts Route Styles */
|
|
|
|
.shouts-container {
|
2025-07-02 19:30:21 +00:00
|
|
|
padding: 0;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.shouts-controls {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 1.5rem;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
flex-wrap: wrap;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-filter select {
|
2025-07-02 19:30:21 +00:00
|
|
|
padding: 0.5rem;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: white;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.shouts-list {
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-badge {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 0.35rem;
|
|
|
|
border-radius: 6px;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
text-align: center;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-badge.status-published {
|
2025-07-02 19:30:21 +00:00
|
|
|
background-color: var(--success-color-light);
|
|
|
|
color: var(--success-color-dark);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-badge.status-draft {
|
2025-07-02 19:30:21 +00:00
|
|
|
background-color: var(--warning-color-light);
|
|
|
|
color: var(--warning-color-dark);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-badge.status-deleted {
|
2025-07-02 19:30:21 +00:00
|
|
|
background-color: var(--error-color-light);
|
|
|
|
color: var(--error-color-dark);
|
|
|
|
}
|
|
|
|
|
|
|
|
.authors-list {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 4px;
|
|
|
|
margin: 0;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.author-badge {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
background-color: var(--success-color-light);
|
|
|
|
color: var(--success-color-dark);
|
|
|
|
margin: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
max-width: 120px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topics-list {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 4px;
|
|
|
|
margin: 0;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.topic-badge {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
background-color: var(--info-color-light);
|
|
|
|
color: var(--info-color-dark);
|
|
|
|
margin: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
max-width: 100px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.community-badge {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 0.875rem;
|
|
|
|
background-color: var(--primary-color-light);
|
|
|
|
color: var(--primary-color-dark);
|
|
|
|
margin: 0.25rem;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.community-badge:hover {
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: white;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.body-cell {
|
2025-07-02 19:30:21 +00:00
|
|
|
cursor: pointer;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.body-cell:hover {
|
2025-07-02 19:30:21 +00:00
|
|
|
background-color: var(--hover-color);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-data {
|
2025-07-02 19:30:21 +00:00
|
|
|
color: var(--text-color-light);
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Компактная кнопка для медиа body */
|
|
|
|
.edit-button {
|
|
|
|
background: #f3f4f6;
|
|
|
|
border: 1px solid #d1d5db;
|
|
|
|
color: #374151;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-button:hover {
|
|
|
|
background: #e5e7eb;
|
|
|
|
border-color: #9ca3af;
|
|
|
|
transform: scale(1.05);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Environment Variables Route Styles */
|
|
|
|
.env-variables-container {
|
2025-07-02 19:30:21 +00:00
|
|
|
padding: 1.5rem 0;
|
|
|
|
max-width: none;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.env-sections {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 2rem;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.env-section {
|
2025-07-02 19:30:21 +00:00
|
|
|
background-color: white;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
padding: 2rem;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.section-name {
|
2025-07-02 19:30:21 +00:00
|
|
|
margin: 0 0 1rem;
|
|
|
|
color: var(--text-color);
|
|
|
|
font-size: 1.25rem;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.section-description {
|
2025-07-02 19:30:21 +00:00
|
|
|
margin: 0 0 1.5rem;
|
|
|
|
color: var(--text-color-light);
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.variables-list {
|
2025-07-02 19:30:21 +00:00
|
|
|
overflow-x: auto;
|
|
|
|
margin: 0 -1rem;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.empty-value {
|
2025-07-02 19:30:21 +00:00
|
|
|
color: var(--text-color-light);
|
|
|
|
font-style: italic;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
2025-07-02 19:30:21 +00:00
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Table Styles */
|
|
|
|
table {
|
2025-07-02 19:30:21 +00:00
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
min-width: 900px;
|
|
|
|
table-layout: fixed; /* Фиксированная ширина столбцов */
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
2025-07-02 19:30:21 +00:00
|
|
|
text-align: left;
|
|
|
|
padding: 0.8rem 1rem;
|
|
|
|
color: var(--text-color);
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
white-space: nowrap; /* Заголовки не переносятся */
|
|
|
|
overflow: hidden;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 0.5px;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2025-07-02 19:30:21 +00:00
|
|
|
padding: 0.8rem 1rem;
|
|
|
|
color: var(--text-color);
|
|
|
|
font-size: 0.85rem;
|
|
|
|
line-height: 1.4;
|
|
|
|
word-wrap: break-word; /* Перенос длинных слов */
|
|
|
|
white-space: normal; /* Разрешаем перенос строк */
|
|
|
|
vertical-align: top; /* Выравнивание по верхнему краю */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Специальные стили для колонок публикаций (после удаления колонки "Статус") */
|
|
|
|
.shouts-list th:nth-child(1) {
|
|
|
|
width: 5%;
|
|
|
|
} /* ID */
|
|
|
|
.shouts-list th:nth-child(2) {
|
|
|
|
width: 22%;
|
|
|
|
} /* ЗАГОЛОВОК */
|
|
|
|
.shouts-list th:nth-child(3) {
|
|
|
|
width: 12%;
|
|
|
|
} /* SLUG */
|
|
|
|
.shouts-list th:nth-child(4) {
|
|
|
|
width: 15%;
|
|
|
|
} /* АВТОРЫ */
|
|
|
|
.shouts-list th:nth-child(5) {
|
|
|
|
width: 15%;
|
|
|
|
} /* ТЕМЫ */
|
|
|
|
.shouts-list th:nth-child(6) {
|
|
|
|
width: 10%;
|
|
|
|
} /* СОЗДАН */
|
|
|
|
.shouts-list th:nth-child(7) {
|
|
|
|
width: 16%;
|
|
|
|
} /* СОДЕРЖИМОЕ */
|
|
|
|
.shouts-list th:nth-child(8) {
|
|
|
|
width: 5%;
|
|
|
|
} /* MEDIA */
|
2025-06-30 18:25:26 +00:00
|
|
|
|
|
|
|
/* Компактные стили для колонки ID */
|
|
|
|
.shouts-list th:nth-child(1),
|
|
|
|
.shouts-list td:nth-child(1) {
|
2025-07-02 19:30:21 +00:00
|
|
|
padding: 0.6rem 0.4rem !important;
|
|
|
|
font-size: 0.7rem !important;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Колонки авторов и тем - больше места для бейджей */
|
|
|
|
.shouts-list td:nth-child(4) {
|
|
|
|
/* Колонка авторов */
|
|
|
|
padding: 0.5rem;
|
|
|
|
vertical-align: top;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
.shouts-list td:nth-child(5) {
|
|
|
|
/* Колонка тем */
|
|
|
|
padding: 0.5rem;
|
|
|
|
vertical-align: top;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
.shouts-list td:nth-child(7) {
|
|
|
|
/* Колонка содержимого */
|
|
|
|
max-width: 250px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
hyphens: auto;
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
|
|
|
|
|
2025-06-30 18:25:26 +00:00
|
|
|
/* Responsive Styles */
|
|
|
|
@media (max-width: 1024px) {
|
2025-07-02 19:30:21 +00:00
|
|
|
.header-container {
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
.admin-tabs {
|
|
|
|
padding: 1rem;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
main {
|
|
|
|
padding: 1rem 2rem;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
.authors-container,
|
|
|
|
.shouts-container,
|
|
|
|
.env-variables-container {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
.search-input-group {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
.search-button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
.shouts-controls {
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
.status-filter {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
|
2025-07-02 19:30:21 +00:00
|
|
|
.status-filter select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Responsive Design */
|
|
|
|
@media (max-width: 640px) {
|
2025-07-02 19:30:21 +00:00
|
|
|
.header-container {
|
|
|
|
padding: 1rem;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-left {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.authors-list {
|
|
|
|
margin: 0 -1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.authors-list table {
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
min-width: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.authors-list th,
|
|
|
|
.authors-list td {
|
|
|
|
padding: 0.8rem 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
padding: 0.8rem 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
min-width: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-container {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-input-group {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2025-06-30 18:25:26 +00:00
|
|
|
}
|