Skip to content

Commit fae22f5

Browse files
authored
Backend: Improved "copy button" style in legacy admin theme (OpenMage#4072)
1 parent 12a14a6 commit fae22f5

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

skin/adminhtml/default/default/boxes.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ tr.dynamic-grid input.input-text { width:154px; }
232232
margin: 2px 0 0 2px;
233233
}
234234

235-
.entry-edit-head .icon-copy { width: 16px; height: 16px; margin: 8px 0 0 5px; }
235+
.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); }
236236

237237
.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>'); }
238238

skin/adminhtml/default/openmage/override.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

skin/adminhtml/default/openmage/scss/override.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,13 @@ small {
186186
a {
187187
@extend %extend_10;
188188
}
189+
190+
.icon-copy {
191+
width: 16px;
192+
height: 16px;
193+
margin: 8px 0 0 5px;
194+
filter: revert;
195+
}
189196
}
190197

191198
fieldset {

0 commit comments

Comments
 (0)