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

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

Issue 10408074: remove chrome_shared.css once and for all (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/shared/css/chrome_shared.css
diff --git a/chrome/browser/resources/shared/css/chrome_shared.css b/chrome/browser/resources/shared/css/chrome_shared.css
deleted file mode 100644
index 428c78460b5e3c666e8615f5f175a94f9cf3d0c3..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/shared/css/chrome_shared.css
+++ /dev/null
@@ -1,202 +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. */
-
-/* Styles common to WebUI pages that share the options pages style */
-body {
- cursor: default;
- font-size: 13px;
-}
-
-a:link {
- color: rgb(63, 110, 194);
-}
-
-a:active {
- color: rgb(37, 64, 113);
-}
-
-#navbar-content-title {
- -webkit-padding-end: 24px;
- -webkit-user-select: none;
- color: #333;
- cursor: pointer;
- font-size: 200%;
- font-weight: normal;
- margin: 0;
- padding-bottom: 14px;
- padding-top: 13px;
- text-align: end;
- text-shadow: white 0 1px 2px;
-}
-
-#main-content {
- bottom: 0;
- display: -webkit-box;
- left: 0;
- position: absolute;
- right: 0;
- top: 0;
-}
-
-#navbar {
- margin: 0;
-}
-
-#navbar-container {
- -webkit-border-end: 1px solid rgb(198, 201, 206);
- background-color: #f1f1f1;
- bottom: 0;
- /* We set both left and right for the sake of RTL. */
- left: 0;
- position: fixed;
- right: 0;
- top: 0;
- width: 216px;
- z-index: 2;
-}
-
-html.hide-menu #navbar-container {
- display: none;
-}
-
-#navbar-container > ul {
- -webkit-user-select: none;
- list-style-type: none;
- margin: 0;
- padding: 0;
-}
-
-.navbar-item {
- -webkit-padding-end: 24px;
- -webkit-padding-start: 0;
- border-bottom: 1px solid transparent;
- border-top: 1px solid transparent;
- color: #333;
- cursor: pointer;
- display: block;
- font-size: 105%;
- outline: none;
- padding-bottom: 7px;
- padding-top: 7px;
- text-align: end;
- text-shadow: white 0 1px 1px;
-}
-
-.navbar-item:focus,
-.navbar-item-selected {
- border-bottom: 1px solid rgb(143, 170, 217);
- border-top: 1px solid rgb(143, 170, 217);
-}
-
-.navbar-item-selected {
- -webkit-box-shadow: 0 1px 0 #f7f7f7;
- background-color: rgb(187, 206, 233);
- color: black;
- text-shadow: rgb(187, 206, 233) 0 1px 1px;
-}
-
-#mainview {
- -webkit-box-align: stretch;
- -webkit-padding-start: 216px;
- bottom: 0;
- left: 0;
- margin: 0;
- position: absolute;
- right: 0;
- top: 0;
- z-index: 1;
-}
-
-html.hide-menu #mainview {
- -webkit-padding-start: 0;
-}
-
-#mainview-content {
- min-height: 100%;
- position: relative;
-}
-
-#page-container {
- box-sizing: border-box;
- max-width: 888px;
- min-width: 600px;
- padding: 0 24px;
-}
-
-div.disabled {
- color: #888;
-}
-
-/* TEXT */
-input[type='password'],
-input[type='text'],
-input[type='url'],
-input:not([type]) {
- -webkit-border-radius: 2px;
- border: 1px solid #aaa;
- box-sizing: border-box;
- font: inherit;
- height: 2em;
- padding: 4px;
-}
-
-input[type='text']:disabled {
- color: #888;
-}
-
-/* Elements that need to be LTR even in an RTL context, but should align
- * right. (Namely, URLs, search engine names, etc.)
- */
-html[dir='rtl'] .weakrtl {
- direction: ltr;
- text-align: right;
-}
-
-/* Input fields in search engine table need to be weak-rtl. Since those input
- * fields are generated for all cr.ListItem elements (and we only want weakrtl
- * on some), the class needs to be on the enclosing div.
- */
-html[dir='rtl'] div.weakrtl input {
- direction: ltr;
- text-align: right;
-}
-
-html[dir='rtl'] .favicon-cell.weakrtl {
- -webkit-padding-end: 22px;
- -webkit-padding-start: 0;
-}
-
-/* weakrtl for selection drop downs needs to account for the fact that
- * Webkit does not honor the text-align attribute for the select element.
- * (See Webkit bug #40216)
- */
-html[dir='rtl'] select.weakrtl {
- direction: rtl;
-}
-
-html[dir='rtl'] select.weakrtl option {
- direction: ltr;
-}
-
-/* WebKit does not honor alignment for text specified via placeholder attrib.
- * This CSS is a workaround. Please remove once WebKit bug is fixed.
- * https://bugs.webkit.org/show_bug.cgi?id=63367
- */
-html[dir='rtl'] input.weakrtl::-webkit-input-placeholder,
-html[dir='rtl'] .weakrtl input::-webkit-input-placeholder {
- direction: rtl;
-}
-
-.page h1 {
- -webkit-padding-end: 24px;
- -webkit-user-select: none;
- border-bottom: 1px solid #eee;
- color: #333;
- font-size: 200%;
- font-weight: normal;
- margin: 0;
- padding-bottom: 4px;
- padding-top: 13px;
- text-shadow: white 0 1px 2px;
-}
« no previous file with comments | « chrome/browser/resources/print_preview/print_preview.html ('k') | chrome/browser/resources/shared_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698