Rename and restyle editor Apply button

As a Save Metadata button with a 'save' icon.
This commit is contained in:
Oliver Hamlet
2016-03-06 13:00:39 +00:00
parent 7b768c5136
commit 93c634cf8b
2 changed files with 4 additions and 4 deletions
@@ -53,7 +53,7 @@ loot-editor-close
display: none;
}
#accept {
color: var(--loot-accent-color);
color: var(--loot-dark-accent-color);
}
#cancel {
color: red;
@@ -120,8 +120,8 @@ loot-editor-close
<div id="title">
<content select="h1"></content>
</div>
<paper-icon-button id="accept" icon="check"></paper-icon-button>
<paper-tooltip for="accept">Apply</paper-tooltip>
<paper-icon-button id="accept" icon="save"></paper-icon-button>
<paper-tooltip for="accept">Save Metadata</paper-tooltip>
<paper-icon-button id="cancel" icon="close"></paper-icon-button>
<paper-tooltip for="cancel">Cancel</paper-tooltip>
<paper-tabs id="tableTabs" class="bottom fit" selected="{{selected}}" attr-for-selected="data-for" scrollable>
+1 -1
View File
@@ -74,7 +74,7 @@
pluginEditor.getElementById('url').querySelector('th:first-child').textContent = l10n.translate('URL');
pluginEditor.getElementById('url').querySelector('th:nth-child(2)').textContent = l10n.translate('Name');
pluginEditor.querySelector('paper-tooltip[for=accept]').textContent = l10n.translate('Apply');
pluginEditor.querySelector('paper-tooltip[for=accept]').textContent = l10n.translate('Save Metadata');
pluginEditor.querySelector('paper-tooltip[for=cancel]').textContent = l10n.translate('Cancel');
}