From 83443001357d5c54e6e58eb8a9a3d91e262b4ffc Mon Sep 17 00:00:00 2001 From: "zelidrag@chromium.org" Date: Thu, 7 Oct 2010 16:25:32 +0000 Subject: Improved visual appearance of system info page. BUG=none TEST=none Review URL: http://codereview.chromium.org/3565011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61796 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/resources/about_sys.html | 95 +++++++++++++++++++-------------- 1 file changed, 56 insertions(+), 39 deletions(-) diff --git a/chrome/browser/resources/about_sys.html b/chrome/browser/resources/about_sys.html index 00cdf1c..e160a10f 100644 --- a/chrome/browser/resources/about_sys.html +++ b/chrome/browser/resources/about_sys.html @@ -13,7 +13,7 @@ body { } h1, h2 { - font-size: 110%; + font-size: 120%; letter-spacing: -1px; margin: 0; } @@ -37,6 +37,8 @@ h2 { h2:first-child { border-top: 0; padding-top: 0; + float: left; + vertical-align: text-bottom; } #header { @@ -113,6 +115,10 @@ html[dir='rtl'] #header h1 { width: 20%; } +.list .button_cell { + width: 7%; +} + .list .name div { height: 1.6em; overflow: hidden; @@ -120,6 +126,10 @@ html[dir='rtl'] #header h1 { text-overflow: ellipsis; } +.button_hidden { + display: none; +} + .number_expanded, .number_collapsed { text-align: left; width: 80%; @@ -129,15 +139,15 @@ html[dir='rtl'] .number_expanded, html[dir='rtl'] .number_collapsed { text-align: right; } -tr:not(.firstRow) > *:nth-child(1), -tr:not(.firstRow) > *:nth-child(4), +tr:not(.firstRow) > *:nth-child(1, +tr:not(.firstRow) > *:nth-child(2), tr.firstRow th:nth-child(1), tr.firstRow th:nth-child(2) { border-right: 1px solid #b5c6de; } html[dir='rtl'] tr:not(.firstRow) > *:nth-child(1), -html[dir='rtl'] tr:not(.firstRow) > *:nth-child(4), +html[dir='rtl'] tr:not(.firstRow) > *:nth-child(2), html[dir='rtl'] tr.firstRow th:nth-child(1), html[dir='rtl'] tr.firstRow th:nth-child(2) { border-right: auto; @@ -145,7 +155,6 @@ html[dir='rtl'] tr.firstRow th:nth-child(2) { } .name { - -webkit-padding-start: 25px; background-position: 5em center; background-repeat: no-repeat; } @@ -168,41 +177,56 @@ html[dir='rtl'] #details .name { } .globalButton { - float: right; + float: left; margin: 1px 5px; } html[dir='rtl'] .globalButton { - float: left; + float: right; }