WordPress.org

Make WordPress Core

Ticket #17892: css-fonts.diff

File css-fonts.diff, 9.7 KB (added by RanYanivHartstein, 3 years ago)

Patch to consolidate some redundant font calls in the dashboard stylesheets

  • wp-admin/css/media-rtl.dev.css

     
    5555.menu_order { 
    5656        float: left; 
    5757} 
    58 .media-upload-form label.form-help, td.help, #media-upload p.help, #media-upload label.help { 
     58.media-upload-form label.form-help, td.help, #media-upload p.help, #media-upload label.help, #gallery-settings .title, h3.media-title, h4.media-sub-title { 
    5959        font-family: Tahoma, Arial; 
    6060} 
    6161#gallery-settings #basic th.label { 
    6262        padding: 5px 0 5px 5px; 
    6363} 
    64 #gallery-settings .title, h3.media-title { 
    65         font-family: Tahoma, Arial; 
    66 } 
    6764#gallery-settings .describe th.label { 
    6865        text-align: right; 
    6966} 
  • wp-admin/css/dashboard.dev.css

     
    396396        line-height: 1.7em; 
    397397} 
    398398#dashboard_plugins h5 { 
    399         font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; 
    400399        font-weight: normal; 
    401400        font-size: 13px; 
    402401        margin: 0; 
  • wp-admin/css/login-rtl.dev.css

     
    1 body { 
     1body, #login form .submit input { 
    22        font-family: Tahoma, arial; 
    33} 
    44form { 
     
    88form .forgetmenot { 
    99        float: right; 
    1010} 
    11 #login form .submit input { 
    12         font-family: Tahoma, arial; 
    13 } 
    1411form .submit { float: left; } 
    1512#backtoblog a { 
    1613        padding: 8px 15px 0 0; 
  • wp-admin/css/press-this-rtl.dev.css

     
    1 body { 
     1body, input, select, 
     2#wphead h1, #poststuff h2, #poststuff h3, 
     3#title, .tbtitle { 
    24        font-family: Tahoma, Arial; 
    35} 
    46 
     
    6769        float: right; 
    6870} 
    6971 
    70 #category-add input, 
    71 #category-add select { 
    72         font-family: Tahoma, Arial; 
    73 } 
    74  
    7572.inline-editor ul.cat-checklist ul, 
    7673.categorydiv ul.categorychecklist ul, 
    7774#linkcategorydiv ul.categorychecklist ul { 
     
    111108        margin-right: 1%; 
    112109} 
    113110 
    114 .submit input, 
    115 .button, 
    116 .button-primary, 
    117 .button-secondary, 
    118 .button-highlighted, 
    119 #postcustomstuff .submit input { 
    120         font-family: Tahoma, Arial, sans-serif; 
    121 } 
    122  
    123111.ac_results li { 
    124112        text-align: right; 
    125113} 
  • wp-admin/css/install-rtl.dev.css

     
    1 body { 
     1body, h1 { 
    22        font-family: Tahoma, arial; 
    33} 
    44h1 { 
    5         font-family: arial; 
    65        margin: 5px -4px 0 0; 
    76} 
    87ul, ol { 
  • wp-admin/css/wp-admin-rtl.dev.css

     
    2222        10.1 - Inline Editing 
    232311.0 - Write/Edit Post Screen 
    2424        11.1 - Custom Fields 
    25         11.2 - Post Revisions 
    262512.0 - Categories 
    272613.0 - Tags 
    282714.0 - Media Screen 
     
    7372 
    7473.howto { 
    7574        font-style: normal; 
    76         font-family: Tahoma, Arial, sans-serif; 
    7775} 
    7876 
    7977p.install-help { 
     
    345343} 
    346344 
    347345#wphead h1 { 
    348         font: Tahoma, Arial, sans-serif; 
     346        font-family: Tahoma, Arial, sans-serif; 
    349347        float: right; 
    350348} 
    351349 
     
    387385#contextual-help-link-wrap { 
    388386        float: left; 
    389387        margin: 0 6px 0 0; 
    390         font-family: Tahoma, Arial, sans-serif; 
    391388} 
    392389 
    393390#contextual-help-wrap li { 
     
    511508#adminmenu .awaiting-mod, 
    512509#adminmenu span.update-plugins, 
    513510#sidemenu li a span.update-plugins { 
    514         font-family: Tahoma, Arial, sans-serif; 
    515511        margin-left: 0; 
    516512        margin-right: 7px; 
    517513} 
    518514 
    519 .post-com-count-wrapper { 
    520         font-family: Tahoma, Arial, sans-serif; 
    521 } 
    522  
    523515.column-response .post-com-count { 
    524516        float: right; 
    525517        margin-right: 0; 
     
    694686        float: right; 
    695687} 
    696688 
    697 .inline-edit-row fieldset ul.cat-checklist label, 
    698 .inline-edit-row .catshow, 
    699 .inline-edit-row .cathide, 
    700 .inline-edit-row #bulk-titles div { 
    701         font-family: Tahoma, Arial, sans-serif; 
    702 } 
    703  
    704689.quick-edit-row-post fieldset label.inline-edit-status { 
    705690        float: right; 
    706691} 
     
    872857} 
    873858 
    874859/*------------------------------------------------------------------------------ 
    875   11.2 - Post Revisions 
    876 ------------------------------------------------------------------------------*/ 
    877  
    878 table.diff td, table.diff th { 
    879         font-family: Consolas, Monaco, monospace; 
    880 } 
    881  
    882 /*------------------------------------------------------------------------------ 
    883860  12.0 - Categories 
    884861------------------------------------------------------------------------------*/ 
    885862 
     
    940917span.description, 
    941918.form-wrap p { 
    942919        font-style: normal; 
    943         font-family: Tahoma, Arial, sans-serif; 
    944920} 
    945921 
    946922/*------------------------------------------------------------------------------ 
     
    12151191        padding-left: 0; 
    12161192        padding-right: 25px; 
    12171193        font-style: normal; 
    1218         font-family: Tahoma, Arial, sans-serif; 
    12191194} 
    12201195 
    12211196/*------------------------------------------------------------------------------ 
  • wp-admin/css/nav-menu-rtl.dev.css

     
    4040                font-family: Tahoma, Arial, sans-serif; 
    4141        } 
    4242 
     43#menu-management .nav-tab { 
     44        font-family: Tahoma, Arial, sans-serif; 
     45} 
     46 
    4347#menu-management .nav-tabs { 
    4448        padding-right: 20px; 
    4549        padding-left: 10px; 
  • wp-admin/css/press-this.dev.css

     
     1body, 
     2input, 
     3select { 
     4        font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
     5        font-size: 13px; 
     6} 
    17body { 
    2         font-size: 13px; 
    3         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    48        color: #333; 
    59        margin: 0; 
    610        padding: 0; 
     
    362366 
    363367.category-add input { 
    364368        width: 94%; 
    365         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    366369        font-size: 12px; 
    367370        margin: 1px; 
    368371} 
     
    372375        -x-system-font: none; 
    373376        border-style: solid; 
    374377        border-width: 1px; 
    375         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    376378        font-size: 12px; 
    377379        height: 2em; 
    378380        line-height: 20px; 
     
    529531.button-secondary, 
    530532.button-highlighted, 
    531533#postcustomstuff .submit input { 
    532         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    533534        text-decoration: none; 
    534535        font-size: 12px !important; 
    535536        line-height: 16px; 
  • wp-admin/css/wp-admin.dev.css

     
    102102.howto { 
    103103        font-style: italic; 
    104104        display: block; 
    105         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    106105} 
    107106 
    108107p.install-help { 
     
    10891088        height: 22px; 
    10901089        padding: 0; 
    10911090        margin: 0 0 0 6px; 
    1092         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    10931091        -moz-border-radius-bottomleft: 3px; 
    10941092        -moz-border-radius-bottomright: 3px; 
    10951093        -webkit-border-bottom-left-radius: 3px; 
     
    14141412#adminmenu span.update-plugins, 
    14151413#sidemenu li a span.update-plugins { 
    14161414        position: absolute; 
    1417         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    14181415        font-size: 9px; 
    14191416        line-height: 17px; 
    14201417        font-weight: bold; 
     
    14401437 
    14411438.post-com-count-wrapper { 
    14421439        min-width: 22px; 
    1443         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    14441440} 
    14451441 
    14461442.post-com-count { 
     
    21502146.inline-edit-row .catshow, 
    21512147.inline-edit-row .cathide, 
    21522148.inline-edit-row #bulk-titles div { 
    2153         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    21542149        font-style: normal; 
    21552150        font-size: 11px; 
    21562151} 
     
    30193014.form-wrap p { 
    30203015        font-size: 12px; 
    30213016        font-style: italic; 
    3022         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    30233017} 
    30243018 
    30253019.form-wrap .form-field { 
     
    42844278#utc-time, #local-time { 
    42854279        padding-left: 25px; 
    42864280        font-style: italic; 
    4287         font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 
    42884281} 
    42894282 
    42904283.defaultavatarpicker .avatar { 
  • wp-admin/css/dashboard-rtl.dev.css

     
    1010        right: auto; 
    1111        left: 0; 
    1212} 
    13 #dashboard_right_now p.sub, #dashboard-widgets h4, #dashboard_quick_press h4, a.rsswidget, #dashboard_plugins h4, #dashboard_plugins h5, #dashboard_recent_comments .comment-meta .approve { 
     13#dashboard_right_now p.sub, #dashboard-widgets h4, #dashboard_quick_press h4, a.rsswidget, #dashboard_plugins h4, #dashboard_recent_comments .comment-meta .approve,  
     14#dashboard_right_now td.b, 
     15#dashboard_recent_drafts h4 abbr { 
    1416        font-family: Tahoma, Arial; 
    1517} 
    1618#dashboard_right_now p.sub  { 
     
    2123        padding-right: 0; 
    2224        padding-left: 6px; 
    2325        text-align: left; 
    24         font-family: Tahoma, Arial; 
    2526} 
    2627#dashboard_right_now .t { 
    2728        padding-right: 0; 
     
    3334#dashboard_right_now .table_discussion { 
    3435        float:left; 
    3536} 
    36 #dashboard_right_now .versions a { 
    37         font-family: Tahoma, Arial; 
    38 } 
    3937#dashboard_right_now a.button { 
    4038        float: left; 
    4139        clear: left; 
     
    6664        text-align: left; 
    6765} 
    6866.rss-widget span.rss-date { 
    69         font-family: Tahoma, Arial; 
    7067        margin-left: 0; 
    7168        margin-right: 3px; 
    7269} 
     
    104101} 
    105102/* Recent Drafts */ 
    106103#dashboard_recent_drafts h4 abbr { 
    107         font-family: Tahoma, Arial; 
    108         margin-left:0; 
     104        margin-left: 0; 
    109105        margin-right: 3px; 
    110106} 
     107 No newline at end of file