229 lines
3.3 KiB
CSS
229 lines
3.3 KiB
CSS
.members-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 900;
|
|
}
|
|
|
|
.members-modal {
|
|
background: white;
|
|
border-radius: 8px;
|
|
width: 90%;
|
|
max-width: 500px;
|
|
max-height: 80vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.members-modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1.5rem;
|
|
border-bottom: 1px solid #ecf0f1;
|
|
}
|
|
|
|
.members-modal-header h2 {
|
|
margin: 0;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.btn-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
color: #7f8c8d;
|
|
padding: 0;
|
|
width: 2rem;
|
|
height: 2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn-close:hover {
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.members-content {
|
|
padding: 1.5rem;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.invite-section {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.invite-section h3 {
|
|
margin: 0 0 1rem 0;
|
|
color: #2c3e50;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.invite-form {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.invite-form input,
|
|
.invite-form select {
|
|
padding: 0.75rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.invite-form input {
|
|
flex: 1;
|
|
}
|
|
|
|
.invite-form select {
|
|
min-width: 100px;
|
|
}
|
|
|
|
.invite-form input:focus,
|
|
.invite-form select:focus {
|
|
outline: none;
|
|
border-color: #3498db;
|
|
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
|
|
}
|
|
|
|
.btn-invite {
|
|
padding: 0.75rem 1.5rem;
|
|
background: #27ae60;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
.btn-invite:hover:not(:disabled) {
|
|
background: #229954;
|
|
}
|
|
|
|
.btn-invite:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.loading,
|
|
.no-members {
|
|
text-align: center;
|
|
color: #7f8c8d;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.members-list h3 {
|
|
margin: 0 0 1rem 0;
|
|
color: #2c3e50;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.member-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
border: 1px solid #ecf0f1;
|
|
border-radius: 4px;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.member-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.member-email {
|
|
color: #2c3e50;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.member-name {
|
|
color: #7f8c8d;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.member-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.role-select {
|
|
padding: 0.5rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-family: inherit;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.role-select:focus {
|
|
outline: none;
|
|
border-color: #3498db;
|
|
}
|
|
|
|
.btn-remove {
|
|
padding: 0.5rem 0.75rem;
|
|
background: #ecf0f1;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
color: #e74c3c;
|
|
font-weight: bold;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
.btn-remove:hover {
|
|
background: #e74c3c;
|
|
color: white;
|
|
}
|
|
|
|
.error-message {
|
|
background: #fee;
|
|
color: #c33;
|
|
padding: 0.75rem;
|
|
border-radius: 4px;
|
|
margin-bottom: 1rem;
|
|
border-left: 4px solid #c33;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.members-modal {
|
|
width: 95%;
|
|
max-height: 90vh;
|
|
}
|
|
|
|
.invite-form {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.invite-form select {
|
|
min-width: auto;
|
|
}
|
|
|
|
.member-item {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.member-actions {
|
|
width: 100%;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.role-select {
|
|
flex: 1;
|
|
}
|
|
}
|