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

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

Issue 7980012: [ChromeOS] Reland - Make WebUI login use only needed resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/resources/chromeos/login/version.html ('k') | chrome/browser/resources/login.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/common_oobe_login.css
diff --git a/chrome/browser/resources/common_oobe_login.css b/chrome/browser/resources/common_oobe_login.css
deleted file mode 100644
index ddfc72763a11d1b545f95d04f9bd71975136e2fd..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/common_oobe_login.css
+++ /dev/null
@@ -1,231 +0,0 @@
-/* Copyright (c) 2011 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.
- */
-
-/* TODO(fsamuel, nkostylev): RTL support for the OOBE and Login screens. */
-
-body {
- /* Don't highlight links when they're tapped. Safari has bugs here that
- show up as flicker when dragging in some situations */
- -webkit-tap-highlight-color: transparent;
- /* Don't allow selecting text - can occur when dragging */
- -webkit-user-select: none;
- background: -webkit-gradient(radial, center center, 0, center center, 400,
- from(#fefefe), to(#efefef));
- font-family: 'Droid Sans', Arial, sans-serif;
- font-size: 14px;
- padding: 10px;
-}
-
-#topshadow {
- -webkit-mask: -webkit-gradient(linear, left top, right top,
- from(rgba(0,0,0,0)),
- color-stop(0.5, black),
- to(rgba(0,0,0,0)));
- -webkit-mask-clip: padding-box;
- background: -webkit-gradient(linear, left top, left bottom,
- from(rgba(0,0,0,0.3)), to(rgba(0,0,0,0.0)));
- border: none;
- border-top: 1px solid rgba(0,0,0,0.5);
- height: 4px;
- opacity: 0.3;
-}
-
-#bottomshadow {
- -webkit-mask: -webkit-gradient(linear, left top, right top,
- from(rgba(0,0,0,0)),
- color-stop(0.5, black),
- to(rgba(0,0,0,0)));
- -webkit-mask-clip: padding-box;
- background: -webkit-gradient(linear, left bottom, left top,
- from(rgba(0,0,0,0.2)), to(rgba(0,0,0,0.0)));
- border: none;
- border-bottom: 1px solid rgba(0,0,0,0.5);
- height: 2px;
- opacity: 0.3;
-}
-
-input[type='text'],
-input[type='password'],
-select {
-/* TODO(nkostylev): Remove this after merging the login screen with the OOBE. */
- font-family: 'Open Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
-}
-
-input[type='text'],
-input[type='password'] {
- -webkit-border-radius: 3px;
- -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .1),
- 0 1px 0 white,
- 0 0 1px transparent,
- 0 0 1px transparent,
- 0 0 1px transparent;
- -webkit-margin-end: 7px;
- -webkit-margin-start: 2px;
- -webkit-transition: -webkit-box-shadow 100ms, background 100ms, border 500ms;
- border: 1px solid #a0a0a0;
- font-size: 13px;
- font-weight: 400;
- padding: 4px 6px;
-}
-
-input[type='text'].number,
-input[type='password'].number {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0;
-}
-
-html[dir='rtl'] input[type='text'].number,
-html[dir='rtl'] input[type='password'].number {
- border-bottom-left-radius: 0;
- border-top-left-radius: 0;
-}
-
-input[type='text']::-webkit-input-placeholder,
-input[type='password']::-webkit-input-placeholder,
-input[type='text']::-webkit-input-placeholder:focus,
-input[type='password']::-webkit-input-placeholder:focus{
- color: #a0a0a0;
-}
-
-input[type='text']:first-child,
-input[type='password']:first-child {
- -webkit-margin-start: 0;
-}
-
-input[type='text']:last-child,
-input[type='password']:last-child {
- -webkit-margin-end: 0;
-}
-
-input[type='text']:focus,
-input[type='text'].focus,
-input[type='password']:focus,
-input[type='password'].focus {
- -webkit-transition: -webkit-box-shadow 200ms, background 200ms, border 200ms;
- -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .15),
- 0 1px 0 transparent,
- 0 0 1px #c0c0c0,
- 0 0 1px #c0c0c0,
- 0 0 1px #c0c0c0;
- background: #f8f8f8;
- border-color: #4080fa;
- outline: none;
-}
-
-input[type='text'].small,
-input[type='password'].small {
- width: 2em;
-}
-
-input[type='text'].invalid:not(:focus),
-input[type='text'].invalid:not(:focus) {
- background: #fff0f0;
- color: #601414;
-}
-
-input.emailbox {
- margin-bottom: 20px;
-}
-
-input.editbox {
- height: 26px;
- padding: 8px 5px 0;
- width: 170px;
-}
-
-/* Forms: Buttons */
-
-button {
- -webkit-box-shadow: inset 0 1px 2px white,
- 0 1px 2px rgba(0, 0, 0, .2);
- -webkit-margin-end: 4px;
- -webkit-margin-start: 4px;
- -webkit-padding-end: 14px;
- -webkit-padding-start: 14px;
- -webkit-user-select: none;
- background: -webkit-linear-gradient(#fafafa, #dcdcdc);
- border: 1px solid #a0a0a0;
- border-radius: 3px;
- cursor: default;
- font-size: 13px;
- font-weight: 400;
- margin: 0;
- padding-bottom: 4px;
- padding-top: 4px;
- text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
-}
-
-button.default {
- -webkit-padding-end: 21px;
- -webkit-padding-start: 21px;
- border-color: #808080;
- border-width: 2px;
- font-weight: 600;
- padding-top: 7px;
- padding-bottom: 7px;
-}
-
-button.increment,
-button.decrement {
- -webkit-padding-end: 8px;
- -webkit-padding-start: 8px;
- font-weight: 600;
- width: 25px;
-}
-
-button.increment {
- -webkit-margin-start: -11px !important;
- border-radius: 0;
-}
-
-button.decrement {
- -webkit-margin-start: -8px;
- border-bottom-left-radius: 0;
- border-top-left-radius: 0;
-}
-
-button:disabled,
-button.disabled {
- opacity: 0.5;
-}
-
-button:not(:disabled):not(.disabled):hover,
-button.hover,
-.delete-button:hover {
- -webkit-box-shadow: inset 0 1px 2px white,
- 0 2px 4px rgba(0, 0, 0, .2);
- background: -webkit-linear-gradient(#fff, #e6e6e6);
- text-shadow: 0 1px 0 #fff;
-}
-
-button:not(:disabled):not(.disabled):active,
-button.active {
- -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
- background: -webkit-linear-gradient(#f0f0f0, #bebebe);
- border-color: #808080;
- padding-bottom: 3px;
- padding-top: 5px;
- position: relative;
- text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
- top: 1px;
-}
-
-.delete-button:active {
- -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
- background: -webkit-linear-gradient(#f0f0f0, #bebebe);
- border-color: #808080;
- text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
-}
-
-button.default:not(:disabled):not(.disabled):active,
-button.default.active {
- padding-bottom: 6px;
- padding-top: 8px;
-}
-
-button:first-child,
-input[type='text'] + button {
- -webkit-margin-start: 0;
-}
« no previous file with comments | « chrome/browser/resources/chromeos/login/version.html ('k') | chrome/browser/resources/login.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698