summaryrefslogtreecommitdiff
path: root/web/css
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2013-12-12 13:15:52 +0100
committerChristian Franke <nobody@nowhere.ws>2013-12-12 13:15:52 +0100
commit0339962f3cbdc07ccadc6accb5482ffa416115f7 (patch)
treee493bbcb5afad65ad5a561d6a5af88a80274e36c /web/css
parent63f064e481b42252c0916359e752c678156c11e2 (diff)
Somewhat working, cherrypy's worker threads can't keep up, though :/
Diffstat (limited to 'web/css')
-rw-r--r--web/css/leaflet.label.css52
1 files changed, 52 insertions, 0 deletions
diff --git a/web/css/leaflet.label.css b/web/css/leaflet.label.css
new file mode 100644
index 0000000..8671515
--- /dev/null
+++ b/web/css/leaflet.label.css
@@ -0,0 +1,52 @@
+.leaflet-label {
+ background: rgb(235, 235, 235);
+ background: rgba(235, 235, 235, 0.81);
+ background-clip: padding-box;
+ border-color: #777;
+ border-color: rgba(0,0,0,0.25);
+ border-radius: 4px;
+ border-style: solid;
+ border-width: 4px;
+ color: #111;
+ display: block;
+ font: 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ padding: 1px 6px;
+ position: absolute;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ white-space: nowrap;
+ z-index: 6;
+}
+
+.leaflet-label.leaflet-clickable {
+ cursor: pointer;
+}
+
+.leaflet-label:before,
+.leaflet-label:after {
+ border-top: 6px solid transparent;
+ border-bottom: 6px solid transparent;
+ content: none;
+ position: absolute;
+ top: 5px;
+}
+
+.leaflet-label:before {
+ border-right: 6px solid black;
+ border-right-color: inherit;
+ left: -10px;
+}
+
+.leaflet-label:after {
+ border-left: 6px solid black;
+ border-left-color: inherit;
+ right: -10px;
+}
+
+.leaflet-label-right:before,
+.leaflet-label-left:after {
+ content: "";
+} \ No newline at end of file