WordPress.org

Make WordPress Core

Changeset 8472


Ignore:
Timestamp:
07/28/2008 07:49:17 PM (10 years ago)
Author:
iammattthomas
Message:

New write post buttons

Location:
branches/crazyhorse/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/crazyhorse/wp-admin/index.php

    r8453 r8472  
    3838
    3939<div class="wrap">
    40 <div class="pagehead"><a class="button new" href="/wp-admin/post-new.php">Write New Post</a></div>
    4140<div id="dashboard-widgets-wrap">
    4241
  • branches/crazyhorse/wp-admin/menu-header.php

    r8271 r8472  
    102102</ul>
    103103
     104
    104105<ul id="adminmenu" class="wp-menu">
     106
     107<li class="write-new-button"><a class="button-secondary">Write New Post</a></li>
    105108
    106109<?php
  • branches/crazyhorse/wp-admin/wp-admin.css

    r8453 r8472  
    596596}
    597597
    598 .pagehead {
    599     width: 100%;
    600     clear: both;
    601     border-bottom: 1px solid #dfdfdf;
    602     padding-bottom: 10px;
    603     float: left;
    604 }
    605 
    606 .pagehead .new {
    607     float: right;
    608     margin-right: 6px;
    609     padding: 6px 20px;
    610     min-width: 180px;
    611     text-align: center;
    612     font-size: 16px;
    613 }
    614 
    615598/* Admin Header */
    616599
     
    657640}
    658641
     642ul#adminmenu li.write-new-button {
     643    margin: -10px 18px 12px;
     644}
     645ul#adminmenu li.write-new-button a {
     646    line-height: 1.2em;
     647    font: 12px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
     648    padding: 6px 4px;
     649    letter-spacing: normal;
     650    border-width: 1px;
     651    border-style: solid;
     652    -moz-border-radius: 3px;
     653    -khtml-border-radius: 3px;
     654    -webkit-border-radius: 3px;
     655    border-radius: 3px;
     656    text-indent: 0;
     657    text-align: center;
     658    color: #246;
     659}
     660   
     661
    659662#wphead h1 {
    660663    font: normal 36px Georgia, "Times New Roman", Times, serif;
     
    700703
    701704#dashmenu li.highlighted {
    702     font-weight: bold;
     705    margin-left: 6px;
     706    text-align: center;
     707    padding: 1  px 0;
     708}
     709
     710#dashmenu li.highlighted a {
     711    background: #666;
     712    border: 1px solid #888;
     713    -webkit-border-radius: 3px;
     714    -moz-border-radius: 3px;
     715    -border-radius: 3px;
     716    color: #ddd;
     717    margin-top: 4px;
     718    display: block;
     719    padding: 5px 10px;
     720    line-height: 1em;
     721}
     722
     723#dashmenu li.highlighted a:hover {
     724    color: #fff;
     725    border-color: #aaa;
    703726}
    704727
     
    765788
    766789#adminmenu li .wp-submenu {
    767     margin-top: 6px;
     790    margin-top: 4px;
    768791}
    769792
Note: See TracChangeset for help on using the changeset viewer.