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

Unified Diff: chrome/browser/resources/bookmark_manager/css/bmm.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
« no previous file with comments | « no previous file | chrome/browser/resources/cloud_print/cloud_print_setup_done.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/bookmark_manager/css/bmm.css
diff --git a/chrome/browser/resources/bookmark_manager/css/bmm.css b/chrome/browser/resources/bookmark_manager/css/bmm.css
index 890c3e13ea9ad8f502174e49405fdd965332d456..e7f105007fbc4d33c5fdcaa049b27b6facf498ae 100644
--- a/chrome/browser/resources/bookmark_manager/css/bmm.css
+++ b/chrome/browser/resources/bookmark_manager/css/bmm.css
@@ -132,20 +132,21 @@ list [editing] .url input {
}
.tree-item [editing] input {
- margin: 0;
- padding: 0;
-webkit-margin-start: -3px;
-webkit-padding-end: 7px;
-}
-
-html[os=mac] .tree-label [editing] input {
+ margin: 0;
+ padding: 0;
+<if expr="is_macosx">
padding-top: 1px;
+</if>
}
-html:not([os=mac]) list .label input,
-html:not([os=mac]) list .url input {
+<if expr="is_macosx">
+list .label input,
+list .url input {
outline: none;
}
+</if>
list > [editing] {
overflow: visible;
@@ -168,18 +169,14 @@ html[dir=rtl] list > .folder > .label {
background-image: url("../../../../../ui/resources/folder_closed_rtl.png");
}
-html[os=mac] list > .folder > .label {
- background-image: url("../../../../app/theme/bookmark_bar_folder_mac.png");
-}
-
-html[os=mac] .tree-label,
-html[os=mac] .tree-row[may-have-children] > .tree-label {
- background-image: url("../../../../app/theme/bookmark_bar_folder_mac.png");
-}
-
-html[os=mac] .tree-item[expanded] > .tree-row > .tree-label {
+<if expr="is_macosx">
+list > .folder > .label,
+.tree-label,
+.tree-row[may-have-children] > .tree-label,
+.tree-item[expanded] > .tree-row > .tree-label {
background-image: url("../../../../app/theme/bookmark_bar_folder_mac.png");
}
+</if>
.main {
position: absolute;
@@ -221,10 +218,9 @@ html[os=mac] .tree-item[expanded] > .tree-row > .tree-label {
width: 5px;
background-color: #ebeff9;
cursor: e-resize;
-}
-
-html[os=mac] .splitter {
+<if expr="is_macosx">
cursor: col-resize;
+</if>
}
.logo {
« no previous file with comments | « no previous file | chrome/browser/resources/cloud_print/cloud_print_setup_done.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698