-
Notifications
You must be signed in to change notification settings - Fork 975
Restyled select and input to the spec image #6084
Conversation
If there is (and should be) a better way to handle radius inside the input form, please add edits to the PR, thanks. |
sweet! I do see that we need one more style difference between editable text entry fields and non-editable. (can be the same but light grey BG instead of white.) |
@bradleyrichter even |
be2a185 fixes |
With 21a13ef |
@@ -22,7 +22,8 @@ select { | |||
width: 100%; | |||
} | |||
|
|||
select.form-control { | |||
select.form-control, | |||
.bookmarkForm select { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is not an elegant solution; general properties for select
and input
should be specified at first, followed by more specific properties for .form-control
, etc.
@luixxiul These look good. The one thing I see that is still wrong is that the form elements in the bookmark hanger should be taller to match the prefs pages. |
@bradleyrichter Should it be like this? |
OK, updated. ready for re-review. |
Will check this out soon (I promise!) |
@bsclifton Candidate for 13.0? Or wait? |
Let's keep this for 0.13.1 😄 |
Majorly, the change affects 2 places in the UI. The Clear Browsing Data… option in the History menu and the Clear Browsing Data Now… button in the Security tab in Preferences. We store the state of the toggled options when the user clears anytime, so that the next time he/she opens this dialog, the options are pre-populated as per the last selected options From a technical perspective, we have moved away from saving the current state of the SwitchControls in the windowState. We only save the visibility on the windowState. The whole state is managed by the panel itself and just updates the appState on clicking clear. Fixes #4082
Making the Clear Browsing Data panel stateful
restyle preferences payments
Add focus ring to about page form elements
Add Paste Without Formatting to context menu
Closes #5972 - Set -webkit-appearance:none - Set the caret down SVG file (created by @bradleyrichter) as the background-image - Set the outline inside the input element - Set height:2rem to make the height consistent - Moved properties in .form-control to the input and select element - Removed box-shadow properties from the input and select element under .bookmarkForm - Set specific properties to input in #navigator The caret down SVG file will be replaced with the sprite PNG later (See #5891) Auditors: Test Plan: 1. Open about:preferences 2. Make sure the text entry fields with active edit state have the rectangle inside them 3. Make sure the drop down arrows are styled properly 4. Open another page in a new tab 5. Open the shield from the top right lion icon 6. Make sure the drop down arrows are styled properly 7. Bookmark about:preferences 8. Make sure the input and select elements are styled consistently on the bookmark dialog
4abf18d
to
e29888d
Compare
looks good but needs rebase |
I've been very hesitant to review this PR because of all of the time cost associated with bugs and regressions that style updates introduce. Per our reviewer guidelines, I'm going to close this PR since it doesn't meet our requirements:
I'll update the original issue to capture this requirement |
�OK but please make sure that the guideline was published 8 days ago while the PR was initially opened 1 month ago |
@luixxiul I understand. I definitely appreciate the work, but the cost of reviewing adhoc style changes is orders of magnitude higher than reviewing code which has tests. |
git rebase -i
to squash commits (if needed).Closes #5972
The SVG caret down will be replaced with the sprite later (#5891)
Test Plan: in fd0c10a
Auditors:
Into
It seems there is no property such as
outline-radius
.