1
0
Fork 0
fenix/app/src/main/assets/low_and_medium_risk_error_s...

143 lines
2.9 KiB
CSS

/* 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/. */
html,
body {
margin: 0;
padding: 0;
height: 100%;
--moz-vertical-spacing: 10px;
--moz-background-height: 32px;
}
body {
background-size: 64px var(--moz-background-height);
background-repeat: repeat-x;
background-color: #f9f9fb;
color: #15141A;
padding: 0 40px;
font-size: 14px;
-moz-text-size-adjust: none;
font-family: sans-serif;
}
ul {
/* Shove the list indicator so that its left aligned, but use outside so that text
* doesn't don't wrap the text around it */
padding: 0 1em;
margin: 0;
list-style-type: disc;
}
#errorShortDesc,
li:not(:last-of-type) {
/* Margins between the li and buttons below it won't be collapsed. Remove the bottom margin here. */
margin: var(--moz-vertical-spacing) 0;
}
h1 {
margin: 0;
padding: 0;
margin: var(--moz-vertical-spacing) 0;
color: #312a65;
font-family: sans-serif;
font-weight: bold;
font-size: 20px;
line-height: 24px;
}
p {
line-height: 20px;
margin: var(--moz-vertical-spacing) 0;
}
button {
display: block;
height: 36px;
width: 100%;
border-radius: 5px;
border-color: #312A65;
font-family: sans-serif;
background-color: #312A65;
color: #FFFFFF;
font-size: 14px;
font-weight: bold;
margin: var(--moz-vertical-spacing) auto;
text-aligned:center;
vertical-aligned:center;
}
hr {
height: 0;
border: 0;
border-top: 1px solid #D7D7DB;
}
.horizontalLine {
margin-left: -40px;
margin-right: -40px;
}
.buttonSecondary {
display: block;
width: 100%;
height: 36px;
border-radius: 5px;
border-color: #E0E0E6;
font-family: sans-serif;
font-weight: bold;
background-color: #E0E0E6;
color: #20123A;
text-aligned:center;
vertical-aligned:center;
margin: var(--moz-vertical-spacing) auto;
}
#errorPageContainer {
/* If the page is greater than 550px center the content.
* This number should be kept in sync with the media query for tablets below */
max-width: 550px;
margin: 0 auto;
min-height: 100%;
}
.hidden {
display: none;
}
/* On large width devices, apply specific styles here. Often triggered by landscape mode or tablets */
@media (min-width: 550px) {
button {
margin: var(--moz-vertical-spacing) auto;
min-width: 400px;
width: auto;
}
.buttonSecondary {
margin: var(--moz-vertical-spacing) auto;
min-width: 400px;
width: auto;
}
/* If the device is tall as well, add some padding to make content feel a bit more centered */
@media (min-height: 550px) {
#errorPageContainer {
padding-top: 64px;
min-height: calc(100% - 64px);
}
}
}
#badCertTechnicalInfo {
overflow: auto;
white-space: pre-line;
}
#advancedPanelButtonContainer {
display: flex;
justify-content: center;
}