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

Unified Diff: chrome/browser/resources/shared/css/menu.css

Issue 11962043: Move webui resources from chrome\browser\resources\shared to ui\webui\resources. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/shared/css/list.css ('k') | chrome/browser/resources/shared/css/menu_button.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/shared/css/menu.css
===================================================================
--- chrome/browser/resources/shared/css/menu.css (revision 177292)
+++ chrome/browser/resources/shared/css/menu.css (working copy)
@@ -1,93 +0,0 @@
-/* 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. */
-
-menu {
- -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .50);
- background: white;
- border-radius: 2px;
- color: black;
- cursor: default;
- left: 0;
- margin: 0;
- outline: 1px solid rgba(0, 0, 0, 0.2);
- padding: 8px 0;
- position: fixed;
- white-space: nowrap;
- z-index: 3;
-}
-
-menu:not(.decorated) {
- display: none;
-}
-
-menu > * {
- box-sizing: border-box;
- display: block;
- margin: 0;
- text-align: start;
- width: 100%;
-}
-
-menu > :not(hr) {
- -webkit-appearance: none;
- background: transparent;
- border: 0;
- font: inherit;
- line-height: 18px;
- overflow: hidden;
- padding: 0 19px;
- text-overflow: ellipsis;
-}
-
-menu > hr {
- background: -webkit-linear-gradient(left,
- rgba(0, 0, 0, .10),
- rgba(0, 0, 0, .02) 96%);
- border: 0;
- height: 1px;
- margin: 8px 0;
-}
-
-menu > [disabled] {
- color: rgba(0, 0, 0, .3);
-}
-
-menu > [hidden] {
- display: none;
-}
-
-menu > :not(hr)[selected] {
- background-color: rgba(0, 0, 0, .06);
-}
-
-menu > :not(hr)[selected]:active {
- background-color: rgba(0, 0, 0, .06);
-}
-
-menu > [checked]::before {
- content: url('../images/checkbox_black.png');
- display: inline-block;
- height: 9px;
- margin: 0 5px;
- vertical-align: 50%;
- width: 9px;
-}
-
-menu > [checked] {
- -webkit-padding-start: 0;
-}
-
-menu > [selected][checked]:active::before {
- content: url('../images/checkbox_white.png');
-}
-
-/* TODO(zvorygin) menu > [shortcutText]::after - this selector is much better,
- * but it's buggy in current webkit revision, so I have to use [showShortcuts].
- */
-menu[showShortcuts] > ::after {
- -webkit-padding-start: 30px;
- color: #999;
- content: attr(shortcutText);
- float: right;
-}
« no previous file with comments | « chrome/browser/resources/shared/css/list.css ('k') | chrome/browser/resources/shared/css/menu_button.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698