Skip to content

Commit

Permalink
slightly darker remove button
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Apr 14, 2020
1 parent 9f5598c commit 7132a1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/styles/_dialogs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
float: right;
color: darken($lu_toolbar_color_base, 20%); // slightly darker primary action
}

&[title=Remove] {
color: darken($lu_toolbar_color_base, 20%); // slightly darker primary action
}
}

.#{$lu_css_prefix}-dialog-sub-nested {
Expand Down
2 changes: 1 addition & 1 deletion src/ui/dialogs/MappingLineDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class MappingLineDialog extends ADialog {
build(node: HTMLElement) {
const domain = this.adapter.domain();
node.insertAdjacentHTML('beforeend', `
<button class="${cssClass('dialog-button')} lu-action-remove" type="button" ${this.line.frozen ? 'style="display: none"' : ''} ><span style="margin-left: 3px">Remove Mapping Line</span></button>
<button class="${cssClass('dialog-button')} lu-action-remove" title="Remove" type="button" ${this.line.frozen ? 'style="display: none"' : ''} ><span style="margin-left: 3px">Remove Mapping Line</span></button>
<strong>Input Domain Value (min ... max)</strong>
<input type="number" value="${round(this.adapter.unnormalizeRaw(this.line.domain), 3)}" ${this.line.frozen ? 'readonly disabled' : ''} autofocus required min="${domain[0]}" max="${domain[1]}" step="any">
<strong>Output Normalized Value (0 ... 1)</strong>
Expand Down

0 comments on commit 7132a1a

Please sign in to comment.