| Index: chrome/browser/resources/shared/css/button.css
|
| diff --git a/chrome/browser/resources/shared/css/button.css b/chrome/browser/resources/shared/css/button.css
|
| deleted file mode 100644
|
| index 31fb09cf487f5cca8b62b87c123c49347c521a4a..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/resources/shared/css/button.css
|
| +++ /dev/null
|
| @@ -1,178 +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.
|
| - */
|
| -
|
| -/* Default state **************************************************************/
|
| -
|
| -button:not(.custom-appearance):not(.link-button),
|
| -input[type='button']:not(.custom-appearance):not(.link-button),
|
| -input[type='submit']:not(.custom-appearance):not(.link-button),
|
| -select {
|
| - -webkit-user-select: none;
|
| - border-radius: 2px;
|
| - border: 1px solid rgba(0, 0, 0, 0.25);
|
| - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08),
|
| - inset 0 1px 2px rgba(255, 255, 255, 0.75);
|
| - color: #444;
|
| - font: inherit;
|
| - height: 2em;
|
| - margin: 0 1px 0 0;
|
| - min-width: 4em;
|
| - text-shadow: 0 1px 0 rgb(240, 240, 240);
|
| -}
|
| -
|
| -button:not(.custom-appearance):not(.link-button),
|
| -input[type='button']:not(.custom-appearance):not(.link-button),
|
| -input[type='submit']:not(.custom-appearance):not(.link-button) {
|
| - -webkit-padding-end: 10px;
|
| - -webkit-padding-start: 10px;
|
| - background-image:
|
| - -webkit-gradient(linear, left top, left bottom,
|
| - color-stop(0, rgb(237, 237, 237)),
|
| - color-stop(0.38, rgb(237, 237, 237)),
|
| - color-stop(1, rgb(222, 222, 222)));
|
| -}
|
| -
|
| -select {
|
| - -webkit-appearance: none;
|
| - -webkit-padding-end: 20px;
|
| - -webkit-padding-start: 6px;
|
| - background-image: url('../images/select.png'),
|
| - -webkit-gradient(linear, left top, left bottom,
|
| - color-stop(0, rgb(237, 237, 237)),
|
| - color-stop(0.38, rgb(237, 237, 237)),
|
| - color-stop(1, rgb(222, 222, 222)));
|
| - background-position: right center;
|
| - background-repeat: no-repeat;
|
| - overflow: hidden;
|
| - text-align: left;
|
| - text-overflow: ellipsis;
|
| - white-space: nowrap;
|
| -}
|
| -
|
| -html[dir='rtl'] select {
|
| - background-position: center left;
|
| -}
|
| -
|
| -/* Hover **********************************************************************/
|
| -
|
| -button:not(.custom-appearance):not(.link-button):enabled:hover,
|
| -input[type='button']:not(.custom-appearance):not(.link-button):enabled:hover,
|
| -input[type='submit']:not(.custom-appearance):not(.link-button):enabled:hover {
|
| - background-image: -webkit-gradient(linear, left top, left bottom,
|
| - color-stop(0, rgb(240, 240, 240)),
|
| - color-stop(0.38, rgb(240, 240, 240)),
|
| - color-stop(1, rgb(224, 224, 224)));
|
| -}
|
| -
|
| -select:enabled:hover {
|
| - background-image: url('../images/select.png'),
|
| - -webkit-gradient(linear, left top, left bottom,
|
| - color-stop(0, rgb(237, 237, 237)),
|
| - color-stop(0.38, rgb(237, 237, 237)),
|
| - color-stop(1, rgb(222, 222, 222)));
|
| -}
|
| -
|
| -button:not(.custom-appearance):not(.link-button):enabled:hover,
|
| -input[type='button']:not(.custom-appearance):not(.link-button):enabled:hover,
|
| -input[type='submit']:not(.custom-appearance):not(.link-button):enabled:hover,
|
| -select:enabled:hover {
|
| - border-color: rgba(0, 0, 0, 0.3);
|
| - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12),
|
| - inset 0 1px 2px rgba(255, 255, 255, 0.95);
|
| - color: black;
|
| -}
|
| -
|
| -/* Active *********************************************************************/
|
| -
|
| -button:not(.custom-appearance):not(.link-button):enabled:active,
|
| -input[type='button']:not(.custom-appearance):not(.link-button):enabled:active,
|
| -input[type='submit']:not(.custom-appearance):not(.link-button):enabled:active {
|
| - background-image: -webkit-gradient(linear, left top, left bottom,
|
| - color-stop(0, rgb(231, 231, 231)),
|
| - color-stop(0.38, rgb(231, 231, 231)),
|
| - color-stop(1, rgb(215, 215, 215)));
|
| -}
|
| -
|
| -select:enabled:active {
|
| - background-image: url('../images/select.png'),
|
| - -webkit-gradient(linear, left top, left bottom,
|
| - color-stop(0, rgb(231, 231, 231)),
|
| - color-stop(0.38, rgb(231, 231, 231)),
|
| - color-stop(1, rgb(215, 215, 215)));
|
| -}
|
| -
|
| -button:not(.custom-appearance):not(.link-button):enabled:active,
|
| -input[type='button']:not(.custom-appearance):not(.link-button):enabled:active,
|
| -input[type='submit']:not(.custom-appearance):not(.link-button):enabled:active,
|
| -select:enabled:active {
|
| - box-shadow: none;
|
| - text-shadow: none;
|
| -}
|
| -
|
| -/* Disabled *******************************************************************/
|
| -
|
| -button:not(.custom-appearance):not(.link-button):disabled,
|
| -input[type='button']:not(.custom-appearance):not(.link-button):disabled,
|
| -input[type='submit']:not(.custom-appearance):not(.link-button):disabled,
|
| -select:disabled {
|
| - border-color: rgba(0, 0, 0, 0.2);
|
| - color: #999;
|
| -}
|
| -
|
| -select:disabled {
|
| - background-image: url('../images/disabled_select.png'),
|
| - -webkit-gradient(linear, left top, left bottom,
|
| - color-stop(0, rgb(237, 237, 237)),
|
| - color-stop(0.38, rgb(237, 237, 237)),
|
| - color-stop(1, rgb(222, 222, 222)));
|
| -}
|
| -
|
| -/* Focus **********************************************************************/
|
| -
|
| -button:not(.custom-appearance):not(.link-button):focus,
|
| -input[type='submit']:not(.custom-appearance):focus,
|
| -input[type='text']:not(.custom-appearance):focus,
|
| -select:focus {
|
| - -webkit-transition: border-color 200ms;
|
| - /* We use border color because it follows the border radius (unlike outline).
|
| - * This is particularly noticeable on mac. */
|
| - border-color: rgb(77, 144, 254);
|
| - outline: none;
|
| -}
|
| -
|
| -/* Search boxes use an outline because it follows the contours of the box. */
|
| -input[type='search']:not(.custom-appearance):focus {
|
| - outline-color: rgb(77, 144, 254);
|
| -}
|
| -
|
| -/* Link buttons ***************************************************************/
|
| -
|
| -.link-button {
|
| - -webkit-box-shadow: none;
|
| - background: transparent none;
|
| - border: none;
|
| - color: rgb(17, 85, 204);
|
| - cursor: pointer;
|
| - /* Input elements have -webkit-small-control which can override the body font.
|
| - * Resolve this by using 'inherit'. */
|
| - font: inherit;
|
| - margin: 0;
|
| - padding: 0 4px;
|
| -}
|
| -
|
| -.link-button:hover {
|
| - text-decoration: underline;
|
| -}
|
| -
|
| -.link-button:active {
|
| - color: rgb(5, 37, 119);
|
| - text-decoration: underline;
|
| -}
|
| -
|
| -.link-button[disabled] {
|
| - color: #888;
|
| - cursor: default;
|
| - text-decoration: none;
|
| -}
|
|
|