From c84dcb69c3173bae243f8cab08a5196209ce45a5 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 13 Oct 2011 12:42:36 -0400 Subject: [PATCH] As suggested by Piotr: I think we should target text inputs specifically, and don't touch checkboxes at all, just to be safe in case of future style changes. For instance, Opera can completely change checkbox rendering even with simple CSS rules that in theory don't collide with standard control drawing. --- themes/original/css/theme_right.css.php | 6 +----- themes/pmahomme/css/theme_right.css.php | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index 717557d34c..f59e2862be 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -2010,7 +2010,7 @@ fieldset .disabled-field td { padding: 0.5em; } -#table_columns input, #table_columns select { +#table_columns input[type="text"], #table_columns select { width: 10em; box-sizing: border-box; -ms-box-sizing: border-box; @@ -2018,10 +2018,6 @@ fieldset .disabled-field td { -webkit-box-sizing: border-box; } -#table_columns input[type="checkbox"] { - width: 2em; -} - #placeholder { position: relative; border: 1px solid #aaa; diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php index bb5520784d..1f7b509364 100644 --- a/themes/pmahomme/css/theme_right.css.php +++ b/themes/pmahomme/css/theme_right.css.php @@ -2413,7 +2413,7 @@ fieldset .disabled-field td { padding: 1.5em; } -#table_columns input, #table_columns select { +#table_columns input[type="text"], #table_columns select { width: 10em; box-sizing: border-box; -ms-box-sizing: border-box; @@ -2421,10 +2421,6 @@ fieldset .disabled-field td { -webkit-box-sizing: border-box; } -#table_columns input[type="checkbox"] { - width: 2em; -} - #table_columns select { margin: 0 6px; }