File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -2921,7 +2921,7 @@ function populateEnabledGradients() {
29212921 elEnabledGradients . innerHTML +=
29222922 `<label>
29232923 <input type="checkbox" class="enabledGradient" data-grad="${ key } " ${ gradients [ key ] . disabled ? '' : 'checked' } >
2924- ${ gradients [ key ] . name } <a href="#" data-grad="${ key } " class="grad-edit-link">Edit </a>
2924+ ${ gradients [ key ] . name } <a href="#" data-grad="${ key } " class="grad-edit-link" title="edit"> </a>
29252925 </label>` ;
29262926 } ) ;
29272927
Original file line number Diff line number Diff line change @@ -1665,19 +1665,25 @@ button.grad-add-stop:hover {
16651665 display : block;
16661666}
16671667.grad-edit-link {
1668- background : var ( --accent-color ) ;
1668+ background : # aaa ;
16691669 border-radius : 4px ;
16701670 color : # fff ;
16711671 display : none;
1672- font-size : .9em ;
1673- padding : .7em 1.4em ;
1672+ font-family : var (--icon-font );
1673+ font-size : 24px ;
1674+ padding : .2em .6em ;
16741675 position : absolute;
16751676 right : 0 ;
16761677 text-decoration : none;
1677- text-transform : uppercase;
16781678 top : 50% ;
16791679 transform : translateY (-50% );
16801680}
1681+ .grad-edit-link : before {
1682+ content : 'edit' ;
1683+ }
1684+ .grad-edit-link : hover {
1685+ background : var (--accent-color );
1686+ }
16811687
16821688/**
16831689 * Warp Tunnel effect
You can’t perform that action at this time.
0 commit comments