WordPress.org

Make WordPress Core

Changeset 26656


Ignore:
Timestamp:
12/05/2013 02:36:35 AM (8 years ago)
Author:
helen
Message:

Restore CSS for the Site Content, née Right Now, Dashboard widget. Removes a nice large swath of unnecessary styles. fixes #26392, see #25824.

File:
1 edited

Legend:

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

    r26652 r26656  
    29042904/* Dashboard right now */
    29052905
    2906 #dash-right-now ul {
     2906#dashboard_right_now ul {
    29072907    margin: 0;
    29082908    overflow: hidden;
    29092909}
    29102910
    2911 #dash-right-now li {
     2911#dashboard_right_now li {
    29122912    width: 50%;
    29132913    float: left;
     
    29152915}
    29162916
    2917 #dash-right-now .inside {
     2917#dashboard_right_now .inside {
    29182918    overflow: hidden;
    29192919    padding: 0;
    29202920}
    29212921
    2922 #dash-right-now .main {
     2922#dashboard_right_now .main {
    29232923    padding: 0 12px 11px;
    29242924}
    29252925
    2926 #dash-right-now .main p {
     2926#dashboard_right_now .main p {
    29272927    margin: 0;
    29282928}
     
    29382938/* Dashboard right now - Colors */
    29392939
    2940 #dash-right-now li a:before {
     2940#dashboard_right_now li a:before {
    29412941    color: #888;
    29422942}
    29432943
    2944 #dash-right-now .sub {
     2944#dashboard_right_now .sub {
    29452945    color: #777;
    29462946    background: #f5f5f5;
     
    29492949}
    29502950
    2951 #dash-right-now .sub h4 {
     2951#dashboard_right_now .sub h4 {
    29522952    color: #555;
    29532953}
    29542954
    2955 #dash-right-now .sub p {
     2955#dashboard_right_now .sub p {
    29562956    margin: 0 0 1em;
    29572957}
    29582958
    2959 #dash-right-now .warning a:before {
     2959#dashboard_right_now .warning a:before {
    29602960    color: #d54e21;
    29612961}
    29622962
    29632963/* Dashboard right now - Icons */
    2964 #dash-right-now li a:before {
     2964#dashboard_right_now li a:before {
    29652965    content: '\f159';
    29662966    font: normal 20px/1 'dashicons';
     
    29772977}
    29782978
    2979 #dash-right-now .page-count a:before {
     2979#dashboard_right_now .page-count a:before {
    29802980    content: '\f105';
    29812981}
    29822982
    2983 #dash-right-now .post-count a:before {
     2983#dashboard_right_now .post-count a:before {
    29842984    content: '\f109';
    29852985}
    29862986
    2987 #dash-right-now .comment-count a:before {
     2987#dashboard_right_now .comment-count a:before {
    29882988    content: '\f101';
    29892989}
    29902990
    2991 #dash-right-now .comment-mod-count a:before {
     2991#dashboard_right_now .comment-mod-count a:before {
    29922992    content: '\f125';
    29932993}
    29942994
    2995 #dash-right-now .storage-count a:before {
     2995#dashboard_right_now .storage-count a:before {
    29962996    content: '\f104';
    29972997}
    29982998
    2999 #dash-right-now .storage-count.warning a:before {
     2999#dashboard_right_now .storage-count.warning a:before {
    30003000    content: '\f153';
    30013001}
     
    89528952}
    89538953
    8954 /* Right Now */
    8955 #dashboard_right_now p.sub,
    8956 #dashboard_right_now .table, #dashboard_right_now .versions {
    8957     margin: -12px;
    8958 }
    8959 
    8960 #dashboard_right_now .inside {
    8961     font-size: 13px;
    8962     padding-top: 20px;
    8963 }
    8964 
    8965 #dashboard_right_now p.sub {
    8966     padding: 5px 0 15px;
    8967     font-size: 11px;
    8968     font-weight: 600;
    8969     left: 14px;
    8970     letter-spacing: 1px;
    8971     position: absolute;
    8972     text-transform: uppercase;
    8973     top: -17px;
    8974 }
    8975 
    8976 #dashboard_right_now .table {
    8977     margin: 0;
    8978     padding: 0;
    8979     position: relative;
    8980 }
    8981 
    8982 #dashboard_right_now .table_content {
    8983     float: left;
    8984     width: 48%;
    8985 }
    8986 
    8987 #dashboard_right_now .table_discussion {
    8988     float: right;
    8989     width: 45%;
    8990 }
    8991 
    8992 #dashboard_right_now table td {
    8993     padding: 3px 0;
    8994     white-space: nowrap;
    8995 }
    8996 
    8997 #dashboard_right_now table tr.first td {
    8998     border-top: none;
    8999 }
    9000 
    9001 #dashboard_right_now td.b {
    9002     padding-right: 6px;
    9003     text-align: right;
    9004     font-size: 14px;
    9005     width: 1%;
    9006 }
    9007 
    9008 #dashboard_right_now td.b a {
    9009     font-size: 18px;
    9010 }
    9011 
    9012 #dashboard_right_now td.b a:hover {
    9013     color: #d54e21;
    9014 }
    9015 
    9016 #dashboard_right_now .t {
    9017     padding-right: 12px;
    9018 }
    9019 
    9020 #dashboard_right_now .t,
    9021 #dashboard_right_now .b {
    9022     font-size: 14px;
    9023     padding-top: 4px;
    9024 }
    9025 
    9026 #dashboard_right_now .t a {
    9027     white-space: nowrap;
    9028 }
    9029 
    9030 #dashboard_right_now .spam {
    9031     color: red;
    9032 }
    9033 
    9034 #dashboard_right_now .waiting {
    9035     color: #e66f00;
    9036 }
    9037 
    9038 #dashboard_right_now .approved {
    9039     color: green;
    9040 }
    9041 
    9042 #dashboard_right_now .versions {
    9043     padding: 6px 10px 12px;
    9044     clear: both;
    9045 }
    9046 
    9047 #dashboard_right_now a.button {
    9048     float: right;
    9049     clear: right;
    9050     position: relative;
    9051     top: -5px;
    9052 }
    9053 
    90548954/* Recent Comments */
    90558955
     
    93839283
    93849284/* ms */
    9385 /* Dashboard: MS Specific Data */
    9386 #dashboard_right_now p.musub {
    9387     margin: 20px -2px 0;
    9388     padding: 15px 5px 10px;
    9389     border-top: 1px solid #ececec;
    9390     position: static;
    9391 }
    9392 
    9393 #dashboard_right_now td.b a.musublink {
    9394     font-size: 16px;
    9395     white-space: nowrap;
    9396 }
    9397 
    9398 #dashboard_right_now div.musubtable {
    9399     border-top: none;
    9400 }
    9401 
    9402 #dashboard_right_now div.musubtable .t,
    9403 #dashboard_right_now div.musubtable .b {
    9404     vertical-align: top;
    9405     padding: 0;
    9406     white-space: normal;
    9407 }
    9408 
    9409 #dashboard_right_now div.musubtable .b {
    9410     padding-right: 3px;
    9411 }
    9412 
    94139285/* Background Color for Site Status */
    94149286.wp-list-table .site-deleted {
Note: See TracChangeset for help on using the changeset viewer.