Ctrl K
ComunidadGuías…

src-gui/css/responsive.css

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* === Below the rail breakpoint (1100px) === */
@media (max-width: 1099px) {
  .maincol { padding: 12px 14px 0; }
  /* The aside collapses to the views nav. The Health block and the views
     strip stay; the breakdown/nav sections are desktop-only. */
  #sidebar { display: block; position: static; top: auto; height: auto; max-height: none; overflow: visible; padding: 0; margin: 0 0 10px; background: transparent; border-right: none; }
  #sidebar .sb-block { display: none; }
  #sidebar .sb-health { display: block; margin-bottom: 10px; }
  #sidebar .sb-views { display: block; margin-bottom: 0; }
  #sidebar .sb-views h2 { display: none; }
  #sidebar .viewtabs {
    flex-direction: row; overflow-x: auto; width: 100%;
    background: var(--card2); border: 1px solid var(--border);
    padding: 2px; border-radius: var(--radius-sm);
  }
  #sidebar .viewtab { width: auto; flex-shrink: 0; padding: 6px 10px; }
  #sidebar .viewtab.active { background: var(--card); color: var(--text); }
  /* Below the rail breakpoint the status bar is content, not chrome: give it
     a gutter so it does not sit flush against the last row of the view. */
  footer { padding: 14px 14px 18px; }
}

/* === Mobile === */
@media (max-width: 700px) {
  header { flex-wrap: wrap; height: auto; gap: 8px; padding: 10px 14px; }
  .hdr-id { flex: 1 1 100%; }
  header .logo { width: 24px; height: 24px; }
  h1 { font-size: 13px; }
  .actions { margin-left: 0; width: 100%; gap: 6px; }
  .sr-num { font-size: 28px; }
  /* The toolbar wraps instead of stacking: a column turns every control into
     a full-width block, the worst possible first impression on a phone. */
  .toolbar { top: 48px; flex-wrap: wrap; gap: 8px; }
  .toolbar .seg { flex: 0 0 auto; }
  .filters { flex: 1 1 100%; justify-content: center; }
  #search { flex: 1 1 100%; min-width: 0; }
  .toolbar .toolbtn { flex: 1 1 auto; }
  .group-body { padding: 6px 0; }
  .card summary { padding: 10px; }
  .card-body { padding: 0 10px 12px; }
  .fix .fixtext { min-width: 0; font-size: 11.5px; }
  .fix button, .fix .reportbtn { height: 38px; font-size: 12px; }
  #nexthep { padding: 12px 14px; }
  .history { margin-top: 24px; }
  /* Touch targets: every interactive control reaches ~38px tall. */
  button { min-height: 36px; }
  .fpill, .segbtn { padding: 7px 12px; }
  .evidence { font-size: 10.5px; max-height: 160px; }
  .ev-copy, .ev-expand { padding: 8px 12px; min-height: 34px; }
}