Ticket #5750: 5750c.diff
| File 5750c.diff, 9.3 KB (added by , 18 years ago) |
|---|
-
wp-admin/wp-admin.css
895 895 background: #eaf3fa; 896 896 } 897 897 898 /* Dashboard stuff, possibly to go in separate file? */899 900 #rightnow {901 border: 1px solid #ccc;902 padding: 2px;903 margin-top: 10px;904 }905 906 #rightnow .reallynow {907 background: #d54e21;908 padding: 12px;909 color: #fff;910 font-size: 15px;911 margin: 0;912 }913 914 #rightnow .rbutton {915 background: #ebebeb;916 -moz-border-radius: 5px;917 padding: 6px;918 font-weight: normal;919 color: #264761;920 border-bottom: none;921 }922 923 #rightnow .reallynow a {924 float: right;925 margin-left: 5px;926 font-size: 14px;927 margin-top: -24px;928 }929 930 #rightnow .youhave {931 background: #f0f6fb;932 font-size: 14px;933 padding: 10px;934 }935 936 #rightnow p {937 padding: 0 10px;938 }939 940 #rightnow a {941 color: #448abd;942 font-weight: bold;943 border-bottom: 1px solid #448abd;944 }945 946 898 /* Post Screen */ 947 899 948 900 #tagchecklist { -
wp-admin/includes/dashboard.php
323 323 wp_widget_rss_form( $widget_options[$widget_id], $form_inputs ); 324 324 } 325 325 326 327 // Move this into wp-admin.css328 function temp_dashboard_css() {329 326 ?> 330 <style type="text/css">331 /* <![CDATA[ */332 333 div#dashboard-widgets {334 position: relative;335 left: 20px;336 margin-left: -20px;337 }338 339 div.dashboard-widget-holder {340 margin-top: 20px;341 width: 50%;342 float: left;343 }344 345 div.dashboard-widget-holder.third {346 width: 33.3%;347 }348 349 div.dashboard-widget-holder.fourth {350 width: 25%;351 }352 353 div.dashboard-widget-holder.full {354 width: 100%;355 }356 357 div.dashboard-widget-holder.double div.dashboard-widget {358 height: 52em;359 padding-bottom: 28px /* lame */360 }361 362 div.dashboard-widget {363 position: relative;364 margin-right: 20px;365 border: 1px solid #ccc;366 padding: 2px;367 height: 26em;368 overflow: auto;369 }370 371 h3.dashboard-widget-title {372 background-color: #eaf3fa;373 margin: 0;374 position: relative;375 padding: 0 10px;376 font-size: 1.2em;377 line-height: 2;378 }379 380 h3.dashboard-widget-title span {381 background-color: #eaf3fa;382 display: block;383 text-align: left;384 float: left;385 }386 387 h3.dashboard-widget-title small {388 background-color: #eaf3fa;389 display: block;390 text-align: right;391 float: right;392 font-size: 75%;393 line-height: 2.67; /* math: it works */394 margin-top: 2px;395 }396 397 h3.dashboard-widget-title img.rss-icon {398 vertical-align: middle;399 }400 401 div.dashboard-widget-notice {402 background-color: #cfe1ef;403 padding: 0 20px;404 font-size: 1.2em;405 line-height: 2;406 }407 408 div.dashboard-widget-error {409 background-color: #c43;410 padding: 0 20px;411 font-size: 1.2em;412 line-height: 2;413 }414 415 div.dashboard-widget-content {416 margin: 10px 15px;417 }418 419 div.dashboard-widget-submit {420 border-top: 1px solid #ccc;421 margin: 10px 15px;422 padding-top: 10px;423 }424 div.dashboard-widget-content ul, div.dashboard-widget-content ol, div.dashboard-widget-content dl {425 text-indent: 0;426 padding-left: 15px;427 }428 429 div.dashboard-widget-content blockquote {430 margin: 0 0 -1em;431 }432 433 div.dashboard-widget-content .comment-meta {434 font-size: 95%;435 }436 437 #dashboard_secondary div.dashboard-widget-content ul {438 list-style: none;439 padding: 0;440 margin: 0;441 }442 443 #dashboard_secondary div.dashboard-widget-content ul li {444 display: block;445 width: 20%;446 height: 6em;447 padding-bottom: 20px;448 margin: 0;449 float: left;450 font-size: 95%;451 }452 453 #dashboard_secondary div.dashboard-widget-content {454 margin: 10px 5px;455 padding: 0;456 }457 458 #dashboard_secondary div.dashboard-widget-content ul li .post {459 display:block;460 font-family:Georgia,"Times New Roman",Times,serif;461 font-size:18px;462 height:60px;463 overflow:hidden;464 }465 466 #dashboard_secondary div.dashboard-widget-content ul li a {467 background:#DDDDDD none repeat scroll 0%;468 display:block;469 height:100%;470 overflow:hidden;471 margin: 10px;472 padding: .5em;473 }474 475 #dashboard_secondary div.dashboard-widget-content ul li a cite {476 display: block;477 }478 479 #dashboard-widgets .widget_rss ul {480 list-style: none;481 padding: 0;482 margin: 0;483 }484 485 #dashboard-widgets .widget_rss ul li {486 clear: both;487 }488 489 #dashboard-widgets .widget_rss ul li span.rss-date {490 float: left;491 margin: .5em 0 1em;492 }493 494 #dashboard-widgets .widget_rss ul li a {495 float: left;496 margin: .5em .5em 1em 0;497 font-weight: bold;498 }499 500 #dashboard-widgets .widget_rss ul li div {501 clear: both;502 }503 /* ]]> */504 </style>505 <?php506 }507 508 add_action( 'admin_head', 'temp_dashboard_css' );509 510 ?> -
wp-admin/css/dashboard.css
1 #rightnow { 2 border: 1px solid #ccc; 3 padding: 2px; 4 margin-top: 10px; 5 } 6 7 #rightnow .reallynow { 8 background: #d54e21; 9 padding: 12px; 10 color: #fff; 11 font-size: 15px; 12 margin: 0; 13 } 14 15 #rightnow .rbutton { 16 background: #ebebeb; 17 -moz-border-radius: 5px; 18 padding: 6px; 19 font-weight: normal; 20 color: #264761; 21 border-bottom: none; 22 } 23 24 #rightnow .reallynow a { 25 float: right; 26 margin-left: 5px; 27 font-size: 14px; 28 margin-top: -24px; 29 } 30 31 #rightnow .youhave { 32 background: #f0f6fb; 33 font-size: 14px; 34 padding: 10px; 35 } 36 37 #rightnow p { 38 padding: 0 10px; 39 } 40 41 #rightnow a { 42 color: #448abd; 43 font-weight: bold; 44 border-bottom: 1px solid #448abd; 45 } 46 47 div#dashboard-widgets { 48 position: relative; 49 left: 20px; 50 margin: -20px 0 0 -20px; 51 } 52 53 div.dashboard-widget-holder { 54 margin-top: 20px; 55 width: 50%; 56 float: left; 57 } 58 59 div.dashboard-widget-holder.third { 60 width: 33.3%; 61 } 62 63 div.dashboard-widget-holder.fourth { 64 width: 25%; 65 } 66 67 div.dashboard-widget-holder.full { 68 width: 100%; 69 } 70 71 div.dashboard-widget-holder.double div.dashboard-widget { 72 height: 53em; 73 padding-bottom: 28px /* lame */ 74 } 75 76 div.dashboard-widget { 77 position: relative; 78 margin-right: 20px; 79 border: 1px solid #ccc; 80 padding: 2px; 81 height: 26em; 82 overflow: auto; 83 } 84 85 h3.dashboard-widget-title { 86 background-color: #eaf3fa; 87 margin: 0; 88 padding: 0 10px; 89 font-size: 1.2em; 90 line-height: 2; 91 } 92 93 h3.dashboard-widget-title span { 94 background-color: #eaf3fa; 95 display: block; 96 text-align: left; 97 float: left; 98 } 99 100 h3.dashboard-widget-title small { 101 background-color: #eaf3fa; 102 display: block; 103 text-align: right; 104 float: right; 105 font-size: 75%; 106 line-height: 2.67; /* math: it works */ 107 } 108 109 h3.dashboard-widget-title img.rss-icon { 110 vertical-align: middle; 111 } 112 113 div.dashboard-widget-notice { 114 background-color: #cfe1ef; 115 padding: 0 20px; 116 font-size: 1.2em; 117 line-height: 2; 118 } 119 120 div.dashboard-widget-error { 121 background-color: #c43; 122 padding: 0 20px; 123 font-size: 1.2em; 124 line-height: 2; 125 } 126 127 div.dashboard-widget-content { 128 padding: 10px 15px; 129 } 130 131 div.dashboard-widget-submit { 132 border-top: 1px solid #ccc; 133 margin: 10px 15px; 134 padding-top: 10px; 135 } 136 div.dashboard-widget-content ul, div.dashboard-widget-content ol, div.dashboard-widget-content dl { 137 margin: 0; 138 text-indent: 0; 139 padding-left: 15px; 140 } 141 div.dashboard-widget-content li { 142 margin: .5em 0 1em; 143 } 144 145 div.dashboard-widget-content blockquote { 146 margin: -1em 0; 147 } 148 149 div.dashboard-widget-content .comment-meta { 150 font-size: 95%; 151 } 152 153 #dashboard_secondary div.dashboard-widget-content ul { 154 list-style: none; 155 padding: 0; 156 } 157 158 #dashboard_secondary div.dashboard-widget-content ul li { 159 display: block; 160 width: 19.95%; 161 height: 6em; 162 padding-bottom: 20px; 163 margin: 0; 164 float: left; 165 font-size: 95%; 166 } 167 168 #dashboard_secondary div.dashboard-widget-content { 169 margin: 10px 5px; 170 padding: 0; 171 } 172 173 #dashboard_secondary div.dashboard-widget-content ul li .post { 174 display:block; 175 font-family:Georgia,"Times New Roman",Times,serif; 176 font-size:18px; 177 height:60px; 178 overflow:hidden; 179 } 180 181 #dashboard_secondary div.dashboard-widget-content ul li a { 182 background:#DDDDDD none repeat scroll 0%; 183 display:block; 184 height:100%; 185 overflow:hidden; 186 margin: 5px 10px; 187 padding: .5em; 188 } 189 190 #dashboard_secondary div.dashboard-widget-content ul li a cite { 191 display: block; 192 } 193 194 #dashboard-widgets .widget_rss ul { 195 list-style: none; 196 padding: 0; 197 } 198 199 #dashboard-widgets .widget_rss ul li { 200 clear: both; 201 } 202 203 #dashboard-widgets .widget_rss ul li span.rss-date { 204 float: left; 205 margin: 0 0 1em; 206 } 207 208 #dashboard-widgets .widget_rss ul li a { 209 float: left; 210 margin: 0 .5em 1em 0; 211 font-weight: bold; 212 } 213 214 #dashboard-widgets .widget_rss ul li div { 215 clear: both; 216 } -
wp-admin/index-extra.php
95 95 } 96 96 ?> 97 97 </ul> 98 <br class="clear" /> 98 99 <?php 99 100 } 100 101 break; -
wp-admin/index.php
20 20 } 21 21 add_action( 'admin_head', 'index_js' ); 22 22 23 function index_css() { 24 wp_admin_css( 'css/dashboard' ); 25 } 26 add_action( 'admin_head', 'index_css' ); 27 23 28 wp_enqueue_script( 'jquery' ); 24 29 25 30 $title = __('Dashboard'); … … 87 92 <?php do_action( 'activity_box_end' ); ?> 88 93 </div><!-- rightnow --> 89 94 95 <br class="clear" /> 96 90 97 <?php wp_dashboard(); ?> 91 98 92 99 </div><!-- wrap -->