Commit 5c8bd34b authored by John Lee's avatar John Lee Committed by Commit Bot

Navi: Align NTP background module's buttons with other modules' buttons

Bug: 938945
Change-Id: I6fb499405dcf511545cd5c71f93cb7d569b18cec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1506386Reviewed-by: default avatarHector Carmona <hcarmona@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#638408}
parent 8760a095
......@@ -88,20 +88,30 @@
}
.ntp-background-grid-button {
@apply --cr-card-elevation;
align-items: stretch;
background: var(--cr-card-background-color);
border: 0;
border: solid 1px var(--google-grey-refresh-300);
border-radius: 4px;
color: var(--cr-secondary-text-color);
cursor: pointer;
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
padding: 0;
text-align: start;
transition: border-color 400ms, box-shadow 500ms;
width: 100%;
}
#backgroundPreview.active + .content .ntp-background-grid-button {
border-color: var(--google-grey-refresh-700);
}
.ntp-background-grid-button:hover {
box-shadow: 0 3px 6px 2px rgba(0, 36, 100, .1);
}
/* Remove outline when button is focused using the mouse. */
.ntp-background-grid-button:focus:not(.keyboard-focused) {
outline: none;
......
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