summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 01:25:35 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 01:25:35 +0000
commit451bbe386a9fc28d4ea7c43277fce65248edba20 (patch)
tree8e2f9e773c8247fb7c8d226c09288c71a98ecc0a /chrome
parent6fa12b900668e7764f834a631b23a53e03205692 (diff)
downloadchromium_src-451bbe386a9fc28d4ea7c43277fce65248edba20.zip
chromium_src-451bbe386a9fc28d4ea7c43277fce65248edba20.tar.gz
chromium_src-451bbe386a9fc28d4ea7c43277fce65248edba20.tar.bz2
Bookmark manager: Update layout of the header part.
Remove the search button, use input[type=search] and set a placeholder text. BUG=42214 TEST=Open bookmarks manager and do some searching Review URL: http://codereview.chromium.org/1737020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/resources/bookmark_manager/css/bmm.css11
-rw-r--r--chrome/browser/resources/bookmark_manager/images/bookmarks_section_32.pngbin0 -> 2106 bytes
-rw-r--r--chrome/browser/resources/bookmark_manager/main.html4
3 files changed, 7 insertions, 8 deletions
diff --git a/chrome/browser/resources/bookmark_manager/css/bmm.css b/chrome/browser/resources/bookmark_manager/css/bmm.css
index 5a491a3..ca3b986 100644
--- a/chrome/browser/resources/bookmark_manager/css/bmm.css
+++ b/chrome/browser/resources/bookmark_manager/css/bmm.css
@@ -136,7 +136,7 @@ html[os=mac] .tree-row[selected] > .tree-label {
.main {
position: absolute;
display: -webkit-box;
- top: 114px;
+ top: 79px;
left: 0;
right: 0;
bottom: 0;
@@ -185,9 +185,9 @@ html[os=mac] .splitter {
.logo {
-webkit-appearance: none;
border: 0;
- background: 50% 50% no-repeat url("../images/bookmarks_section.png");
- width: 67px;
- height: 67px;
+ background: 50% 50% no-repeat url("../images/bookmarks_section_32.png");
+ width: 32px;
+ height: 32px;
cursor: pointer;
margin: 10px;
float: left;
@@ -205,7 +205,7 @@ html[dir=rtl] #list {
.header form {
float: left;
- margin: 32px 2px;
+ margin: 14px 2px;
margin-bottom: 0;
}
@@ -272,4 +272,3 @@ html[dir=rtl] .summary button {
padding-right: 0;
padding-left: 11px;
}
-
diff --git a/chrome/browser/resources/bookmark_manager/images/bookmarks_section_32.png b/chrome/browser/resources/bookmark_manager/images/bookmarks_section_32.png
new file mode 100644
index 0000000..afde731
--- /dev/null
+++ b/chrome/browser/resources/bookmark_manager/images/bookmarks_section_32.png
Binary files differ
diff --git a/chrome/browser/resources/bookmark_manager/main.html b/chrome/browser/resources/bookmark_manager/main.html
index 5b91326..e3da891 100644
--- a/chrome/browser/resources/bookmark_manager/main.html
+++ b/chrome/browser/resources/bookmark_manager/main.html
@@ -63,8 +63,8 @@ if (cr.isMac)
<button onclick="resetSearch()" class="logo" tabindex=3></button>
<form onsubmit="setSearch(this.term.value); return false;"
class="form">
- <input type="text" id="term" tabindex=1 autofocus>
- <input type="submit" i18n-values=".value:search_button" tabindex=1>
+ <input type="search" id="term" tabindex=1 autofocus
+ i18n-values="placeholder:search_button">
</form>
</div>