nakama/frontend/src/components/PostMenu.css

156 lines
3.0 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.

/* Блокирует ВСЕ клики под собой */
.post-menu-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--bg-secondary);
z-index: 999; /* Выше навигации (50) */
display: flex;
flex-direction: column;
padding: 16px;
overflow: hidden;
/* Убираем pointer-events и touch-action чтобы не блокировать клики */
}
.report-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--bg-secondary);
z-index: 9999;
display: flex;
flex-direction: column;
/* Убираем pointer-events и touch-action чтобы не блокировать клики */
}
.menu-header {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 16px;
border-bottom: 1px solid var(--divider-color);
}
.menu-header h2 {
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
}
.menu-close-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--bg-primary);
color: var(--text-primary);
display: flex;
align-items: center;
justify-content: center;
border: none;
cursor: pointer;
/* Убираем pointer-events чтобы клики работали */
}
.menu-close-btn svg {
stroke: currentColor;
}
.menu-items {
padding-top: 16px;
display: flex;
flex-direction: column;
gap: 8px;
/* Убираем pointer-events и touch-action чтобы клики работали */
}
.menu-item {
width: 100%;
padding: 16px;
background: var(--bg-primary);
border: none;
display: flex;
align-items: center;
gap: 12px;
color: var(--text-primary);
font-size: 16px;
font-weight: 500;
border-radius: 12px;
cursor: pointer;
/* Убираем pointer-events и touch-action чтобы клики работали */
}
.menu-item svg {
stroke: currentColor;
}
.menu-item:active {
opacity: 0.7;
transform: scale(0.98);
}
.menu-item.danger {
color: #FF3B30;
}
.report-modal-header {
padding: 16px;
border-bottom: 1px solid var(--divider-color);
display: flex;
align-items: center;
justify-content: space-between;
}
.report-modal-header h2 {
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
}
.report-modal-body {
flex: 1;
padding: 16px;
}
.report-modal-body textarea {
width: 100%;
height: 200px;
padding: 12px;
border: 1px solid var(--border-color);
border-radius: 12px;
background: var(--bg-primary);
color: var(--text-primary);
font-size: 15px;
line-height: 1.5;
resize: none;
/* Убираем pointer-events чтобы клики работали */
}
.submit-btn {
padding: 8px 16px;
border-radius: 20px;
background: #1C1C1E;
color: white;
font-size: 14px;
font-weight: 600;
border: none;
cursor: pointer;
/* Убираем pointer-events чтобы клики работали */
}
.submit-btn:disabled {
opacity: 0.5;
}
[data-theme="dark"] .submit-btn {
background: #FFFFFF;
color: #000000;
}
[data-theme="dark"] .submit-btn:disabled {
opacity: 0.5;
}