diff options
author | Milutin Kristofic <milutin@google.com> | 2021-04-09 18:05:30 +0000 |
---|---|---|
committer | Milutin Kristofic <milutin@google.com> | 2021-04-19 09:35:48 +0000 |
commit | b0234c8cfda0f94a8c14cfec4d903d95c12e2d94 (patch) | |
tree | 8ccf583b8fad6406e2a7c1a288d5c8a67cd53c12 | |
parent | 774eac3c7de85f31874123ca7863fa2422edead6 (diff) |
Revert "A11y - show outline when focused on tab title in change view"
This reverts commit 71179a50b9a208498760a1ec7553c47e0b485737.
Reason for revert: UI looks bad on clicking on tab header
Change-Id: I6d8f74c4d01004a88b0dbf207d9d9741a6965755
(cherry picked from commit a303298d4ccb5c361d6b052d1c5189751bbb352c)
-rw-r--r-- | polygerrit-ui/app/styles/shared-styles.ts | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/polygerrit-ui/app/styles/shared-styles.ts b/polygerrit-ui/app/styles/shared-styles.ts index 2af1e469f7..6d128b3eec 100644 --- a/polygerrit-ui/app/styles/shared-styles.ts +++ b/polygerrit-ui/app/styles/shared-styles.ts @@ -239,19 +239,16 @@ export const sharedStyles = css` font-family: var(--header-font-family); -webkit-font-smoothing: initial; } + --paper-tab-content-focused: { + /* paper-tabs uses 700 here, which can look awkward */ + font-weight: var(--font-weight-h3); + } --paper-tab-content-unselected: { /* paper-tabs uses 0.8 here, but we want to control the color directly */ opacity: 1; color: var(--deemphasized-text-color); } } - paper-tab { - --paper-tab-content-focused: { - /* paper-tabs uses 700 here, which can look awkward */ - font-weight: var(--font-weight-h3); - outline: auto; - } - } iron-autogrow-textarea { /** This is needed for firefox */ --iron-autogrow-textarea_-_white-space: pre-wrap; |