147 lines
2.5 KiB
CSS
147 lines
2.5 KiB
CSS
%if 0
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
%endif
|
|
|
|
@import url("chrome://global/skin/in-content/common.css");
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
min-height: 100vh;
|
|
padding: 0 48px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
body.tour {
|
|
margin: 0;
|
|
padding: 0;
|
|
align-items: stretch;
|
|
}
|
|
|
|
body.normal .showPrivate,
|
|
body.private .showNormal,
|
|
body.tour #pageContainer,
|
|
body:not(.tour) .showTour,
|
|
body[tpEnabled] .showTpDisabled,
|
|
body:not([tpEnabled]) .showTpEnabled {
|
|
display: none !important;
|
|
}
|
|
|
|
#pageContainer {
|
|
min-width: 320px;
|
|
max-width: 512px;
|
|
}
|
|
|
|
.titleText {
|
|
background: url("chrome://browser/skin/mask.png") left 0 no-repeat;
|
|
background-size: 45px;
|
|
-moz-margin-start: -2em;
|
|
-moz-padding-start: 2em;
|
|
}
|
|
|
|
.titleText:-moz-dir(rtl) {
|
|
background-position: right 0;
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
.titleText {
|
|
background-image: url("chrome://browser/skin/mask@2x.png");
|
|
}
|
|
}
|
|
|
|
@media (max-width: 675px) {
|
|
.titleText {
|
|
padding-top: 0;
|
|
background-image: none;
|
|
-moz-margin-start: 0;
|
|
-moz-padding-start: 0;
|
|
}
|
|
}
|
|
|
|
a {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
#startPrivateBrowsing {
|
|
margin-top: 1.2em;
|
|
-moz-margin-start: 0;
|
|
}
|
|
|
|
/* TRACKING PROTECTION TOUR */
|
|
|
|
#tourTop,
|
|
#tourBottom,
|
|
#tourFooter {
|
|
text-align: center;
|
|
padding: 0 31px;
|
|
}
|
|
|
|
#tourTop,
|
|
#tourBottom {
|
|
flex: 1;
|
|
}
|
|
|
|
#tourTop {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
background-color: rgb(108,192,65);
|
|
color: white;
|
|
font-style: italic;
|
|
}
|
|
|
|
#tourTitle {
|
|
margin: 16px 0 0;
|
|
background: url("chrome://browser/skin/mask-and-shield.svg") top no-repeat;
|
|
background-size: 179px 88px;
|
|
padding-top: 114px;
|
|
font-size: 38px;
|
|
}
|
|
|
|
#tourSubtitle {
|
|
margin: 12px 0 32px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
#tourDescription,
|
|
#tourFooter {
|
|
margin: 16px auto;
|
|
max-width: 550px;
|
|
}
|
|
|
|
#startTour {
|
|
display: inline-block;
|
|
width: 255px;
|
|
border-radius: 2px;
|
|
background-color: var(--in-content-primary-button-background);
|
|
color: var(--in-content-selected-text);
|
|
padding: 2px 5px;
|
|
line-height: 36px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#startTour:hover {
|
|
background-color: var(--in-content-primary-button-background-hover);
|
|
}
|
|
|
|
#enableTrackingProtection {
|
|
height: 40px;
|
|
}
|
|
|
|
#tourFooter {
|
|
margin: 16px auto;
|
|
}
|
|
|
|
#tourFooter,
|
|
#tourLearnMore {
|
|
font-size: 12px;
|
|
}
|
|
|
|
#tourFooterText {
|
|
opacity: 0.6;
|
|
}
|