Make WordPress Core

Changeset 6484


Ignore:
Timestamp:
12/24/2007 07:14:41 AM (19 years ago)
Author:
matt
Message:

Styling: alerts, updates, top dashboard.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/index.php

    r6462 r6484  
    2929
    3030<div id="rightnow">
    31 <h3><?php _e('Right Now'); ?> <a href="post-new.php"><?php _e('Write a New Post'); ?></a> <a href="page-new.php"><?php _e('Write a New Page'); ?></a></h3>
     31<h3 class="reallynow"><?php _e('Right Now'); ?> <a href="post-new.php" class="rbutton"><?php _e('Write a New Post'); ?></a> <a href="page-new.php" class="rbutton"><?php _e('Write a New Page'); ?></a></h3>
    3232
    3333<?php
    … …  
    7070
    7171?>
    72 <p><?php echo $sentence; ?></p>
     72<p class="youhave"><?php echo $sentence; ?></p>
    7373<?php
    7474$ct = current_theme_info();
    … …  
    7777$widgets_text = sprintf( __ngettext( '%d widget', '%d widgets', $num_widgets ), $num_widgets );
    7878?>
    79 <p><?php printf( __( 'You are using %1$s theme with %2$s.' ), $ct->title, $widgets_text ); ?> <a href="themes.php"><?php _e('Change Theme'); ?></a>. You're using BetaPress TODO.</p>
     79<p><?php printf( __( 'You are using %1$s theme with %2$s.' ), $ct->title, "<a href='widgets.php'>$widgets_text</a>" ); ?> <a href="themes.php" class="rbutton"><?php _e('Change Theme'); ?></a> You're using BetaPress TODO.</p>
    8080<p>
    8181<?php do_action( 'rightnow_end' ); ?>
  • trunk/wp-admin/wp-admin.css

    r6475 r6484  
    1717}
    1818
    19 #devnews h4 {
    20         font-family: Georgia, "Times New Roman", Times, serif;
    21         font-size: 18px;
    22         font-weight: normal;
    23 }
    24 
    25 #planetnews ul {
    26         list-style: none;
    27         margin: 0;
    28         padding: 0;
    29 }
    30 
    31 #planetnews li {
    32         width: 17%;
    33         margin: 1%;
    34         float: left;
    35 }
    36 
    37 #planetnews li a {
    38         display: block;
    39         padding: .5em;
    40         background: #ddd;
    41         height: 6em;
    42         overflow: hidden;
    43 }
    44 
    45 #planetnews cite {
    46         font-size: 11px;
    47 }
    48 
    49 #planetnews li .post {
    50         font-family: Georgia, "Times New Roman", Times, serif;
    51         font-size: 18px;
    52         display: block;
    53         height: 60px;
    54         overflow: hidden;
    55 }
    56 
    57 #planetnews .hidden {
    58         display: none;
    59 }
    60 
    61 .readmore {
    62         clear: both;
    63         text-align: right;
    64         margin-right: 5em;
    65 }
    66 
    6719.wrap {
    6820        margin: 0;
    6921        padding: 0;
    70         margin-left: 10px;
     22        margin-left: 15px;
    7123        margin-right: 25%;
    7224}
    … …  
    7729        border-bottom: 1px solid #dadada;
    7830        padding: 0;
    79         margin: 0;
    80         padding-bottom: 10px;
     31        margin: 0 0 0 -5px;
     32        padding-bottom: 5px;
     33        clear: both;
    8134}
    8235
    … …  
    382335}
    383336
    384 .updated, .confirm {
    385         background: #CFEBF7 url(images/notice.gif) no-repeat 1em;
    386         border: 1px solid #2580B2;
    387         margin: 1em 5% 10px;
    388         padding: 0 1em 0 3em;
     337.updated, .error {
     338        margin-left: 15px;
     339        padding: 0 15px;
     340        margin-bottom: 20px;
     341        margin-right: 25%;
     342}
     343
     344.updated a, .error a {
     345        text-decoration: underline;
     346}
     347
     348.updated {
     349        background: #ddedfa;
     350        border: 1px solid #c6d9e9;
     351}
     352
     353.updated a {
     354        color: #448abd;
     355        font-weight: bold;
    389356}
    390357
    … …  
    392359        background: #FFEFF7;
    393360        border: 1px solid #c69;
    394         margin: 1em 5% 10px;
    395         padding: 0 1em 0 1em;
    396361}
    397362
    … …  
    13841349        background: #eaf3fa;
    13851350}
     1351
     1352/* Dashboard stuff, possibly to go in separate file? */
     1353
     1354#rightnow {
     1355        border: 1px solid #ccc;
     1356        padding: 2px;
     1357        margin-top: 10px;
     1358}
     1359
     1360#rightnow .reallynow {
     1361        background: #d54e21;
     1362        padding: 12px;
     1363        color: #fff;
     1364        font-size: 15px;
     1365        margin: 0;
     1366}
     1367
     1368#rightnow .rbutton {
     1369        background: #ebebeb;
     1370        -moz-border-radius: 5px;
     1371        padding: 6px;
     1372        font-weight: normal;
     1373        color: #264761;
     1374        border-bottom: none;
     1375}
     1376
     1377#rightnow .reallynow a {
     1378        float: right;
     1379        margin-left: 5px;
     1380        font-size: 14px;
     1381        margin-top: -24px;
     1382}
     1383
     1384#rightnow .youhave {
     1385        background: #f0f6fb;
     1386        font-size:  14px;
     1387        padding: 10px;
     1388}
     1389
     1390#rightnow p {
     1391        padding: 0 10px;
     1392}
     1393
     1394#rightnow a {
     1395        color: #448abd;
     1396        font-weight: bold;
     1397        border-bottom: 1px solid #448abd;
     1398}
Note: See TracChangeset for help on using the changeset viewer.