Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: chrome/browser/resources/input_window_dialog.css

Issue 8438037: Change 'Add Page' to show a simple input dialog with --use-more-webui. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/input_window_dialog.css
diff --git a/chrome/browser/resources/input_window_dialog.css b/chrome/browser/resources/input_window_dialog.css
index c7eadac80d2d3862253638f324ea0ee80bb36a8c..cf08c38d461154c8a023f449413b8b313e8e5fab 100644
--- a/chrome/browser/resources/input_window_dialog.css
+++ b/chrome/browser/resources/input_window_dialog.css
@@ -12,33 +12,35 @@ body {
}
.vbox {
+ -webkit-box-align: center;
+ -webkit-box-orient: vertical;
+ -webkit-box-pack: center;
+ display: -webkit-box;
height: 100%;
width: 100%;
}
-.input-area {
+.vbox > div {
-webkit-box-align: center;
+ -webkit-box-flex: 1;
-webkit-box-pack: center;
display: -webkit-box;
- height: 60%;
+ width: 80%;
}
-.buttons-area {
- display: table;
- float: right;
- height: 100%;
- margin-right: 8px;
- width: auto;
+.vbox > div.area-hidden {
+ display: none;
+}
+
+.vbox > div.buttons-area {
+ -webkit-box-pack: end;
}
.buttons-area > div {
- display: table-cell;
padding: 3px;
- vertical-align: top;
- width: 50%;
+ width: 30%;
}
button {
- white-space: nowrap;
width: 100%;
}
« no previous file with comments | « chrome/browser/bookmarks/bookmark_input_window_dialog_controller.cc ('k') | chrome/browser/resources/input_window_dialog.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698