Add searchable table index rail behaviors
This commit is contained in:
@@ -1171,6 +1171,57 @@ pre,
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.tables-index-controls {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.tables-index-search-label {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.tables-index-search {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tables-family-filters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.tables-family-filter {
|
||||
border: 1px solid rgba(127, 96, 55, 0.2);
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 250, 242, 0.86);
|
||||
color: var(--ink-soft);
|
||||
font-size: 0.8rem;
|
||||
padding: 0.28rem 0.6rem;
|
||||
transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
|
||||
}
|
||||
|
||||
.tables-family-filter:hover,
|
||||
.tables-family-filter:focus-visible {
|
||||
border-color: rgba(184, 121, 59, 0.3);
|
||||
background: rgba(255, 244, 228, 0.94);
|
||||
color: var(--ink);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.tables-family-filter.is-selected {
|
||||
background: rgba(188, 117, 43, 0.16);
|
||||
border-color: rgba(188, 117, 43, 0.3);
|
||||
color: var(--ink-strong);
|
||||
}
|
||||
|
||||
.tables-index-title {
|
||||
margin: 0;
|
||||
color: var(--ink-strong);
|
||||
@@ -1183,6 +1234,35 @@ pre,
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.tables-index-section {
|
||||
display: grid;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.tables-index-section-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.tables-index-section-header h3 {
|
||||
margin: 0;
|
||||
font-size: 0.95rem;
|
||||
color: var(--ink-strong);
|
||||
}
|
||||
|
||||
.tables-index-section-count {
|
||||
color: var(--ink-soft);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.tables-index-empty {
|
||||
margin: 0;
|
||||
color: var(--ink-soft);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.table-index-option {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
@@ -1210,6 +1290,10 @@ pre,
|
||||
background: rgba(248, 238, 221, 0.98);
|
||||
}
|
||||
|
||||
.table-index-option.is-active {
|
||||
box-shadow: inset 0 0 0 1px rgba(15, 148, 136, 0.3);
|
||||
}
|
||||
|
||||
.table-index-option.is-curated {
|
||||
background: rgba(102, 138, 83, 0.12);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user