summaryrefslogtreecommitdiff
path: root/web/css
diff options
context:
space:
mode:
Diffstat (limited to 'web/css')
-rw-r--r--web/css/leaflet.css2
-rw-r--r--web/css/leaflet.search.css134
2 files changed, 135 insertions, 1 deletions
diff --git a/web/css/leaflet.css b/web/css/leaflet.css
index 0b08270..adfb9f6 100644
--- a/web/css/leaflet.css
+++ b/web/css/leaflet.css
@@ -181,7 +181,7 @@
/* visual tweaks */
.leaflet-container {
- background: #ddd;
+ background: #fff;
outline: 0;
}
.leaflet-container a {
diff --git a/web/css/leaflet.search.css b/web/css/leaflet.search.css
new file mode 100644
index 0000000..186e4cc
--- /dev/null
+++ b/web/css/leaflet.search.css
@@ -0,0 +1,134 @@
+/*
+ * Leaflet Search Control 1.4.6
+ * Copyright 2013, Stefano Cudini - http://labs.easyblog.it/stefano-cudini/
+ * Licensed under the MIT license.
+ *
+ * Demo:
+ * http://labs.easyblog.it/maps/leaflet-search
+ *
+ * Repositories:
+ * https://github.com/stefanocudini/leaflet-search
+ * https://bitbucket.org/zakis_/leaflet-search
+ *
+ */
+
+.leaflet-container .leaflet-control-search {
+ position:relative;
+ float:left;
+ background:#fff;
+ color:#1978cf;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+ background-color: rgba(255, 255, 255, 0.8);
+ z-index:1000;
+ box-shadow: 0 1px 7px rgba(0,0,0,0.65);
+ margin-left: 10px;
+ margin-top: 10px;
+}
+.leaflet-control-search.search-exp {/*expanded*/
+ box-shadow: 0 1px 7px #999;
+ background: #fff;
+}
+.leaflet-control-search .search-input {
+ display:block;
+ float:left;
+ background: #fff;
+ border:1px solid #666;
+ border-radius:2px;
+ height:18px;
+ padding:0 18px 0 2px;
+ margin:3px 0 3px 3px;
+}
+.leaflet-control-search.search-load .search-input {
+ background: url('images/loader.gif') no-repeat center right #fff;
+}
+.leaflet-control-search.search-load .search-cancel {
+ visibility:hidden;
+}
+.leaflet-control-search .search-cancel {
+ display:block;
+ width:22px;
+ height:18px;
+ position:absolute;
+ right:22px;
+ margin:3px 0;
+ background: url('images/search-icon.png') no-repeat 0 -46px;
+ text-decoration:none;
+ filter: alpha(opacity=80);
+ opacity: 0.8;
+}
+.leaflet-control-search .search-cancel:hover {
+ filter: alpha(opacity=100);
+ opacity: 1;
+}
+.leaflet-control-search .search-cancel span {
+ display:none;/* comment for cancel button imageless */
+ font-size:18px;
+ line-height:20px;
+ color:#ccc;
+ font-weight:bold;
+}
+.leaflet-control-search .search-cancel:hover span {
+ color:#aaa;
+}
+.leaflet-control-search .search-button {
+ display:block;
+ float:left;
+ width:26px;
+ height:26px;
+ background: url('images/search-icon.png') no-repeat 2px 2px;
+ border-radius:4px;
+}
+.leaflet-control-search .search-button:hover {
+ background: url('images/search-icon.png') no-repeat 2px -22px;
+}
+.leaflet-control-search .search-tooltip {
+ position:absolute;
+ top:100%;
+ left:0;
+ float:left;
+ min-width:80px;
+ max-height:106px;/*(.search-tip height * 5)*/
+ box-shadow: 0 0 8px rgba(0,0,0,0.4);
+ -webkit-border-radius: 5px;
+ -webkit-border-top-left-radius: 0;
+ -moz-border-radius: 5px;
+ -moz-border-radius-topleft: 0;
+ border-radius: 5px;
+ border-top-left-radius: 0;
+ background-color: rgba(0, 0, 0, 0.25);
+ z-index:1010;
+ overflow-y:auto;
+ overflow-x:hidden;
+}
+.leaflet-control-search .search-tip {
+ font-size:.85em;
+ margin:2px;
+ padding:2px;
+ display:block;
+ color:black;
+ background: #ddd;
+ border-radius:.25em;
+ text-decoration:none;
+ white-space:nowrap;
+ font-size:.85em;
+ vertical-align:center;
+}
+.leaflet-control-search .search-tip-select,
+.leaflet-control-search .search-tip:hover,
+.leaflet-control-search .search-button:hover {
+ background-color: #fff;
+}
+.leaflet-control-search .search-alert {
+ cursor:pointer;
+ clear:both;
+ font-size:.75em;
+ margin-bottom:5px;
+ padding:0 .25em;
+ color:#e00;
+ font-weight:bold;
+ border-radius:.25em;
+}
+
+