filter-select.css 1.1 KB

12345678910111213141516171819202122232425262728
  1. .filter-select {
  2. position: relative;
  3. display: inline-flex;
  4. align-items: center;
  5. gap: 8px;
  6. flex: none;
  7. inline-size: max-content;
  8. min-width: 0;
  9. max-width: min(320px, 100%);
  10. height: 38px;
  11. padding: 0 36px 0 10px;
  12. border: 1px solid var(--border);
  13. border-radius: 6px;
  14. background: var(--card) var(--select-chevron) no-repeat right 10px center / 16px;
  15. }
  16. .filter-select:has(> select:focus-visible) { outline: 2px solid var(--ring); outline-offset: 1px; }
  17. .filter-select > .filter-select-icon { flex: none; width: 16px; height: 16px; color: var(--icon); pointer-events: none; }
  18. .filter-select-value,
  19. :is(.org-filterbar, .ops-toolbar) > .ui-tree-select .ui-tree-select-value,
  20. .work-order-multi-label {
  21. color: var(--foreground);
  22. font: 400 var(--type-body)/1.5 var(--font-sans);
  23. letter-spacing: normal;
  24. }
  25. .filter-select-value { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  26. .filter-select > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
  27. .filter-select:has(> select:disabled) { opacity: .55; }
  28. .filter-select > select:disabled { cursor: not-allowed; }