Skip to content

Commit

Permalink
Merge branch 'main' into sstrubberg-patch-1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
sstrubberg committed Sep 20, 2021
2 parents e6053a9 + aa4f2b9 commit 6e292fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
margin-right: 0.75rem;
}

.#{$prefix}--progress-label:active {
.#{$prefix}--tooltip__label.#{$prefix}--progress-label:active {
box-shadow: 0 rem(3px) 0 0 $interactive-01;
color: $interactive-01;
}
Expand Down
10 changes: 6 additions & 4 deletions packages/components/src/components/slider/_slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
width: 100%;
min-width: rem(200px);
max-width: rem(640px);
padding: $spacing-05 0;
margin: 0 $carbon--spacing-05;
cursor: pointer;
}

.#{$prefix}--slider__range-label {
Expand All @@ -50,7 +52,6 @@
width: 100%;
height: rem(2px);
background: $ui-03;
cursor: pointer;
transform: translate(0%, -50%);
}

Expand Down Expand Up @@ -80,13 +81,11 @@
.#{$prefix}--slider__thumb {
position: absolute;
z-index: 3;
top: 0;
width: rem(14px);
height: rem(14px);
background: $ui-05;
border-radius: 50%;
box-shadow: inset 0 0 0 1px transparent, inset 0 0 0 2px transparent;
cursor: pointer;
outline: none;
transform: translate(-50%, -50%);
transition: transform $duration--fast-02 motion(standard, productive),
Expand Down Expand Up @@ -143,6 +142,10 @@
color: $disabled-02;
}

.#{$prefix}--slider--disabled.#{$prefix}--slider {
cursor: not-allowed;
}

.#{$prefix}--slider--disabled .#{$prefix}--slider__thumb {
background-color: $ui-03;

Expand Down Expand Up @@ -170,7 +173,6 @@
.#{$prefix}--slider__thumb:focus
~ .#{$prefix}--slider__filled-track {
background-color: $ui-03;
cursor: not-allowed;
}

.#{$prefix}--slider--disabled
Expand Down

0 comments on commit 6e292fa

Please sign in to comment.