14 Commits

Author SHA1 Message Date
Oscar Lorentzon
15b94ae5d7 feat: inline slider button icons 2019-03-14 12:27:16 +01:00
Oscar Lorentzon
f4a665c4d3 feat: restyle slider mode switcher 2019-03-13 15:42:31 +01:00
Oscar Lorentzon
6c1419255a fix(slider): ensure no overlap with compass indicator
Fixes #275
2018-06-01 10:16:47 +00:00
Oscar Lorentzon
0a67d85525 feat(slider): restyle slider component
Use only black and white.
2018-05-28 10:03:55 +00:00
Oscar Lorentzon
9945b691c5 feat(slider): fill container with range input when no mode button 2018-05-17 13:06:13 +00:00
Oscar Lorentzon
af01543769 feat(slider): use 3d icon for mode button 2018-05-15 12:33:45 +00:00
Oscar Lorentzon
169b9a045c fix(slider): default cursor when no mode button
Show default cursor when the mode button is disabled.
Simplify slider CSS.
Apply correct class for motion mode button.
2018-05-15 12:16:04 +00:00
Oscar Lorentzon
301e4d565e feat(slider): add slider modes
Style range input.
Add slider mode button.
2018-05-11 11:33:30 +00:00
Oscar Lorentzon
ae1986bde6 refactor(slider): render with dom renderer
Add new slider DOM renderer class handling virtual node
creation.
Use DOM renderer for rendering slider range input.
Remove unused DOM properties from slider state.
2018-04-24 11:44:42 +00:00
Nikola Plesa
d43ee40621 fix(slider): add CSS style for IE pseudo-classes 2017-08-04 06:31:35 +00:00
Oscar Lorentzon
fb45ed297d Set pointer events to auto when elements should be target. 2017-03-08 07:12:46 +00:00
Oscar Lorentzon
d11f278d43 Simplify z-index approach.
Interactive (e.g. navigation, attribution) element have z-index 10.
Overlayed elements (slider, route bubble) have z-index 20.
Filling elements have z-index -1 to 9.
Cover have z-index 100.
Special elements (debug) have z-index 50.

Do not change z-index in server cssnano plugin (z-index are not
changed when built from npm script).
2016-08-26 13:22:25 -04:00
Kamil Nikel
c81dc1d666 Stylize the slider
Closes mapillary/mapillary-js#74
2016-03-10 13:37:15 +01:00
Oscar Lorentzon
4a8b25e2f7 Slider for controlling the curtain value.
Add slider visible configuration value to make it
controllable.
Render slider with DOM renderer.
Indicate on slider state if DOM or GL needs render.
Subscribe to DOM renderer element to get element
and add event listener by creating observable from
event.
Create non styled slider when enabled.
Disable prevent default in mouse service to recieve
input events.
2016-03-10 10:11:48 +01:00