Header menu/button triggers use 85% opacity while app menu icons are at 100%

Open Beginner friendly
#9,271 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
92/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
sass, scss
Domain
design, frontend

Research direction

Start with src/components/NcHeaderMenu/header-menu__trigger.scss, which is shared by NcHeaderMenu and NcHeaderButton and contains the reported opacity rules. Update the trigger styling so it remains fully opaque on hover and focus, matching the app menu icons. Done means both header menu and header button triggers use 100% opacity without opacity transitions.

Written by the indexing model from the issue text.

Description

design

Moved from nextcloud/server#42434.

Problem

In the Nextcloud header, the app menu icons on the left are shown with 100% opacity, while the trigger buttons on the right (unified search, contacts menu, notifications, …) are rendered at 85% opacity and change their opacity on hover. This makes the header look inconsistent.

Design agreed on "100% opacity and no hover state" for the header icons (see the original issue), and the server's app menu already follows that.

Where

src/components/NcHeaderMenu/header-menu__trigger.scss (shared by NcHeaderMenu and NcHeaderButton):

  • opacity: .85 on the trigger
  • opacity: 1 on hover / focus
Expected

Header menu and header button triggers use opacity: 1 without an opacity change on hover/focus, matching the app menu icons.

Dominant language
Vue
Stars
246
Forks
104
Avg merge
1d 3h
Merged PRs (30d)
79

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud-libraries/nextcloud-vue

All issues in nextcloud-libraries/nextcloud-vue

Similar issues

More Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.