diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 19:14:55 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 19:14:55 +0000 |
commit | 31a0bd42878ba2ec896f28e55ee7b5c0124525ff (patch) | |
tree | ac91527d719677b802177d180de6f1af4fa8ba7f /chrome | |
parent | 037896bd6c0f953d16b89ceba70d55d58b8b2a92 (diff) | |
download | chromium_src-31a0bd42878ba2ec896f28e55ee7b5c0124525ff.zip chromium_src-31a0bd42878ba2ec896f28e55ee7b5c0124525ff.tar.gz chromium_src-31a0bd42878ba2ec896f28e55ee7b5c0124525ff.tar.bz2 |
NTP: Add some spacing between the app icons.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/1707005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/resources/new_new_tab.css | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css index 451f03e..bceb33a 100644 --- a/chrome/browser/resources/new_new_tab.css +++ b/chrome/browser/resources/new_new_tab.css @@ -759,26 +759,25 @@ html[dir=rtl] #option-menu > [command=hide]:before { } #apps-section a { - display: inline-block; - text-decoration: none; - font-weight: bold; - color: black; - border-radius: 10px; + -webkit-box-sizing: border-box; + -webkit-transition: background-color .15s; background: rgba(255, 255, 255, 0) /* transparent white */ no-repeat center 5px; background-size: 98px 98px; + border-radius: 10px; + color: black; + display: inline-block; + font-weight: bold; + margin: 5px; + margin-right:5px; + overflow: hidden; padding: 5px; padding-top: 108px; /* 98 + 5 + 5 */ - - -webkit-transition: background-color .15s; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - width: 115px; /* 920 / 8 */ - -webkit-box-sizing: border-box; text-align: center; - - margin-right:5px; + text-decoration: none; + text-overflow: ellipsis; + white-space: nowrap; + width: 105px; /* 920 / 8 - margin * 2 */ } .section + :not(.hidden) { |