Skip to content

Commit 261c1f9

Browse files
authored
Merge pull request #20194 from calixteman/update_comment_icon
[Editor] Change the icon for inline comments
2 parents ab41f50 + 5ed2dfb commit 261c1f9

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

web/annotation_editor_layer_builder.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@
230230
--editor-toolbar-delete-image: url(images/editor-toolbar-delete.svg);
231231
--editor-toolbar-bg-color: light-dark(#f0f0f4, #2b2a33);
232232
--editor-toolbar-highlight-image: url(images/toolbarButton-editorHighlight.svg);
233-
--editor-toolbar-comment-edit-image: url(images/comment-editButton.svg);
234233
--editor-toolbar-fg-color: light-dark(#2e2e56, #fbfbfe);
235234
--editor-toolbar-border-color: #8f8f9d;
236235
--editor-toolbar-hover-border-color: var(--editor-toolbar-border-color);
@@ -343,7 +342,7 @@
343342
}
344343

345344
&.commentButton::before {
346-
mask-image: var(--editor-toolbar-comment-edit-image);
345+
mask-image: var(--comment-edit-button-icon);
347346
}
348347

349348
&.deleteButton::before {
@@ -489,7 +488,7 @@
489488

490489
&::before {
491490
content: "";
492-
mask-image: var(--editor-toolbar-comment-edit-image);
491+
mask-image: var(--comment-edit-button-icon);
493492
mask-repeat: no-repeat;
494493
mask-position: center;
495494
display: inline-block;

web/annotation_layer_builder.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
color-scheme: only light;
1818

1919
--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
20-
--comment-edit-image: url(images/comment-inline-editButton.svg);
2120
--input-focus-border-color: Highlight;
2221
--input-focus-outline: 1px solid Canvas;
2322
--input-unfocused-border-color: transparent;

web/comment_manager.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
height: 100%;
311311
mask-repeat: no-repeat;
312312
mask-size: cover;
313-
mask-image: var(--comment-edit-image);
313+
mask-image: var(--comment-edit-button-icon);
314314
background-color: var(--comment-button-fg);
315315
margin: 0;
316316
padding: 0;

web/images/comment-editButton.svg

Lines changed: 8 additions & 3 deletions
Loading

web/images/comment-inline-editButton.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

web/viewer.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
);
145145
--secondaryToolbarButton-documentProperties-icon: url(images/secondaryToolbarButton-documentProperties.svg);
146146
--editorParams-stampAddImage-icon: url(images/toolbarButton-zoomIn.svg);
147+
--comment-edit-button-icon: url(images/comment-editButton.svg);
147148
}
148149

149150
:root:dir(rtl) {

0 commit comments

Comments
 (0)