Leaflet 1.0: fix also dragging map with opacity slider in Chrome;

update slider version; disable text selection while dragging in Firefox; 
no outline in Firefox
This commit is contained in:
Norbert Renner 2017-08-08 18:59:12 +02:00
parent 761a053b72
commit 76e2618bbf
3 changed files with 18 additions and 5 deletions

View file

@ -151,7 +151,7 @@ https://css-tricks.com/svg-line-animation-works/
/* invert track and selection styles to get partial gradient for "selection" */
.slider.slider-vertical .slider-track {
width: 8px;
margin-left: -4px;
margin-left: 1px;
background-image: linear-gradient(to right, #f0f0f0 0%, #e9e9e9 100%);
box-shadow: inset -1px -0px 1px rgba(55, 55, 55, 0.3), inset 1px 0px 1px rgba(230, 230, 230, 1);
}
@ -169,10 +169,10 @@ https://css-tricks.com/svg-line-animation-works/
.slider.slider-vertical .slider-tick,
.slider.slider-vertical .slider-handle {
margin-left: -6px;
cursor: ns-resize;
box-sizing: border-box;
background: none;
outline: none;
/* bootstrap .btn-default */
background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);