From 6d38e590d751a880202759b74167cb949657cee8 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Thu, 9 Feb 2012 23:01:21 +0000 Subject: [uber settings] fix sync advanced ui a little bit 1. fix color of disabled checkboxes 2. use instead of (fixes clicking in between checkbox and text) BUG=none TEST=visual Review URL: https://chromiumcodereview.appspot.com/9370004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121326 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/resources/shared/css/checkbox.css | 6 +- chrome/browser/resources/sync_setup_overlay.css | 34 +---- chrome/browser/resources/sync_setup_overlay.html | 152 ++++++++++++----------- chrome/browser/resources/sync_setup_overlay.js | 148 ++++++++++------------ 4 files changed, 151 insertions(+), 189 deletions(-) diff --git a/chrome/browser/resources/shared/css/checkbox.css b/chrome/browser/resources/shared/css/checkbox.css index 19dcec0..096dcb2b 100644 --- a/chrome/browser/resources/shared/css/checkbox.css +++ b/chrome/browser/resources/shared/css/checkbox.css @@ -156,9 +156,9 @@ input[type=checkbox] ~ label { color: #444; } -label:hover > input[type=checkbox]:disabled ~ span, -label:hover > input[type=radio]:disabled ~ span, -input[type=checkbox]:disabled ~ label:hover { +label > input[type=checkbox]:disabled ~ span, +label > input[type=radio]:disabled ~ span, +input[type=checkbox]:disabled ~ label { color: #888; } diff --git a/chrome/browser/resources/sync_setup_overlay.css b/chrome/browser/resources/sync_setup_overlay.css index ae90d5d..46f2bd0 100644 --- a/chrome/browser/resources/sync_setup_overlay.css +++ b/chrome/browser/resources/sync_setup_overlay.css @@ -1,3 +1,7 @@ +/* Copyright (c) 2012 The Chromium Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. */ + /* TODO(jhawkins): Organize these by page. */ #sync-setup-overlay * h4 { @@ -47,11 +51,8 @@ } #choose-data-types-body { - margin: 10px 0; -} - -#choose-data-types-body > div { -webkit-column-count: 3; + margin: 10px 0; } #sync-setup-overlay { @@ -226,31 +227,6 @@ html[os='mac'] #sync-setup-configure { display: inline-block; } -.sync-item-show { - display: block; - white-space: nowrap; -} - -.sync-item-show > label { - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - display: inline-block; - width: 92%; -} - -.sync-item-hide { - display: none; -} - -.sync-label-inactive { - color: #9b9b9b; -} - -.sync-label-active { - color: #000; -} - .sync-data-types { margin-left: 5px; } diff --git a/chrome/browser/resources/sync_setup_overlay.html b/chrome/browser/resources/sync_setup_overlay.html index 16f66bd..6161ccf 100644 --- a/chrome/browser/resources/sync_setup_overlay.html +++ b/chrome/browser/resources/sync_setup_overlay.html @@ -204,66 +204,67 @@
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
@@ -278,15 +279,17 @@
- - +
- -
@@ -296,14 +299,17 @@
- - +
- -