Skip to content

Commit

Permalink
Backend: Improved "copy button" style in legacy admin theme (#4072)
Browse files Browse the repository at this point in the history
  • Loading branch information
ma4nn authored Jul 15, 2024
1 parent 12a14a6 commit fae22f5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion skin/adminhtml/default/default/boxes.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ tr.dynamic-grid input.input-text { width:154px; }
margin: 2px 0 0 2px;
}

.entry-edit-head .icon-copy { width: 16px; height: 16px; margin: 8px 0 0 5px; }
.entry-edit-head .icon-copy { width: 11px; height: 11px; margin: 0 0 0 5px; filter: hue-rotate(0) brightness(0) contrast(1) saturate(0) invert(1); }

.icon-copy-copied { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 30 30"><path d="M26.98 5.99a1 1 0 0 0-.687.303L11 21.586l-6.293-6.293a1 1 0 1 0-1.414 1.414l7 7a1 1 0 0 0 1.414 0l16-16a1 1 0 0 0-.727-1.717z"/></svg>'); }

Expand Down
6 changes: 6 additions & 0 deletions skin/adminhtml/default/openmage/override.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions skin/adminhtml/default/openmage/scss/override.scss
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ small {
a {
@extend %extend_10;
}

.icon-copy {
width: 16px;
height: 16px;
margin: 8px 0 0 5px;
filter: revert;
}
}

fieldset {
Expand Down

0 comments on commit fae22f5

Please sign in to comment.