botui/ui/suite/meet/meet.css
Rodrigo Rodriguez (Pragmatismo) 1f95ac7a15 refactor: Extract inline CSS/JS to separate files for monitoring module
- Create individual CSS files: monitoring.css, alerts.css, health.css, logs.css, metrics.css, resources.css
- Create individual JS files: monitoring.js, alerts.js, health.js, logs.js, metrics.js, resources.js
- Update HTML files to reference external CSS/JS files
- Add CSS/JS files for other modules (analytics, chat, mail, meet, tasks, etc.)
- Remove obsolete implementation plan files
2025-12-07 09:56:27 -03:00

643 lines
11 KiB
CSS

/* Meet - Video Conferencing styles */
.meet-container {
display: flex;
flex-direction: column;
height: 100%;
background: var(--bg);
color: var(--text);
}
.meet-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.5rem;
background: var(--surface);
border-bottom: 1px solid var(--border);
}
.meet-brand {
display: flex;
align-items: center;
gap: 0.75rem;
}
.brand-icon {
width: 32px;
height: 32px;
}
.meet-brand h1 {
font-size: 1.25rem;
font-weight: 600;
margin: 0;
}
.meet-actions {
display: flex;
gap: 0.75rem;
}
.btn-primary, .btn-secondary {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.625rem 1rem;
border-radius: 8px;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
border: none;
}
.btn-primary {
background: var(--primary);
color: white;
}
.btn-primary:hover {
background: var(--primary-hover);
}
.btn-secondary {
background: var(--surface-hover);
color: var(--text);
border: 1px solid var(--border);
}
.btn-secondary:hover {
background: var(--border);
}
.meet-main {
flex: 1;
overflow-y: auto;
padding: 1.5rem;
}
.section-header {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
}
.section-header h2 {
font-size: 1.125rem;
font-weight: 600;
margin: 0;
}
.room-count {
background: var(--primary);
color: white;
padding: 0.125rem 0.5rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
}
.rooms-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
margin-bottom: 2rem;
}
.loading-placeholder {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
color: var(--text-secondary);
}
.spinner {
width: 24px;
height: 24px;
border: 2px solid var(--border);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin-bottom: 0.5rem;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Meeting Room Styles */
.meeting-room {
position: fixed;
inset: 0;
display: flex;
flex-direction: column;
background: #000;
z-index: 100;
}
.meeting-room.hidden {
display: none;
}
.room-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
background: rgba(0, 0, 0, 0.8);
}
.room-info {
display: flex;
align-items: center;
gap: 1rem;
}
.room-info h2 {
font-size: 1rem;
font-weight: 500;
margin: 0;
color: white;
}
.room-id, .room-timer {
font-size: 0.75rem;
color: rgba(255, 255, 255, 0.6);
}
.room-controls-top {
display: flex;
gap: 0.5rem;
}
.control-btn {
display: flex;
align-items: center;
gap: 0.375rem;
padding: 0.5rem 0.75rem;
background: rgba(255, 255, 255, 0.1);
border: none;
border-radius: 6px;
color: white;
font-size: 0.75rem;
cursor: pointer;
transition: background 0.2s;
}
.control-btn:hover {
background: rgba(255, 255, 255, 0.2);
}
.control-btn.active {
background: var(--primary);
}
.control-btn .badge {
background: var(--error);
color: white;
padding: 0.125rem 0.375rem;
border-radius: 9999px;
font-size: 0.625rem;
font-weight: 600;
}
.control-btn .badge.hidden {
display: none;
}
.video-grid {
flex: 1;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 0.5rem;
padding: 0.5rem;
background: #111;
}
.video-tile {
position: relative;
background: #222;
border-radius: 8px;
overflow: hidden;
aspect-ratio: 16 / 9;
}
.video-tile video {
width: 100%;
height: 100%;
object-fit: cover;
}
.video-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 0.5rem;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
display: flex;
justify-content: space-between;
align-items: center;
}
.participant-name {
color: white;
font-size: 0.75rem;
font-weight: 500;
}
.video-indicators {
display: flex;
gap: 0.25rem;
}
.indicator {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
background: rgba(0, 0, 0, 0.5);
border-radius: 4px;
color: white;
}
.indicator.mic-off svg {
color: var(--error);
}
.room-sidebar {
position: absolute;
right: 0;
top: 50px;
bottom: 80px;
width: 320px;
background: var(--surface);
border-left: 1px solid var(--border);
display: flex;
flex-direction: column;
}
.sidebar-panel {
display: flex;
flex-direction: column;
height: 100%;
}
.sidebar-panel.hidden {
display: none;
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
border-bottom: 1px solid var(--border);
}
.panel-header h3 {
font-size: 0.875rem;
font-weight: 600;
margin: 0;
}
.panel-content {
flex: 1;
overflow-y: auto;
padding: 1rem;
}
.participants-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.panel-actions {
display: flex;
gap: 0.5rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
margin-top: 1rem;
}
.chat-messages {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.chat-form {
display: flex;
gap: 0.5rem;
padding-top: 0.75rem;
border-top: 1px solid var(--border);
margin-top: auto;
}
.chat-form input {
flex: 1;
padding: 0.5rem 0.75rem;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text);
font-size: 0.875rem;
}
.chat-form input:focus {
outline: none;
border-color: var(--primary);
}
.room-controls {
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
background: rgba(0, 0, 0, 0.9);
gap: 2rem;
}
.controls-left, .controls-center, .controls-right {
display: flex;
gap: 0.75rem;
}
.control-btn-lg {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.25rem;
padding: 0.75rem 1rem;
background: rgba(255, 255, 255, 0.1);
border: none;
border-radius: 12px;
color: white;
font-size: 0.625rem;
cursor: pointer;
transition: all 0.2s;
min-width: 64px;
}
.control-btn-lg:hover {
background: rgba(255, 255, 255, 0.2);
}
.control-btn-lg.active {
background: var(--primary);
}
.control-btn-lg.btn-danger {
background: var(--error);
}
.control-btn-lg.btn-danger:hover {
background: #dc2626;
}
.control-btn-lg.muted {
background: var(--error);
}
/* Modal Styles */
.modal {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.5);
z-index: 200;
border: none;
padding: 0;
max-width: 100%;
max-height: 100%;
width: 100%;
height: 100%;
}
.modal::backdrop {
background: rgba(0, 0, 0, 0.5);
}
.modal-content {
background: var(--surface);
border-radius: 12px;
width: 100%;
max-width: 480px;
max-height: 90vh;
overflow-y: auto;
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.25rem;
border-bottom: 1px solid var(--border);
}
.modal-header h3 {
font-size: 1.125rem;
font-weight: 600;
margin: 0;
}
.modal-body {
padding: 1.25rem;
}
.form-group {
margin-bottom: 1rem;
}
.form-group label {
display: block;
font-size: 0.875rem;
font-weight: 500;
margin-bottom: 0.375rem;
color: var(--text-secondary);
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 0.625rem 0.75rem;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text);
font-size: 0.875rem;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary);
}
.form-group textarea {
min-height: 80px;
resize: vertical;
}
.checkbox-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.checkbox-label {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
font-size: 0.875rem;
}
.checkbox-label input {
width: auto;
}
.preview-container {
position: relative;
background: #000;
border-radius: 8px;
overflow: hidden;
aspect-ratio: 16 / 9;
margin-top: 1rem;
}
.preview-container video {
width: 100%;
height: 100%;
object-fit: cover;
}
.preview-controls {
position: absolute;
bottom: 0.5rem;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 0.5rem;
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 0.75rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
margin-top: 1rem;
}
.copy-input {
display: flex;
gap: 0.5rem;
}
.copy-input input {
flex: 1;
}
.btn-icon, .btn-icon-sm {
display: flex;
align-items: center;
justify-content: center;
gap: 0.375rem;
padding: 0.5rem;
background: var(--surface-hover);
border: none;
border-radius: 6px;
color: var(--text);
cursor: pointer;
transition: background 0.2s;
}
.btn-icon:hover, .btn-icon-sm:hover {
background: var(--border);
}
.btn-icon-sm {
padding: 0.25rem;
}
/* Reactions */
.reactions-popup {
position: fixed;
bottom: 100px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 0.5rem;
padding: 0.5rem;
background: var(--surface);
border-radius: 9999px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
z-index: 150;
}
.reactions-popup.hidden {
display: none;
}
.reaction-btn {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: none;
border-radius: 50%;
font-size: 1.25rem;
cursor: pointer;
transition: transform 0.2s, background 0.2s;
}
.reaction-btn:hover {
background: var(--surface-hover);
transform: scale(1.2);
}
/* Responsive */
@media (max-width: 768px) {
.meet-header {
flex-direction: column;
gap: 1rem;
padding: 1rem;
}
.meet-actions {
width: 100%;
}
.meet-actions button {
flex: 1;
}
.room-sidebar {
width: 100%;
right: 0;
left: 0;
}
.room-controls {
flex-wrap: wrap;
gap: 1rem;
}
.control-btn-lg {
min-width: 56px;
padding: 0.5rem;
}
}