Skip to content

Commit

Permalink
chore(list-box): update list box styles audit (#10672)
Browse files Browse the repository at this point in the history
* chore(list-box): update list box styles for audit

* chore(list-box): update list box styles for audit

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
Alessandra Davila and kodiakhq[bot] authored Feb 14, 2022
1 parent 82be871 commit 56ab75b
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions packages/styles/scss/components/list-box/_list-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ $list-box-menu-width: rem(300px);

// V11: Possibly deprecate
.#{$prefix}--list-box--expanded:hover.#{$prefix}--list-box--light:hover {
background-color: $field-02;
background-color: $field;
}

.#{$prefix}--list-box .#{$prefix}--text-input {
Expand Down Expand Up @@ -153,21 +153,21 @@ $list-box-menu-width: rem(300px);
// V11: Possibly deprecate
// Light variation for 'list-box'
.#{$prefix}--list-box--light {
background-color: $field-02;
background-color: $field;

&:hover {
background-color: $layer-hover-02;
background-color: $layer-hover;
}
}

// V11: Possibly deprecate
.#{$prefix}--list-box--light .#{$prefix}--list-box__menu {
background: $field-02;
background: $field;
}

// V11: Possibly deprecate
.#{$prefix}--list-box--light .#{$prefix}--list-box__menu-item__option {
border-top-color: $border-subtle-02;
border-top-color: $border-subtle;
}

.#{$prefix}--list-box--light.#{$prefix}--list-box--expanded {
Expand All @@ -181,7 +181,7 @@ $list-box-menu-width: rem(300px);

// V11: Possibly deprecate
.#{$prefix}--list-box--light.#{$prefix}--list-box--disabled {
background-color: $field-02;
background-color: $field;
}

.#{$prefix}--list-box--disabled,
Expand Down Expand Up @@ -556,7 +556,7 @@ $list-box-menu-width: rem(300px);

// V11: Possibly deprecate
.#{$prefix}--list-box--light .#{$prefix}--list-box__menu-item:hover {
background-color: $layer-hover-02;
background-color: $layer-hover;
}

.#{$prefix}--list-box--sm .#{$prefix}--list-box__menu-item {
Expand All @@ -573,8 +573,7 @@ $list-box-menu-width: rem(300px);

// V11: Possibly deprecate
.#{$prefix}--list-box--light .#{$prefix}--list-box__menu-item:active {
// To Do: What should this variable be?
// background-color: $selected-light-ui;
background-color: $layer-selected;
}

.#{$prefix}--list-box--disabled
Expand Down Expand Up @@ -727,9 +726,8 @@ $list-box-menu-width: rem(300px);

// V11: Possibly deprecate
.#{$prefix}--list-box--light .#{$prefix}--list-box__menu-item--active {
// To Do: What should this token be?
// border-bottom-color: $selected-light-ui;
// background-color: $selected-light-ui;
border-bottom-color: $layer-selected;
background-color: $layer-selected;
}

.#{$prefix}--list-box__menu-item--active:hover,
Expand Down

0 comments on commit 56ab75b

Please sign in to comment.