| Index: third_party/WebKit/Source/devtools/front_end/ui/textButton.css
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/textButton.css b/third_party/WebKit/Source/devtools/front_end/ui/textButton.css
|
| index be3ce16176c161d1d8071833c1fa338048731c88..5d7f099c5aff78b756aea7ab4f0b8c5472e6a4b1 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/textButton.css
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/textButton.css
|
| @@ -5,44 +5,64 @@
|
| */
|
|
|
| :host {
|
| - background-image: linear-gradient(hsl(0, 0%, 93%), hsl(0, 0%, 93%) 38%, hsl(0, 0%, 87%));
|
| - border: 1px solid hsla(0, 0%, 0%, 0.25);
|
| - border-radius: 2px;
|
| - box-shadow: 0 1px 0 hsla(0, 0%, 0%, 0.08), inset 0 1px 2px hsla(0, 100%, 100%, 0.75);
|
| - color: hsl(0, 0%, 27%);
|
| - font-size: 12px;
|
| - margin: 0 1px 0 0;
|
| - text-shadow: 0 1px 0 hsl(0, 0%, 94%);
|
| + margin: 2px;
|
| height: 24px;
|
| - padding-left: 10px;
|
| - padding-right: 10px;
|
| - -webkit-user-select: none;
|
| + font-size: 12px;
|
| + border: 1px solid rgba(0, 0, 0, 0.2);
|
| + border-radius: 2px;
|
| + padding: 3px 12px;
|
| + font-weight: 500;
|
| + color: #333;
|
| + background-color: #fff;
|
| flex: none;
|
| }
|
|
|
| -:host-context(body.inactive),
|
| +:host(:not(:disabled):focus),
|
| +:host(:not(:disabled):hover),
|
| +:host(:not(:disabled):active) {
|
| + background-color: #fafafa;
|
| + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
| + cursor: pointer;
|
| +}
|
| +
|
| +:host(:not(:disabled):active) {
|
| + background-color: #f2f2f2;
|
| +}
|
| +
|
| +:host(:not(:disabled):focus) {
|
| + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(66, 133, 244, 0.4);
|
| +}
|
| +
|
| :host(:disabled) {
|
| - background-image: linear-gradient(#f1f1f1, #f1f1f1 38%, #e6e6e6);
|
| - border-color: rgba(80, 80, 80, 0.2);
|
| - box-shadow: 0 1px 0 rgba(80, 80, 80, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75);
|
| - color: #aaa;
|
| + opacity: 0.38;
|
| }
|
|
|
| -:host(:not(:disabled):hover) {
|
| - background-image: linear-gradient(hsl(0, 0%, 94%), hsl(0, 0%, 94%) 38%, hsl(0, 0%, 88%));
|
| - border-color: hsla(0, 0%, 0%, 0.3);
|
| - box-shadow: 0 1px 0 hsla(0, 0%, 0%, 0.12), inset 0 1px 2px hsla(0, 100%, 100%, 0.95);
|
| - color: hsl(0, 0%, 0%);
|
| +:host(.primary-button), -theme-preserve {
|
| + background-color: #4285F4;
|
| + border: none;
|
| + color: #fff;
|
| }
|
|
|
| -:host(:not(:disabled):active) {
|
| - background-image: linear-gradient(hsl(0, 0%, 91%), hsl(0, 0%, 91%) 38%, hsl(0, 0%, 84%));
|
| - box-shadow: none;
|
| - text-shadow: none;
|
| +:host(.primary-button:not(:disabled):focus),
|
| +:host(.primary-button:not(:disabled):hover), -theme-preserve {
|
| + background-color: #3B78E7;
|
| }
|
|
|
| -:host(:not(:disabled):focus) {
|
| - -webkit-transition: border-color 200ms;
|
| - border-color: rgb(77, 144, 254);
|
| - outline: none;
|
| +:host(.primary-button:not(:disabled):active), -theme-preserve {
|
| + background-color: #3367D6;
|
| +}
|
| +
|
| +:host-context(.-theme-with-dark-background):host(:not(.primary-button):not(:disabled):focus),
|
| +:host-context(.-theme-with-dark-background):host(:not(.primary-button):not(:disabled):hover),
|
| +:host-context(.-theme-with-dark-background):host(:not(.primary-button):not(:disabled):active) {
|
| + background-color: #313131;
|
| + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
| +}
|
| +
|
| +:host-context(.-theme-with-dark-background):host(:not(.primary-button):not(:disabled):focus) {
|
| + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(94, 151, 246, 0.6);
|
| +}
|
| +
|
| +:host-context(.-theme-with-dark-background):host(:not(.primary-button):not(:disabled):active) {
|
| + background-color: #3e3e3e;
|
| }
|
|
|