Remove important keyword in focus opacity style#9700
Merged
vince-fugnitto merged 1 commit intoeclipse-theia:masterfrom Jul 19, 2021
Merged
Conversation
Member
|
@xcariba please fill out the |
Contributor
Author
Added steps to check that existing focus selector is visible. Please, let me know if I need to add anything or check to ensure that nothing is broken. |
msujew
approved these changes
Jul 7, 2021
Member
msujew
left a comment
There was a problem hiding this comment.
I couldn't find any regressions - i.e. no focused element which was missing its borders - due to the removed !important statement.
So LGTM then.
Signed-off-by: Alexander Kozinko <xcariba@gmail.com>
cb917c0 to
35a21b9
Compare
vince-fugnitto
approved these changes
Jul 16, 2021
Member
vince-fugnitto
left a comment
There was a problem hiding this comment.
I'm fine with the changes, I did not notice any regression during testing 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Alexander Kozinko xcariba@gmail.com
What it does
Allows client to override opacity in focused elements without !important keyword.
I've tried to set existing style to my extension but there is a problem with opacity. There is no way to override it anywhere without marking every opacity change in css. I found this conversation and fixed it. I've checked existing styling and nothing changed. I also looked in all
:focusoverrides in this repository and found that it has a few overrides with this keyword. I think that it will be better if this base property can be changed without additional marks.How to test
Search Settings,Editor: Font Size,Editor: Render Whitespaceand check that focus is visible. Set focus onEditor: Insert SpacesCheckbox using Tab key and check that focus border is visible.Find Commandview (Ctrl+Shift+P) and check that focus border is visible.Review checklist
Reminder for reviewers