Skip to content

Commit

Permalink
Merge branch 'master' into tertiary-button-update
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored Jul 30, 2019
2 parents 2d1e62a + 4c88b6f commit 8fe17f3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
15 changes: 14 additions & 1 deletion packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -13874,7 +13874,12 @@ Modal styles
}

.#{$prefix}--text-input,
.#{$prefix}--select-input {
.#{$prefix}--text-area,
.#{$prefix}--search-input,
.#{$prefix}--select-input,
.#{$prefix}--dropdown,
.#{$prefix}--dropdown-list,
.#{$prefix}--number input[type='number'] {
background-color: $field-02;
}
}
Expand Down Expand Up @@ -16250,6 +16255,14 @@ Select styles
// Select text renders a little high on Firefox
@-moz-document url-prefix() {
padding-top: rem(4px);

// Removes dotted inner focus
&:-moz-focusring,
&::-moz-focus-inner {
color: transparent;
text-shadow: 0 0 0 #000;
background-image: none;
}
}

&:focus {
Expand Down
7 changes: 6 additions & 1 deletion packages/components/src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@
}

.#{$prefix}--text-input,
.#{$prefix}--select-input {
.#{$prefix}--text-area,
.#{$prefix}--search-input,
.#{$prefix}--select-input,
.#{$prefix}--dropdown,
.#{$prefix}--dropdown-list,
.#{$prefix}--number input[type='number'] {
background-color: $field-02;
}
}
Expand Down
8 changes: 8 additions & 0 deletions packages/components/src/components/select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@
// Select text renders a little high on Firefox
@-moz-document url-prefix() {
padding-top: rem(4px);

// Removes dotted inner focus
&:-moz-focusring,
&::-moz-focus-inner {
color: transparent;
text-shadow: 0 0 0 #000;
background-image: none;
}
}

&:focus {
Expand Down

0 comments on commit 8fe17f3

Please sign in to comment.