mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Rename and restyle editor Apply button
As a Save Metadata button with a 'save' icon.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user