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

Unified Diff: chrome/browser/resources/new_new_tab.css

Issue 3315005: NTP: Adds a context menu to the apps section... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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/dom_ui/ntp_resource_cache.cc ('k') | chrome/browser/resources/new_new_tab.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_new_tab.css
===================================================================
--- chrome/browser/resources/new_new_tab.css (revision 58563)
+++ chrome/browser/resources/new_new_tab.css (working copy)
@@ -129,7 +129,7 @@
background: no-repeat 0% 50%;
padding: 2px;
padding-left: 18px;
- background-size: 16px;
+ background-size: 16px 16px;
background-color: hsla(213, 63%, 93%, 0);
display: block;
line-height: 20px;
@@ -219,47 +219,6 @@
pointer-events: none;
}
-#option-menu {
- right: 0;
- left: auto;
- min-width: 175px;
- z-index: 3;
-}
-
-html[dir=rtl] #option-button,
-html[dir=rtl] #option-menu {
- right: auto;
- left: 0;
-}
-
-#option-menu > * {
- /* Work around rendering bug. */
- outline: 1px solid transparent;
-}
-
-#option-menu > [command=show]:before,
-#option-menu > [command=hide]:before {
- -webkit-margin-start: -14px;
- content: '\00a0'; /* non breaking space */
- display: inline-block;
- background-position: 0 50%;
- background-repeat: no-repeat;
- width: 14px;
-}
-
-html[dir=rtl] #option-menu > [command=show]:before,
-html[dir=rtl] #option-menu > [command=hide]:before {
- background-position-x: 100%;
-}
-
-#option-menu > [command=hide]:before {
- background-image: url('ntp/checkbox_black.png');
-}
-
-#option-menu > [selected][command=hide]:active:before {
- background-image: url('ntp/checkbox_white.png');
-}
-
#attribution {
position: fixed;
right: 5px;
@@ -367,17 +326,18 @@
}
.section > h2 .settings {
- position: absolute;
- left: 5px;
- top: 5px;
- width: 11px;
- height: 11px;
/* TODO(aa): Need a better image. This one is semi-transparent. Also, I think
a gear would be better. */
+ background-color: transparent;
background-image: url(chrome://theme/IDR_BALLOON_WRENCH);
background-position: center center;
background-repeat: no-repeat;
- background-size: 100%;
+ border: 0;
+ height: 11px;
+ left: 5px;
+ position: absolute;
+ top: 5px;
+ width: 11px;
}
.section.hidden > h2 .settings-wrapper {
« no previous file with comments | « chrome/browser/dom_ui/ntp_resource_cache.cc ('k') | chrome/browser/resources/new_new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698