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

Unified Diff: chrome/browser/resources/ntp4/recently_closed.css

Issue 9325059: [Clean up] Fix style guide nits in chrome/browser/resources/ntp4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | « chrome/browser/resources/ntp4/new_tab_theme.css ('k') | chrome/browser/resources/ntp4/tile_page.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/recently_closed.css
diff --git a/chrome/browser/resources/ntp4/recently_closed.css b/chrome/browser/resources/ntp4/recently_closed.css
index ae9fe98e40d9f3d3a44f81ee3e28b33bb987b292..4ac036bcbdad3b2b68dc86a0932f9f2cfe687d30 100644
--- a/chrome/browser/resources/ntp4/recently_closed.css
+++ b/chrome/browser/resources/ntp4/recently_closed.css
@@ -13,19 +13,19 @@
color: #7F7F7F;
cursor: pointer;
display: block;
- margin: 0;
font-size: 9pt;
font-weight: bold;
height: 100%;
+ margin: 0;
/* The padding increases the clickable area. */
padding-bottom: 0;
padding-top: 0;
}
.enable-cws-experiment #recently-closed-menu-button {
- position: relative;
-webkit-margin-end: 0;
-webkit-padding-end: 16px;
+ position: relative;
}
#recently-closed-menu-button:hover:not([menu-shown]) {
@@ -51,8 +51,8 @@
}
#footer.showing-trash-mode #recently-closed-menu-button {
- opacity: 0;
-webkit-transition-delay: 0;
+ opacity: 0;
}
#recently-closed-menu-button > * {
@@ -66,6 +66,9 @@
}
.recent-menu-item {
+ -webkit-margin-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-start: 22px;
background: no-repeat 0 50%;
background-color: transparent !important;
background-size: 16px 16px;
@@ -78,9 +81,6 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
- -webkit-margin-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-start: 22px;
}
.recent-menu-item:not(:hover) {
@@ -111,12 +111,12 @@ html[dir='rtl'] .recent-menu-item {
}
.disclosure-triangle {
+ -webkit-margin-start: 2px;
+ -webkit-mask-image: url('images/disclosure_triangle_mask.png');
background-color: #7F7F7F;
display: inline-block;
height: 9px;
width: 9px;
- -webkit-margin-start: 2px;
- -webkit-mask-image: url('images/disclosure_triangle_mask.png');
}
#vertical-separator {
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab_theme.css ('k') | chrome/browser/resources/ntp4/tile_page.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698