Newer
Older
navi-1 / webclient / src / components / artifacts / styles / _files-toolbar.scss
.files-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 12px 2px;
}

/* ── Files tab refresh button ─────────────────────────────────────────────── */
.files-tab-wrap {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.files-refresh-btn {
  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

/* Hide refresh button on mobile */
@media (max-width: 980px) {
  .files-refresh-btn { display: none; }
}

/* ── Pull-to-refresh for files tab (mobile) ──────────────────────────────── */
.files-ptr {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  font-size: 12px;
  color: var(--gn-color-text-dark);
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  will-change: transform, opacity;
}

.ptr-pulled {
  transition: transform 0.15s;
}

@media (min-width: 981px) {
  .files-ptr { display: none; }
}