Make WordPress Core

Changeset 26788


Ignore:
Timestamp:
12/08/2013 04:11:20 AM (13 years ago)
Author:
iammattthomas
Message:

A small adjustment to the page background color per yesterday's conversation with nacin, from #eee to #f3f3f3. This retains enough contrast with white widget containers while making for a more comfortable reading experiences on pages that heavily use the default background color, like the About page. A few adjustments to go along with it:

  • Horizontal rules on the About page are lighter, to match their previous level of contrast with #eee
  • Eliminated the .flush-top class on <hr>s on the About page since we want the styles applied to all About page <hr>s.
  • Color schemes should match the bottom border of active tabs to the scheme's body-background variable.
  • Lighten the comment background color on the Dashboard activity widget to keep adequate contrast with the new lighter body background.

See #25858.

Location:
trunk/src/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r26776 r26788  
    5858</div>
    5959
    60 <hr class="flush-top">
     60<hr>
    6161
    6262<div class="changelog">
    … …  
    7474</div>
    7575
    76 <hr class="flush-top">
     76<hr>
    7777
    7878<div class="changelog about-colors">
    … …  
    9595</div>
    9696
    97 <hr class="flush-top">
     97<hr>
    9898
    9999<div class="changelog">
    … …  
    115115</div>
    116116
    117 <hr class="flush-top">
     117<hr>
    118118
    119119<div class="changelog">
    … …  
    130130</div>
    131131
    132 <hr class="flush-top">
     132<hr>
    133133
    134134<div class="return-to-dashboard">
  • trunk/src/wp-admin/css/colors.css

    r26719 r26788  
    1818
    1919html {
    20         background: #eee;
     20        background: #f3f3f3;
    2121}
    2222
    … …  
    115115ul#adminmenu a.wp-has-current-submenu:after,
    116116ul#adminmenu > li.current > a.current:after {
    117         border-right-color: #eee;
     117        border-right-color: #f3f3f3;
    118118}
    119119
    … …  
    17611761        background: none;
    17621762        border-color: #ccc;
    1763         border-bottom-color: #eee;
     1763        border-bottom-color: #f3f3f3;
    17641764}
    17651765
    … …  
    17901790.about-wrap h2 .nav-tab-active {
    17911791        border-color: #ccc;
    1792         border-bottom-color: #eee;
     1792        border-bottom-color: #f3f3f3;
    17931793}
    17941794
    … …  
    19651965
    19661966body.login {
    1967         background: #eee;
     1967        background: #f3f3f3;
    19681968}
    19691969
  • trunk/src/wp-admin/css/colors/_admin.scss

    r26744 r26788  
    145145#adminmenu li.opensub > a.menu-top div.wp-menu-image:before {
    146146        color: $menu-highlight-icon;
     147}
     148
     149
     150/* Active tabs use a bottom border color that matches the page background color. */
     151
     152.about-wrap h2 .nav-tab-active,
     153.nav-tab-active,
     154.nav-tab-active:hover {
     155        border-bottom-color: $body-background;
    147156}
    148157
  • trunk/src/wp-admin/css/colors/_variables.scss

    r26139 r26788  
    1313// global
    1414
    15 $body-background: #eee !default;
     15$body-background: #f3f3f3 !default;
    1616
    1717$link: #0074a2 !default;
  • trunk/src/wp-admin/css/wp-admin.css

    r26784 r26788  
    32993299
    33003300#activity-widget #the-comment-list .comment {
    3301         background: #f5f5f5;
     3301        background: #fafafa;
    33023302        padding: 12px;
    33033303        position: relative;
    … …  
    78467846        border: 0;
    78477847        height: 0;
    7848         border-top: 1px solid rgba(0, 0, 0, 0.05);
     7848        margin: 0;
     7849        border-top: 1px solid rgba(0, 0, 0, 0.1);
    78497850}
    78507851
    … …  
    79257926
    79267927.about-wrap .about-overview-img {
    7927         border-bottom: 1px solid #ccc;
     7928        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    79287929        margin: 0;
    7929 }
    7930 
    7931 .about-wrap hr.flush-top {
    7932         margin-top: 0;
    7933         border-top: 1px solid #ccc;
    79347930}
    79357931
Note: See TracChangeset for help on using the changeset viewer.