Commit c7ce55e9 authored by dpapad's avatar dpapad Committed by Commit Bot

WebUI MD Refresh: Update button hover and pressed states up to spec.

Bug: 832173
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I5ddefc63684ad5fb5d2dff9e1da0a241404c0ac4
Reviewed-on: https://chromium-review.googlesource.com/1066736
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560138}
parent 9836bd66
...@@ -46,18 +46,32 @@ ...@@ -46,18 +46,32 @@
border-color: rgb(210, 227, 252); border-color: rgb(210, 227, 252);
} }
paper-button:not(.action-button):active {
/* google-grey-800 with opacity */
box-shadow:
0 1px 2px 0 rgba(60, 64, 67, 0.30),
0 3px 6px 2px rgba(60, 64, 67, 0.15);
}
paper-button.action-button:hover { paper-button.action-button:hover {
/* google-blue-600 with opacity. */ /* google-blue-600 with opacity. */
background-color: rgba(26,115,232, 0.9); background-color: rgba(26,115,232, 0.9);
/* google-blue-500 with opacity */
box-shadow: box-shadow:
0 1px 1px 0 rgba(66, 133, 244, 0.54), 0 1px 2px 0 var(--google-blue-500-opacity-30),
0 1px 3px 1px rgba(66, 133, 244, 0.30); 0 1px 3px 1px var(--google-blue-500-opacity-15);
}
paper-button.action-button:active {
box-shadow:
0 1px 2px 0 var(--google-blue-500-opacity-30),
0 3px 6px 2px var(--google-blue-500-opacity-15);
} }
paper-button.action-button { paper-button.action-button {
--paper-ripple-opacity: 0.32; --paper-ripple-opacity: 0.32;
--paper-button-ink-color: white; --paper-button-ink-color: white;
--google-blue-500-opacity-30: rgba(66, 133, 244, 0.3);
--google-blue-500-opacity-15: rgba(66, 133, 244, 0.15);
background-color: var(--text-or-bg-color); background-color: var(--text-or-bg-color);
border: none; border: none;
color: white; color: white;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment