mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 22:46:38 +02:00
button style improvements, modal positioning fix.
This commit is contained in:
@@ -86,7 +86,6 @@ iD.ui.commit = function(map) {
|
||||
.on('click.cancel', function() {
|
||||
event.cancel();
|
||||
});
|
||||
cancelbutton.append('span').attr('class','icon close icon-pre-text');
|
||||
cancelbutton.append('span').attr('class','label').text('Cancel');
|
||||
|
||||
var warnings = body.selectAll('div.warning-section')
|
||||
|
||||
+11
-12
@@ -26,16 +26,16 @@ iD.ui.inspector = function() {
|
||||
|
||||
tagList = inspectorwrap.append('ul');
|
||||
|
||||
inspectorwrap
|
||||
.append('div')
|
||||
.attr('class', 'add-tag-row')
|
||||
.append('button')
|
||||
.attr('class', 'add-tag')
|
||||
.text('+ Add New Tag')
|
||||
.on('click', function() {
|
||||
addTag();
|
||||
focusNewKey();
|
||||
});
|
||||
var newTag = inspectorwrap.append('button')
|
||||
.attr('class', 'add-tag');
|
||||
|
||||
newTag.on('click', function() {
|
||||
addTag();
|
||||
focusNewKey();
|
||||
});
|
||||
|
||||
newTag.append('span').attr('class', 'icon icon-pre-text plus');
|
||||
newTag.append('span').text('New tag')
|
||||
|
||||
drawTags(entity.tags);
|
||||
|
||||
@@ -63,8 +63,7 @@ iD.ui.inspector = function() {
|
||||
.attr('class', 'apply action')
|
||||
.on('click', apply);
|
||||
|
||||
inspectorButton.append('span').attr('class','icon icon-pre-text apply');
|
||||
inspectorButton.append('span').attr('class','label').text('Okay');
|
||||
inspectorButton.append('span').attr('class','icon apply');
|
||||
|
||||
var minorButtons = selection.append('div').attr('class','minor-buttons fl');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user