Make WordPress Core


Ignore:
Timestamp:
11/13/2013 10:08:47 PM (12 years ago)
Author:
nacin
Message:

Merge the new dashboard design into core.

Merges https://github.com/growthdesigner/wp-dash.

props lessbloat, joen, helen, dbernar1, kraftbj, ryelle, tillkruess, grapplerulrich, markjaquith.
see #25824.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/wp-admin.css

    r26140 r26144  
    905905div.sidebar-name h3,
    906906#menu-management .nav-tab,
    907 #dashboard_plugins h5,
    908907a.rsswidget,
    909908#dashboard_right_now td.b,
     
    15281527}
    15291528
    1530 #screen-meta-links a { 
    1531     padding: 3px 6px 3px 16px; 
     1529#screen-meta-links a {
     1530    padding: 3px 6px 3px 16px;
    15321531}
    15331532
     
    24402439}
    24412440
     2441#dashboard-widgets .postbox-container {
     2442    width: 25%;
     2443}
     2444
     2445#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container {
     2446    border: none !important;
     2447}
     2448
     2449#dashboard-widgets-wrap {
     2450    overflow: hidden;
     2451}
     2452
    24422453/* one column on the dash */
    24432454@media only screen and (max-width: 799px) {
     
    24542465
    24552466/* two columns on the dash, but keep the setting if one is selected */
    2456 @media only screen and (min-width: 800px) and (max-width: 1200px) {
     2467@media only screen and (min-width: 800px) and (max-width: 1399px) {
    24572468    #wpbody-content #dashboard-widgets .postbox-container {
    24582469        width: 49.5%;
     
    24922503    .columns-prefs .columns-prefs-4 {
    24932504        display: none;
     2505    }
     2506}
     2507
     2508/* three columns on the dash */
     2509@media only screen and (min-width: 1400px) and (max-width: 1800px) {
     2510    #wpbody-content #dashboard-widgets .postbox-container {
     2511        width: 33.5%;
     2512    }
     2513
     2514    #wpbody-content #dashboard-widgets #postbox-container-1 {
     2515        width: 33%;
     2516    }
     2517
     2518    #wpbody-content #dashboard-widgets #postbox-container-3,
     2519    #wpbody-content #dashboard-widgets #postbox-container-4 {
     2520        float: right;
     2521    }
     2522
     2523    #dashboard-widgets #postbox-container-4 .empty-container {
     2524        border: 0 none;
     2525        height: 0;
     2526        min-height: 0;
    24942527    }
    24952528}
     
    26322665#dashboard-widgets .meta-box-sortables {
    26332666    margin: 0 8px;
    2634 }
    2635 
    2636 #dashboard_recent_comments div.undo {
    2637     margin: 0 -12px;
    2638     padding: 6px 12px;
    2639     font-size: 11px;
    2640 }
    2641 
    2642 #dashboard_recent_comments div.undo .avatar {
    2643     float: left;
    2644 }
    2645 
    2646 #dashboard_recent_comments div.undo div {
    2647     min-height: 20px;
    26482667}
    26492668
     
    28332852    line-height: 16px;
    28342853    list-style-type: none;
     2854}
     2855
     2856/* Dashboard WordPress news */
     2857
     2858#dashboard_rss .inside {
     2859    margin: 0;
     2860    padding: 0;
     2861}
     2862
     2863#dashboard_rss .widget-loading,
     2864#dashboard_rss .dashboard-widget-control-form {
     2865    padding: 12px 12px 0;
     2866}
     2867
     2868body #dashboard-widgets .postbox form .submit {
     2869    margin: 0;
     2870}
     2871
     2872.dashboard-widget-control-form {
     2873    overflow: hidden;
     2874}
     2875
     2876.dashboard-widget-control-form p {
     2877    margin-top: 0;
     2878}
     2879
     2880.rssSummary {
     2881    color: #999;
     2882    margin-top: 4px;
     2883}
     2884
     2885.rss-widget {
     2886    border-bottom: 1px solid #eee;
     2887    font-size: 13px;
     2888    padding: 8px 12px 12px;
     2889}
     2890
     2891.rss-widget:last-child {
     2892    border-bottom: none;
     2893    padding-bottom: 0;
     2894}
     2895
     2896.rss-widget a {
     2897    font-weight: normal;
     2898}
     2899
     2900.rss-widget span,
     2901.rss-widget span.rss-date {
     2902    color: #bbb;
     2903}
     2904
     2905.rss-widget span.rss-date {
     2906    margin-left: 12px;
     2907}
     2908
     2909.rss-widget ul li {
     2910    margin-bottom: 8px;
     2911}
     2912
     2913/* Dashboard right now */
     2914
     2915#dash-right-now ul {
     2916    margin: 0;
     2917    overflow: hidden;
     2918}
     2919
     2920#dash-right-now li {
     2921    width: 50%;
     2922    float: left;
     2923    margin-bottom: 10px;
     2924}
     2925
     2926#dash-right-now .inside {
     2927    margin-bottom: 0;
     2928    overflow: hidden;
     2929    padding: 0;
     2930}
     2931
     2932#dash-right-now .main {
     2933    padding: 0 12px;
     2934}
     2935
     2936#dash-right-now .main p {
     2937    margin: 0;
     2938}
     2939
     2940.mu-storage {
     2941    overflow: hidden;
     2942}
     2943
     2944/* Dashboard right now - Colors */
     2945
     2946#dash-right-now li a:before {
     2947    color: #888;
     2948}
     2949
     2950#dash-right-now .sub {
     2951    color: #bfbbbb;
     2952    background: #f5f5f5;
     2953    border-top-color: #dedede;
     2954    padding: 12px 12px 6px 12px;
     2955    border-top: 1px solid;
     2956}
     2957
     2958#dash-right-now .sub h4 {
     2959    color: #555;
     2960}
     2961
     2962#dash-right-now .sub p {
     2963    margin: 0 0 .5em;
     2964    font-size: 11px;
     2965}
     2966
     2967#dash-right-now .warning a:before {
     2968    color: #d54e21;
     2969}
     2970
     2971/* Dashboard right now - Icons */
     2972#dash-right-now li a:before {
     2973    content: '\f159';
     2974    font: normal 20px/1 'dashicons';
     2975    speak: none;
     2976    display: block;
     2977    float: left;
     2978    margin: 0 5px 0 0;
     2979    padding: 0;
     2980    text-indent: 0;
     2981    text-align: center;
     2982    position: relative;
     2983    -webkit-font-smoothing: antialiased;
     2984    text-decoration: none !important;
     2985}
     2986
     2987#dash-right-now .page-count a:before {
     2988    content: '\f105';
     2989}
     2990
     2991#dash-right-now .post-count a:before {
     2992    content: '\f109';
     2993}
     2994
     2995#dash-right-now .comment-count a:before {
     2996    content: '\f101';
     2997}
     2998
     2999#dash-right-now .comment-mod-count a:before {
     3000    content: '\f125';
     3001}
     3002
     3003#dash-right-now .storage-count a:before {
     3004    content: '\f104';
     3005}
     3006
     3007#dash-right-now .storage-count.warning a:before {
     3008    content: '\f153';
     3009}
     3010
     3011/* Dashboard Quick Draft */
     3012
     3013#dashboard_quick_draft div.updated {
     3014    margin-bottom: 10px;
     3015    border: 1px solid #eee;
     3016    border-width: 1px 1px 1px 0;
     3017}
     3018
     3019#dashboard_quick_draft form {
     3020    padding: 0 12px 1px 12px;
     3021    overflow: hidden;
     3022}
     3023
     3024#dashboard_quick_draft .drafts,
     3025#dashboard_quick_draft .easy-blogging {
     3026    padding: 8px 12px 0;
     3027}
     3028
     3029#dashboard-widgets .postbox .inside {
     3030    margin: 10px 0;
     3031    padding: 0;
     3032}
     3033
     3034/* Dashboard Quick Draft - Form styling */
     3035
     3036input#save-post {
     3037    float: right;
     3038}
     3039
     3040form.initial-form label.prompt {
     3041    font-style: italic;
     3042}
     3043
     3044form.initial-form input#title {
     3045    height: 3em;
     3046}
     3047
     3048form.initial-form.quickpress-open label.prompt {
     3049    font-style: normal;
     3050}
     3051
     3052form.initial-form.quickpress-open input#title {
     3053    height: auto;
     3054}
     3055
     3056#dashboard_quick_draft input,
     3057#dashboard_quick_draft textarea {
     3058    box-sizing: border-box;
     3059    -moz-box-sizing:border-box;
     3060    -webkit-box-sizing:border-box;
     3061    margin: 0;
     3062}
     3063
     3064#dashboard_quick_draft textarea {
     3065    resize: vertical;
     3066}
     3067
     3068#dashboard-widgets .postbox form .submit {
     3069    margin: -39px 0;
     3070    float: right;
     3071}
     3072
     3073#description-wrap {
     3074    margin-top: 12px;
     3075}
     3076
     3077#title-wrap #title-prompt-text,
     3078.textarea-wrap #content-prompt-text {
     3079    color: #BBB;
     3080}
     3081
     3082#title-wrap #title-prompt-text {
     3083    font-size: 1.1em;
     3084    padding: 7px 8px;
     3085}
     3086
     3087.initial-form #description-wrap,
     3088.initial-form p.submit {
     3089    display: none;
     3090}
     3091
     3092.input-text-wrap,
     3093.textarea-wrap {
     3094    position: relative;
     3095}
     3096
     3097.input-text-wrap .prompt,
     3098.textarea-wrap .prompt {
     3099    position: absolute;
     3100}
     3101
     3102.textarea-wrap #content-prompt-text {
     3103    font-size: 1.1em;
     3104    padding: 7px 8px;
     3105}
     3106
     3107.textarea-wrap textarea#content {
     3108    margin: 0 0 8px;
     3109    padding: 6px 7px;
     3110}
     3111
     3112/* Dashboard Quick Draft - Drafts list */
     3113
     3114#dashboard_quick_draft .drafts {
     3115    border-top: 1px solid #eee;
     3116    margin-top: 12px;
     3117}
     3118
     3119#dashboard_quick_draft .drafts abbr {
     3120    border: none;
     3121}
     3122
     3123#dashboard_quick_draft .drafts h4 {
     3124    margin: 0 0 8px 0;
     3125    font-weight: normal;
     3126}
     3127
     3128#dashboard_quick_draft .drafts .view-all {
     3129    float: right;
     3130    margin-top: 0;
     3131}
     3132
     3133#dashboard_rss a.rsswidget {
     3134    font-weight: normal;
     3135}
     3136
     3137#draft-list {
     3138    margin: 0;
     3139}
     3140
     3141#draft-list li {
     3142    margin-bottom: 1em;
     3143}
     3144#draft-list li time {
     3145    color: #bbb;
     3146}
     3147
     3148#draft-list p {
     3149    margin: 0;
     3150}
     3151
     3152#draft-list .draft-title {
     3153    overflow: hidden;
     3154}
     3155
     3156#draft-list .draft-title a,
     3157#draft-list .draft-title time {
     3158    float: left;
     3159    margin: 0 5px 0 0;
     3160}
     3161
     3162/* Dashboard activity widget */
     3163
     3164#dashboard-widgets #dashboard_activity h4 {
     3165    margin: 0 0 8px 12px;
     3166    font-weight: normal;
     3167}
     3168
     3169#dashboard-widgets #dashboard_activity h4.comment-meta {
     3170    margin: 0;
     3171}
     3172
     3173#dashboard_activity h4.comment-meta {
     3174    overflow: hidden;
     3175    text-overflow: ellipsis;
     3176    white-space: nowrap;
     3177    margin-bottom: 4px;
     3178}
     3179
     3180#dashboard_activity ul {
     3181    padding: 0 12px;
     3182}
     3183
     3184#dashboard_activity .comment-meta span.approve:before {
     3185    content: '\f227';
     3186    font: 20px/.5 "dashicons";
     3187    margin-left: 12px;
     3188    vertical-align: middle;
     3189    position: relative;
     3190    top: -1px;
     3191    margin-right: 2px;
     3192}
     3193
     3194#dashboard_activity .inside {
     3195    padding: 0;
     3196    margin: 0;
     3197}
     3198
     3199#dashboard_activity .no-activity {
     3200    overflow: hidden;
     3201    padding: 0 12px 12px;
     3202    text-align: center;
     3203}
     3204
     3205#dashboard_activity .no-activity p {
     3206    color: #999;
     3207    font-size: 16px;
     3208}
     3209
     3210#dashboard_activity .no-activity .smiley {
     3211    margin-top: 0;
     3212}
     3213
     3214#dashboard_activity .no-activity .smiley:before {
     3215    content: '\f328';
     3216    font: normal 120px/1 'dashicons';
     3217    speak: none;
     3218    display: block;
     3219    margin: 0 5px 0 0;
     3220    padding: 0;
     3221    text-indent: 0;
     3222    text-align: center;
     3223    position: relative;
     3224    -webkit-font-smoothing: antialiased;
     3225    text-decoration: none !important;
     3226}
     3227
     3228#dashboard_activity .subsubsub {
     3229    float: none;
     3230    border-top: 1px solid #eeeeee;
     3231    margin-top: 0;
     3232    padding: 8px 12px 0 12px;
     3233}
     3234
     3235#future-posts .show-more,
     3236#published-posts .show-more {
     3237    float: right;
     3238}
     3239
     3240#future-posts ul,
     3241#published-posts ul {
     3242    clear: both;
     3243    margin-bottom: 0;
     3244}
     3245
     3246#future-posts li,
     3247#published-posts li {
     3248    overflow: hidden;
     3249    margin-bottom: 8px;
     3250}
     3251
     3252#future-posts ul span,
     3253#published-posts ul span {
     3254    color: #bbb;
     3255    float: left;
     3256    margin-right: 8px;
     3257    min-width: 150px;
     3258}
     3259
     3260.activity-block {
     3261    border-bottom: 1px solid #eee;
     3262    overflow: hidden;
     3263    padding: 8px 0 0;
     3264}
     3265
     3266.activity-block:last-child {
     3267    border-bottom: none;
     3268}
     3269
     3270.activity-block .subsubsub li {
     3271    color: #ddd;
     3272}
     3273
     3274/* Dashboard activity widget - Comments */
     3275
     3276#the-comment-list tr.undo, #the-comment-list div.undo {
     3277    background: none;
     3278    padding: 6px 0;
     3279}
     3280
     3281#the-comment-list .alternate,
     3282#the-comment-list .alt {
     3283    background: none;
     3284}
     3285
     3286#the-comment-list .comment {
     3287    background: #f5f5f5;
     3288    padding: 12px;
     3289    position: relative;
     3290    border-top: 1px solid #eeeeee;
     3291}
     3292
     3293#the-comment-list img {
     3294    position: absolute;
     3295    left: 13px;
     3296    top: 13px;
     3297}
     3298
     3299#the-comment-list .dashboard-comment-wrap {
     3300    padding-left: 63px;
     3301}
     3302
     3303#the-comment-list .dashboard-comment-wrap blockquote {
     3304    margin: 1em 0;
     3305}
     3306
     3307#the-comment-list .comment-item h4 {
     3308    font-size: 13px;
     3309    color: #999;
     3310}
     3311
     3312#the-comment-list .comment-item p.row-actions {
     3313    margin: 4px 0 0 0;
     3314}
     3315
     3316#the-comment-list .comment-item:first-child {
     3317    border-top: 1px solid #eeeeee;
     3318}
     3319
     3320#the-comment-list .unapproved {
     3321    background: #f7fcfe;
     3322}
     3323
     3324#the-comment-list .unapproved:before {
     3325    content: "";
     3326    display: block;
     3327    position: absolute;
     3328    left: 0;
     3329    top: 0;
     3330    bottom: 0;
     3331    background: #d54e21;
     3332    width: 4px;
     3333}
     3334
     3335/* Browse happy box */
     3336
     3337#dashboard-widgets #dashboard_browser_nag.postbox .inside {
     3338    margin: 10px;
    28353339}
    28363340
     
    77538257
    77548258/* Recent Comments */
    7755 #dashboard_recent_comments h3 {
    7756     margin-bottom: 0;
    7757 }
    7758 
    7759 #dashboard_recent_comments .inside {
    7760     margin-top: 0;
    7761 }
    7762 
    7763 #dashboard_recent_comments .comment-meta .approve {
    7764     font-family: "Open Sans", sans-serif;
    7765     font-size: 13px;
    7766     line-height: 1;
    7767     margin: 0 10px;
    7768 }
    7769 
    7770 #dashboard_recent_comments .subsubsub {
    7771     float: none;
    7772     white-space: normal;
    7773 }
    7774 
    7775 #the-comment-list {
     8259
     8260#latest-comments #the-comment-list {
    77768261    position: relative;
    77778262}
    77788263
    7779 #the-comment-list .comment-item {
     8264#activity-widget #latest-comments #the-comment-list .comment-item {
    77808265    padding: 1em 12px;
    7781     border-top: 1px solid;
    7782 }
    7783 
    7784 #the-comment-list .pingback {
     8266    border-top: 1px solid #eee;
     8267}
     8268
     8269#latest-comments #the-comment-list .pingback {
    77858270    padding-left: 12px !important;
    77868271}
    77878272
    7788 #the-comment-list .comment-item,
    7789 #the-comment-list #replyrow {
    7790     margin: 0 -12px;
    7791 }
    7792 
    7793 #the-comment-list .comment-item:first-child {
     8273#latest-comments #the-comment-list .comment-item:first-child {
    77948274    border-top: none;
    77958275}
    77968276
    7797 #the-comment-list .comment-item .avatar {
    7798     float: left;
    7799     margin: 0 10px 5px 0;
    7800 }
    7801 
    7802 #the-comment-list .comment-item h4 {
     8277#latest-comments #the-comment-list .comment-item h4 {
    78038278    line-height: 1.5em;
    78048279    margin-top: 0;
     
    78068281}
    78078282
    7808 #the-comment-list .comment-item h4 cite {
     8283#latest-comments #the-comment-list .comment-item h4 cite {
    78098284    font-style: normal;
    78108285    font-weight: normal;
    78118286}
    78128287
    7813 #the-comment-list .comment-item blockquote,
    7814 #the-comment-list .comment-item blockquote p {
     8288#latest-comments #the-comment-list .comment-item blockquote,
     8289#latest-comments #the-comment-list .comment-item blockquote p {
    78158290    margin: 0;
    78168291    padding: 0;
     
    78188293}
    78198294
    7820 #dashboard_recent_comments #the-comment-list .trackback blockquote,
    7821 #dashboard_recent_comments #the-comment-list .pingback blockquote {
    7822     display: block;
    7823 }
    7824 
    7825 #the-comment-list .comment-item p.row-actions {
     8295#latest-comments #the-comment-list .comment-item p.row-actions {
    78268296    margin: 3px 0 0;
    78278297    padding: 0;
     
    78298299}
    78308300
    7831 /* QuickPress */
    7832 #header-logo {
    7833     display: none;
    7834 }
    7835 
    7836 #site-heading:before {
    7837     top: 3px;
    7838     position: relative;
    7839     display: inline-block;
    7840     font: normal 18px/1 'dashicons';
    7841     speak: none;
    7842     color: #727272;
    7843     content: '\f120';
    7844     -webkit-font-smoothing: antialiased;
    7845     -moz-osx-font-smoothing: grayscale;
    7846 }
    7847 .no-js #dashboard_quick_press {
    7848     display: none;
    7849 }
    7850 
    7851 #dashboard_quick_press .easy-blogging {
    7852     padding: 0 8px;
    7853     text-align: left;
    7854 }
    7855 
    7856 #dashboard_quick_press .input-text-wrap {
    7857     position: relative;
    7858 }
    7859 
    7860 #dashboard_quick_press .prompt {
    7861     color: #bbb;
    7862     position: absolute;
    7863 }
    7864 
    7865 #dashboard_quick_press div.updated  {
    7866     padding: 0 5px;
    7867 }
    7868 
    7869 #title-wrap label,
    7870 #tags-input-wrap label {
     8301/* QuickDraft */
     8302
     8303#title-wrap label {
    78718304    cursor: text;
    78728305}
     
    78798312}
    78808313
    7881 #tags-input-wrap #tags-input {
    7882     outline: none;
    7883     padding: 3px 6px;
    7884 }
    7885 
    78868314#title-wrap #title-prompt-text {
    7887     font-size: 1.3em;
    7888     padding: 5px 8px;
    7889 }
    7890 
    7891 #tags-input-wrap #tags-input-prompt-text {
    78928315    font-size: 1em;
    78938316    padding: 5px 8px;
    7894 }
    7895 
    7896 #dashboard_quick_press .input-text-wrap,
    7897 #dashboard_quick_press .textarea-wrap {
    7898     margin: 0 0 .7em 0;
    7899 }
    7900 
    7901 #dashboard_quick_press .input-text-wrap {
    7902     margin-right: 1px;
    7903 }
    7904 
    7905 #dashboard_quick_press .textarea-wrap {
    7906     margin-left: 1px;
    7907 }
    7908 
    7909 #dashboard_quick_press .wp-media-buttons {
    7910     margin: 0 0 2px 1px;
    7911     padding: 0;
    7912 }
    7913 
    7914 #dashboard_quick_press .wp-media-buttons a {
    7915     color: #777;
    7916     margin-bottom: 0;
    7917 }
    7918 
    7919 #dashboard-widgets #dashboard_quick_press form p.submit input {
    7920     float: left;
    7921 }
    7922 
    7923 #dashboard-widgets #dashboard_quick_press form p.submit #save-post {
    7924     margin: 0 0.7em 0 1px;
    7925 }
    7926 
    7927 #dashboard-widgets #dashboard_quick_press form p.submit #publish {
    7928     float: right;
    7929 }
    7930 
    7931 #dashboard-widgets #dashboard_quick_press form p.submit .spinner {
    7932     vertical-align: middle;
    7933     margin: 4px 6px 0 0;
    7934 }
    7935 
    7936 /* Recent Drafts */
    7937 #dashboard_recent_drafts ul,
    7938 #dashboard_recent_drafts p {
    7939     margin: 0;
    7940     padding: 0;
    7941     word-wrap: break-word;
    7942 }
    7943 
    7944 #dashboard_recent_drafts ul {
    7945     list-style: none;
    7946 }
    7947 
    7948 #dashboard_recent_drafts ul li {
    7949     margin-bottom: 1em;
    7950 }
    7951 
    7952 #dashboard_recent_drafts h4 {
    7953     line-height: 1.7em;
    7954     word-wrap: break-word;
    7955 }
    7956 
    7957 #dashboard_recent_drafts h4 abbr {
    7958     font-weight: normal;
    7959     font-family: "Open Sans", sans-serif;
    7960     font-size: 12px;
    7961     color: #999;
    7962     margin-left: 3px;
    79638317}
    79648318
     
    79968350.rss-widget cite:before {
    79978351    content: '\2014';
    7998 }
    7999 
    8000 /* Plugins */
    8001 #dashboard_plugins h4 {
    8002     line-height: 1.7em;
    8003 }
    8004 
    8005 #dashboard_plugins h5 {
    8006     font-weight: normal;
    8007     font-size: 13px;
    8008     margin: 0;
    8009     display: inline;
    8010     line-height: 1.4em;
    8011 }
    8012 
    8013 #dashboard_plugins h5 a {
    8014     line-height: 1.4em;
    8015 }
    8016 
    8017 #dashboard_plugins .inside span {
    8018     font-size: 12px;
    8019     padding-left: 5px;
    8020 }
    8021 
    8022 #dashboard_plugins p {
    8023     margin: 0.3em 0 1.4em;
    8024     line-height: 1.4em;
    80258352}
    80268353
Note: See TracChangeset for help on using the changeset viewer.