- Timestamp:
- Aug 27, 2011, 2:28:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/wlheatmap/static/theme/default/style.css
r9139 r9582 1 1 div.olMap { 2 3 padding: 0 px!important;4 margin: 0 px!important;2 z-index: 0; 3 padding: 0 !important; 4 margin: 0 !important; 5 5 cursor: default; 6 6 } … … 12 12 div.olLayerDiv { 13 13 -moz-user-select: none; 14 -khtml-user-select: none; 14 15 } 15 16 16 17 .olLayerGoogleCopyright { 17 18 left: 2px; 18 bottom: 2px; 19 bottom: 2px; 20 } 21 .olLayerGoogleV3.olLayerGoogleCopyright { 22 right: auto !important; 19 23 } 20 24 .olLayerGooglePoweredBy { 21 25 left: 2px; 22 26 bottom: 15px; 27 } 28 .olLayerGoogleV3.olLayerGooglePoweredBy { 29 bottom: 15px !important; 23 30 } 24 31 .olControlAttribution { … … 37 44 } 38 45 .olControlScaleLine { 46 display: block; 47 position: absolute; 39 48 left: 10px; 40 49 bottom: 15px; … … 72 81 .olControlOverviewMapContainer { 73 82 position: absolute; 74 bottom: 0 px;75 right: 0 px;83 bottom: 0; 84 right: 0; 76 85 } 77 86 … … 83 92 84 93 .olControlOverviewMapMinimizeButton { 85 right: 0 px;94 right: 0; 86 95 bottom: 80px; 96 cursor: pointer; 87 97 } 88 98 89 99 .olControlOverviewMapMaximizeButton { 90 right: 0 px;100 right: 0; 91 101 bottom: 80px; 102 cursor: pointer; 92 103 } 93 104 … … 127 138 overflow: auto; 128 139 } 129 .olControlNavToolbar {130 width:0px;131 height:0px;132 }133 .olControlNavToolbar div {134 display:block;135 width: 28px;136 height: 28px;137 top: 300px;138 left: 6px;139 position: relative;140 }141 140 142 141 .olControlNavigationHistory { … … 148 147 } 149 148 .olControlNavigationHistoryPreviousItemActive { 150 background-position: 0 px 0px;149 background-position: 0 0; 151 150 } 152 151 .olControlNavigationHistoryPreviousItemInactive { 153 background-position: 0 px-24px;152 background-position: 0 -24px; 154 153 } 155 154 .olControlNavigationHistoryNextItemActive { 156 background-position: -24px 0 px;155 background-position: -24px 0; 157 156 } 158 157 .olControlNavigationHistoryNextItemInactive { … … 160 159 } 161 160 162 .olControlNavToolbar .olControlNavigationItemActive { 163 background-image: url("img/panning-hand-on.png"); 164 background-repeat: no-repeat; 165 } 166 .olControlNavToolbar .olControlNavigationItemInactive { 167 background-image: url("img/panning-hand-off.png"); 168 background-repeat: no-repeat; 169 } 170 .olControlNavToolbar .olControlZoomBoxItemActive { 171 background-image: url("img/drag-rectangle-on.png"); 172 background-color: orange; 173 background-repeat: no-repeat; 174 } 175 .olControlNavToolbar .olControlZoomBoxItemInactive { 176 background-image: url("img/drag-rectangle-off.png"); 177 background-repeat: no-repeat; 178 } 179 .olControlEditingToolbar { 180 float:right; 181 right: 0px; 182 height: 30px; 183 width: 200px; 184 } 185 .olControlEditingToolbar div { 186 background-image: url("img/editing_tool_bar.png"); 187 background-repeat: no-repeat; 188 float:right; 189 width: 24px; 190 height: 24px; 191 margin: 5px; 192 } 193 .olControlEditingToolbar .olControlNavigationItemActive { 194 background-position: -103px -23px; 195 } 196 .olControlEditingToolbar .olControlNavigationItemInactive { 197 background-position: -103px -0px; 198 } 199 .olControlEditingToolbar .olControlDrawFeaturePointItemActive { 200 background-position: -77px -23px; 201 } 202 .olControlEditingToolbar .olControlDrawFeaturePointItemInactive { 203 background-position: -77px -0px; 204 } 205 .olControlEditingToolbar .olControlDrawFeaturePathItemInactive { 206 background-position: -51px 0px; 207 } 208 .olControlEditingToolbar .olControlDrawFeaturePathItemActive { 209 background-position: -51px -23px; 210 } 211 .olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive { 212 background-position: -26px 0px; 213 } 214 .olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { 215 background-position: -26px -23px ; 216 } 217 .olControlSaveFeaturesItemActive { 161 div.olControlSaveFeaturesItemActive { 218 162 background-image: url(img/save_features_on.png); 219 163 background-repeat: no-repeat; 220 background-position: 0 px1px;221 } 222 .olControlSaveFeaturesItemInactive {164 background-position: 0 1px; 165 } 166 div.olControlSaveFeaturesItemInactive { 223 167 background-image: url(img/save_features_off.png); 224 168 background-repeat: no-repeat; 225 background-position: 0 px1px;169 background-position: 0 1px; 226 170 } 227 171 … … 257 201 258 202 .olControlPanPanel .olControlPanNorthItemInactive { 259 top: 0 px;203 top: 0; 260 204 left: 9px; 261 background-position: 0 px 0px;205 background-position: 0 0; 262 206 } 263 207 .olControlPanPanel .olControlPanSouthItemInactive { 264 208 top: 36px; 265 209 left: 9px; 266 background-position: 18px 0 px;210 background-position: 18px 0; 267 211 } 268 212 .olControlPanPanel .olControlPanWestItemInactive { 269 213 position: absolute; 270 214 top: 18px; 271 left: 0 px;272 background-position: 0 px18px;215 left: 0; 216 background-position: 0 18px; 273 217 } 274 218 .olControlPanPanel .olControlPanEastItemInactive { … … 292 236 293 237 .olControlZoomPanel .olControlZoomInItemInactive { 294 top: 0 px;295 left: 0 px;296 background-position: 0 px 0px;238 top: 0; 239 left: 0; 240 background-position: 0 0; 297 241 } 298 242 299 243 .olControlZoomPanel .olControlZoomToMaxExtentItemInactive { 300 244 top: 18px; 301 left: 0 px;302 background-position: 0 px-18px;245 left: 0; 246 background-position: 0 -18px; 303 247 } 304 248 305 249 .olControlZoomPanel .olControlZoomOutItemInactive { 306 250 top: 36px; 307 left: 0px; 308 background-position: 0px 18px; 251 left: 0; 252 background-position: 0 18px; 253 } 254 255 /* 256 * When a potential text is bigger than the image it move the image 257 * with some headers (closes #3154) 258 */ 259 .olControlPanZoomBar div { 260 font-size: 1px; 309 261 } 310 262 … … 321 273 .olControlNoSelect { 322 274 -moz-user-select: none; 275 -khtml-user-select: none; 276 } 277 278 .olImageLoadError { 279 background-color: pink; 280 opacity: 0.5; 281 filter: alpha(opacity=50); /* IE */ 323 282 } 324 283 … … 342 301 cursor: -moz-grabbing; 343 302 } 303 304 /** 305 * Layer switcher 306 */ 307 .olControlLayerSwitcher { 308 position: absolute; 309 top: 25px; 310 right: 0; 311 width: 20em; 312 font-family: sans-serif; 313 font-weight: bold; 314 margin-top: 3px; 315 margin-left: 3px; 316 margin-bottom: 3px; 317 font-size: smaller; 318 color: white; 319 background-color: transparent; 320 } 321 322 .olControlLayerSwitcher .layersDiv { 323 padding-top: 5px; 324 padding-left: 10px; 325 padding-bottom: 5px; 326 padding-right: 75px; 327 background-color: darkblue; 328 width: 100%; 329 height: 100%; 330 } 331 332 .olControlLayerSwitcher .layersDiv .baseLbl, 333 .olControlLayerSwitcher .layersDiv .dataLbl { 334 margin-top: 3px; 335 margin-left: 3px; 336 margin-bottom: 3px; 337 } 338 339 .olControlLayerSwitcher .layersDiv .baseLayersDiv, 340 .olControlLayerSwitcher .layersDiv .dataLayersDiv { 341 padding-left: 10px; 342 } 343 344 .olControlLayerSwitcher .maximizeDiv, 345 .olControlLayerSwitcher .minimizeDiv { 346 top: 5px; 347 right: 0; 348 cursor: pointer; 349 } 350 351 .olBingAttribution { 352 color: #DDD; 353 } 354 .olBingAttribution.road { 355 color: #333; 356 } 357 358 .olGoogleAttribution.hybrid, .olGoogleAttribution.satellite { 359 color: #EEE; 360 } 361 .olGoogleAttribution { 362 color: #333; 363 } 364 span.olGoogleAttribution a { 365 color: #77C; 366 } 367 span.olGoogleAttribution.hybrid a, span.olGoogleAttribution.satellite a { 368 color: #EEE; 369 } 370 371 /** 372 * Editing and navigation icons. 373 * (using the editing_tool_bar.png sprint image) 374 */ 375 .olControlNavToolbar , 376 .olControlEditingToolbar { 377 margin: 5px 5px 0 0; 378 } 379 .olControlNavToolbar div, 380 .olControlEditingToolbar div { 381 background-image: url("img/editing_tool_bar.png"); 382 background-repeat: no-repeat; 383 margin: 0 0 5px 5px; 384 width: 24px; 385 height: 22px; 386 cursor: pointer 387 } 388 /* positions */ 389 .olControlEditingToolbar { 390 right: 0; 391 top: 0; 392 } 393 .olControlNavToolbar { 394 top: 295px; 395 left: 9px; 396 } 397 /* layouts */ 398 .olControlEditingToolbar div { 399 float: right; 400 } 401 /* individual controls */ 402 .olControlNavToolbar .olControlNavigationItemInactive, 403 .olControlEditingToolbar .olControlNavigationItemInactive { 404 background-position: -103px -1px; 405 } 406 .olControlNavToolbar .olControlNavigationItemActive , 407 .olControlEditingToolbar .olControlNavigationItemActive { 408 background-position: -103px -24px; 409 } 410 .olControlNavToolbar .olControlZoomBoxItemInactive { 411 background-position: -128px -1px; 412 } 413 .olControlNavToolbar .olControlZoomBoxItemActive { 414 background-position: -128px -24px; 415 } 416 .olControlEditingToolbar .olControlDrawFeaturePointItemInactive { 417 background-position: -77px -1px; 418 } 419 .olControlEditingToolbar .olControlDrawFeaturePointItemActive { 420 background-position: -77px -24px; 421 } 422 .olControlEditingToolbar .olControlDrawFeaturePathItemInactive { 423 background-position: -51px -1px; 424 } 425 .olControlEditingToolbar .olControlDrawFeaturePathItemActive { 426 background-position: -51px -24px; 427 } 428 .olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive{ 429 background-position: -26px -1px; 430 } 431 .olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { 432 background-position: -26px -24px; 433 }
Note:
See TracChangeset
for help on using the changeset viewer.