fix cursors

This commit is contained in:
Ansis Brammanis
2013-04-05 14:24:58 -04:00
parent a8cf59e21c
commit f356e3e357
3 changed files with 15 additions and 15 deletions

View File

@@ -833,7 +833,7 @@ a:hover .icon.out-link { background-position: -500px -14px;}
top: 30px;
}
.preset-icon-fill.area {
.preset-icon-fill.icon-area {
cursor: inherit;
height: 45px;
width: 45px;
@@ -2275,7 +2275,7 @@ img.wiki-image {
.intro-areas-add .tooltip-inner::before,
.intro-lines-add .tooltip-inner::before,
.walkthrough a:before,
.preset-icon-fill.area,
.preset-icon-fill.icon-area,
.modal-actions button:before,
.map-control .icon,
.button-wrap .icon {

View File

@@ -873,40 +873,40 @@ text.point {
) 9 9, auto;
}
.mode-browse #surface .point,
.mode-select #surface .point {
.mode-browse .point,
.mode-select .point {
cursor: -webkit-image-set(
url(../img/cursor-select-point.png) 1x,
url(../img/cursor-select-point2x.png) 2x
), pointer;
}
.mode-select #surface .vertex,
.mode-browse #surface .vertex {
.mode-select .vertex,
.mode-browse .vertex {
cursor: -webkit-image-set(
url(../img/cursor-select-vertex.png) 1x,
url(../img/cursor-select-vertex2x.png) 2x
), pointer;
}
.mode-browse #surface .line,
.mode-select #surface .line {
.mode-browse .line,
.mode-select .line {
cursor: -webkit-image-set(
url(../img/cursor-select-line.png) 1x,
url(../img/cursor-select-line2x.png) 2x
), pointer;
}
.mode-select #surface .area,
.mode-browse #surface .area {
.mode-select .area,
.mode-browse .area {
cursor: -webkit-image-set(
url(../img/cursor-select-area.png) 1x,
url(../img/cursor-select-area2x.png) 2x
), pointer;
}
.mode-select #surface .midpoint,
.mode-browse #surface .midpoint {
.mode-select .midpoint,
.mode-browse .midpoint {
cursor: -webkit-image-set(
url(../img/cursor-select-split.png) 1x,
url(../img/cursor-select-split2x.png) 2x
@@ -1014,4 +1014,4 @@ path.gpx {
.mode-add-area .area.fill,
.mode-drag-node .area.fill {
pointer-events: none;
}
}

View File

@@ -2,7 +2,7 @@ iD.ui.PresetIcon = function(geometry) {
return function(selection) {
selection.append('div')
.attr('class', function(preset) {
var s = 'preset-icon-fill ' + geometry;
var s = 'preset-icon-fill icon-' + geometry;
for (var i in preset.tags) {
s += ' tag-' + i + ' tag-' + i + '-' + preset.tags[i];
}
@@ -15,5 +15,5 @@ iD.ui.PresetIcon = function(geometry) {
.attr('class', function(preset) {
return 'feature-' + (preset.icon || fallbackIcon) + ' icon preset-icon preset-icon-' + geometry;
});
}
};
};