Skip to content

Commit b5d35e6

Browse files
committed
Fix checkbox and radio styles in IE7/8 and Opera
git-svn-id: https://develop.svn.wordpress.org/trunk@12448 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8219ad5 commit b5d35e6

10 files changed

Lines changed: 30 additions & 36 deletions

File tree

wp-admin/css/colors-classic.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-admin/css/colors-classic.dev.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ html {
88
}
99

1010
textarea,
11-
input,
11+
input[type="text"],
12+
input[type="password"],
13+
input[type="file"],
14+
input[type="button"],
15+
input[type="submit"],
16+
input[type="reset"],
1217
select {
1318
border-color: #dfdfdf;
1419
background-color: #fff;
@@ -242,11 +247,6 @@ strong .post-com-count span {
242247
border-top-color: #dfdfdf;
243248
}
244249

245-
.describe input[type="text"],
246-
.describe textarea {
247-
border-color: #dfdfdf;
248-
}
249-
250250
.media-upload-form label.form-help,
251251
td.help {
252252
color: #9a9a9a;

wp-admin/css/colors-fresh.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-admin/css/colors-fresh.dev.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ html {
88
}
99

1010
textarea,
11-
input,
11+
input[type="text"],
12+
input[type="password"],
13+
input[type="file"],
14+
input[type="button"],
15+
input[type="submit"],
16+
input[type="reset"],
1217
select {
1318
border-color: #dfdfdf;
1419
background-color: #fff;
@@ -242,11 +247,6 @@ strong .post-com-count span {
242247
border-top-color: #dfdfdf;
243248
}
244249

245-
.describe input[type="text"],
246-
.describe textarea {
247-
border-color: #dfdfdf;
248-
}
249-
250250
.media-upload-form label.form-help,
251251
td.help {
252252
color: #9a9a9a;

wp-admin/css/global.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-admin/css/global.dev.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ ol.ol-decimal > li {
398398
border-bottom-width: 1px;
399399
border-bottom-style: solid;
400400
font-size: 11px;
401-
vertical-align: text-top;
402401
}
403402

404403
.widefat td {

wp-admin/css/ie.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,3 +438,7 @@ table.ie-fixed {
438438
.imgedit-submit {
439439
width: 300px;
440440
}
441+
442+
* html input {
443+
border: 1px solid #dfdfdf;
444+
}

wp-admin/wp-admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-admin/wp-admin.dev.css

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
textarea,
2-
input,
2+
input[type="text"],
3+
input[type="password"],
4+
input[type="file"],
5+
input[type="button"],
6+
input[type="submit"],
7+
input[type="reset"],
38
select {
49
border-width: 1px;
510
border-style: solid;
@@ -9,12 +14,6 @@ select {
914
border-radius: 4px;
1015
}
1116

12-
input[type="checkbox"],
13-
input[type="radio"],
14-
input[type="image"] {
15-
border: 0 none;
16-
}
17-
1817
p,
1918
ul,
2019
ol,
@@ -1311,14 +1310,6 @@ strong .post-com-count {
13111310
width: auto;
13121311
}
13131312

1314-
.form-table input,
1315-
.form-table textarea,
1316-
#wpbody-content .describe input,
1317-
#wpbody-content .describe textarea {
1318-
border-width: 1px;
1319-
border-style: solid;
1320-
}
1321-
13221313
.form-table div.color-option {
13231314
display: block;
13241315
clear: both;

wp-includes/script-loader.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,12 @@ function wp_default_styles( &$styles ) {
426426
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
427427

428428
// all colors stylesheets need to have the same query strings (cache manifest compat)
429-
$colors_version = '20091214';
429+
$colors_version = '20091217';
430430

431-
$styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '20091214' );
431+
$styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '20091217' );
432432
$styles->add_data( 'wp-admin', 'rtl', "/wp-admin/rtl$suffix.css" );
433433

434-
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20091128' );
434+
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20091217' );
435435
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
436436

437437
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
@@ -443,7 +443,7 @@ function wp_default_styles( &$styles ) {
443443
$styles->add( 'colors-classic', "/wp-admin/css/colors-classic$suffix.css", array(), $colors_version);
444444
$styles->add_data( 'colors-classic', 'rtl', true );
445445

446-
$styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20091212' );
446+
$styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20091217' );
447447
$styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20091029' );
448448
$styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20091118' );
449449
$styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20091211' );

0 commit comments

Comments
 (0)