291 lines
5.2 KiB
CSS
291 lines
5.2 KiB
CSS
/* create-room.css */
|
|
.cr-modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
backdrop-filter: blur(8px);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10001; /* Mayor que el navbar */
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.cr-modal-overlay.show {
|
|
display: flex;
|
|
opacity: 1;
|
|
}
|
|
|
|
.cr-modal-content {
|
|
background: rgba(20, 20, 20, 0.95);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
|
|
border-radius: 16px;
|
|
padding: 32px;
|
|
max-width: 450px;
|
|
width: 90%;
|
|
position: relative;
|
|
transform: scale(0.95);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.cr-modal-overlay.show .cr-modal-content {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.cr-modal-close {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.cr-modal-close:hover {
|
|
color: white;
|
|
}
|
|
|
|
.cr-modal-title {
|
|
margin: 0 0 24px 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
color: white;
|
|
background: linear-gradient(to right, #fff, #a78bfa);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.cr-form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.cr-form-group label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
color: #e5e7eb;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.cr-input {
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
padding: 12px 16px;
|
|
border-radius: 10px;
|
|
font-size: 0.95rem;
|
|
outline: none;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.cr-input:focus {
|
|
border-color: #8b5cf6; /* Tu color primario */
|
|
}
|
|
|
|
.cr-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.cr-btn-cancel {
|
|
background: transparent;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.cr-btn-confirm {
|
|
background: #8b5cf6;
|
|
border: none;
|
|
color: white;
|
|
padding: 10px 24px;
|
|
border-radius: 8px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.cr-btn-confirm:hover {
|
|
background: #7c3aed;
|
|
}
|
|
|
|
.cr-btn-confirm:disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Add to room.css */
|
|
.modal-header-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.btn-icon-small {
|
|
background: rgba(255,255,255,0.1);
|
|
border: none;
|
|
color: white;
|
|
padding: 6px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.config-grid {
|
|
display: flex;
|
|
gap: 24px;
|
|
}
|
|
|
|
.config-poster img {
|
|
width: 140px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.config-form {
|
|
flex: 1;
|
|
}
|
|
|
|
.form-select, .form-input {
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
font-size: 0.95rem;
|
|
outline: none;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.form-select:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-group.half {
|
|
flex: 1;
|
|
}
|
|
|
|
.full-width {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.config-grid { flex-direction: column; align-items: center; }
|
|
.config-poster img { width: 100px; }
|
|
}
|
|
|
|
.modal-header-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.btn-icon-small {
|
|
background: rgba(255,255,255,0.1);
|
|
border: none;
|
|
color: white;
|
|
padding: 6px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn-icon-small:hover {
|
|
background: rgba(255,255,255,0.2);
|
|
}
|
|
|
|
/* Config Grid Layout */
|
|
.config-grid {
|
|
display: flex;
|
|
gap: 24px;
|
|
}
|
|
|
|
.config-poster img {
|
|
width: 140px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.5);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.config-form {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Form Elements */
|
|
.form-select, .form-input {
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
font-size: 0.95rem;
|
|
outline: none;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.form-select:focus, .form-input:focus {
|
|
border-color: var(--brand-color);
|
|
}
|
|
|
|
.form-select:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Form Select specific for dark mode options */
|
|
.form-select option {
|
|
background: #1a1a1a;
|
|
color: white;
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-group.half {
|
|
flex: 1;
|
|
}
|
|
|
|
.full-width {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* Mobile Responsiveness */
|
|
@media (max-width: 600px) {
|
|
.config-grid { flex-direction: column; align-items: center; }
|
|
.config-poster img { width: 100px; }
|
|
.form-row { flex-direction: column; gap: 0; }
|
|
} |