Skip to content

Commit dfa553d

Browse files
authored
Merge pull request #19734 from calixteman/bug1952563
[Editor] Add a border to the undo button in the snackbar in order to make a contrast (bug 1952563)
2 parents 34136d7 + bb2ef20 commit dfa553d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

web/message_bar.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@
139139
--undo-button-bg-color-hover: rgb(21 20 26 / 0.14);
140140
--undo-button-bg-color-active: rgb(21 20 26 / 0.21);
141141

142+
--undo-button-border: 1px solid #0060df;
143+
142144
--undo-button-fg-color: var(--message-bar-fg-color);
143145
--undo-button-fg-color-hover: var(--undo-button-fg-color);
144146
--undo-button-fg-color-active: var(--undo-button-fg-color);
@@ -153,6 +155,8 @@
153155
--undo-button-bg-color: rgb(255 255 255 / 0.08);
154156
--undo-button-bg-color-hover: rgb(255 255 255 / 0.14);
155157
--undo-button-bg-color-active: rgb(255 255 255 / 0.21);
158+
159+
--undo-button-border: 1px solid #0df;
156160
}
157161

158162
@media screen and (forced-colors: active) {
@@ -169,6 +173,8 @@
169173
--undo-button-fg-color: ButtonFace;
170174
--undo-button-fg-color-hover: SelectedItemText;
171175
--undo-button-fg-color-active: SelectedItemText;
176+
177+
--undo-button-border: none;
172178
}
173179

174180
position: fixed;
@@ -194,7 +200,7 @@
194200
font-weight: 590;
195201
line-height: 19.5px;
196202
color: var(--undo-button-fg-color);
197-
border: none;
203+
border: var(--undo-button-border);
198204
padding: 4px 16px;
199205
margin-inline-start: 8px;
200206
height: 32px;

0 commit comments

Comments
 (0)