Commit Graph

104 Commits

Author SHA1 Message Date
Tim Schaub
b7e9b8b461 Remove logos 2017-12-16 08:46:50 -07:00
Andreas Hocevar
9b41ea4017 Use class instead of style for Translate cursor 2017-06-12 13:30:25 +02:00
Frederic Junod
8aa30ee8f6 Allow user selection in overlay container 2017-04-24 09:32:36 +02:00
Bart van den Eijnden
59ba146463 Merge pull request #6627 from bartvde/unselectable
Change css selector for user-select none
2017-03-22 16:48:22 +01:00
bartvde
c24ca7966a Change css selector for user-select none 2017-03-22 16:23:13 +01:00
Félix VEYSSEYRE
6202c1736f Made OvervieMap interactive option default behavior 2017-03-20 17:15:47 +01:00
Félix VEYSSEYRE
2b7ed7381f Added interactive option to ol.control.OverviewMap 2016-09-15 15:10:01 +02:00
Frederic Junod
f6326fcc99 Simplify css color notation 2015-11-24 17:01:22 +01:00
Frederic Junod
c8e35afecb Remove fallback css color
All browsers supports CSS3 color: http://caniuse.com/#feat=css3-colors
2015-11-24 16:42:38 +01:00
Andreas Hocevar
09063b47b5 Align logos nicely with attribution text 2015-10-25 10:32:50 +01:00
Andreas Hocevar
7a070dd859 Use DOM instead of map canvas for ol.render.Box 2015-10-15 17:34:16 +02:00
Andreas Hocevar
61ce463cf9 Fix zoom slider width for retina displays
This also simplifies the css by using a button for the slider, like for other
controls.
2015-10-12 19:24:00 +02:00
Frederic Junod
5bc875e075 Simplify .ol-zoomslider and .ol-overviewmap CSS
The .ol-control class already defines the position and background values.
2015-04-15 11:02:43 +02:00
Frederic Junod
1a80c0ef01 Add will-change CSS property to ol-overlay-container elements 2015-03-11 11:08:14 +01:00
Frederic Junod
064cd5695a Add will-change CSS property to scale line and rotate controls 2015-03-11 11:08:14 +01:00
Frederic Junod
6c32b280f5 Remove scale line inner padding
Fixes #3291
2015-03-03 17:06:41 +01:00
Tobias Sauerwein
aa67078d74 Merge pull request #3135 from tsauerwein/control-label
Make changing the label of ZoomToExtent/FullScreen control consistent
2015-01-29 15:03:53 +01:00
Frederic Junod
aa23a7bce5 Re enable rotation button transition
The opacity transition was broken with #2782
2015-01-28 09:09:01 +01:00
tsauerwein
7679069520 Add label option to FullScreen control 2015-01-16 09:05:51 +01:00
tsauerwein
0d26a9aa87 Add label option to ZoomToExtent 2015-01-15 09:58:05 +01:00
acanimal
2f5999529a Removed unnecessary max-width from CSS .ol-attribution ul 2014-12-18 20:49:01 +01:00
acanimal
6dc90aefa2 Update attribution CSS #2803 2014-12-12 18:52:46 +01:00
Frederic Junod
d4bd5f24c6 Move font-family customization to layout.css 2014-10-31 11:57:27 +01:00
Frederic Junod
9ebde652dc Use a standard title attribute for the control buttons 2014-10-28 15:22:46 +01:00
Tim Schaub
7152cdc87f Guard against Bootstrap's max-width setting
Bootstrap sets both the max-width and max-height of all image elements to 100%.  When attributions are removed from their containing element, this causes logos to shrink.
2014-10-25 23:37:20 -06:00
Tim Schaub
c1afd513b7 Account for the thumb size when handling clicks 2014-10-13 10:13:50 -06:00
Tim Schaub
9dd5b611c7 Give container ol-control class and tidy css 2014-10-13 09:22:21 -06:00
Alexandre Dubé
ddc6138dbf Add OverviewMap control 2014-10-09 10:10:14 -04:00
Frederic Junod
6f3b01f3dc Hide the rotate control when the rotation is 0
To prevent the cursor to be displayed as a pointer (only happens with bootstrap)
2014-10-01 19:09:14 +02:00
Frederic Junod
e136b4b4db Change the control visibility by using css class
Instead of changing the button opacity in the control, only add/remove
a css class (ol-hidden). This let the developer easily change the
behavior by updating the css.
2014-09-16 11:00:44 +02:00
Antoine Abt
a046dc1bab Fix attributions width 2014-08-26 15:29:11 +02:00
Antoine Abt
a43c546667 Uncollapse when there’s only logos 2014-07-24 15:22:19 +02:00
Antoine Abt
1c8fc8358a Remove reference to ol-logo 2014-07-11 10:31:03 +02:00
Antoine Abt
4d150e6b84 Move Logos in attributions 2014-07-11 09:53:25 +02:00
Antoine Abt
5a1e92830f Make attribution control collapsible. 2014-07-11 09:36:14 +02:00
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