Opened 16 years ago
Closed 16 years ago
#8606 closed enhancement (fixed)
Write page Category widget styling
Reported by: | federico.bond | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | low |
Severity: | minor | Version: | 2.7 |
Component: | UI | Keywords: | |
Focuses: | Cc: |
Description
The categories widget/panel in the Write page looks like it was made at the last minute. Uploaded current state and a proposed use of tabs following the style of the tabs used to switch between html and visual editor.
Attachments (3)
Change History (16)
#3
@
16 years ago
Sorry, it's just a mockup. I am fluent in XHTML/CSS and I will look into it but I haven't worked inside wordpress before.
#4
@
16 years ago
I'm also not sure whether to use that styling or the plain gray one found in the same categories widget when you place it on the left column.
#5
@
16 years ago
These are the styles I used. I made them look like the tabs that appear when you place the widget in the wider left column. Not sure where to place this modifications.
#category-adder H4 { margin-top: 4px; margin-bottom: 0px; } #categorydiv .ui-tabs-panel { border: 3px solid #F1F1F1; } UL#category-tabs { margin-top: 12px; } UL#category-tabs LI { padding: 5px 8px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-radius-topleft: 3px; -webkit-border-radius-topright: 3px; }
Step by step:
#category-adder H4
This is the Add new category link. Just a small correction to get it centered
#categorydiv .ui-tabs-panel
Thick border similar to the one the widget has when you place it on the left column. Gray theme colors.
UL#category-tabs
Another small correction so that the tabs are not too close to the top border of the panel
UL#category-tabs LI
Some padding to enlarge the click area and make the links look like tabs, and rounded corner goodness. Don't know if we have to support other vendors.
#7
@
16 years ago
font-weight: bold; should also be added to UL#category-tabs LI.ui-tabs-selected to maximize consistency independently of the column where you place the widget.
#8
@
16 years ago
- Component changed from Administration to UI
- Owner anonymous deleted
- Priority changed from normal to low
- Type changed from defect (bug) to enhancement
+1, but this is an enhancement, not a bug. Please be careful to choose the correct metadata on tickets to avoid slowing down developers.
#9
@
16 years ago
- Owner set to thee17
- Status changed from new to assigned
I'll attempt today to turn this to a diff.
Sorry. It was "Most Used" not "Most Popular" but you get the idea.