Skip to content

Commit

Permalink
chore(project): sync generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
carbon-bot committed Nov 20, 2020
1 parent 8581cf7 commit 80d1abd
Showing 1 changed file with 112 additions and 53 deletions.
165 changes: 112 additions & 53 deletions packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -14915,6 +14915,11 @@ Code snippet styles
&:focus {
border: 2px solid $focus;
outline: none;

// Firefox HCM fix
@media screen and (prefers-contrast) {
border-style: dotted;
}
}

&::before {
Expand Down Expand Up @@ -14982,6 +14987,12 @@ Code snippet styles
max-width: rem(760px);
height: $carbon--spacing-08;
padding-right: $carbon--spacing-08;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 2px solid transparent;
}
}

.#{$prefix}--snippet--single.#{$prefix}--snippet--no-copy {
Expand Down Expand Up @@ -15020,6 +15031,12 @@ Code snippet styles
min-width: rem(320px);
max-width: 100%;
padding: $carbon--spacing-05;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 2px solid transparent;
}
}

//closed snippet container
Expand Down Expand Up @@ -15086,6 +15103,13 @@ Code snippet styles
height: rem(16px);
transition: all $duration--fast-01 motion(standard, productive);
fill: $icon-01;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
// `ButtonText` is a CSS2 system color to help improve colors in HCM
fill: ButtonText;
}
}

.#{$prefix}--snippet-button {
Expand Down Expand Up @@ -17287,6 +17311,12 @@ Data table expandable styles

.#{$prefix}--table-expand__button:focus .#{$prefix}--table-expand__svg {
box-shadow: inset 0 0 0 2px $focus;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 2px solid transparent;
}
}

.#{$prefix}--table-expand__svg {
Expand Down Expand Up @@ -17817,6 +17847,13 @@ Date picker styles
transform: translateY(-50%);
cursor: pointer;
fill: $icon-01;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
// `ButtonText` is a CSS2 system color to help improve colors in HCM
fill: ButtonText;
}
}

.#{$prefix}--date-picker__icon ~ .#{$prefix}--date-picker__input {
Expand Down Expand Up @@ -18516,6 +18553,12 @@ File uploader styles
white-space: nowrap;
text-overflow: ellipsis;
}

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 2px solid transparent;
}
}

.#{$prefix}--file__selected-file--field {
Expand Down Expand Up @@ -18636,6 +18679,13 @@ File uploader styles

.#{$prefix}--file__state-container .#{$prefix}--file-close svg path {
fill: $icon-01;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
// `ButtonText` is a CSS2 system color to help improve colors in HCM
fill: ButtonText;
}
}

.#{$prefix}--file__state-container .#{$prefix}--inline-loading__animation {
Expand Down Expand Up @@ -19498,10 +19548,9 @@ List box styles
.#{$prefix}--list-box__field:focus {
@include focus-outline('outline');

@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
// `ButtonText` is a CSS2 system color to help improve colors in HCM
border: 2px solid ButtonText;
// Firefox HCM fix
@media screen and (prefers-contrast) {
border-style: dotted;
}
}

Expand Down Expand Up @@ -20554,6 +20603,14 @@ Modal styles
}
}

.#{$prefix}--modal-footer button.#{$prefix}--btn:focus {
// Firefox HCM Fix
@media screen and (prefers-contrast) {
border: none;
outline-style: dotted;
}
}

.#{$prefix}--modal-close {
position: absolute;
top: 0;
Expand All @@ -20574,6 +20631,11 @@ Modal styles
&:focus {
border-color: $focus;
outline: none;

// Firefox HCM Fix
@media screen and (prefers-contrast) {
border-style: dotted;
}
}
}

Expand Down Expand Up @@ -20928,6 +20990,12 @@ Inline notification styles
outline: 2px solid $inverse-focus-ui;
outline-offset: -2px;
box-shadow: none;

// Firefox HCM Fix
@media screen and (prefers-contrast) {
border-style: dotted;
outline-style: dotted;
}
}

.#{$prefix}--inline-notification--low-contrast
Expand Down Expand Up @@ -20964,6 +21032,11 @@ Inline notification styles
&:focus {
outline: 2px solid $inverse-focus-ui;
outline-offset: -2px;

// Firefox HCM fix
@media screen and (prefers-contrast) {
outline-style: dotted;
}
}

.#{$prefix}--inline-notification__close-icon {
Expand Down Expand Up @@ -21238,6 +21311,11 @@ Toast notification styles
&:focus {
outline: 2px solid $inverse-focus-ui;
outline-offset: -2px;

// Firefox HCM fix
@media screen and (prefers-contrast) {
outline-style: dotted;
}
}

.#{$prefix}--toast-notification__close-icon {
Expand Down Expand Up @@ -21657,13 +21735,6 @@ Overflow menu styles

&:focus {
@include focus-outline('outline');

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 3px solid transparent;
outline-offset: -3px;
}
}

&:hover {
Expand Down Expand Up @@ -21891,13 +21962,6 @@ Overflow menu styles

&:focus {
@include focus-outline('outline');

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 3px solid transparent;
outline-offset: -3px;
}
}

&::-moz-focus-inner {
Expand Down Expand Up @@ -23489,13 +23553,6 @@ Select styles
@include focus-outline('outline');

color: $text-01;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 3px solid transparent;
outline-offset: -3px;
}
}

&:disabled,
Expand Down Expand Up @@ -23798,6 +23855,11 @@ Slider styles
box-shadow: inset 0 0 0 2px $interactive-04, inset 0 0 0 3px $ui-01;
// 20px / 14px = 1.4286
transform: translate(-50%, -50%) scale(1.4286);

// Firefox HCM Fix
@media screen and (prefers-contrast) {
outline-style: dotted;
}
}

&:active {
Expand Down Expand Up @@ -25085,6 +25147,13 @@ Tag styles
border-radius: 50%;
outline: none;
box-shadow: inset 0 0 0 2px $focus;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
// `ButtonText` is a CSS2 system color to help improve colors in HCM
outline: 1px solid ButtonText;
}
}

.#{$prefix}--tag--high-contrast .#{$prefix}--tag__close-icon:focus {
Expand Down Expand Up @@ -25580,13 +25649,6 @@ Tile styles

&:focus {
@include focus-outline('outline');

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 3px solid transparent;
outline-offset: -3px;
}
}
}

Expand Down Expand Up @@ -26241,6 +26303,13 @@ Toggle styles
+ .#{$prefix}--toggle-input__label
> .#{$prefix}--toggle__switch::before {
box-shadow: 0 0 0 1px $ui-02, 0 0 0 3px $focus;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
// `ButtonText` is a CSS2 system color to help improve colors in HCM
outline: 1px solid ButtonText;
}
}

//----------------------------------------------
Expand Down Expand Up @@ -27553,11 +27622,9 @@ UI shell header
border-color: $shell-header-focus;
outline: none;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 3px solid transparent;
outline-offset: -3px;
// Firefox HCM Fix
@media screen and (prefers-contrast) {
border-style: dotted;
}
}

Expand Down Expand Up @@ -27611,6 +27678,13 @@ UI shell header

a.#{$prefix}--header__name:focus {
border-color: $shell-header-focus;

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
// `ButtonText` is a CSS2 system color to help improve colors in HCM
border-style: dotted;
}
}

.#{$prefix}--header__name--prefix {
Expand Down Expand Up @@ -27702,8 +27776,7 @@ UI shell header
// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 3px solid transparent;
outline-offset: -3px;
border-style: dotted;
}
}

Expand Down Expand Up @@ -28688,13 +28761,6 @@ UI shell side nav

.#{$prefix}--side-nav__submenu:focus {
@include focus-outline('outline');

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 3px solid transparent;
outline-offset: -3px;
}
}

.#{$prefix}--side-nav__submenu-title {
Expand Down Expand Up @@ -28826,13 +28892,6 @@ UI shell side nav
a.#{$prefix}--side-nav__link:focus,
.#{$prefix}--side-nav a.#{$prefix}--header__menu-item:focus {
@include focus-outline('outline');

// Windows, Firefox HCM Fix
@media screen and (-ms-high-contrast: active),
screen and (prefers-contrast) {
outline: 3px solid transparent;
outline-offset: -3px;
}
}

a.#{$prefix}--side-nav__link[aria-current='page'],
Expand Down

0 comments on commit 80d1abd

Please sign in to comment.