Commit 218177c4e102896bbaa2e71e29ff505bb60c814f
1 parent
7b96a253
Exists in
master
and in
7 other branches
--no commit message
Showing
3 changed files
with
153 additions
and
0 deletions
Show diff stats
mashups/openlayers_compacto.css
| @@ -354,6 +354,57 @@ div.olControlMousePosition { | @@ -354,6 +354,57 @@ div.olControlMousePosition { | ||
| 354 | .olControlDragFeatureActive.olControlDragFeatureOver.olDragDown { | 354 | .olControlDragFeatureActive.olControlDragFeatureOver.olDragDown { |
| 355 | cursor: -moz-grabbing; | 355 | cursor: -moz-grabbing; |
| 356 | } | 356 | } |
| 357 | + | ||
| 358 | +/** | ||
| 359 | + * Layer switcher | ||
| 360 | + */ | ||
| 361 | +.olControlLayerSwitcher { | ||
| 362 | + position: absolute; | ||
| 363 | + top: 25px; | ||
| 364 | + right: 0px; | ||
| 365 | + width: 20em; | ||
| 366 | + font-family: sans-serif; | ||
| 367 | + font-weight: bold; | ||
| 368 | + margin-top: 3px; | ||
| 369 | + margin-left: 3px; | ||
| 370 | + margin-bottom: 3px; | ||
| 371 | + font-size: smaller; | ||
| 372 | + color: white; | ||
| 373 | + background-color: transparent; | ||
| 374 | + text-align:left; | ||
| 375 | +} | ||
| 376 | + | ||
| 377 | +.olControlLayerSwitcher .layersDiv { | ||
| 378 | + padding-top: 5px; | ||
| 379 | + padding-left: 10px; | ||
| 380 | + padding-bottom: 5px; | ||
| 381 | + padding-right: 75px; | ||
| 382 | + background-color: black; | ||
| 383 | + width: 100%; | ||
| 384 | + height: 100%; | ||
| 385 | + text-align:left; | ||
| 386 | +} | ||
| 387 | + | ||
| 388 | +.olControlLayerSwitcher .layersDiv .baseLbl, | ||
| 389 | +.olControlLayerSwitcher .layersDiv .dataLbl { | ||
| 390 | + margin-top: 3px; | ||
| 391 | + margin-left: 3px; | ||
| 392 | + margin-bottom: 3px; | ||
| 393 | + text-align:left; | ||
| 394 | +} | ||
| 395 | + | ||
| 396 | +.olControlLayerSwitcher .layersDiv .baseLayersDiv, | ||
| 397 | +.olControlLayerSwitcher .layersDiv .dataLayersDiv { | ||
| 398 | + padding-left: 10px; | ||
| 399 | + text-align:left; | ||
| 400 | +} | ||
| 401 | + | ||
| 402 | +.olControlLayerSwitcher .maximizeDiv, | ||
| 403 | +.olControlLayerSwitcher .minimizeDiv { | ||
| 404 | + top: 5px; | ||
| 405 | + right: 0px; | ||
| 406 | + text-align:left; | ||
| 407 | +} | ||
| 357 | .olControlEditingToolbar1 .editorOLpanItemInactive { | 408 | .olControlEditingToolbar1 .editorOLpanItemInactive { |
| 358 | background-position:-0px 0; | 409 | background-position:-0px 0; |
| 359 | } | 410 | } |
mashups/openlayers_compacto.css.php
| @@ -354,6 +354,57 @@ div.olControlMousePosition { | @@ -354,6 +354,57 @@ div.olControlMousePosition { | ||
| 354 | .olControlDragFeatureActive.olControlDragFeatureOver.olDragDown { | 354 | .olControlDragFeatureActive.olControlDragFeatureOver.olDragDown { |
| 355 | cursor: -moz-grabbing; | 355 | cursor: -moz-grabbing; |
| 356 | } | 356 | } |
| 357 | + | ||
| 358 | +/** | ||
| 359 | + * Layer switcher | ||
| 360 | + */ | ||
| 361 | +.olControlLayerSwitcher { | ||
| 362 | + position: absolute; | ||
| 363 | + top: 25px; | ||
| 364 | + right: 0px; | ||
| 365 | + width: 20em; | ||
| 366 | + font-family: sans-serif; | ||
| 367 | + font-weight: bold; | ||
| 368 | + margin-top: 3px; | ||
| 369 | + margin-left: 3px; | ||
| 370 | + margin-bottom: 3px; | ||
| 371 | + font-size: smaller; | ||
| 372 | + color: white; | ||
| 373 | + background-color: transparent; | ||
| 374 | + text-align:left; | ||
| 375 | +} | ||
| 376 | + | ||
| 377 | +.olControlLayerSwitcher .layersDiv { | ||
| 378 | + padding-top: 5px; | ||
| 379 | + padding-left: 10px; | ||
| 380 | + padding-bottom: 5px; | ||
| 381 | + padding-right: 75px; | ||
| 382 | + background-color: black; | ||
| 383 | + width: 100%; | ||
| 384 | + height: 100%; | ||
| 385 | + text-align:left; | ||
| 386 | +} | ||
| 387 | + | ||
| 388 | +.olControlLayerSwitcher .layersDiv .baseLbl, | ||
| 389 | +.olControlLayerSwitcher .layersDiv .dataLbl { | ||
| 390 | + margin-top: 3px; | ||
| 391 | + margin-left: 3px; | ||
| 392 | + margin-bottom: 3px; | ||
| 393 | + text-align:left; | ||
| 394 | +} | ||
| 395 | + | ||
| 396 | +.olControlLayerSwitcher .layersDiv .baseLayersDiv, | ||
| 397 | +.olControlLayerSwitcher .layersDiv .dataLayersDiv { | ||
| 398 | + padding-left: 10px; | ||
| 399 | + text-align:left; | ||
| 400 | +} | ||
| 401 | + | ||
| 402 | +.olControlLayerSwitcher .maximizeDiv, | ||
| 403 | +.olControlLayerSwitcher .minimizeDiv { | ||
| 404 | + top: 5px; | ||
| 405 | + right: 0px; | ||
| 406 | + text-align:left; | ||
| 407 | +} | ||
| 357 | .olControlEditingToolbar1 .editorOLpanItemInactive { | 408 | .olControlEditingToolbar1 .editorOLpanItemInactive { |
| 358 | background-position:-0px 0; | 409 | background-position:-0px 0; |
| 359 | } | 410 | } |
mashups/theme/default/style.css
| @@ -341,3 +341,54 @@ div.olControlMousePosition { | @@ -341,3 +341,54 @@ div.olControlMousePosition { | ||
| 341 | .olControlDragFeatureActive.olControlDragFeatureOver.olDragDown { | 341 | .olControlDragFeatureActive.olControlDragFeatureOver.olDragDown { |
| 342 | cursor: -moz-grabbing; | 342 | cursor: -moz-grabbing; |
| 343 | } | 343 | } |
| 344 | + | ||
| 345 | +/** | ||
| 346 | + * Layer switcher | ||
| 347 | + */ | ||
| 348 | +.olControlLayerSwitcher { | ||
| 349 | + position: absolute; | ||
| 350 | + top: 25px; | ||
| 351 | + right: 0px; | ||
| 352 | + width: 20em; | ||
| 353 | + font-family: sans-serif; | ||
| 354 | + font-weight: bold; | ||
| 355 | + margin-top: 3px; | ||
| 356 | + margin-left: 3px; | ||
| 357 | + margin-bottom: 3px; | ||
| 358 | + font-size: smaller; | ||
| 359 | + color: white; | ||
| 360 | + background-color: transparent; | ||
| 361 | + text-align:left; | ||
| 362 | +} | ||
| 363 | + | ||
| 364 | +.olControlLayerSwitcher .layersDiv { | ||
| 365 | + padding-top: 5px; | ||
| 366 | + padding-left: 10px; | ||
| 367 | + padding-bottom: 5px; | ||
| 368 | + padding-right: 75px; | ||
| 369 | + background-color: black; | ||
| 370 | + width: 100%; | ||
| 371 | + height: 100%; | ||
| 372 | + text-align:left; | ||
| 373 | +} | ||
| 374 | + | ||
| 375 | +.olControlLayerSwitcher .layersDiv .baseLbl, | ||
| 376 | +.olControlLayerSwitcher .layersDiv .dataLbl { | ||
| 377 | + margin-top: 3px; | ||
| 378 | + margin-left: 3px; | ||
| 379 | + margin-bottom: 3px; | ||
| 380 | + text-align:left; | ||
| 381 | +} | ||
| 382 | + | ||
| 383 | +.olControlLayerSwitcher .layersDiv .baseLayersDiv, | ||
| 384 | +.olControlLayerSwitcher .layersDiv .dataLayersDiv { | ||
| 385 | + padding-left: 10px; | ||
| 386 | + text-align:left; | ||
| 387 | +} | ||
| 388 | + | ||
| 389 | +.olControlLayerSwitcher .maximizeDiv, | ||
| 390 | +.olControlLayerSwitcher .minimizeDiv { | ||
| 391 | + top: 5px; | ||
| 392 | + right: 0px; | ||
| 393 | + text-align:left; | ||
| 394 | +} |