summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/bookmark_manager/css
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-11 03:20:56 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-11 03:20:56 +0000
commit3554ee417f54aa874716878a9af08d5db4dc7ce6 (patch)
tree34f8a48bdeec0d32d326eab29b05569fe8365195 /chrome/browser/resources/bookmark_manager/css
parentcd0dec6b9b78a34d7d632d898b18d98a5658ebaf (diff)
downloadchromium_src-3554ee417f54aa874716878a9af08d5db4dc7ce6.zip
chromium_src-3554ee417f54aa874716878a9af08d5db4dc7ce6.tar.gz
chromium_src-3554ee417f54aa874716878a9af08d5db4dc7ce6.tar.bz2
Bookmark Manager: Hook up edit and rename commands.
This adds support for rename/edit to the tree and list. BUG=4890 TEST=Right click and rename folders. Right click to edit bookmarks. Review URL: http://codereview.chromium.org/600025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/bookmark_manager/css')
-rw-r--r--chrome/browser/resources/bookmark_manager/css/tree.css20
1 files changed, 18 insertions, 2 deletions
diff --git a/chrome/browser/resources/bookmark_manager/css/tree.css b/chrome/browser/resources/bookmark_manager/css/tree.css
index 66bdaf3..292f76c 100644
--- a/chrome/browser/resources/bookmark_manager/css/tree.css
+++ b/chrome/browser/resources/bookmark_manager/css/tree.css
@@ -12,11 +12,9 @@ tree {
background-color: rgba(255,255,255,0);
-webkit-border-radius: 2px;
padding: 0px 3px;
- /*margin-bottom:-1px;*/
line-height: 20px;
white-space: nowrap;
cursor: default;
- /*-webkit-transition: all .12s;*/
position: relative;
}
@@ -141,3 +139,21 @@ html[dir='rtl'] .tree-label {
html[dir='rtl'] .tree-row[selected] > .tree-label {
background-image: url("../images/folder_open_rtl.png");
}
+
+.tree-item[editing] input {
+ /* Do not inherit the line-height */
+ font-family: inherit;
+ font-size: inherit;
+ font-weight: inherit;
+ border: 1px solid black;
+ color: black;
+ background: white;
+ margin: -2px -8px -2px -3px;
+ padding: 1px 7px 1px 1px;
+ outline: none;
+}
+
+html[dir=rtl] .tree-item[editing] input {
+ margin: -2px -3px -2px -8px;
+ padding: 1px 1px 1px 7px;
+}