123 lines
2.6 KiB
CSS
123 lines
2.6 KiB
CSS
.stat-card {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.role-select-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
color: #212529;
|
|
background-color: #fff;
|
|
border: 1px solid #ced4da;
|
|
border-radius: 0.375rem;
|
|
box-shadow: none;
|
|
text-align: left;
|
|
}
|
|
|
|
.role-select-btn:hover,
|
|
.role-select-btn:focus {
|
|
background-color: #fff;
|
|
border-color: #adb5bd;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.dropdown-menu.show {
|
|
max-height: 220px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.multi-select-arrow-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.multi-select-arrow-wrap .select2-arrow-hint {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 12px;
|
|
transform: translateY(-50%);
|
|
pointer-events: auto;
|
|
cursor: pointer;
|
|
color: #6c757d;
|
|
font-size: 1rem;
|
|
}
|
|
.multi-select-arrow-wrap .select2-arrow-hint:hover {
|
|
color: #0d6efd;
|
|
}
|
|
.stat-card.blue {
|
|
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
|
}
|
|
|
|
.stat-card.orange {
|
|
background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 2.5rem;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
opacity: 0.9;
|
|
margin: 0.5rem 0 0 0;
|
|
}
|
|
/* Fix Select2 multi-select vertical alignment */
|
|
.select2-container--default .select2-selection--multiple {
|
|
min-height: 38px; /* match Bootstrap input height */
|
|
display: flex;
|
|
align-items: center; /* 🔥 THIS centers everything */
|
|
padding: 2px 6px;
|
|
}
|
|
|
|
/* Make tags align properly */
|
|
.select2-container--default .select2-selection__rendered {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
padding: 0 !important;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Fix individual tag spacing */
|
|
.select2-container--default .select2-selection__choice {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Fix input cursor alignment */
|
|
.select2-container--default .select2-search--inline .select2-search__field {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* Wrapper for chevron positioning */
|
|
.multi-select-arrow-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.multi-select-arrow-wrap .select2-container--default .select2-selection--multiple {
|
|
padding: 2px 45px 2px 6px; /* Add space for chevron */
|
|
}
|
|
|
|
.multi-select-arrow-wrap .select2-arrow-hint {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 12px;
|
|
transform: translateY(-50%);
|
|
pointer-events: auto;
|
|
cursor: pointer;
|
|
color: #6c757d;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.multi-select-arrow-wrap .select2-arrow-hint:hover {
|
|
color: #0d6efd;
|
|
} |