UNPKG

bootstrap-table

Version:

An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)

59 lines (51 loc) • 1.41 kB
.bootstrap-table .fixed-table-container thead th { position: relative; } .column-search-icon { position: absolute; top: 50%; right: 5px; transform: translateY(-50%); cursor: pointer; color: var(--bt-secondary-color); padding: 2px 4px; line-height: 1; user-select: none; font-size: 12px; } .column-search-icon:hover, .column-search-icon.active { color: var(--bt-link-color); background-color: var(--bt-hover-bg); border-radius: 3px; } .column-search-icon:focus { outline: 2px solid var(--bt-focus-color); outline-offset: -2px; border-radius: 2px; } .bootstrap-table .fixed-table-container .table thead th:has(.column-search-icon) .both, .bootstrap-table .fixed-table-container .table tfoot th:has(.column-search-icon) .both { background-position: center right 25px; } .column-search-dropdown { position: fixed; z-index: 1070; background-color: var(--bt-table-loading-bg); border: 1px solid var(--bt-table-border-color); border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); padding: 4px; width: 220px; } .column-search-dropdown .column-search-input { width: 100%; border: 1px solid var(--bt-table-border-color); border-radius: 3px; padding: 4px 8px; font-size: 13px; outline: none; } .column-search-dropdown .column-search-input:focus { border-color: var(--bt-focus-color); box-shadow: 0 0 0 2px rgba(102, 175, 233, 0.25); }