You are here

openlayers_plus_behavior_maptext.css in OpenLayers Plus 7.3

/*===========================================================================
 * Maptext Styling by Joseph Ssekono
 * =========================================================================*/

.olControlPanel 
.olButton {
	width: 20px;
	height: 20px;
	float: left;
}

.olControlPanel {
  background-color: gray;
	display: block;
}

.olControlZoomBoxItemInactive {
  background-color: yellow;
	
}

.olControlMaptextItemInactive {
  background-color: blue;
}

.olControlMaptextItemActive {
  background-color: yellow;
}

.openlayers_plus_blockswitcher_title {
  width: 100%;
}

.olControlPanel.right,
.olControlMaptext.right {
  right: 40px;
}

.olControlPanel.left,
.olControlMaptext.left {
  left: 60px;
}

.olControlPanel.top,
.olControlMaptext.top {
  top: 0px;
}

.olControlPanel.bottom,
.olControlMaptext.bottom {
  bottom: 0px;
}

/*
 * The popup Select Control button on the panel should be
 * hidden.
*/ 
.olplusmaptextpopupbutton {
	display: none;
}



.olControlMaptext a.toggle_button.down, a.mapeditor.down {
  background: #ccc;
  border-bottom: solid 2px #777;
  border-left: solid 2px #eaeaea;
  border-right: solid 2px #777;
  border-top: solid 2px #eaeaea;
  cursor: pointer;
}

.olControlMaptext a.toggle_button, a.mapeditor {
  background: #bbb;
  border-bottom: solid 2px #eaeaea;
  border-left: solid 2px #777;
  border-right: solid 2px #eaeaea;
  border-top: solid 2px #777;
  float: right;
  margin-top: 10px;
  padding: 5px 5px;
  position: relative;
}


.olControlMaptext a ,
.olControlMaptext a:hover {
  color:#FFF;
}

/*============bnContainer==============*/

.olControlMaptext .bnContainer {
  overflow:hidden;
}


olControlMaptext .bnContainer a.toggle_button,
olControlMaptext .bnContainer a.toggle_button.down {
  background: url(../images/map-controls-sprite.png) no-repeat;
  width: 30px;
  height: 30px;
	color: transparent;
  overflow: hidden;
	float: right;
	cursor: pointer;
}

/*============olControlZoomPanel==============*/

.olControlZoomPanel {
  left: auto !important;
  right: 20px !important;
	top: 20px !important;
}

.olControlZoomPanel .olControlZoomInItemInactive,
.olControlZoomPanel .olControlZoomOutItemInactive {
	width: 30px;
  height: 30px;
	overflow: hidden;
	position: static;
	background: url(../images/map-controls-sprite.png) no-repeat;
  margin: 5px;
}

.olControlZoomPanel .olControlZoomInItemInactive {
  background-position: 0px 0px;
}

.olControlZoomPanel .olControlZoomOutItemInactive {
  background-position: 0px -30px !important;
}

/*===================popup=======================*/

.openlayers-popupbox {
  background: url(../images/alpha-black-bg.png);
  border: 1px solid #dedede;
  color: #fff;
  display: inline;
  float: right;
  font-size: 100%;
  opacity: 1.0;
  position: absolute;
  right: 70px;
  top: 24px;
  width: 300px;
  z-index: 1015;
}

.openlayers-popupbox h2.popup-title {
  color: #FFFFFF;
  font-weight: normal;
  letter-spacing:normal;
  background: url(../images/alpha-black-bg.png);
  font-size: 1.0em;
  margin: 0px;
  padding: 5px 30px 5px 10px;
  text-transform: uppercase;
}

.openlayers-popupbox h2.popup-title a {
  color: #FFFFFF;
}

.openlayers-popupbox h2.popup-title a:hover {
  text-decoration: underline;
}

.openlayers-popupbox a.popup-close {
  background: url(../images/closer.png) no-repeat;
  color: transparent;
  height: 13px;
  width: 14px;
  position: absolute;
  right: 10px;
  top: 8px;
  float: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.openlayers-popupbox a.popup-close:hover {
  color: transparent;
}

.openlayers-popupbox .popup-content {
  background-image: none;
  color: #FFFFFF;
  font-family: inherit;
  font-size:0.9em;
  padding: 0px;
  overflow:hidden;
}

.openlayers-popupbox .popup-content .field-type-image ,
.openlayers-popupbox .popup-content .field-type-date ,
.openlayers-popupbox .popup-content .field-type-text-long ,
.openlayers-popupbox .popup-content .field-type-ds {
  padding: 5px 10px;
}

.openlayers-popupbox .popup-content .field-type-image {
  float:left;
}

.openlayers-popupbox .popup-content .field-type-date {
  font-style:italic;
  padding-bottom:10px;
}

.openlayers-popupbox .popup-content .field-type-ds {
  background: url(../images/popup-read-more.png) no-repeat 120px top;
  overflow:hidden;
  padding-right:20px;
}

.openlayers-popupbox .popup-content .field-type-ds a {
  float:right;
  color:#FFFFFF;
}

.openlayers-popupbox .popup-content .field-type-ds a:hover {
  text-decoration:underline;
}






/*===========================================================================*\
	Openlayers Control Panel Styles
\*===========================================================================*/

.olControlPanel.olControlNoSelect {
	width: 40px;
	background: none;
}

.olControlPanel.olControlNoSelect.top.left {
	top: 20px;
	left: 20px;
}

.olControlPanel.olControlNoSelect.top.right {
	top: 20px;
	right: 20px;
}

.olControlPanel.olControlNoSelect.bottom.right {
	bottom: 20px;
	right: 20px;
}

.olControlPanel.olControlNoSelect.bottom.left {
	bottom: 20px;
	left: 20px;
}

.olControlPanel.olControlNoSelect .olControlMaptextItemActive.olButton ,
.olControlPanel.olControlNoSelect .olControlMaptextItemInactive.olButton {
	width: 28px;
	height: 28px;
	margin: 5px;
	background-color: #000000;
	border-radius: 5px;
}

.olControlPanel.olControlNoSelect .olControlMaptextItemActive.olButton {
	border: thin solid #FFFFFF;
}

.olControlPanel.olControlNoSelect .olControlMaptextItemInactive.olButton {
	border: thin solid #777777;
}

.olControlPanel.olControlNoSelect .olControlMaptextItemInactive.olButton:hover {
	border: thin solid #FFFFFF;
}

/*===========================================================================*\
	Openlayers Control Control Maptext Styles
\*===========================================================================*/

.olControlMaptext {
	background: #000000;
	color: #FFFFFF;
	font-size: 0.9em;
	border-radius: 5px;
        width: 300px;
        opacity: 0.8;
}

.olControlMaptext.top.left {
	top: 25px;
	left: 70px;
}

.olControlMaptext.top.right {
	top: 25px;
	right: 70px;
}

.olControlMaptext.bottom.right {
	bottom: 20px;
	right: 70px;
}

.olControlMaptext.bottom.left {
	bottom: 20px;
	left: 70px;
}

#content .olControlMaptext h2.popup-title {
	border-bottom: thin solid #FFFFFF;
	font-size: 1.0em;
	margin: 0px;
	padding: 5px;
	text-transform: uppercase;
}

#content .olControlMaptext #olplusmaptextpopup_content,
#content .olControlMaptext .block .content {
	padding: 5px;
}

#content .olControlMaptext .olPopupCloseBox {

}


/*===========================================================================*\
	Extruderol Block Panel Styles
\*===========================================================================*/

#Extruderolblockpanel.olControlblockpanel.extruder {
	background: #000000;
	color: #FFFFFF;
	font-family: sans-serif;
	font-size: 0.9em;
}

#Extruderolblockpanel.olControlblockpanel.extruder .flap {
	box-shadow: none;
	margin-right: -40px;
}

text {
	text-anchor: center;	
}

File

theme/openlayers_plus_behavior_maptext.css
View source
  1. /*===========================================================================
  2. * Maptext Styling by Joseph Ssekono
  3. * =========================================================================*/
  4. .olControlPanel
  5. .olButton {
  6. width: 20px;
  7. height: 20px;
  8. float: left;
  9. }
  10. .olControlPanel {
  11. background-color: gray;
  12. display: block;
  13. }
  14. .olControlZoomBoxItemInactive {
  15. background-color: yellow;
  16. }
  17. .olControlMaptextItemInactive {
  18. background-color: blue;
  19. }
  20. .olControlMaptextItemActive {
  21. background-color: yellow;
  22. }
  23. .openlayers_plus_blockswitcher_title {
  24. width: 100%;
  25. }
  26. .olControlPanel.right,
  27. .olControlMaptext.right {
  28. right: 40px;
  29. }
  30. .olControlPanel.left,
  31. .olControlMaptext.left {
  32. left: 60px;
  33. }
  34. .olControlPanel.top,
  35. .olControlMaptext.top {
  36. top: 0px;
  37. }
  38. .olControlPanel.bottom,
  39. .olControlMaptext.bottom {
  40. bottom: 0px;
  41. }
  42. /*
  43. * The popup Select Control button on the panel should be
  44. * hidden.
  45. */
  46. .olplusmaptextpopupbutton {
  47. display: none;
  48. }
  49. .olControlMaptext a.toggle_button.down, a.mapeditor.down {
  50. background: #ccc;
  51. border-bottom: solid 2px #777;
  52. border-left: solid 2px #eaeaea;
  53. border-right: solid 2px #777;
  54. border-top: solid 2px #eaeaea;
  55. cursor: pointer;
  56. }
  57. .olControlMaptext a.toggle_button, a.mapeditor {
  58. background: #bbb;
  59. border-bottom: solid 2px #eaeaea;
  60. border-left: solid 2px #777;
  61. border-right: solid 2px #eaeaea;
  62. border-top: solid 2px #777;
  63. float: right;
  64. margin-top: 10px;
  65. padding: 5px 5px;
  66. position: relative;
  67. }
  68. .olControlMaptext a ,
  69. .olControlMaptext a:hover {
  70. color:#FFF;
  71. }
  72. /*============bnContainer==============*/
  73. .olControlMaptext .bnContainer {
  74. overflow:hidden;
  75. }
  76. olControlMaptext .bnContainer a.toggle_button,
  77. olControlMaptext .bnContainer a.toggle_button.down {
  78. background: url(../images/map-controls-sprite.png) no-repeat;
  79. width: 30px;
  80. height: 30px;
  81. color: transparent;
  82. overflow: hidden;
  83. float: right;
  84. cursor: pointer;
  85. }
  86. /*============olControlZoomPanel==============*/
  87. .olControlZoomPanel {
  88. left: auto !important;
  89. right: 20px !important;
  90. top: 20px !important;
  91. }
  92. .olControlZoomPanel .olControlZoomInItemInactive,
  93. .olControlZoomPanel .olControlZoomOutItemInactive {
  94. width: 30px;
  95. height: 30px;
  96. overflow: hidden;
  97. position: static;
  98. background: url(../images/map-controls-sprite.png) no-repeat;
  99. margin: 5px;
  100. }
  101. .olControlZoomPanel .olControlZoomInItemInactive {
  102. background-position: 0px 0px;
  103. }
  104. .olControlZoomPanel .olControlZoomOutItemInactive {
  105. background-position: 0px -30px !important;
  106. }
  107. /*===================popup=======================*/
  108. .openlayers-popupbox {
  109. background: url(../images/alpha-black-bg.png);
  110. border: 1px solid #dedede;
  111. color: #fff;
  112. display: inline;
  113. float: right;
  114. font-size: 100%;
  115. opacity: 1.0;
  116. position: absolute;
  117. right: 70px;
  118. top: 24px;
  119. width: 300px;
  120. z-index: 1015;
  121. }
  122. .openlayers-popupbox h2.popup-title {
  123. color: #FFFFFF;
  124. font-weight: normal;
  125. letter-spacing:normal;
  126. background: url(../images/alpha-black-bg.png);
  127. font-size: 1.0em;
  128. margin: 0px;
  129. padding: 5px 30px 5px 10px;
  130. text-transform: uppercase;
  131. }
  132. .openlayers-popupbox h2.popup-title a {
  133. color: #FFFFFF;
  134. }
  135. .openlayers-popupbox h2.popup-title a:hover {
  136. text-decoration: underline;
  137. }
  138. .openlayers-popupbox a.popup-close {
  139. background: url(../images/closer.png) no-repeat;
  140. color: transparent;
  141. height: 13px;
  142. width: 14px;
  143. position: absolute;
  144. right: 10px;
  145. top: 8px;
  146. float: none;
  147. margin: 0;
  148. padding: 0;
  149. text-decoration: none;
  150. }
  151. .openlayers-popupbox a.popup-close:hover {
  152. color: transparent;
  153. }
  154. .openlayers-popupbox .popup-content {
  155. background-image: none;
  156. color: #FFFFFF;
  157. font-family: inherit;
  158. font-size:0.9em;
  159. padding: 0px;
  160. overflow:hidden;
  161. }
  162. .openlayers-popupbox .popup-content .field-type-image ,
  163. .openlayers-popupbox .popup-content .field-type-date ,
  164. .openlayers-popupbox .popup-content .field-type-text-long ,
  165. .openlayers-popupbox .popup-content .field-type-ds {
  166. padding: 5px 10px;
  167. }
  168. .openlayers-popupbox .popup-content .field-type-image {
  169. float:left;
  170. }
  171. .openlayers-popupbox .popup-content .field-type-date {
  172. font-style:italic;
  173. padding-bottom:10px;
  174. }
  175. .openlayers-popupbox .popup-content .field-type-ds {
  176. background: url(../images/popup-read-more.png) no-repeat 120px top;
  177. overflow:hidden;
  178. padding-right:20px;
  179. }
  180. .openlayers-popupbox .popup-content .field-type-ds a {
  181. float:right;
  182. color:#FFFFFF;
  183. }
  184. .openlayers-popupbox .popup-content .field-type-ds a:hover {
  185. text-decoration:underline;
  186. }
  187. /*===========================================================================*\
  188. Openlayers Control Panel Styles
  189. \*===========================================================================*/
  190. .olControlPanel.olControlNoSelect {
  191. width: 40px;
  192. background: none;
  193. }
  194. .olControlPanel.olControlNoSelect.top.left {
  195. top: 20px;
  196. left: 20px;
  197. }
  198. .olControlPanel.olControlNoSelect.top.right {
  199. top: 20px;
  200. right: 20px;
  201. }
  202. .olControlPanel.olControlNoSelect.bottom.right {
  203. bottom: 20px;
  204. right: 20px;
  205. }
  206. .olControlPanel.olControlNoSelect.bottom.left {
  207. bottom: 20px;
  208. left: 20px;
  209. }
  210. .olControlPanel.olControlNoSelect .olControlMaptextItemActive.olButton ,
  211. .olControlPanel.olControlNoSelect .olControlMaptextItemInactive.olButton {
  212. width: 28px;
  213. height: 28px;
  214. margin: 5px;
  215. background-color: #000000;
  216. border-radius: 5px;
  217. }
  218. .olControlPanel.olControlNoSelect .olControlMaptextItemActive.olButton {
  219. border: thin solid #FFFFFF;
  220. }
  221. .olControlPanel.olControlNoSelect .olControlMaptextItemInactive.olButton {
  222. border: thin solid #777777;
  223. }
  224. .olControlPanel.olControlNoSelect .olControlMaptextItemInactive.olButton:hover {
  225. border: thin solid #FFFFFF;
  226. }
  227. /*===========================================================================*\
  228. Openlayers Control Control Maptext Styles
  229. \*===========================================================================*/
  230. .olControlMaptext {
  231. background: #000000;
  232. color: #FFFFFF;
  233. font-size: 0.9em;
  234. border-radius: 5px;
  235. width: 300px;
  236. opacity: 0.8;
  237. }
  238. .olControlMaptext.top.left {
  239. top: 25px;
  240. left: 70px;
  241. }
  242. .olControlMaptext.top.right {
  243. top: 25px;
  244. right: 70px;
  245. }
  246. .olControlMaptext.bottom.right {
  247. bottom: 20px;
  248. right: 70px;
  249. }
  250. .olControlMaptext.bottom.left {
  251. bottom: 20px;
  252. left: 70px;
  253. }
  254. #content .olControlMaptext h2.popup-title {
  255. border-bottom: thin solid #FFFFFF;
  256. font-size: 1.0em;
  257. margin: 0px;
  258. padding: 5px;
  259. text-transform: uppercase;
  260. }
  261. #content .olControlMaptext #olplusmaptextpopup_content,
  262. #content .olControlMaptext .block .content {
  263. padding: 5px;
  264. }
  265. #content .olControlMaptext .olPopupCloseBox {
  266. }
  267. /*===========================================================================*\
  268. Extruderol Block Panel Styles
  269. \*===========================================================================*/
  270. #Extruderolblockpanel.olControlblockpanel.extruder {
  271. background: #000000;
  272. color: #FFFFFF;
  273. font-family: sans-serif;
  274. font-size: 0.9em;
  275. }
  276. #Extruderolblockpanel.olControlblockpanel.extruder .flap {
  277. box-shadow: none;
  278. margin-right: -40px;
  279. }
  280. text {
  281. text-anchor: center;
  282. }