Commit 40c92a47 authored by Tom Lukaszewicz's avatar Tom Lukaszewicz Committed by Josip Sokcevic

Tab Search: Minor CSS tweaks to align appearance to mocks

Updated CSS to better align with figma mocks. Aligned hover
color values to those used in the new-tab-page.

before:
  https://drive.google.com/file/d/14924TmDxdzhC6CepFJSn6BxT-hWc3OXc
after:
  https://drive.google.com/file/d/1S7j2xX_nlUXOuSQkN8Sl0kaq67mrdel9

Bug: 1099917
Change-Id: Ia369ea168740309c2dff12ad384ed8c0090d584d
Reviewed-on: https://chrome-internal-review.googlesource.com/c/chrome/browser/resources/tab_search/+/3197970Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: default avatarJohn Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819575}
parent a2e8a849
<style>
/* TODO(crbug.com/1110109): Add dark mode support. */
:host {
--horizontal-margin: 16px;
--horizontal-margin: 8px;
--vertical-margin: 12px;
align-items: center;
background-color: white;
......@@ -10,7 +10,7 @@
}
:host-context(.selected, :host:hover) {
background-color: var(--cr-focused-item-color);
background-color: rgba(var(--google-grey-900-rgb), 0.1);
}
:host-context(.selected, :host:hover) .button-container {
......@@ -36,6 +36,7 @@
.secondary-text {
overflow: hidden;
text-overflow: ellipsis;
user-select: none;
white-space: nowrap;
}
......
......@@ -7,7 +7,6 @@
<style>
html,
body {
height: 100%;
width: 320px;
}
......
......@@ -5,6 +5,7 @@
border-radius: 32px;
display: flex;
height: 28px;
margin: 8px;
padding: 0 8px;
user-select: 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