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/. */
12 grid-template-columns: 50% 50%;
13 grid-template-rows: 75px auto
60px;
30 justify-content: center
;
39 display: inline-block
;
46 #collection-expiry-date {
47 display: inline-block
;
48 background: linear-gradient
(to right
, purple
, pink
, orange
);
49 background-origin: border-box
;
53 vertical-align: bottom
;
56 #collection-expiry-date > span
{
57 display: inline-block
;
58 color: var
(--in-content-page-color
);
59 background: var
(--in-content-page-background
);
64 #use-fx-home-controls:not
([hidden
]) {
67 align-items: flex-end
;
68 justify-content: flex-end
;
72 #use-fx-home-controls:not
(.success
) > .success-prompt
,
73 #use-fx-home-controls.success
> .reset-prompt
{
77 #use-fx-home-controls > .success-prompt::before
{
78 display: inline-block
;
80 background: var
(--green-50
) url
('chrome://global/skin/icons/check.svg') center center no-repeat
;
81 -moz-context-properties: fill
;
86 vertical-align: middle
;
87 margin-inline-end: 0.5em;
97 #colorway-selector > input
[type
="radio"],
98 #colorway-selector > input
[type
="radio"]:checked
{
99 box-sizing: content-box
;
101 border: 2px solid transparent
;
104 --colorway-icon: none
;
106 background-color: unset
;
107 background-image: var
(--colorway-icon
);
108 background-origin: content-box
;
109 background-position: center
;
110 background-repeat: no-repeat
;
111 /* The icon may not be a perfect circle, so we render it bigger and clipped using background-clip and border-radius: */
112 background-clip: content-box
;
113 background-size: 105%;
117 #colorway-selector > input
[type
="radio"]:enabled:checked
,
118 #colorway-selector > input
[type
="radio"]:enabled:checked:hover
{
119 border-color: var
(--in-content-accent-color
);
122 /* override common-shared.css */
123 #colorway-selector > input
[type
="radio"]:is
(:enabled:hover
, :enabled:hover:active
, :checked
, :enabled:checked:hover
, :enabled:checked:hover:active
) {
124 background-color: unset
;
127 #colorway-customization-panel {
129 padding-inline: 24px;
134 margin-block: 0 37px;
138 #colorway-description {
140 margin-block: 0 24px;
143 /* Intensity Picker */
144 #colorway-intensities {
150 #colorway-intensities > legend
{
151 padding-inline-start: 0;
154 #colorway-intensity-radios {
156 justify-content: space-between
;
160 #colorway-intensity-radios > label
{
161 background-color: var
(--in-content-box-background-color
);
163 border: 1px solid var
(--in-content-box-border-color
);
164 color: var
(--in-content-text-color
);
172 margin-inline-start: 0;