#26082 closed enhancement (fixed)
Enhancing Cancel Links & Dropdowns in Publish Box
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Administration | Keywords: | has-patch 2nd-opinion needs-testing |
Focuses: | ui | Cc: |
Description
While I was working on http://core.trac.wordpress.org/ticket/26081#comment:2 I noticed that the dropdowns were a bit off and the cancel links were not aligned.
https://cloudup.com/c5Ozt4QNAcr
So I did some edits and made the cancel links buttons in #####-1.patch
https://cloudup.com/ceLNSNC2A4M (Ch) and https://cloudup.com/cMkdeIfGGHl (FF)
But, if the cancel-as-links are intentional, then #####-2.patch at least fixes the alignment issues from https://cloudup.com/c5Ozt4QNAcr to https://cloudup.com/cJX52hjmyTv
This is all Chrome/Firefox it needs-testing in IE.
Attachments (2)
Change History (5)
#1
@
12 years ago
- Component changed from General to Administration
- Keywords ui-focus added
- Milestone changed from Awaiting Review to 3.8
#2
@
12 years ago
- Owner set to iammattthomas
- Resolution set to fixed
- Status changed from new to closed
In 26247:
#3
@
12 years ago
I think we've historically styled Cancel links as text rather than buttons to visually de-emphasize them, to make it more clear which is and isn't the primary action. For that reason I've used 26082-2.patch as the starting off point, with a few modifications:
- Removed the styling from the select element, since most browsers don't allow styling selects (except for text color).
- Set the line height on cancel links to 2 so they vertically align with buttons.
- Unified the amount of margin between buttons and cancel links.
- Added responsive adjustments where needed
Modifications to dropdowns with cancel links as buttons