Commit Graph

69 Commits

Author SHA1 Message Date
Antoine Abt
0bec5b5590 Add base control class, to simplify stylesheet 2014-05-02 14:12:31 +02:00
Antoine Abt
229ae5e883 Add rotate control
- displayed when rotation ≠ 0
 - reset rotation on click
2014-05-02 14:12:31 +02:00
Steven Pukansky
e62e537eed Update zoomslider custom styling to match control styling changes 2014-03-13 11:52:09 -04:00
Austin Hyde
a8dd1d29c8 Fix zoomslider controls to match zoom controls more closely 2014-03-13 11:52:09 -04:00
Austin Hyde
f45cb50121 Add styles for .ol-touch .ol-zoomslider 2014-03-13 11:52:09 -04:00
ahocevar
3544f70604 Explicit box model definition for box model dependent sizing
The zoom in/out tooltips are clipped when a css reset sets the
box-sizing to anything other than content-box. This breaks the
sizing of these tooltips, because they rely on content-box
sizing. This issue can e.g. be seen when using a bootstrap 3.x
bootstrap.css
2014-02-26 19:22:24 +01:00
Antoine Abt
2a48197234 Css tweaks for touch devices 2014-02-20 16:47:34 +01:00
Antoine Abt
fd9b4a7ee9 Use «em» based positioning 2014-02-20 16:47:34 +01:00
Antoine Abt
ed8e0e8552 Minor cleanups 2014-02-20 16:47:34 +01:00
Antoine Abt
d52f62fb5a Make Fullscreen control use <button> instead of <a> 2014-02-20 16:47:33 +01:00
Antoine Abt
b3abc166a4 Make zoomToExtent control use <button> instead of <a> 2014-02-19 09:34:04 +01:00
Antoine Abt
b6052320ad Coding style 2014-02-18 15:49:45 +01:00
Antoine Abt
a1d838c10c Use «em» for buttons sizing 2014-02-18 15:18:58 +01:00
Antoine Abt
f8cfa9a24d Better integration of button tooltips 2014-02-17 16:43:35 +01:00
Mark Prins
18c2ffe522 use button elements instead of anchor elements and add tooltips to zoomcontrol 2014-02-17 14:57:15 +01:00
Mark Prins
9adf8b01f6 use button elements and add tooltips to zoomcontrol 2014-02-17 14:57:15 +01:00
Antoine Abt
aa51edbeef Make fullscreen control use shared styles 2014-02-17 12:30:57 +01:00
Antoine Abt
e567383269 Share styles between zoom & extent control 2014-02-17 12:30:57 +01:00
Antoine Abt
edd69ac95f Remove unneeded selectors, share font-family definitions 2014-02-17 12:30:57 +01:00
ahocevar
4d0d2500a2 Merge pull request #1699 from ahocevar/logo-position
Fix logo position in apps without Bootstrap
2014-02-13 20:54:09 +01:00
ahocevar
672fc681ec Fix logo position in apps without Bootstrap 2014-02-13 18:12:26 +01:00
ahocevar
b7757e6a1d Allow application developers to modify cursors
With this change, cursors can be set on the map target again.
2014-02-12 11:09:59 +01:00
Austin Hyde
d3b2b1cd9e Prevent the default image dragging behavior in IE < 9 2014-02-05 10:31:15 -05:00
Austin Hyde
1215f58241 Add explicit text nodes to zoom in/out controls
IE < 9 does not support CSS content properties, so the +/- does not
get rendered. Instead, add the +/- as text nodes when creating the
DOM nodes for the control.
2014-02-05 10:31:15 -05:00
Austin Hyde
eebf730b66 Improve control styling for legacy IE versions
IE < 9 does not support RGBA transparency, so instead fall back to
more readable alternatives where possible.

Conflicts:
	css/ol.css
2014-02-05 10:31:15 -05:00
Tom Payne
7cadb6824e Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-18 17:09:19 +01:00
Antoine Abt
81d2e74abb fix hover style on zoom buttons in examples 2013-12-18 14:28:07 +01:00
Tom Payne
dca4f261ec Remove ol.control.DragBox 2013-11-20 11:42:06 +01:00
Bart van den Eijnden
8b085514b1 add Terms of Service to the Bing attribution
make sure the epsg4326Extent is constructed with the correct arguments
2013-10-31 16:49:46 +01:00
Stéphane Brunner
86001fd331 Add zoom to extent control 2013-07-16 17:13:38 +02:00
Tim Schaub
7e20ea160c Simplify style 2013-05-30 08:59:31 -06:00
Tim Schaub
439a8a5330 Style for attribution control 2013-05-24 19:02:43 -05:00
Tom Payne
2ad5dea737 Rename ol-mouseposition to ol-mouse-position 2013-05-07 17:31:26 +02:00
Thomas
f219393149 Add default CSS style for mouse position
Missing CSS was confirmed with issue #680, this commit is to fix it and change
ol-mouse-position class to ol-mouseposition. I choose for the moment the top
right corner to display the coordinates from mouse position control because of
potential conflict with the scaleline control.
2013-05-06 14:07:13 +02:00
Éric Lemoine
b501230164 Bigger + and - zoom buttons on touch devices 2013-04-14 23:28:45 +02:00
Frederic Junod
7b0e036b83 Hide the control if the Fullscreen API is not supported 2013-04-11 18:25:31 +02:00
Tim Schaub
93041becbe Toggle css class and use css content for anchor 2013-04-11 18:25:31 +02:00
Tom Payne
cef6fe4930 Add full screen control 2013-04-11 18:25:31 +02:00
Tom Payne
dfed88a8c2 Add ol.control.Logo 2013-04-05 18:38:52 +02:00
Frederic Junod
56afdb31c0 Remove unused ol-renderer-webgl-canvas css class 2013-04-03 14:09:42 +02:00
Frederic Junod
ffa879dad7 Hide the zoom buttons on print 2013-04-03 14:09:42 +02:00
Marc Jansen
1040a082c1 Remove CSS workarounds as suggested by @fredj. 2013-03-14 09:37:36 +01:00
Marc Jansen
8bf71ebb3a Add a zoomslider control. 2013-03-14 09:37:35 +01:00
Tom Payne
8c2b01948b Add ScaleLine control 2013-03-04 00:43:37 +01:00
Frederic Junod
0fcc06b8ae Set ol-zoom content in css using :before pseudo class 2013-03-03 12:23:29 +01:00
Frederic Junod
7d79a77052 Remove css size dependent rule (hover color) 2013-03-03 12:10:12 +01:00
Frederic Junod
9eeea82338 Remove CSS color workarounds. 2013-02-21 15:21:17 +01:00
Tom Payne
c2c87a80a1 Remove duplicate CSS rule 2013-01-29 11:21:57 +01:00
Marc Jansen
9af78dd2fe Adjust border-radius of zoom buttons. 2013-01-23 08:14:55 +01:00
Tom Payne
d0a330c870 Use an em space to separate attributions 2012-10-03 17:59:44 +02:00