[wp-trac] Re: [WordPress Trac] #8606: Write page Category widget styling

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 14 19:43:55 GMT 2008


#8606: Write page Category widget styling
----------------------------+-----------------------------------------------
 Reporter:  federico.bond   |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.7.1    
Component:  Administration  |      Version:  2.7      
 Severity:  minor           |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by federico.bond):

 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'''[[BR]]
 This is the Add new category link. Just a small correction to get it
 centered

 '''#categorydiv .ui-tabs-panel'''[[BR]]
 Thick border similar to the one the widget has when you place it on the
 left column. Gray theme colors.

 '''UL#category-tabs'''[[BR]]
 Another small correction so that the tabs are not too close to the top
 border of the panel

 '''UL#category-tabs LI'''[[BR]]
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8606#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list