-
Notifications
You must be signed in to change notification settings - Fork 949
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nouislider CSS to 15.2.0, and move our custom css to another f…
…ile to make updating easier.
- Loading branch information
1 parent
7f3efb6
commit b0251d2
Showing
3 changed files
with
148 additions
and
137 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 |
---|---|---|
@@ -0,0 +1,99 @@ | ||
/* Custom CSS */ | ||
|
||
.widget-slider .noUi-connect { | ||
background: rgb(33, 150, 243); | ||
} | ||
|
||
.widget-slider .noUi-horizontal { | ||
height: var(--jp-widgets-slider-track-thickness); | ||
} | ||
|
||
.widget-slider .noUi-vertical { | ||
width: var(--jp-widgets-slider-track-thickness); | ||
} | ||
|
||
.widget-slider .noUi-horizontal .noUi-handle { | ||
width: var(--jp-widgets-slider-handle-size); | ||
height: var(--jp-widgets-slider-handle-size); | ||
border-radius: 50%; | ||
top: calc( | ||
( | ||
var(--jp-widgets-slider-track-thickness) - | ||
var(--jp-widgets-slider-handle-size) | ||
) / 2 | ||
); | ||
right: calc(var(--jp-widgets-slider-handle-size) / -2); | ||
} | ||
|
||
.widget-slider .noUi-vertical .noUi-handle { | ||
height: var(--jp-widgets-slider-handle-size); | ||
width: var(--jp-widgets-slider-handle-size); | ||
border-radius: 50%; | ||
right: calc( | ||
( | ||
var(--jp-widgets-slider-handle-size) - | ||
var(--jp-widgets-slider-track-thickness) | ||
) / -2 | ||
); | ||
top: calc(var(--jp-widgets-slider-handle-size) / -2); | ||
} | ||
|
||
.widget-slider .noUi-handle:after { | ||
content: none; | ||
} | ||
|
||
.widget-slider .noUi-handle:before { | ||
content: none; | ||
} | ||
|
||
.widget-slider .noUi-target { | ||
background: #fafafa; | ||
border-radius: 4px; | ||
border: 1px; | ||
/* box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB; */ | ||
} | ||
|
||
.widget-slider .ui-slider { | ||
border: var(--jp-widgets-slider-border-width) solid var(--jp-layout-color3); | ||
background: var(--jp-layout-color3); | ||
box-sizing: border-box; | ||
position: relative; | ||
border-radius: 0px; | ||
} | ||
|
||
.widget-slider .noUi-handle { | ||
width: var(--jp-widgets-slider-handle-size); | ||
border: 1px solid #d9d9d9; | ||
border-radius: 3px; | ||
background: #fff; | ||
cursor: default; | ||
box-shadow: none; | ||
outline: none; | ||
} | ||
|
||
.widget-slider .noUi-target:not([disabled]) .noUi-handle:hover, | ||
.widget-slider .noUi-target:not([disabled]) .noUi-handle:focus { | ||
background-color: var(--jp-widgets-slider-active-handle-color); | ||
border: var(--jp-widgets-slider-border-width) solid | ||
var(--jp-widgets-slider-active-handle-color); | ||
} | ||
|
||
.widget-slider [disabled].noUi-target { | ||
opacity: 0.35; | ||
} | ||
|
||
.widget-slider .noUi-connects { | ||
overflow: visible; | ||
z-index: 0; | ||
background: var(--jp-layout-color3); | ||
} | ||
|
||
.widget-slider .noUi-vertical .noUi-connect { | ||
width: calc(100% + 2px); | ||
right: -1px; | ||
} | ||
|
||
.widget-slider .noUi-horizontal .noUi-connect { | ||
height: calc(100% + 2px); | ||
top: -1px; | ||
} |
Oops, something went wrong.