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

Unified Diff: chrome/browser/resources/sync_internals/sync_node_browser.css

Issue 9794016: [webui] get rid of more html[os=] rules (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: presub Created 8 years, 9 months 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/sync_internals/sync_node_browser.css
diff --git a/chrome/browser/resources/sync_internals/sync_node_browser.css b/chrome/browser/resources/sync_internals/sync_node_browser.css
index 035e0da2a04fc0d8effb3a98f8021bcd5ab18481..202c9ee368271f2c676793491e33f436da95b142 100644
--- a/chrome/browser/resources/sync_internals/sync_node_browser.css
+++ b/chrome/browser/resources/sync_internals/sync_node_browser.css
@@ -1,8 +1,6 @@
-/*
-Copyright (c) 2011 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.
-*/
+/* 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. */
#sync-node-main {
display: -webkit-box;
@@ -12,38 +10,42 @@ found in the LICENSE file.
}
#sync-node-tree-container {
+ -webkit-padding-start: 10px;
+ box-sizing: border-box;
height: 100%;
- width: 200px;
/* min-width and max-width are used by the split pane. */
- min-width: 50px;
max-width: 50%;
+ min-width: 50px;
overflow: auto;
- box-sizing: border-box;
padding: 5px;
- -webkit-padding-start: 10px;
+ width: 200px;
}
#sync-node-tree {
+ display: inline-block;
min-width: 100%;
overflow: visible; /* let the container do the scrolling */
- display: inline-block;
}
/* TODO(akalin): Find a better icon to use for leaf nodes. */
#sync-node-tree .leaf .tree-label {
- background-image: url("../shared/images/star_small.png");
+ background-image: url('../shared/images/star_small.png');
}
#sync-node-splitter {
- width: 5px;
background-color: #ebeff9;
cursor: col-resize;
+ width: 5px;
+<if expr="is_win">
+ /* TODO(akalin): Make the BMM also use this style. */
+ cursor: e-resize;
+</if>
}
#sync-node-browser-container {
+ -webkit-box-flex: 1;
height: 100%;
overflow: auto;
- -webkit-box-flex: 1;
}
#node-browser {
@@ -54,12 +56,6 @@ found in the LICENSE file.
vertical-align: top;
}
-/* Platform annotations are set in sync_node_browser.js. */
-/* TODO(akalin): Make the BMM also use this style. */
-html[os=win] #sync-node-splitter {
- cursor: e-resize;
-}
-
#node-browser tr:nth-child(odd) {
background: #eff3ff;
}
« no previous file with comments | « chrome/browser/resources/shared_resources.grd ('k') | chrome/browser/resources/sync_internals/sync_search.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698