/* ============================================================================
   sidebar-sort.css - the sort menu left of the sidebar's search box.
   File: game/static/game/css/sidebar-sort.css
   The choices in the menu are in sidebar-sort.js.
   ============================================================================ */

:root {
  --sort-width: 124px;      /* width of the menu */
}

.sidebar-sort {
  position: relative;
  flex: 0 0 var(--sort-width);
  display: flex;
  align-items: center;
  min-width: 0;
}
.sidebar-sort-icon {                    /* the little arrows icon inside the menu */
  position: absolute;
  left: calc(9px * var(--ui-scale, 1));
  color: var(--text-muted);
  font-size: calc(13px * var(--ui-scale, 1));
  pointer-events: none;
}
.sidebar-sort select {
  width: 100%;
  min-width: 0;
  padding: calc(8px * var(--ui-scale, 1)) calc(4px * var(--ui-scale, 1)) calc(8px * var(--ui-scale, 1)) calc(26px * var(--ui-scale, 1));
  border: 1px solid var(--pill-border);
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--text-dark);
  font: inherit;
  font-size: calc(12.5px * var(--ui-scale, 1));
  cursor: pointer;
  outline: none;
  text-overflow: ellipsis;
}
.sidebar-sort select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}
