BetterDiscordApp-v2/client/src/styles/partials/generic/forms/sliders.scss

64 lines
1.5 KiB
SCSS
Raw Normal View History

2018-02-05 01:34:22 +01:00
.bd-slider {
height: 24px;
.bd-slider-container {
margin-top: 8px;
border-radius: 8px;
2018-02-05 11:45:59 +01:00
.bd-slider-thumb {
width: 10px;
height: 24px;
display: block;
position: relative;
bottom: 16px;
pointer-events: none;
background: #FFF;
border: 1px solid #dcddde;
box-shadow: 0 3px 1px 0 rgba(0,0,0,.05), 0 2px 2px 0 rgba(0,0,0,.1), 0 3px 3px 0 rgba(0,0,0,.05);
margin-left: -5px;
border-radius: 3px;
box-sizing: border-box;
}
2018-02-05 01:34:22 +01:00
}
.bd-slider-bar {
background-color: #4f545c;
height: 8px;
border-radius: 4px;
.bd-slider-bar-filled {
background-color: $colbdblue;
height: 8px;
border-radius: 4px 0 0 4px;
width: 100%;
}
}
input {
border-radius: 4px;
display: block;
height: 8px;
background-color: transparent;
outline: none;
width: 180px;
margin: -8px 0 0;
-webkit-appearance: none;
appearance: none;
&::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
background-color: #fff;
2018-02-05 11:45:59 +01:00
border: 1px solid transparent;
2018-02-05 01:34:22 +01:00
border-radius: 3px;
cursor: ew-resize;
height: 24px;
left: 0;
top: 50%;
width: 10px;
2018-02-05 11:45:59 +01:00
background: transparent;
box-sizing: border-box;
2018-02-05 01:34:22 +01:00
}
}
}