-
Notifications
You must be signed in to change notification settings - Fork 349
Navbar dropdown #891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Navbar dropdown #891
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
67f7c1d
add tooltip and contextMenu on navbar
christiansamaniego-okta fe784b7
add copy buttons to dropdown
christiansamaniego-okta 958578c
add notification component
christiansamaniego-okta 76ffd99
add download buttons
christiansamaniego-okta 62fbefd
add tools links
christiansamaniego-okta 75054eb
fix notification animation
christiansamaniego-okta ede47e6
add icons and separator
christiansamaniego-okta 908bdda
add navbar hover states
christiansamaniego-okta d46620e
remove vscode settings
christiansamaniego-okta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| { | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
src/features/common/components/context-menu/context-menu.module.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| .container { | ||
| max-width: calc(-24px + 100vw); | ||
| max-height: calc(-24px + 100vh); | ||
| position: fixed; | ||
| background-color: var(--color_bg_layer); | ||
| border: 1px solid var(--color_border_default); | ||
| font-size: 0.875rem; | ||
| z-index: 9009; | ||
| cursor: default; | ||
| border-radius: 1rem; | ||
| overflow: hidden; | ||
| padding: 0.25rem; | ||
| min-width: 180px; | ||
| box-shadow: | ||
| 0 1px 1px -0.5px rgba(0, 0, 0, 0.04), | ||
| 0 3px 3px -1.5px rgba(0, 0, 0, 0.04), | ||
| 0 6px 6px -3px rgba(0, 0, 0, 0.04), | ||
| 0 12px 12px -6px rgba(0, 0, 0, 0.04), | ||
| inset 0 0 0 1px rgba(0, 0, 0, 0.04); | ||
| } | ||
|
|
||
| .groupLabel { | ||
| width: 100%; | ||
| padding: 0.5rem 0.75rem 0.25rem; | ||
| font-size: 0.8125rem; | ||
| color: var(--color_fg_default); | ||
| } | ||
|
|
||
| .list { | ||
| display: flex; | ||
| align-items: center; | ||
| list-style-type: none; | ||
| flex-direction: column; | ||
| } | ||
|
|
||
| .menuItem { | ||
| width: 100%; | ||
| justify-content: flex-start; | ||
| position: relative; | ||
| padding: 0.5rem 0.75rem; | ||
| border-radius: 0.75rem; | ||
| color: var(--color_fg_bold); | ||
| gap: 0.5rem; | ||
| font-family: var(--font-primary); | ||
| border: none; | ||
| background-color: var(--color_bg_layer); | ||
| display: flex; | ||
| align-items: center; | ||
|
|
||
| &:hover { | ||
| cursor: pointer; | ||
| background-color: var(--color_bg_layer_alternate-bold); | ||
| } | ||
| } | ||
|
|
||
| .separator { | ||
| width: 100%; | ||
| height: 1px; | ||
| background-color: var(--color_border_default); | ||
| margin: 0.25rem 0; | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.