This repository was archived by the owner on Sep 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
6921e29
Experiment Tabs.scss
ginabak 2c74506
Fix issue when hover overwrites selected state - on keyboard and mous…
ginabak 61f406a
Add unreleased.md
ginabak 04fe3e7
Add transparent border for Windows High Contrast Mode
ginabak 39f4ccb
Change focus to grey
ginabak b8c1a8c
Change transparent border to wrap in media query
ginabak a490fdb
Merge branch 'master' into gbak-tabs
ginabak ff98d62
Address Curtis comments -space and rem
ginabak 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
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 |
---|---|---|
|
@@ -328,12 +328,12 @@ $focus-state-box-shadow-color: rgba(0, 0, 0, 0.8); | |
.Tab { | ||
padding: spacing(tight) spacing(extra-tight); | ||
|
||
&:focus .Title::before { | ||
background: var(--p-border-hovered); | ||
&:active .Title::before { | ||
background: var(--p-action-primary-pressed); | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: Space between blocks |
||
|
||
&:active .Title::before { | ||
background: var(--p-surface-primary-selected-pressed); | ||
&:focus .Title::before { | ||
background: var(--p-border-hovered); | ||
} | ||
} | ||
|
||
|
@@ -343,6 +343,10 @@ $focus-state-box-shadow-color: rgba(0, 0, 0, 0.8); | |
} | ||
|
||
.Tab-selected { | ||
&:focus .Title::before { | ||
background: var(--p-action-primary); | ||
} | ||
ginabak marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.Title { | ||
color: var(--p-text); | ||
|
||
|
@@ -351,6 +355,7 @@ $focus-state-box-shadow-color: rgba(0, 0, 0, 0.8); | |
} | ||
|
||
@media (-ms-high-contrast: active) { | ||
outline: rem(3px) solid ms-high-contrast-color('text'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @beefchimi 👀 how's this? |
||
// stylelint-disable-next-line max-nesting-depth | ||
&::before { | ||
display: none; | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line
31
was my unreleased portion. I just moved the other ones in what I thought was the appropriate "sub heading" and changed the verb tenses to bepast tense
as per the Polaris Documentation Guideline