diff options
author | mtomasz@chromium.org <mtomasz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-13 10:37:12 +0000 |
---|---|---|
committer | mtomasz@chromium.org <mtomasz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-13 10:37:12 +0000 |
commit | 0edacebb1de3f758c2e9f051340137a3594ef581 (patch) | |
tree | 6845b09563217967864706be328750c4c4588fe7 | |
parent | c5dd58a83c7077f060db36f01bbc2e96631698cd (diff) | |
download | chromium_src-0edacebb1de3f758c2e9f051340137a3594ef581.zip chromium_src-0edacebb1de3f758c2e9f051340137a3594ef581.tar.gz chromium_src-0edacebb1de3f758c2e9f051340137a3594ef581.tar.bz2 |
Fix buttons spacing in Files.app's new UI.
This patch fixes spacing for the Files.app's new UI. Such spacing was missing in the popup dialog.
TBR=yoshiki@chromium.org
TEST=Go to Files.app, delete a file. There should be a space between buttons.
BUG=239844
Review URL: https://chromiumcodereview.appspot.com/15070005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199698 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/file_manager/css/combobutton.css | 4 | ||||
-rw-r--r-- | chrome/browser/resources/file_manager/css/common.css | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/chrome/browser/resources/file_manager/css/combobutton.css b/chrome/browser/resources/file_manager/css/combobutton.css index a1a5e8e..2651aad 100644 --- a/chrome/browser/resources/file_manager/css/combobutton.css +++ b/chrome/browser/resources/file_manager/css/combobutton.css @@ -7,10 +7,6 @@ display: -webkit-box; } -body[new-ui] .buttonbar button { - -webkit-margin-start: 10px; -} - .buttonbar .combobutton > .action { background-position: left center; background-repeat: no-repeat; diff --git a/chrome/browser/resources/file_manager/css/common.css b/chrome/browser/resources/file_manager/css/common.css index 262e682..4eba2d7 100644 --- a/chrome/browser/resources/file_manager/css/common.css +++ b/chrome/browser/resources/file_manager/css/common.css @@ -146,6 +146,10 @@ body:not([new-ui]) .buttonbar button.small { body:not([new-ui]) .buttonbar button { -webkit-border-radius: 2px; -webkit-box-shadow: none; + -webkit-margin-after: 0; + -webkit-margin-begin: 0; + -webkit-margin-end: 0; + -webkit-margin-start: 8px; -webkit-transition: all 218ms; -webkit-user-select: none; background-color: whiteSmoke; @@ -157,7 +161,6 @@ body:not([new-ui]) .buttonbar button { font-size: 13px; height: 27px; line-height: 27px; - margin: 0 0 0 8px; min-width: 54px; padding: 0 8px; position: relative; @@ -434,6 +437,10 @@ body[new-ui] select { z-index: 1; } +body[new-ui] .buttonbar button { + -webkit-margin-start: 8px; +} + body:not([new-ui]) button:hover, body:not([new-ui]) input[type='button']:hover, body:not([new-ui]) input[type='submit']:hover, @@ -681,6 +688,7 @@ body[new-ui] .cr-dialog-buttons { } body[new-ui] .cr-dialog-buttons button { + -webkit-margin-start: 8px; line-height: 1.8; } |