Make WordPress Core


Ignore:
Timestamp:
11/19/2008 07:21:05 AM (18 years ago)
Author:
azaozz
Message:

Move color declarations out of wp-admin.css, props Simek and johnhennmacc, fixes #7961

File:
1 edited

Legend:

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

    r9777 r9783  
    6363table#availablethemes {
    6464        border-spacing: 0;
    65         border: none;
    66         border-top: 1px solid #ccc;
    67         border-bottom: 1px solid #ccc;
     65        border-width: 1px 0;
     66        border-style: solid none;
    6867        margin: 10px auto;
    6968        width: 100%;
     
    7978
    8079table#availablethemes td {
    81         border: 1px solid #eee;
    82         border-top: none;
    83 }
    84 
    85 table#availablethemes td.top {
    86         border-top: none;
     80        border-width: 0 1px 1px;
     81        border-style: none solid solid;
    8782}
    8883
    8984table#availablethemes td.right,
    9085table#availablethemes td.left  {
    91         border-right: none;
    92         border-left: none;
     86        border-right: 0 none;
     87        border-left: 0 none;
    9388}
    9489
    9590table#availablethemes td.bottom {
    96         border-bottom: none;
     91        border-bottom: 0 none;
    9792}
    9893
     
    10196        height: 180px;
    10297        display: block;
    103         border: 1px solid #efefef;
     98        border-width: 1px;
     99        border-style: solid;
    104100        margin-bottom: 10px;
    105101        overflow: hidden;
     
    134130#current-theme img {
    135131        float: left;
    136         border: 1px solid #666;
     132        border-width: 1px;
     133        border-style: solid;
    137134        margin-right: 1em;
    138135        margin-bottom: 1.5em;
     
    143140#TB_window #TB_title a.tb-theme-preview-link:visited {
    144141        font-weight: bold;
    145         color: #999;
    146142        text-decoration: none;
    147 }
    148 
    149 #TB_window #TB_title a.tb-theme-preview-link:hover,
    150 #TB_window #TB_title a.tb-theme-preview-link:focus {
    151         color: #ccc;
    152143}
    153144
     
    211202}
    212203
    213 form p.submit .cancel {
     204form p.submit a.cancel {
    214205        padding: 3px 0 0;
    215         border: none;
    216206        background: transparent;
    217         border-bottom: 1px solid red;
    218         color: red;
     207        border-width: 0 0 1px;
     208        border-style: none none solid;
    219209        -moz-border-radius: 0;
    220210        -webkit-border-radius: 0;
     
    223213}
    224214
    225 form p.submit .cancel:hover {
     215form p.submit a.cancel:hover {
    226216        text-decoration: none;
    227         background: red;
    228         color: #fff;
    229217}
    230218
     
    245233.misc-pub-section {
    246234        padding: 6px;
    247         border-bottom: 1px solid #eee;
     235        border-bottom-width: 1px;
     236        border-bottom-style: solid;
    248237}
    249238
    250239.misc-pub-section-last {
    251         border-bottom: 0;
     240        border-bottom: 0 none;
    252241}
    253242
     
    258247
    259248#minor-publishing {
    260         border-bottom: 1px solid #ddd;
     249        border-bottom-width: 1px;
     250        border-bottom-style: solid;
    261251}
    262252
     
    304294
    305295#post-body .misc-pub-section {
    306         border-right: 1px solid #eee;
    307         border-bottom: 0;
     296        border-right-width: 1px;
     297        border-right-style: solid;
     298        border-bottom: 0 none;
    308299        min-height: 30px;
    309300        float: left;
     
    868859}
    869860
    870 ul#adminmenu li.write-new-button {
    871         margin: -10px 18px 12px;
    872 }
    873 ul#adminmenu li.write-new-button a {
    874         line-height: 1.2em;
    875         font: 12px "Lucida Grande", Verdana, Arial, sans-serif;
    876         padding: 6px 4px;
    877         letter-spacing: normal;
    878         border-width: 1px;
    879         border-style: solid;
    880         -moz-border-radius: 3px;
    881         -khtml-border-radius: 3px;
    882         -webkit-border-radius: 3px;
    883         border-radius: 3px;
    884         text-indent: 0;
    885         text-align: center;
    886         color: #246;
    887 }
    888 
    889861#wphead h1 {
    890862        font: normal 22px Georgia, "Times New Roman", Times, serif;
     
    970942}
    971943
    972 /*
    973 #adminmenu a {
    974         outline: none;
    975 }
    976 
    977 #adminmenu a:active,
    978 #adminmenu a:selected {
    979         color: #D54E21;
    980 }
    981 */
    982944#adminmenu li {
    983945        margin: 0;
     
    987949#adminmenu a {
    988950        display: block;
    989         font-size: 11.5px;
    990951        line-height: 18px;
    991952        padding: 1px 5px 3px;
     
    1027988        border-width: 1px 1px 0;
    1028989        border-style: solid solid none;
    1029         background-color: #F1F1F1;
    1030990}
    1031991
     
    11861146        line-height: 1.2em;
    11871147        padding: 0 0.5em;
    1188         background-color: #bbb;
    11891148        display: inline-block;
    11901149        cursor: pointer;
     
    12031162}
    12041163
    1205 #adminmenu li a:hover #awaiting-mod, #adminmenu li a:hover #update-plugins, #sidemenu li a:hover #update-plugins {
     1164#adminmenu li a:hover #awaiting-mod,
     1165#adminmenu li a:hover #update-plugins,
     1166#sidemenu li a:hover #update-plugins {
    12061167        background-position: -80px bottom;
    12071168}
    12081169
    1209 #adminmenu li a #awaiting-mod span, #adminmenu li a #update-plugins span, #sidemenu li a #update-plugins span {
     1170#adminmenu li a #awaiting-mod span,
     1171#adminmenu li a #update-plugins span,
     1172#sidemenu li a #update-plugins span {
    12101173        top: -0.8em;
    12111174        right: 0;
     
    12201183        border-radius: 3px;
    12211184}
    1222 
    1223 /*
    1224 #wpbody ul.wp-menu {
    1225         list-style: none;
    1226         margin: 10px 0;
    1227         padding: 0;
    1228         font-size: 16px;
    1229 }
    1230 
    1231 #wpbody ul.wp-menu li {
    1232         display: inline;
    1233 }
    1234 
    1235 #wpbody ul.wp-menu li:before {
    1236         content: " | ";
    1237 }
    1238 
    1239 #wpbody ul.wp-menu li.wp-first-item:before {
    1240         content: "";
    1241 }
    1242 
    1243 #wpbody ul.wp-menu li.current a {
    1244         text-decoration: none;
    1245         color: #666;
    1246 }
    1247 */
    12481185/* end menu stuff */
    12491186
     
    13441281
    13451282.form-table .color-palette td {
    1346         border-bottom: none;
    1347         border: 1px solid #fff;
     1283        border-width: 1px 1px 0
     1284        border-stile: solid solid none;
    13481285        height: 10px;
    13491286        line-height: 20px;
     
    16741611
    16751612.sortable-placeholder {
    1676         border: 1px dashed #bbb;
    1677         background-color: #f5f5f5;
     1613        border-width: 1px;
     1614        border-style: dashed;
    16781615        z-index: -1;
    16791616}
     
    19741911
    19751912#post-body ul#category-tabs li.ui-tabs-selected a {
    1976         color: #333;
    19771913        font-weight: bold;
    19781914        text-decoration: none;
     
    21072043.view-switch img {
    21082044        margin: 0;
    2109         border: 1px solid #fff;
    2110 }
    2111 
    2112 .view-switch img.current {
    2113         border: 1px solid #999;
     2045        border-width: 1px;
     2046        border-style: solid;
    21142047}
    21152048
     
    22512184        margin: 2px;
    22522185        padding: 2px;
    2253         border: 1px solid #999;
    2254         background-color: #eee;
     2186        border-width: 1px;
     2187        border-style: solid;
    22552188        -moz-border-radius: 3px;
    22562189        -khtml-border-radius: 3px;
    22572190        -webkit-border-radius: 3px;
    22582191        border-radius: 3px;
    2259 }
    2260 
    2261 #wp_editimgbtn:hover, #wp_delimgbtn:hover {
    2262         border-color: #555;
    2263         background-color: #ccc;
    22642192}
    22652193
     
    30442972        line-height: 15px;
    30452973        padding: 3px 30px 4px 12px;
    3046         border-color: #464646;
    30472974        border-width: 1px;
    30482975        border-style: solid;
    3049         background-color: #797979;
    3050         background-image: url(images/fav.png);
    3051         background-repeat: repeat-x;
    3052         background-position: 0 center;
    30532976}
    30542977
     
    30682991        border-bottom-right-radius: 12px;
    30692992        border-bottom-left-radius: 12px;
    3070         border-color: #797979;
    3071         background-color: #797979;
    3072         background-image: url(images/fav-bottom.png);
    3073         background-repeat: repeat-x;
    3074         background-position: 0 bottom;
    3075 }
    3076 
    3077 .favorite-action {
    3078 
    30792993}
    30802994
     
    30822996        display: block;
    30832997        text-decoration: none;
    3084         color: #eee;
    30852998        font-size: 11px;
    30862999}
     
    30883001#favorite-inside a {
    30893002        padding: 3px 5px 3px 10px;
    3090 }
    3091 
    3092 #favorite-inside a:hover {
    3093         background-color: #8f8f8f;
    3094         color: #fff;
    30953003}
    30963004
     
    31013009        top: 1px;
    31023010        width: 28px;
    3103         background: transparent url(images/fav-arrow.png) no-repeat 0 -4px;
    31043011}
    31053012
     
    31153022        border-bottom-right-radius: 0;
    31163023        border-bottom-left-radius: 0;
    3117         border-bottom: 1px solid #626262;
     3024        border-bottom-width: 1px;
     3025        border-bottom-style: solid;
    31183026}
    31193027
Note: See TracChangeset for help on using the changeset viewer.