]> git.openstreetmap.org Git - rails.git/blob - app/assets/openlayers/theme/openstreetmap/style.css.scss
Use a custom OpenLayers theme
[rails.git] / app / assets / openlayers / theme / openstreetmap / style.css.scss
1 /*
2  *= require theme/default/style
3  *= require theme/openstreetmap/SimpleLayerSwitcher
4  */
5
6 .olControlOverviewMapExtentRectangle {
7     background-image: image-url("theme/default/img/blank.gif");
8 }
9
10 .olControlOverviewMapRectReplacement {
11     background-image: image-url("theme/default/img/overview_replacement.gif");
12 }
13
14 .olControlNavigationHistory {
15     background-image: image-url("theme/default/img/navigation_history.png");
16 }
17
18 div.olControlSaveFeaturesItemActive {
19     background-image: image-url("theme/default/img/save_features_on.png");
20 }
21
22 div.olControlSaveFeaturesItemInactive {
23     background-image: image-url("theme/default/img/save_features_off.png");
24 }
25
26 .olControlPanPanel div {
27     background-image: image-url("theme/default/img/pan-panel.png");
28 }
29
30 .olControlZoomPanel div {
31     background-image: image-url("theme/default/img/zoom-panel.png");
32 }
33
34 .olPopupCloseBox {
35     background: image-url("theme/default/img/close.gif") no-repeat;
36 }
37
38 .olImageLoadError {
39     // remove opacity?
40     // remove filter?
41     background: image-url("theme/openstreetmap/img/missing-tile.png") no-repeat;
42 }
43
44 .olControlNavToolbar div,
45 .olControlEditingToolbar div {
46     background-image: image-url("theme/default/img/editing_tool_bar.png");
47 }
48
49 div.olControlZoom a {
50     color: black;
51     background: #ffffff;
52     border: 1px solid #cccccc;
53     // remove filter
54 }
55
56 div.olControlZoom a:hover {
57     background: #f5f5f5;
58 }
59
60 // remove max-width hover?