From 1a05ed2f3822b5ba24471f7ddc63050a6948e9cf Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 11 Oct 2013 15:58:15 +0200 Subject: [PATCH] Fixed table grid styles for IE8 The selector :not() isn't supported in IE8, replaced it with the "grid" class. - Fixes the log table style in IE8 (#5057) - Fixes the users table layout bug in IE8 --- settings/css/settings.css | 9 ++++++--- settings/templates/admin.php | 8 ++++---- settings/templates/users.php | 2 +- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/settings/css/settings.css b/settings/css/settings.css index 40106072f89..ba3d235cf01 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -41,8 +41,8 @@ table.nostyle td { padding: 0.2em 0; } /* USERS */ form { display:inline; } -table:not(.nostyle) th { height:2em; color:#999; } -table:not(.nostyle) th, table:not(.nostyle) td { border-bottom:1px solid #ddd; padding:0 .5em; padding-left:.8em; text-align:left; font-weight:normal; } +table.grid th { height:2em; color:#999; } +table.grid th, table.grid td { border-bottom:1px solid #ddd; padding:0 .5em; padding-left:.8em; text-align:left; font-weight:normal; } td.name, td.password { padding-left:.8em; } td.password>img,td.displayName>img, td.remove>a, td.quota>img { visibility:hidden; } td.password, td.quota, td.displayName { width:12em; cursor:pointer; } @@ -53,7 +53,7 @@ tr:hover>td.password>span, tr:hover>td.displayName>span { margin:0; cursor:point tr:hover>td.remove>a, tr:hover>td.password>img,tr:hover>td.displayName>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; } tr:hover>td.remove>a { float:right; } li.selected { background-color:#ddd; } -table:not(.nostyle) { width:100%; } +table.grid { width:100%; } #rightcontent { padding-left: 1em; } div.quota { float: right; @@ -127,6 +127,9 @@ span.version { margin-left:1em; margin-right:1em; color:#555; } /* LOG */ #log { white-space:normal; } #lessLog { display:none; } +table.grid td.date{ + white-space: nowrap; +} /* ADMIN */ span.securitywarning {color:#C33; font-weight:bold; } diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 6450cd62d95..4afcf539ea3 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -118,7 +118,7 @@ if (!$_['internetconnectionworking']) {

t('Sharing'));?>

- +

t('Security'));?>

- +
- +
-
@@ -229,7 +229,7 @@ endfor;?> message);?> + time)){ p(OC_Util::formatDate($entry->time)); } else { diff --git a/settings/templates/users.php b/settings/templates/users.php index 747d052a7bd..b556ef4b92e 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -78,7 +78,7 @@ $_['subadmingroups'] = array_flip($items); - +
-- 2.39.5