1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
11 -webkit-box-orient: vertical;
14 text-decoration: none;
21 .suggestions .close-button {
22 -webkit-transition: opacity 150ms;
30 html[dir=rtl] .suggestions .close-button {
35 .suggestions:hover .close-button {
36 -webkit-transition-delay: 500ms;
40 .suggestions .close-button:hover {
41 -webkit-transition: none;
44 .suggestions .favicon {
45 -webkit-margin-start: 5px;
46 background: no-repeat left 50%;
48 box-sizing: border-box;
55 html[dir='rtl'] .suggestions .favicon {
56 background-position-x: right;
59 .suggestions .color-stripe {
60 border-bottom-left-radius: 3px 3px;
61 border-bottom-right-radius: 3px 3px;
62 /* Matches height of title plus height of score. */
75 text-overflow: ellipsis;
86 .suggestions:focus .thumbnail,
87 .suggestions:hover .thumbnail {
91 .suggestions:focus .thumbnail-shield,
92 .suggestions:hover .thumbnail-shield,
93 .suggestions:active .thumbnail-shield {
94 background: -webkit-linear-gradient(rgba(255, 255, 255, 0),
95 rgba(255, 255, 255, 0) 80%,
96 rgba(255, 255, 255, 0.9));
99 /* The thumbnail gets lighter when clicked, but not when the click is on the
101 .suggestions:active .close-button:not(:active) + .thumbnail {
105 /* The thumbnail gets a shadow when clicked, but not when the click is on the
107 .suggestions:active .close-button:not(:active) + .thumbnail .thumbnail-shield {
108 -webkit-box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.2);