Skip to content

Commit

Permalink
Merge branch 'master' into 3743-update-toolbar-violations
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Dec 11, 2019
2 parents e51fa40 + 79299b2 commit 6d22c56
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
14 changes: 10 additions & 4 deletions packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -13451,7 +13451,9 @@ Code snippet styles
position: absolute;
top: 0;
right: rem(56px);
background-image: linear-gradient(to right, transparent, $ui-01);

// Safari interprets `transparent` differently, so make color token value transparent instead:
background-image: linear-gradient(to right, rgba($ui-01, 0), $ui-01);
}

// Multi Line Snippet
Expand Down Expand Up @@ -13499,7 +13501,9 @@ Code snippet styles
position: absolute;
top: 0;
right: 0;
background-image: linear-gradient(to right, transparent, $ui-01);

// Safari interprets `transparent` differently, so make color token value transparent instead:
background-image: linear-gradient(to right, rgba($ui-01, 0), $ui-01);
}

.#{$prefix}--snippet--multi .#{$prefix}--snippet-container pre code {
Expand Down Expand Up @@ -13642,7 +13646,8 @@ Code snippet styles
.#{$prefix}--snippet.#{$prefix}--snippet--light.#{$prefix}--snippet--multi
.#{$prefix}--snippet-container
pre::after {
background-image: linear-gradient(to right, transparent, $ui-02);
// Safari interprets `transparent` differently, so make color token value transparent instead:
background-image: linear-gradient(to right, rgba($ui-02, 0), $ui-02);
}

// Skeleton State
Expand Down Expand Up @@ -18453,7 +18458,8 @@ Modal styles
position: absolute;
left: 0;
bottom: $spacing-08;
background-image: linear-gradient(to bottom, transparent, $ui-01);
// Safari interprets `transparent` differently, so make color token value transparent instead:
background-image: linear-gradient(to bottom, rgba($ui-01, 0), $ui-01);
}

.#{$prefix}--modal-content:focus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@
position: absolute;
top: 0;
right: rem(56px);
background-image: linear-gradient(to right, transparent, $ui-01);

// Safari interprets `transparent` differently, so make color token value transparent instead:
background-image: linear-gradient(to right, rgba($ui-01, 0), $ui-01);
}

// Multi Line Snippet
Expand Down Expand Up @@ -136,7 +138,9 @@
position: absolute;
top: 0;
right: 0;
background-image: linear-gradient(to right, transparent, $ui-01);

// Safari interprets `transparent` differently, so make color token value transparent instead:
background-image: linear-gradient(to right, rgba($ui-01, 0), $ui-01);
}

.#{$prefix}--snippet--multi .#{$prefix}--snippet-container pre code {
Expand Down Expand Up @@ -279,7 +283,8 @@
.#{$prefix}--snippet.#{$prefix}--snippet--light.#{$prefix}--snippet--multi
.#{$prefix}--snippet-container
pre::after {
background-image: linear-gradient(to right, transparent, $ui-02);
// Safari interprets `transparent` differently, so make color token value transparent instead:
background-image: linear-gradient(to right, rgba($ui-02, 0), $ui-02);
}

// Skeleton State
Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@
position: absolute;
left: 0;
bottom: $spacing-08;
background-image: linear-gradient(to bottom, transparent, $ui-01);
// Safari interprets `transparent` differently, so make color token value transparent instead:
background-image: linear-gradient(to bottom, rgba($ui-01, 0), $ui-01);
}

.#{$prefix}--modal-content:focus
Expand Down

0 comments on commit 6d22c56

Please sign in to comment.