Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / devtools / front_end / ui / textButton.css
blobd4a718b8bedd6b7cf97c0f0f46fd464c4d2388f3
1 /*
2 * Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
7 :host {
8 background-image: linear-gradient(hsl(0, 0%, 93%), hsl(0, 0%, 93%) 38%, hsl(0, 0%, 87%));
9 border: 1px solid hsla(0, 0%, 0%, 0.25);
10 border-radius: 2px;
11 box-shadow: 0 1px 0 hsla(0, 0%, 0%, 0.08), inset 0 1px 2px hsla(0, 100%, 100%, 0.75);
12 color: hsl(0, 0%, 27%);
13 font-size: 12px;
14 margin: 0 1px 0 0;
15 text-shadow: 0 1px 0 hsl(0, 0%, 94%);
16 min-height: 2em !important;
17 padding-left: 10px;
18 padding-right: 10px;
19 -webkit-user-select: none;
20 flex: none;
23 :host-context(body.inactive),
24 :host(:disabled) {
25 background-image: linear-gradient(#f1f1f1, #f1f1f1 38%, #e6e6e6);
26 border-color: rgba(80, 80, 80, 0.2);
27 box-shadow: 0 1px 0 rgba(80, 80, 80, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75);
28 color: #aaa;
31 :host(:not(:disabled):hover) {
32 background-image: linear-gradient(hsl(0, 0%, 94%), hsl(0, 0%, 94%) 38%, hsl(0, 0%, 88%));
33 border-color: hsla(0, 0%, 0%, 0.3);
34 box-shadow: 0 1px 0 hsla(0, 0%, 0%, 0.12), inset 0 1px 2px hsla(0, 100%, 100%, 0.95);
35 color: hsl(0, 0%, 0%);
38 :host(:not(:disabled):active) {
39 background-image: linear-gradient(hsl(0, 0%, 91%), hsl(0, 0%, 91%) 38%, hsl(0, 0%, 84%));
40 box-shadow: none;
41 text-shadow: none;
44 :host(:not(:disabled):focus) {
45 -webkit-transition: border-color 200ms;
46 border-color: rgb(77, 144, 254);
47 outline: none;