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 @import url("chrome://global/skin/in-content/info-pages.css");
8 --color-grey-lightest: #FFCF00;
11 --color-blue: #336699;
12 --color-blue-dark: #FFCF00;
13 --color-blue-darker: #6000CF;
19 --in-content-page-color: #FF9F00;
20 --in-content-text-color: #FF9F00;
21 --in-content-page-background: #000000;
29 color: var(--color-blue);
30 text-decoration: none;
34 color: var(--color-blue-dark);
35 text-decoration: underline;
39 color: var(--color-blue-darker);
43 color: var(--color-blue-darker);
46 .about-content-container {
52 margin-inline-start: var(--icon-margin);
53 padding-inline-start: 24px;
56 .section-main:last-child {
72 margin-inline-start: 1em;
76 .list-row > ul > li:dir(rtl) {
81 background-image: url("chrome://browser/skin/privatebrowsing/private-browsing.svg");
82 background-size: 64px;
83 background-position: left, center;
87 margin-inline-start: 0;
88 padding-inline-start: calc(var(--icon-margin) + 24px);
92 background-position: right, center;
101 background-image: url("chrome://browser/skin/privatebrowsing/tracking-protection.svg");
102 background-repeat: no-repeat;
103 background-size: 32px;
104 margin-inline-start: calc(var(--icon-margin) - 32px);
105 padding-inline-start: 56px;
108 .about-subheader:dir(rtl) {
109 background-position: right;
112 .about-subheader.tp-off {
113 background-image: url("chrome://browser/skin/privatebrowsing/tracking-protection-off.svg");
121 margin-inline-end: 12px;
125 color: var(--color-grey-lightest);
131 background-color: #C09070;
133 border: 0px solid #C09070;
134 border-radius: 3000px;
135 text-decoration: none;
136 display: inline-block;
140 background-color: #FFCF00;
144 background-color: #FF9F00;
148 * We want to hide the checkbox in lieu of the toggle-btn
149 * "slider toggle". We need to make the toggle keyboard
150 * focusable, however, which is not possible if it's
151 * display:none. We work around this by making the toggle
152 * invisible but still present in the display list, allowing
153 * it to receive keyboard events. When it is focused by keyboard,
154 * we use the -moz-focusring selector on the invisible checkbox
155 * to show a focus ring around the slider toggle.
160 pointer-events: none;
164 .toggle + .toggle-btn {
165 box-sizing: border-box;
170 background-color: var(--color-grey);
171 border: 0px var(--color-grey) solid;
175 .toggle + .toggle-btn::after,
176 .toggle + .toggle-btn::before {
184 .toggle + .toggle-btn::after {
186 /* box-shadow: 0 0 1px 1px hsla(0, 0%, 0%, .1),
187 0 1px 0 hsla(0, 0%, 0%, .2);*/
190 transition: left .2s ease;
193 .toggle + .toggle-btn::before {
197 background-size: 16px;
198 background-repeat: no-repeat;
199 background-color: transparent;
200 background-image: url("chrome://browser/skin/privatebrowsing/check.svg");
203 .toggle + .toggle-btn:dir(rtl)::after {
206 transition-property: right;
209 .toggle + .toggle-btn:dir(rtl)::before {
215 .toggle:checked + .toggle-btn {
217 border: 0px solid #008484;
220 .toggle:checked + .toggle-btn::after {
224 .toggle:checked + .toggle-btn:dir(rtl)::after {
228 .toggle:checked + .toggle-btn::before {
232 .toggle:-moz-focusring + .toggle-btn {
233 outline: 2px solid #A09090;
235 -moz-outline-radius: 2px;