1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 .fxview-tab-row-favicon-wrapper {
10 .fxview-tab-row-favicon::after
,
11 .fxview-tab-row-button::after
,
12 &.pinned
.fxview-tab-row-pinned-media-button
{
15 background-size: 12px;
16 background-position: center
;
17 background-repeat: no-repeat
;
21 -moz-context-properties: fill
, stroke
;
23 stroke: var
(--fxview-background-color-secondary
);
26 &:is
(.pinnedOnNewTab
, .bookmark
):not
(.attention
) .fxview-tab-row-favicon::after
{
27 inset-block-start: 9px;
28 inset-inline-end: -6px;
31 &.pinnedOnNewTab
.fxview-tab-row-favicon::after
,
32 &.pinnedOnNewTab
.fxview-tab-row-button::after
{
33 background-image: url
("chrome://browser/skin/pin-12.svg");
36 &.bookmark
.fxview-tab-row-favicon::after
,
37 &.bookmark
.fxview-tab-row-button::after
{
38 background-image: url
("chrome://browser/skin/bookmark-12.svg");
39 fill: var
(--fxview-primary-action-background
);
42 &.attention
.fxview-tab-row-favicon::after
,
43 &.attention
.fxview-tab-row-button::after
{
44 background-image: radial-gradient
(circle
, var
(--attention-dot-color
), var
(--attention-dot-color
) 2px, transparent
2px);
47 inset-block-start: 20px;
50 &.pinned
.fxview-tab-row-pinned-media-button
{
51 inset-block-start: -5px;
52 inset-inline-end: 1px;
53 border: var
(--button-border
);
55 background-color: var
(--fxview-background-color-secondary
);
62 background-image: url
("chrome://global/skin/media/audio-muted.svg");
65 &[soundplaying
="true"] {
66 background-image: url
("chrome://global/skin/media/audio.svg");
71 background-color: var
(--button-background-color-active
);
76 .fxview-tab-row-container-indicator {
79 background-image: var
(--identity-icon
);
80 background-size: cover
;
81 -moz-context-properties: fill
;
82 fill: var
(--identity-icon-color
);
85 .fxview-tab-row-main {
87 padding: var
(--space-small
);
93 button
.fxview-tab-row-main:hover
{
94 & .fxview-tab-row-favicon-wrapper
.fxview-tab-row-favicon::after
{
95 stroke: var
(--fxview-indicator-stroke-color-hover
);
99 @media (prefers-contrast
) {
100 button
.fxview-tab-row-main
{
101 border: 1px solid ButtonText
;
105 button
.fxview-tab-row-main:enabled:hover
{
106 border: 1px solid SelectedItem
;
110 button
.fxview-tab-row-main:enabled:active
{
114 button
.fxview-tab-row-main:enabled
,
115 button
.fxview-tab-row-main:enabled:hover
,
116 button
.fxview-tab-row-main:enabled:active
{
117 background-color: ButtonFace
;