#26082 closed enhancement (fixed)
Enhancing Cancel Links & Dropdowns in Publish Box
| Reported by: | aubreypwd | Owned by: | iammattthomas |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | Administration | Version: | 3.8 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion needs-testing |
| Cc: | Focuses: | ui |
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
@
13 years ago
- Component General → Administration
- Keywords ui-focus added
- Milestone Awaiting Review → 3.8
#3
@
13 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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Modifications to dropdowns with cancel links as buttons