|
239 | 239 | } |
240 | 240 |
|
241 | 241 | &.active:focus { |
242 | | - outline: var(--sapContent_FocusColor) var(--sapContent_FocusStyle) var(--sapContent_FocusWidth); |
| 242 | + outline: none; |
| 243 | + &::after { |
| 244 | + outline: none; |
| 245 | + content: ''; |
| 246 | + position: absolute; |
| 247 | + box-sizing: border-box; |
| 248 | + inset: calc(-1 * var(--sapButton_BorderWidth)); |
| 249 | + pointer-events: none; |
| 250 | + box-shadow: |
| 251 | + inset 0 0 0 0.125rem var(--sapContent_FocusColor), |
| 252 | + inset 0 0 0 0.1875rem var(--sapContent_ContrastFocusColor); |
| 253 | + border-radius: inherit; |
| 254 | + height: calc(100% + 2 * var(--sapButton_BorderWidth)); |
| 255 | + } |
| 256 | + } |
| 257 | +} |
| 258 | + |
| 259 | +/*deltas*/ |
| 260 | +[data-sap-theme^='sap_'][data-sap-theme$='_hcw'] .inverted.active:focus, |
| 261 | +[data-sap-theme^='sap_'][data-sap-theme$='_hcb'] .inverted.active:focus { |
| 262 | + outline: var(--sapContent_FocusColor) var(--sapContent_FocusStyle) var(--sapContent_FocusWidth); |
| 263 | + outline-offset: var(--sapButton_BorderWidth); |
| 264 | + &::after { |
| 265 | + content: none; |
243 | 266 | } |
244 | 267 | } |
245 | 268 |
|
|
385 | 408 | .objectStatus:is(.inverted):is(.negative, .critical, .positive, .information, .none) { |
386 | 409 | color: var(--_ui5wcr-ObjectStatus-inverted-vs-text-color); |
387 | 410 | background: var(--_ui5wcr-ObjectStatus-inverted-vs-background-color); |
388 | | - border: 0.0625rem solid var(--_ui5wcr-ObjectStatus-inverted-vs-border-color); |
| 411 | + border: var(--sapButton_BorderWidth) solid var(--_ui5wcr-ObjectStatus-inverted-vs-border-color); |
389 | 412 |
|
390 | 413 | [ui5-icon] { |
391 | 414 | color: var(--_ui5wcr-ObjectStatus-inverted-vs-text-color); |
|
394 | 417 | &.active:hover { |
395 | 418 | color: var(--_ui5wcr-ObjectStatus-inverted-vs-hover-text-color); |
396 | 419 | background: var(--_ui5wcr-ObjectStatus-inverted-vs-hover-background-color); |
397 | | - border: 0.0625rem solid var(--_ui5wcr-ObjectStatus-inverted-vs-hover-border-color); |
| 420 | + border: var(--sapButton_BorderWidth) solid var(--_ui5wcr-ObjectStatus-inverted-vs-hover-border-color); |
398 | 421 |
|
399 | 422 | [ui5-icon] { |
400 | 423 | color: var(--_ui5wcr-ObjectStatus-inverted-vs-hover-text-color); |
|
405 | 428 | text-shadow: var(--sapContent_TextShadow); |
406 | 429 | color: var(--_ui5wcr-ObjectStatus-inverted-vs-active-text-color); |
407 | 430 | background: var(--_ui5wcr-ObjectStatus-inverted-vs-active-background-color); |
408 | | - border: 0.0625rem solid var(--_ui5wcr-ObjectStatus-inverted-vs-active-border-color); |
| 431 | + border: var(--sapButton_BorderWidth) solid var(--_ui5wcr-ObjectStatus-inverted-vs-active-border-color); |
409 | 432 |
|
410 | 433 | [ui5-icon] { |
411 | 434 | color: var(--_ui5wcr-ObjectStatus-inverted-vs-active-text-color); |
|
685 | 708 | text-shadow: var(--sapContent_ContrastTextShadow); |
686 | 709 | color: var(--_ui5wcr-ObjectStatus-inverted-indication-text-color); |
687 | 710 | background-color: var(--_ui5wcr-ObjectStatus-inverted-indication-background-color); |
688 | | - border: 0.0625rem solid var(--_ui5wcr-ObjectStatus-inverted-indication-border-color); |
| 711 | + border: var(--sapButton_BorderWidth) solid var(--_ui5wcr-ObjectStatus-inverted-indication-border-color); |
689 | 712 |
|
690 | 713 | [ui5-icon] { |
691 | 714 | color: var(--_ui5wcr-ObjectStatus-inverted-indication-text-color); |
|
699 | 722 | text-shadow: var(--sapContent_TextShadow); |
700 | 723 | color: var(--_ui5wcr-ObjectStatus-inverted-indication-active-text-color); |
701 | 724 | background: var(--_ui5wcr-ObjectStatus-inverted-indication-active-background-color); |
702 | | - border: 0.0625rem solid var(--_ui5wcr-ObjectStatus-inverted-indication-active-border-color); |
| 725 | + border: var(--sapButton_BorderWidth) solid var(--_ui5wcr-ObjectStatus-inverted-indication-active-border-color); |
703 | 726 |
|
704 | 727 | [ui5-icon] { |
705 | 728 | color: var(--_ui5wcr-ObjectStatus-inverted-indication-active-text-color); |
|
0 commit comments