Merge pull request #17040 from Snuffleupagus/rm-save-disabled-CSS

[Editor] Remove unused CSS rules for the altText "Save"-button (PR 17015 follow-up)
This commit is contained in:
Jonas Jenwald 2023-09-27 16:29:16 +02:00 committed by GitHub
commit 00c8fbe7e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -624,9 +624,6 @@
--button-save-hover-bg-color: var(--button-save-bg-color);
--button-save-hover-fg-color: var(--button-save-fg-color);
--button-save-hover-border-color: var(--button-save-hover-bg-color);
--button-save-disabled-bg-color: var(--button-save-bg-color);
--button-save-disabled-fg-color: var(--button-save-fg-color);
--button-save-disabled-opacity: 0.4;
@media (prefers-color-scheme: dark) {
--dialog-bg-color: #1c1b22;
@ -676,9 +673,6 @@
--button-save-fg-color: ButtonFace;
--button-save-hover-bg-color: AccentColor;
--button-save-hover-fg-color: AccentColorText;
--button-save-disabled-bg-color: GrayText;
--button-save-disabled-fg-color: Canvas;
--button-save-disabled-opacity: 1;
}
font: message-box;
@ -858,13 +852,6 @@
background-color: var(--button-save-hover-bg-color);
border-color: var(--button-save-hover-border-color);
}
&:disabled {
color: var(--button-save-disabled-fg-color);
background-color: var(--button-save-disabled-bg-color);
opacity: var(--button-save-disabled-opacity);
pointer-events: none;
}
}
}
}