Make WordPress Core

Changeset 9783


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

Location:
trunk
Files:
5 edited

Legend:

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

    r9721 r9783  
    4444}
    4545
    46 #poststuff .inside .spam {
     46#poststuff .inside label.spam {
    4747        color: red;
    4848}
    4949
    50 #poststuff .inside .waiting {
     50#poststuff .inside label.waiting {
    5151        color: orange;
    5252}
    5353
    54 #poststuff .inside .approved {
     54#poststuff .inside label.approved {
    5555        color: green;
    5656}
     
    130130}
    131131
    132 .metabox-holder {
    133         color: #777;
    134 }
    135 
    136132.form-table tr,
    137133.form-wrap .form-field {
     
    145141
    146142strong .post-com-count span {
    147         background-color: #2583ad;
     143        background-color: #21759b;
    148144}
    149145
     
    193189.available-theme a.screenshot {
    194190        background-color: #f1f1f1;
    195         border-color: #ccc;
     191        border-color: #ddd;
    196192}
    197193
     
    331327}
    332328
     329a:active,
     330a:focus {
     331        color: #d54e21 !important;
     332}
     333
     334a:hover,
    333335.button:hover,
    334336#wphead #viewsite a:hover,
     
    337339#the-comment-list .comment a:hover,
    338340#rightnow a:hover,
    339 a:hover,
    340341.subsubsub a:hover,
    341342.subsubsub a.current:hover,
     
    402403.tablenav .prev {
    403404        border-color: transparent;
    404         color: #2583ad;
     405        color: #21759b;
    405406}
    406407
     
    433434}
    434435
    435 .widefat thead,
    436 .widefat tfoot,
     436.widefat thead tr,
     437.widefat tfoot tr,
    437438.thead,
    438439.tfoot,
     
    466467#media-upload a.delete,
    467468.ui-tabs-nav a, a {
    468         color: #2583ad;
     469        color: #21759b;
    469470}
    470471
     
    539540}
    540541
    541 #edit-slug-box strong, .login #nav a {
     542#edit-slug-box strong, .login #nav a, .tablenav .displaying-num {
    542543        color: #777;
    543544}
     
    729730abbr.required,
    730731.widget-control-remove:hover,
    731 .delete:hover {
     732.delete a:hover {
    732733        color: #f00;
    733734}
     
    914915}
    915916
    916 .wp_themeSkin tr.mceFirst {
     917.wp_themeSkin tr.mceFirst td.mceToolbar {
    917918        background-color: #dfdfdf;
    918919        border-color: #dfdfdf;
     
    10221023#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,
    10231024#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
    1024         background: transparent url(../images/menu-bits.gif) no-repeat scroll left -206px;
     1025        background: transparent url(../images/menu-bits.gif) no-repeat scroll left -208px;
    10251026}
    10261027
     
    10381039}
    10391040
     1041#adminmenu .wp-has-current-submenu ul li a {
     1042        background: none;
     1043}
     1044
     1045#adminmenu .wp-has-current-submenu ul li a.current {
     1046        background: url(../images/menu-dark.gif) top left no-repeat !important;
     1047}
     1048
    10401049#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
    10411050#adminmenu .menu-top .current {
    1042         background-color: #c0c0c0;
    1043         background-image: none;
     1051        background: url(../images/menu-bits.gif) top left repeat-x;
    10441052        border-color: #B5B5B5;
    10451053        color: #fff;
     1054        text-shadow: #666 0px -1px 0px;
     1055}
     1056
     1057#adminmenu li.wp-has-current-submenu .wp-submenu, #adminmenu li.wp-has-current-submenu ul li a {
     1058        border-color: #aaa !important;
     1059}
     1060
     1061#adminmenu li.wp-has-current-submenu ul li a {
     1062        background: url(../images/menu-dark.gif) bottom left no-repeat !important;
     1063}
     1064
     1065#adminmenu li.wp-has-current-submenu ul {
     1066        border-bottom-color: #aaa;
    10461067}
    10471068
    10481069#adminmenu li.menu-top .current:hover {
    1049         background: #c0c0c0 none repeat scroll 0 0;
    10501070        border-color: #B5B5B5;
    10511071}
     
    10561076
    10571077#adminmenu .wp-submenu a:hover {
    1058         background-color: #EAF2FA;
     1078        background-color: #EAF2FA !important;
    10591079        color: #333 !important;
    10601080}
     
    10631083#adminmenu .wp-submenu li.current a,
    10641084#adminmenu .wp-submenu li.current a:hover {
    1065         color: #d54e21;
    1066         background-color: #fff;
     1085        color: #333;
     1086        background-color: #f5f5f5;
     1087        background-image: none;
    10671088        border-color: #e3e3e3;
     1089        text-shadow: #fff 0px 1px 0px;
    10681090}
    10691091
     
    12861308.inline-editor .categories .catshow,
    12871309.inline-editor .categories .cathide {
    1288         color: #2583AD;
     1310        color: #21759b;
    12891311}
    12901312
     
    13061328}
    13071329
    1308 #major-publishing-actions, #dashboard_quick_press .submit {
     1330#major-publishing-actions {
    13091331        background: #eaf2fa;
    13101332}
     1333
     1334.tablenav .tablenav-pages, {
     1335        color: #555;
     1336}
     1337
     1338.tablenav .tablenav-pages a {
     1339        border-color: #efefef;
     1340        background: #eee;
     1341}
     1342
     1343.tablenav .tablenav-pages a:hover {
     1344        color: #fff;
     1345        background-color: #d54e21;
     1346        border-color: #d54321;
     1347}
     1348
     1349.tablenav .tablenav-pages a:active {
     1350        color: #fff !important;
     1351}
     1352
     1353.tablenav .tablenav-pages .current {
     1354        background: #dfdfdf;
     1355        border-color: #dfdfdf;
     1356}
     1357
     1358#availablethemes,
     1359#availablethemes td {
     1360        border-color: #ddd;
     1361}
     1362
     1363#current-theme img {
     1364        border-color: #999;
     1365}
     1366
     1367#TB_window #TB_title a.tb-theme-preview-link,
     1368#TB_window #TB_title a.tb-theme-preview-link:visited {
     1369        color: #999;
     1370}
     1371
     1372#TB_window #TB_title a.tb-theme-preview-link:hover,
     1373#TB_window #TB_title a.tb-theme-preview-link:focus {
     1374        color: #ccc;
     1375}
     1376
     1377
     1378form p.submit a.cancel {
     1379        border-color: red;
     1380        color: red;
     1381}
     1382
     1383form p.submit a.cancel:hover {
     1384        background: red;
     1385        color: white;
     1386}
     1387
     1388.misc-pub-section {
     1389        border-bottom-color: #eee;
     1390}
     1391
     1392#minor-publishing {
     1393        border-bottom-color: #ddd;
     1394}
     1395
     1396#post-body .misc-pub-section {
     1397        border-right-color: #eee;
     1398}
     1399
     1400.post-com-count span {
     1401        background-color: #bbb;
     1402}
     1403
     1404.form-table .color-palette td {
     1405        border-color: #fff;
     1406}
     1407
     1408.sortable-placeholder {
     1409        border-color: #bbb;
     1410        background-color: #f5f5f5;
     1411}
     1412
     1413#post-body ul#category-tabs li.ui-tabs-selected a {
     1414        color: #333;
     1415}
     1416
     1417.view-switch img {
     1418        border-color: #fff;
     1419}
     1420
     1421.view-switch img.current {
     1422        border-color: #999;
     1423}
     1424
     1425#wp_editimgbtn, #wp_delimgbtn {
     1426        border-color: #999;
     1427        background-color: #eee;
     1428}
     1429
     1430#wp_editimgbtn:hover, #wp_delimgbtn:hover {
     1431        border-color: #555;
     1432        background-color: #ccc;
     1433}
     1434
     1435#favorite-first {
     1436        border-color: #464646;
     1437        background: #797979 url(../images/fav.png) repeat-x 0 center;
     1438}
     1439
     1440#favorite-inside {
     1441        border-color: #797979;
     1442        background: #797979 url(../images/fav-bottom.png) repeat-x 0 bottom;
     1443}
     1444
     1445#favorite-toggle {
     1446        background: transparent url(../images/fav-arrow.png) no-repeat 0 -4px;
     1447}
     1448
     1449#favorite-actions a {
     1450        color: #eee;
     1451}
     1452
     1453#favorite-inside a:hover {
     1454        background-color: #8f8f8f;
     1455        color: #fff;
     1456}
     1457
     1458#favorite-actions .slide-down {
     1459        border-bottom-color: #626262;
     1460}
  • trunk/wp-admin/css/colors-fresh.css

    r9777 r9783  
    189189.available-theme a.screenshot {
    190190        background-color: #f1f1f1;
    191         border-color: #ccc;
     191        border-color: #ddd;
    192192}
    193193
     
    13551355        border-color: #dfdfdf;
    13561356}
     1357
     1358#availablethemes,
     1359#availablethemes td {
     1360        border-color: #ddd;
     1361}
     1362
     1363#current-theme img {
     1364        border-color: #999;
     1365}
     1366
     1367#TB_window #TB_title a.tb-theme-preview-link,
     1368#TB_window #TB_title a.tb-theme-preview-link:visited {
     1369        color: #999;
     1370}
     1371
     1372#TB_window #TB_title a.tb-theme-preview-link:hover,
     1373#TB_window #TB_title a.tb-theme-preview-link:focus {
     1374        color: #ccc;
     1375}
     1376
     1377
     1378form p.submit a.cancel {
     1379        border-color: red;
     1380        color: red;
     1381}
     1382
     1383form p.submit a.cancel:hover {
     1384        background: red;
     1385        color: white;
     1386}
     1387
     1388.misc-pub-section {
     1389        border-bottom-color: #eee;
     1390}
     1391
     1392#minor-publishing {
     1393        border-bottom-color: #ddd;
     1394}
     1395
     1396#post-body .misc-pub-section {
     1397        border-right-color: #eee;
     1398}
     1399
     1400.post-com-count span {
     1401        background-color: #bbb;
     1402}
     1403
     1404.form-table .color-palette td {
     1405        border-color: #fff;
     1406}
     1407
     1408.sortable-placeholder {
     1409        border-color: #bbb;
     1410        background-color: #f5f5f5;
     1411}
     1412
     1413#post-body ul#category-tabs li.ui-tabs-selected a {
     1414        color: #333;
     1415}
     1416
     1417.view-switch img {
     1418        border-color: #fff;
     1419}
     1420
     1421.view-switch img.current {
     1422        border-color: #999;
     1423}
     1424
     1425#wp_editimgbtn, #wp_delimgbtn {
     1426        border-color: #999;
     1427        background-color: #eee;
     1428}
     1429
     1430#wp_editimgbtn:hover, #wp_delimgbtn:hover {
     1431        border-color: #555;
     1432        background-color: #ccc;
     1433}
     1434
     1435#favorite-first {
     1436        border-color: #464646;
     1437        background: #797979 url(../images/fav.png) repeat-x 0 center;
     1438}
     1439
     1440#favorite-inside {
     1441        border-color: #797979;
     1442        background: #797979 url(../images/fav-bottom.png) repeat-x 0 bottom;
     1443}
     1444
     1445#favorite-toggle {
     1446        background: transparent url(../images/fav-arrow.png) no-repeat 0 -4px;
     1447}
     1448
     1449#favorite-actions a {
     1450        color: #eee;
     1451}
     1452
     1453#favorite-inside a:hover {
     1454        background-color: #8f8f8f;
     1455        color: #fff;
     1456}
     1457
     1458#favorite-actions .slide-down {
     1459        border-bottom-color: #626262;
     1460}
  • trunk/wp-admin/rtl.css

    r9733 r9783  
    121121        float: right;
    122122        margin: 9px 20px 0 0;
    123 }
    124 ul#adminmenu li.write-new-button a {
    125         font-family: Tahoma, "Times New Roman";
    126123}
    127124#wphead h1 {
  • 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
  • trunk/wp-includes/script-loader.php

    r9780 r9783  
    301301        $rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'press-this-ie', 'plugin-install', 'farbtastic' );
    302302
    303         $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081119' );
     303        $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081119b' );
    304304        $styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
    305305
     
    307307        $styles->add_data( 'ie', 'conditional', 'gte IE 6' );
    308308
    309         $styles->add( 'colors', true ); // Register "meta" stylesheet for admin colors
     309        $styles->add( 'colors', true, array(), '20081118' ); // Register "meta" stylesheet for admin colors
    310310        $styles->add( 'colors-fresh', '/wp-admin/css/colors-fresh.css', array(), '20081119'); // for login.php.  Is there a better way?
    311311        $styles->add_data( 'colors-fresh', 'rtl', true );
Note: See TracChangeset for help on using the changeset viewer.