]> git.openstreetmap.org Git - rails.git/blob - public/openlayers/theme/default/style.css
Update OpenLayers to the 2.5 release.
[rails.git] / public / openlayers / theme / default / style.css
1 div.olMapViewport {
2    -moz-user-select: none 
3 }
4
5 .olLayerGoogleCopyright {
6     left: 2px;
7     bottom: 2px;  
8 }
9 .olLayerGooglePoweredBy {
10     left: 2px;
11     bottom: 15px;   
12 }
13 .olControlAttribution {
14     font-size: smaller; 
15     right: 3px; 
16     bottom: 4.5em; 
17     position: absolute; 
18     display: block;
19 }
20 .olControlScale {
21     right: 3px;
22     bottom: 3em;
23     display: block;
24     position: absolute;
25 }
26 .olControlPermalink {
27     right: 3px;
28     bottom: 1.5em;
29     display: block;
30     position: absolute;
31
32
33 div.olControlMousePosition {
34     bottom: 0em;
35     right: 3px;
36     display: block;
37     position: absolute;
38     font-family: Arial;
39     font-size: smaller;
40 }
41
42 .olControlOverviewMapContainer {
43     position: absolute;
44     bottom: 0px;
45     right: 0px;
46 }
47
48 .olControlOverviewMapElement {
49     padding: 10px 18px 10px 10px;
50     background-color: #00008B;
51     -moz-border-radius: 1em 0 0 0;
52 }
53
54 .olControlOverviewMapMinimizeButton {
55     right: 0px;
56     bottom: 80px;
57 }    
58
59 .olControlOverviewMapMaximizeButton {
60     right: 0px;
61     bottom: 80px;
62 }
63
64 .olControlOverviewMapExtentRectangle {
65    cursor: move;
66     border: 2px dotted red;
67 }
68 .olLayerGeoRSSDescription {
69     float:left;
70     width:100%;
71     overflow:auto;
72     font-size:1.0em;
73 }
74 .olLayerGeoRSSClose {
75     float:right;
76     color:gray;
77     font-size:1.2em;
78         margin-right:6px;
79     font-family:sans-serif;
80 }
81 .olLayerGeoRSSTitle {
82     float:left;font-size:1.2em;
83 }
84
85 .olPopupContent {
86     padding:5px;
87 }    
88 .olControlNavToolbar { 
89     width:0px;
90     height:0px;
91 }    
92 .olControlNavToolbar div { 
93   display:block;
94   width:  28px;
95   height: 28px;
96   top: 300px;
97   left: 6px;
98   position: relative;
99 }
100
101 .olControlNavToolbar .olControlNavigationItemActive { 
102   background-image: url("img/panning-hand-on.png");
103   background-repeat: no-repeat;
104 }
105 .olControlNavToolbar .olControlNavigationItemInactive { 
106   background-image: url("img/panning-hand-off.png");
107   background-repeat: no-repeat;
108 }
109 .olControlNavToolbar .olControlZoomBoxItemActive { 
110   background-image: url("img/drag-rectangle-on.png");
111   background-color: orange;
112   background-repeat: no-repeat;
113 }
114 .olControlNavToolbar .olControlZoomBoxItemInactive { 
115   background-image: url("img/drag-rectangle-off.png");
116   background-repeat: no-repeat;
117 }
118 .olControlEditingToolbar  {
119     float:right;
120     right: 0px;
121     height: 30px; 
122     width: 200px;
123 }
124 .olControlEditingToolbar div { 
125   float:right;
126   width:  24px;
127   height: 24px;
128   margin: 5px;
129 }
130 .olControlEditingToolbar .olControlNavigationItemActive { 
131   background-image: url("img/pan_on.png");
132   background-repeat: no-repeat;
133 }
134 .olControlEditingToolbar .olControlNavigationItemInactive { 
135   background-image: url("img/pan_off.png");
136   background-repeat: no-repeat;
137 }
138 .olControlEditingToolbar .olControlDrawFeaturePointItemActive { 
139   background-image: url("img/draw_point_on.png");
140   background-repeat: no-repeat;
141 }
142 .olControlEditingToolbar .olControlDrawFeaturePointItemInactive { 
143   background-image: url("img/draw_point_off.png");
144   background-repeat: no-repeat;
145 }
146 .olControlEditingToolbar .olControlDrawFeaturePathItemInactive { 
147   background-image: url("img/draw_line_off.png");
148   background-repeat: no-repeat;
149 }
150 .olControlEditingToolbar .olControlDrawFeaturePathItemActive { 
151   background-image: url("img/draw_line_on.png");
152   background-repeat: no-repeat;
153 }
154 .olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive { 
155   background-image: url("img/draw_polygon_off.png");
156   background-repeat: no-repeat;
157 }
158 .olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { 
159   background-image: url("img/draw_polygon_on.png");
160   background-repeat: no-repeat;
161 }