Skip to content
This repository was archived by the owner on Jul 23, 2026. It is now read-only.
This repository was archived by the owner on Jul 23, 2026. It is now read-only.

[create-theme]: better tabs #1942

Description

@alzari555

Name

better tabs

Description

better tabs Makes unloaded tabs easier to notice, and add hover effect like macos dock

Homepage

https://github.com/alzari555/better-zen-browser-better-unloaded-tabs

Image

https://raw.githubusercontent.com/alzari555/better-zen-browser-better-unloaded-tabs/refs/heads/main/images/unloaded-tabs.png

Type

  • JSON Color Theme

Theme Styles

/* Hover effect for all tabs - macOS Dock style zoom */
.tabbrowser-tab {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.3s ease,
    opacity 0.3s ease !important;
}

/* Tab directly under the cursor (unpinned) */
.tabbrowser-tab:not([pinned]):hover {
  transform: scale(1.15) !important;
  filter: brightness(1.1) saturate(1.2) !important;
  z-index: 2 !important;
}

/* Pinned tabs: they only grow smoothly, no wave generated to avoid breaking the grid */
.tabbrowser-tab[pinned]:hover {
  transform: scale(1.1) !important;
  filter: brightness(1.1) saturate(1.2) !important;
  z-index: 2 !important;
}

/* Immediate adjacent tabs (1 position away) to the hovered tab */
.tabbrowser-tab:not([pinned]):has(+ .tabbrowser-tab:not([pinned]):hover),
.tabbrowser-tab:not([pinned]):hover+.tabbrowser-tab:not([pinned]) {
  transform: scale(1.08) !important;
}

/* Distant adjacent tabs (2 positions away) to the hovered tab */
.tabbrowser-tab:not([pinned]):has(+ .tabbrowser-tab:not([pinned]) + .tabbrowser-tab:not([pinned]):hover),
.tabbrowser-tab:not([pinned]):hover+.tabbrowser-tab:not([pinned])+.tabbrowser-tab:not([pinned]) {
  transform: scale(1.03) !important;
}

/* State: Pending/unloaded tab */
.tabbrowser-tab[pending="true"] {
  filter: saturate(0.4) brightness(0.8) !important;
  opacity: 0.8 !important;
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* State: Hovering over a pending tab */
.tabbrowser-tab[pending="true"]:hover {
  filter: saturate(1) brightness(1) !important;
  opacity: 1 !important;
}

Readme

Better tabs make unloaded tabs easier to notice by making them desaturated, transparent and add hover effect like macOS dock.

Preferences

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-themeSubmit a theme to be added to the theme library

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions