update map, url controller, icon list selection css

This commit is contained in:
rlx 2011-10-02 21:49:59 +00:00
parent 5f20f84582
commit c624cc5082
4 changed files with 24 additions and 19 deletions

View file

@ -416,7 +416,9 @@ Ox.URL = function(options) {
function parseURL(str, callback) {
Ox.print('pU', str)
var parts = str.substr(1).split('/'),
// fixme: removing trailing slash makes it impossible to search for '/'
str = str.replace(/(^\/|\/$)/g, '');
var parts = str.split('/'),
state = {};
if (parts[0] == '') {
// empty URL

View file

@ -466,6 +466,7 @@ Ox.Map = function(options, self) {
}
function clickMap(event) {
var place = getSelectedPlace();
if (self.options.clickable/* && !editing()*/) {
getPlaceByLatLng(event.latLng, self.map.getBounds(), function(place) {
if (place) {
@ -475,6 +476,8 @@ Ox.Map = function(options, self) {
selectPlace(null);
}
});
} else {
pressEscape();
}
}

View file

@ -328,10 +328,10 @@ Lists
}
.OxThemeClassic .OxIconList .OxItem.OxSelected > .OxIcon > img,
.OxThemeClassic .OxIconList .OxItem.OxSelected > .OxIcon > .OxVideoPlayer {
border-color: rgb(160, 160, 160);
-moz-box-shadow: 0 0 4px rgba(160, 160, 160, 1);
-o-box-shadow: 0 0 4px rgba(160, 160, 160, 1);
-webkit-box-shadow: 0 0 4px rgba(160, 160, 160, 1);
border-color: rgb(192, 192, 192);
-moz-box-shadow: 0 0 4px rgba(192, 192, 192, 1);
-o-box-shadow: 0 0 4px rgba(192, 192, 192, 1);
-webkit-box-shadow: 0 0 4px rgba(192, 192, 192, 1);
}
.OxThemeClassic .OxIconList.OxFocus .OxItem.OxSelected > .OxIcon > img,
.OxThemeClassic .OxIconList.OxFocus .OxItem.OxSelected > .OxIcon > .OxVideoPlayer {
@ -347,11 +347,11 @@ Lists
rgb(255, 255, 255) 1px 1px 0;
}
.OxThemeClassic .OxIconList .OxItem.OxSelected > .OxText > div {
border-color: rgb(160, 160, 160);
background: rgba(160, 160, 160, 0.5);
-moz-box-shadow: 0 0 4px rgba(160, 160, 160, 1);
-o-box-shadow: 0 0 4px rgba(160, 160, 160, 1);
-webkit-box-shadow: 0 0 4px rgba(160, 160, 160, 1);
border-color: rgb(192, 192, 192);
background: rgba(192, 192, 192, 0.5);
-moz-box-shadow: 0 0 4px rgba(192, 192, 192, 1);
-o-box-shadow: 0 0 4px rgba(192, 192, 192, 1);
-webkit-box-shadow: 0 0 4px rgba(192, 192, 192, 1);
}
.OxThemeClassic .OxIconList.OxFocus .OxItem.OxSelected > .OxText > div {
border-color: rgb(128, 128, 128);

View file

@ -312,10 +312,10 @@ Lists
}
.OxThemeModern .OxIconList .OxItem.OxSelected > .OxIcon > img,
.OxThemeModern .OxIconList .OxItem.OxSelected > .OxIcon > .OxVideoPlayer {
border-color: rgb(96, 96, 96);
-moz-box-shadow: 0 0 4px rgba(96, 96, 96, 1);
-o-box-shadow: 0 0 4px rgba(96, 96, 96, 1);
-webkit-box-shadow: 0 0 4px rgba(96, 96, 96, 1);
border-color: rgb(64, 64, 64);
-moz-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
-o-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
-webkit-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
}
.OxThemeModern .OxIconList.OxFocus .OxItem.OxSelected > .OxIcon > img,
.OxThemeModern .OxIconList.OxFocus .OxItem.OxSelected > .OxIcon .OxVideoPlayer {
@ -331,11 +331,11 @@ Lists
rgb(0, 0, 0) 1px 1px 0;
}
.OxThemeModern .OxIconList .OxItem.OxSelected > .OxText > div {
border-color: rgb(96, 96, 96);
background: rgba(96, 96, 96, 0.5);
-moz-box-shadow: 0 0 4px rgba(96, 96, 96, 1);
-o-box-shadow: 0 0 4px rgba(96, 96, 96, 1);
-webkit-box-shadow: 0 0 4px rgba(96, 96, 96, 1);
border-color: rgb(64, 64, 64);
background: rgba(64, 64, 64, 0.5);
-moz-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
-o-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
-webkit-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
}
.OxThemeModern .OxIconList.OxFocus .OxItem.OxSelected > .OxText > div {
border-color: rgb(128, 128, 128);