-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from sflpro/feature-slider-input-disabled-func…
…tionality fix: Add disabled functionality for slider input
- Loading branch information
Showing
7 changed files
with
70 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
.control { | ||
@mixin font-scale-6; | ||
transition: left var(--slider-animation-duration) ease-out; | ||
color: var(--slider-control-color); | ||
top: var(--slider-control-top); | ||
position: absolute; | ||
cursor: pointer; | ||
z-index: var(--slider-control-z-index); | ||
@mixin font-scale-6; | ||
transition: left var(--slider-animation-duration) ease-out; | ||
color: var(--slider-control-color); | ||
top: var(--slider-control-top); | ||
position: absolute; | ||
cursor: pointer; | ||
z-index: var(--slider-control-z-index); | ||
} | ||
|
||
.disabled { | ||
color: var(--slider-control-disabled-color); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
.wrapper { | ||
display: flex; | ||
align-items: center; | ||
min-width: var(--slider-wrapper-min-width); | ||
display: flex; | ||
align-items: center; | ||
min-width: var(--slider-wrapper-min-width); | ||
} | ||
|
||
.slider { | ||
background-color: var(--slider-background-color); | ||
display: inline-block; | ||
position: relative; | ||
border-radius: var(--slider-border-radius); | ||
cursor: pointer; | ||
margin: var(--slider-margin); | ||
width: var(--slider-width); | ||
height: var(--slider-height); | ||
background-color: var(--slider-background-color); | ||
display: inline-block; | ||
position: relative; | ||
border-radius: var(--slider-border-radius); | ||
cursor: pointer; | ||
margin: var(--slider-margin); | ||
width: var(--slider-width); | ||
height: var(--slider-height); | ||
} | ||
|
||
.disabled { | ||
cursor: default; | ||
} | ||
|
||
.sliderLine { | ||
position: absolute; | ||
height: var(--slider-line-height); | ||
border-radius: var(--slider-line-border-radius); | ||
background-color: var(--slider-line-color); | ||
transition: left var(--slider-line-animation-duration) ease-out, width var(--slider-line-animation-duration) ease-out; | ||
position: absolute; | ||
height: var(--slider-line-height); | ||
border-radius: var(--slider-line-border-radius); | ||
background-color: var(--slider-line-color); | ||
transition: left var(--slider-line-animation-duration) ease-out, width var(--slider-line-animation-duration) ease-out; | ||
} | ||
|
||
.disabled .sliderLine { | ||
background-color: var(--slider-background-disabled-color); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters