Skip to content

Commit

Permalink
fix(ui5-button): fix focus outline color of emphasized button (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhan007 authored Jun 3, 2019
1 parent 3a0335d commit 1e0690c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/main/src/themes/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ ui5-button span[data-sap-ui-wc-root] .sapMBtn::before {
text-shadow: none;
}

.sapMBtn.sapMBtnEmphasized:focus::after,
.sapMBtn.sapMBtnEmphasized.sapMBtnActive:focus::after {
border-color: var(--sapUiContentContrastFocusColor);
}
Expand All @@ -214,10 +215,6 @@ ui5-button span[data-sap-ui-wc-root] .sapMBtn::before {
border-color: var(--_ui5_button_emphasized_focused_border_color);
}

.sapMBtn.sapMBtnEmphasized:focus::after {
border-color: var(--_ui5_button_positive_border_focus_hover_color);
}

.sapMBtn.sapMBtnTransparent {
background-color: var(--sapUiButtonLiteBackground);
border-color: var(--sapUiButtonLiteBorderColor);
Expand Down

0 comments on commit 1e0690c

Please sign in to comment.