summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 20:18:19 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 20:18:19 +0000
commitb3c7373383bc4e6740b8948140fe80b3f6b6bf40 (patch)
tree76195a9b5cf37d7af2581e20cec47fef0ece9a3a /chrome
parent6a3d763fc616dcc0775d5eebf75b9de892e24546 (diff)
downloadchromium_src-b3c7373383bc4e6740b8948140fe80b3f6b6bf40.zip
chromium_src-b3c7373383bc4e6740b8948140fe80b3f6b6bf40.tar.gz
chromium_src-b3c7373383bc4e6740b8948140fe80b3f6b6bf40.tar.bz2
Minor CSS cleanup.
Moving generic flex box CSS rules to a more shared location. BUG=87378 TEST=None, everything should look and work the same. Review URL: http://codereview.chromium.org/7739030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99798 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/resources/options/extension_list.js1
-rw-r--r--chrome/browser/resources/options/extension_settings.css15
-rw-r--r--chrome/browser/resources/options/options_page.css14
3 files changed, 16 insertions, 14 deletions
diff --git a/chrome/browser/resources/options/extension_list.js b/chrome/browser/resources/options/extension_list.js
index 3314a32..62bae1d 100644
--- a/chrome/browser/resources/options/extension_list.js
+++ b/chrome/browser/resources/options/extension_list.js
@@ -166,6 +166,7 @@ cr.define('options', function() {
var vbox = this.ownerDocument.createElement('div');
vbox.classList.add('vbox');
vbox.classList.add('stretch');
+ vbox.classList.add('details-view');
hbox.appendChild(vbox);
div = this.ownerDocument.createElement('div');
diff --git a/chrome/browser/resources/options/extension_settings.css b/chrome/browser/resources/options/extension_settings.css
index 00d916b..76a7b0b 100644
--- a/chrome/browser/resources/options/extension_settings.css
+++ b/chrome/browser/resources/options/extension_settings.css
@@ -4,21 +4,8 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
*/
-/* TODO(finnur): Move these into a central location, either options_page.css or
- somewhere in the shared directory */
-.hbox {
- display: -webkit-box;
- -webkit-box-orient: horizontal;
-}
-
-.vbox {
- display: -webkit-box;
- -webkit-box-orient: vertical;
-}
-
-.stretch {
+.details-view {
padding-right: 10px;
- -webkit-box-flex: 1;
}
.extension-list-item {
diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css
index 4d61c00..1a9c213 100644
--- a/chrome/browser/resources/options/options_page.css
+++ b/chrome/browser/resources/options/options_page.css
@@ -1,3 +1,17 @@
+.hbox {
+ display: -webkit-box;
+ -webkit-box-orient: horizontal;
+}
+
+.vbox {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+}
+
+.stretch {
+ -webkit-box-flex: 1;
+}
+
.frozen,
.subpage-sheet-container.frozen {
position: fixed;