This commit is contained in:
@@ -0,0 +1,190 @@
|
||||
.alpha-views-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
min-width: 0;
|
||||
background: var(--semi-color-fill-0);
|
||||
border-bottom: 1px solid var(--semi-color-border);
|
||||
}
|
||||
.alpha-view-tabs {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.alpha-view-tabs > .semi-tabs-content {
|
||||
display: none;
|
||||
}
|
||||
.alpha-view-tabs .semi-tabs-bar {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.alpha-view-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
height: 24px;
|
||||
}
|
||||
.alpha-view-name {
|
||||
max-width: 180px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.alpha-view-modified {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--semi-color-primary);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.alpha-add-view {
|
||||
flex-shrink: 0;
|
||||
margin: 0 8px;
|
||||
}
|
||||
.alpha-toolbar {
|
||||
gap: 8px 16px;
|
||||
padding: 10px 12px;
|
||||
border-bottom: 1px solid var(--semi-color-border);
|
||||
}
|
||||
.alpha-view-tools,
|
||||
.alpha-table-actions {
|
||||
gap: 4px;
|
||||
}
|
||||
.alpha-table-actions {
|
||||
margin-left: auto;
|
||||
}
|
||||
.alpha-filter-count {
|
||||
margin-left: 6px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.alpha-selection-actions {
|
||||
padding: 8px 12px;
|
||||
flex-shrink: 0;
|
||||
background: var(--semi-color-primary-light-default);
|
||||
border-bottom: 1px solid var(--semi-color-border);
|
||||
}
|
||||
.alpha-selection-actions .selection-text {
|
||||
margin-left: 0;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.alpha-filter-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: min(640px, calc(100vw - 32px));
|
||||
max-height: min(700px, calc(100dvh - 180px));
|
||||
color: var(--semi-color-text-0);
|
||||
}
|
||||
.alpha-filter-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 20px 20px 16px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.alpha-filter-header p {
|
||||
margin-top: 4px;
|
||||
}
|
||||
.alpha-filter-body {
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
padding: 0 20px 20px;
|
||||
}
|
||||
.alpha-filter-fields {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
.alpha-filter-fields > label {
|
||||
margin: 0;
|
||||
gap: 6px;
|
||||
}
|
||||
.alpha-filter-fields .semi-select {
|
||||
width: 100%;
|
||||
}
|
||||
.alpha-filter-search {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.alpha-filter-panel .advanced-filters {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.alpha-filter-panel .advanced-filters > summary {
|
||||
font-size: 13px;
|
||||
color: var(--semi-color-text-1);
|
||||
}
|
||||
.alpha-filter-panel .advanced-filters .alpha-filter-fields {
|
||||
padding-top: 16px;
|
||||
}
|
||||
.alpha-filter-panel .range-inputs {
|
||||
min-width: 0;
|
||||
}
|
||||
.alpha-filter-panel .range-inputs .semi-input-wrapper {
|
||||
min-width: 0;
|
||||
}
|
||||
.alpha-filter-footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
padding: 12px 20px;
|
||||
border-top: 1px solid var(--semi-color-border);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.alpha-filter-footer > :first-child {
|
||||
margin-right: auto;
|
||||
}
|
||||
.alpha-sort-panel {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 96px;
|
||||
gap: 12px;
|
||||
padding: 16px;
|
||||
width: min(360px, calc(100vw - 32px));
|
||||
}
|
||||
.alpha-sort-panel > h2 {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.alpha-sort-panel .semi-select {
|
||||
width: 100%;
|
||||
}
|
||||
.alpha-table-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 4px 16px;
|
||||
}
|
||||
.alpha-table-meta .alpha-last-sync {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.alpha-table-meta .count-pill {
|
||||
margin: 0;
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
.alpha-toolbar {
|
||||
padding: 8px;
|
||||
}
|
||||
.alpha-table-actions {
|
||||
margin-left: 0;
|
||||
}
|
||||
.alpha-view-name {
|
||||
max-width: 120px;
|
||||
}
|
||||
.alpha-add-view {
|
||||
margin: 0 4px;
|
||||
}
|
||||
.alpha-table-meta .alpha-last-sync {
|
||||
display: none;
|
||||
}
|
||||
.alpha-filter-header {
|
||||
padding: 16px;
|
||||
}
|
||||
.alpha-filter-body {
|
||||
padding: 0 16px 16px;
|
||||
}
|
||||
.alpha-filter-fields {
|
||||
gap: 12px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 420px) {
|
||||
.alpha-filter-fields {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user