147 lines
2.6 KiB
CSS
147 lines
2.6 KiB
CSS
.dropdown-grid {
|
|
width: 100%;
|
|
background: #fff;
|
|
}
|
|
|
|
.dropdown-grid-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #CCC;
|
|
font-size: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.dropdown-grid-chips {
|
|
border-bottom: 0;
|
|
padding: 8px;
|
|
min-height: 42px;
|
|
}
|
|
|
|
.dropdown-grid-chip {
|
|
display: inline-block;
|
|
background: #dfeaff;
|
|
border: 1px solid #c8d8f5;
|
|
color: #12335f;
|
|
border-radius: 18px;
|
|
padding: 5px 14px;
|
|
margin: 3px;
|
|
font-size: 13px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.dropdown-grid-search {
|
|
display: flex;
|
|
border: 1px solid #dcdcdc;
|
|
height: 40px;
|
|
}
|
|
|
|
.dropdown-grid-input {
|
|
flex: 1;
|
|
border: 0;
|
|
outline: none;
|
|
padding: 0 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dropdown-grid-search-icon {
|
|
width: 46px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-left: 1px solid #dcdcdc;
|
|
background: #f5f5f5;
|
|
color: #555;
|
|
}
|
|
|
|
.dropdown-grid-table-box {
|
|
display: none;
|
|
}
|
|
|
|
.dropdown-grid-floating {
|
|
display: block;
|
|
position: fixed;
|
|
z-index: 999999;
|
|
background: #fff;
|
|
border: 1px solid #dcdcdc;
|
|
border-radius: 4px;
|
|
box-shadow: 0 8px 24px rgba(0,0,0,.22);
|
|
min-width: 250px;
|
|
max-width: 400px;
|
|
max-height: 300px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.dropdown-grid-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dropdown-grid-table th {
|
|
background: #fff;
|
|
color: #111;
|
|
font-weight: 600;
|
|
padding: 8px;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
text-align: left;
|
|
}
|
|
|
|
.dropdown-grid-table td {
|
|
padding: 8px;
|
|
border-bottom: 1px solid #eeeeee;
|
|
color: #333;
|
|
}
|
|
|
|
.dropdown-grid-table tr:hover td {
|
|
background: #f7faff;
|
|
}
|
|
|
|
.dropdown-grid-check-col {
|
|
width: 38px;
|
|
text-align: center !important;
|
|
}
|
|
|
|
.dropdown-grid-check,
|
|
.dropdown-grid-select-all {
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dropdown-grid-empty {
|
|
padding: 12px;
|
|
color: #888;
|
|
font-size: 13px;
|
|
}
|
|
.dropdown-grid-floating thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
background: #fff;
|
|
z-index: 2;
|
|
}
|
|
.dropdown-grid-search {
|
|
position: relative;
|
|
z-index: 20;
|
|
}
|
|
|
|
.dropdown-grid-input {
|
|
position: relative;
|
|
z-index: 25;
|
|
pointer-events: auto !important;
|
|
background: #fff;
|
|
}
|
|
|
|
.dropdown-grid-table-box {
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
.dropdown-grid-input {
|
|
pointer-events: auto !important;
|
|
user-select: text !important;
|
|
-webkit-user-select: text !important;
|
|
}
|
|
|
|
.dropdown-grid-floating {
|
|
pointer-events: auto;
|
|
} |