You are here

openlayers_plus.css in OpenLayers Plus 7.3

Same filename and directory in other branches
  1. 7 theme/openlayers_plus.css
  2. 7.2 theme/openlayers_plus.css
/**
 * Legend =============================================================
 */
.openlayers-legends {
  background: #fff;
  border-radius: 3px;
  bottom: 5px;
  left: 5px;
  -moz-border-radius: 3px;
  padding: 5px;
  position: absolute;
  -webkit-border-radius: 3px;
  z-index: 3000;
}

.openlayers-legends .legend {
  background: #fff;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.openlayers-legends .legend .legend-item {
  margin: 10px 0;
}

.openlayers-legends .swatch {
  display: block;
  float: left;
  height: 15px;
  margin-right: 5px;
  width: 15px;
}

.openlayers-legends .clear-block {
  clear: both;
}

/**
 * Blockswitcher ======================================================
 */
.openlayers-blockswitcher span.key {
  display: block;
  float: left;
  height: 20px;
  margin-right: 5px;
  width: 20px;
}

.openlayers-blockswitcher input.form-radio,
.openlayers-blockswitcher input.form-checkbox {
  margin-right: 5px;
}

div.openlayers-map .openlayers_plus-blockswitcher {
  width: auto;
  z-index: 3000;
}

div.openlayers-map .openlayers_plus-blockswitcher.ne {
  right: 0px;
  top: 0px;
}

div.openlayers-map .openlayers_plus-blockswitcher.nw {
  left: 0px;
  top: 0px;
}

div.openlayers-map .openlayers_plus-blockswitcher.se {
  bottom: 0px;
  right: 0px;
}

div.openlayers-map .openlayers_plus-blockswitcher.sw {
  bottom: 0px;
  left: 0px;
}

.openlayers_plus-blockswitcher h2.block-title {
  cursor: pointer;
}

.openlayers_plus-blockswitcher div.block-content {
  display: none;
}

.openlayers_plus-blockswitcher div.radio {
  background: url('inactive.png');
  background-repeat: no-repeat;
  padding: 3px 0 3px 25px;
}

.openlayers_plus-blockswitcher div.activated {
  background: url('active.png');
  background-repeat: no-repeat;
  padding: 3px 0 3px 25px;
}

/**
 * Blocktoggle ========================================================
 */
div.openlayers-map .block-openlayers_plus-blocktoggle {
  background: transparent;
  padding: 0;
  position: absolute;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  width: auto;
  z-index: 3001;
}

div.openlayers-map .block-openlayers_plus-blocktoggle.ne {
  right: 0px;
  top: 0px;
}

div.openlayers-map .block-openlayers_plus-blocktoggle.nw {
  left: 0px;
  top: 0px;
}

div.openlayers-map .block-openlayers_plus-blocktoggle.se {
  bottom: 0px;
  right: 0px;
}

div.openlayers-map .block-openlayers_plus-blocktoggle.sw {
  bottom: 0px;
  left: 0px;
}

.block-openlayers_plus-blocktoggle h2.block-title {
  display: none;
}

.block-openlayers_plus-blocktoggle .openlayers-blocktoggle-a,
.block-openlayers_plus-blocktoggle .openlayers-blocktoggle-b {
  background: url('point-button.png') #fff 5px 50% no-repeat;
  color: #666;
  cursor: pointer;
  float: left;
  line-height: 20px;
  padding: 0px 5px 0px 20px;
  width: 50px;
}

.block-openlayers_plus-blocktoggle .openlayers-blocktoggle-a {
  border-right: 1px solid #ccc;
  -moz-border-radius: 3px 0 0 3px;
  -webkit-border-radius: 3px 0 0 3px;
}

.block-openlayers_plus-blocktoggle .openlayers-blocktoggle-b {
  background-image: url('point-choro.png');
  -moz-border-radius: 0 3px 3px 0;
  -webkit-border-radius: 0 3px 3px 0;
}

.block-openlayers_plus-blocktoggle .activated {
  background-color: #eee;
  color: #222;
}

/**  
 * Sample themeregion css. You probably want to override this *
 */
.openlayers_plus-themeregion {
  /* this is tricky, the layers are 999, the first OpenLayers control is 1001 */
  position: absolute;
  /* We do this in code, too, as some themes position the region by ID, so we lose */
  z-index: 1000;
}

/*
** For sample purposes, place the selected region at the top of the map
** If you select more regions, that wont work too well.
*/
.openlayers_plus-themeregion.olControlNoSelect {
  right: 0px;
  top: 0px;
}


/**
*  BlockPanel ===============================================================
*/
.olControlblockpanel left,
.olControlblockpanel right {
  height: 100%;
}

File

theme/openlayers_plus.css
View source
  1. /**
  2. * Legend =============================================================
  3. */
  4. .openlayers-legends {
  5. background: #fff;
  6. border-radius: 3px;
  7. bottom: 5px;
  8. left: 5px;
  9. -moz-border-radius: 3px;
  10. padding: 5px;
  11. position: absolute;
  12. -webkit-border-radius: 3px;
  13. z-index: 3000;
  14. }
  15. .openlayers-legends .legend {
  16. background: #fff;
  17. -moz-border-radius: 3px;
  18. -webkit-border-radius: 3px;
  19. }
  20. .openlayers-legends .legend .legend-item {
  21. margin: 10px 0;
  22. }
  23. .openlayers-legends .swatch {
  24. display: block;
  25. float: left;
  26. height: 15px;
  27. margin-right: 5px;
  28. width: 15px;
  29. }
  30. .openlayers-legends .clear-block {
  31. clear: both;
  32. }
  33. /**
  34. * Blockswitcher ======================================================
  35. */
  36. .openlayers-blockswitcher span.key {
  37. display: block;
  38. float: left;
  39. height: 20px;
  40. margin-right: 5px;
  41. width: 20px;
  42. }
  43. .openlayers-blockswitcher input.form-radio,
  44. .openlayers-blockswitcher input.form-checkbox {
  45. margin-right: 5px;
  46. }
  47. div.openlayers-map .openlayers_plus-blockswitcher {
  48. width: auto;
  49. z-index: 3000;
  50. }
  51. div.openlayers-map .openlayers_plus-blockswitcher.ne {
  52. right: 0px;
  53. top: 0px;
  54. }
  55. div.openlayers-map .openlayers_plus-blockswitcher.nw {
  56. left: 0px;
  57. top: 0px;
  58. }
  59. div.openlayers-map .openlayers_plus-blockswitcher.se {
  60. bottom: 0px;
  61. right: 0px;
  62. }
  63. div.openlayers-map .openlayers_plus-blockswitcher.sw {
  64. bottom: 0px;
  65. left: 0px;
  66. }
  67. .openlayers_plus-blockswitcher h2.block-title {
  68. cursor: pointer;
  69. }
  70. .openlayers_plus-blockswitcher div.block-content {
  71. display: none;
  72. }
  73. .openlayers_plus-blockswitcher div.radio {
  74. background: url('inactive.png');
  75. background-repeat: no-repeat;
  76. padding: 3px 0 3px 25px;
  77. }
  78. .openlayers_plus-blockswitcher div.activated {
  79. background: url('active.png');
  80. background-repeat: no-repeat;
  81. padding: 3px 0 3px 25px;
  82. }
  83. /**
  84. * Blocktoggle ========================================================
  85. */
  86. div.openlayers-map .block-openlayers_plus-blocktoggle {
  87. background: transparent;
  88. padding: 0;
  89. position: absolute;
  90. -moz-border-radius: 3px;
  91. -webkit-border-radius: 3px;
  92. width: auto;
  93. z-index: 3001;
  94. }
  95. div.openlayers-map .block-openlayers_plus-blocktoggle.ne {
  96. right: 0px;
  97. top: 0px;
  98. }
  99. div.openlayers-map .block-openlayers_plus-blocktoggle.nw {
  100. left: 0px;
  101. top: 0px;
  102. }
  103. div.openlayers-map .block-openlayers_plus-blocktoggle.se {
  104. bottom: 0px;
  105. right: 0px;
  106. }
  107. div.openlayers-map .block-openlayers_plus-blocktoggle.sw {
  108. bottom: 0px;
  109. left: 0px;
  110. }
  111. .block-openlayers_plus-blocktoggle h2.block-title {
  112. display: none;
  113. }
  114. .block-openlayers_plus-blocktoggle .openlayers-blocktoggle-a,
  115. .block-openlayers_plus-blocktoggle .openlayers-blocktoggle-b {
  116. background: url('point-button.png') #fff 5px 50% no-repeat;
  117. color: #666;
  118. cursor: pointer;
  119. float: left;
  120. line-height: 20px;
  121. padding: 0px 5px 0px 20px;
  122. width: 50px;
  123. }
  124. .block-openlayers_plus-blocktoggle .openlayers-blocktoggle-a {
  125. border-right: 1px solid #ccc;
  126. -moz-border-radius: 3px 0 0 3px;
  127. -webkit-border-radius: 3px 0 0 3px;
  128. }
  129. .block-openlayers_plus-blocktoggle .openlayers-blocktoggle-b {
  130. background-image: url('point-choro.png');
  131. -moz-border-radius: 0 3px 3px 0;
  132. -webkit-border-radius: 0 3px 3px 0;
  133. }
  134. .block-openlayers_plus-blocktoggle .activated {
  135. background-color: #eee;
  136. color: #222;
  137. }
  138. /**
  139. * Sample themeregion css. You probably want to override this *
  140. */
  141. .openlayers_plus-themeregion {
  142. /* this is tricky, the layers are 999, the first OpenLayers control is 1001 */
  143. position: absolute;
  144. /* We do this in code, too, as some themes position the region by ID, so we lose */
  145. z-index: 1000;
  146. }
  147. /*
  148. ** For sample purposes, place the selected region at the top of the map
  149. ** If you select more regions, that wont work too well.
  150. */
  151. .openlayers_plus-themeregion.olControlNoSelect {
  152. right: 0px;
  153. top: 0px;
  154. }
  155. /**
  156. * BlockPanel ===============================================================
  157. */
  158. .olControlblockpanel left,
  159. .olControlblockpanel right {
  160. height: 100%;
  161. }