Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updates from upstream
  • Loading branch information
3marcusw committed Apr 26, 2016
2 parents 848d099 + 9e78484 commit 24a1a46
Show file tree
Hide file tree
Showing 49 changed files with 2,141 additions and 446 deletions.
5 changes: 4 additions & 1 deletion chrome.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@ override chrome://devtools/skin/markup.css chrome://devtools/skin/markup-
override chrome://devtools/skin/rules.css chrome://devtools/skin/ruleview.css

## For Firefox 47.0a1
override chrome://devtools/floating-scrollbars-responsive-design.css chrome://devtools/floating-scrollbars.css
override chrome://devtools/skin/floating-scrollbars-responsive-design.css chrome://devtools/skin/floating-scrollbars.css

## Temporary Fix for Firefox 48.0
override chrome://browser/skin/aboutNetError.css chrome://browser/skin/aboutNetError48.css appversion>=48.0a1
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<em:type>4</em:type>
<em:name>Simple White Compact</em:name>
<em:description>Paint your Firefox white. Make it look simpler, nicer, compact.</em:description>
<em:version>2.2b18.C1.12</em:version>
<em:version>2.2b18.C1.16</em:version>
<em:creator>Louis Chan (updated by Graciliano, 3marcusw)</em:creator>
<em:contributor>3marcusw</em:contributor>
<em:contributor>Graciliano</em:contributor>
Expand Down
4 changes: 2 additions & 2 deletions whitefox/browser/Toolbar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 112 additions & 11 deletions whitefox/browser/aboutCertError.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,55 @@
* 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/. */

@import url("chrome://global/skin/in-content/common.css");

html {
/*@supports (-moz-window-shadow:none) { /* Firefox < 44 */
@supports (orphans:3) { /* Firefox < 44 */

REMOVED-html {
background: -moz-Dialog;
}

body {
margin: 0;
padding: 0 1em;
color: -moz-FieldText;
font: message-box;
NO-color: -moz-FieldText;
NO-font: message-box;
}

h1 {
REMOVED-h1 {
margin: 0 0 .6em 0;
border-bottom: 1px solid ThreeDLightShadow;
font-size: 160%;
}

h2 {
font-size: 130%;

font-size: 1.3rem;
font-weight: bold;
line-height: 22px;
}

#errorPageContainer {
position: relative;
min-width: 13em;
max-width: 52em;
margin: 4em auto;
border: 1px solid #FFBD09; /* pale yellow extracted from yellow passport icon */
border-radius: 10px;
margin: 4em auto 0;
/* border: 1px solid #FFBD09; /* pale yellow extracted from yellow passport icon *%/
border-radius: 10px; */
padding: 3em;
padding: 3em 3em 1.5em;
-moz-padding-start: 30px;
background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field;
background: url("chrome://browser/skin/cert-error.svg") left 2px no-repeat;
background-origin: content-box;
}

#errorPageContainer:-moz-dir(rtl) {
background-position: right 0;
background-position: right 2px;
}

#errorTitle {
Expand All @@ -53,6 +65,7 @@ h2 {
-moz-padding-start: 20px;
-moz-margin-start: -20px;
background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat;
background: url("chrome://browser/skin/aboutCertError_section.svg#expanded") left center no-repeat;
border: none;
font: inherit;
color: inherit;
Expand All @@ -65,21 +78,89 @@ h2 {

.expander[collapsed] > button {
background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed.png");
background-image: url("chrome://browser/skin/aboutCertError_section.svg#collapsed");
}

.expander[collapsed] > button:-moz-dir(rtl) {
background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed-rtl.png");
background-image: url("chrome://browser/skin/aboutCertError_section.svg#collapsed-RTL");
}

#getMeOutOfHereButton {
background-color: var(--in-content-primary-button-background);
border: none;
color: var(--in-content-selected-text);
min-width: 250px;
margin-inline-start: 0;
}

#getMeOutOfHereButton:hover {
background-color: var(--in-content-primary-button-background-hover) !important;
}

#getMeOutOfHereButton:hover:active {
background-color: var(--in-content-primary-button-background-active) !important;
}

} /* Firefox < 44 */





/*@supports (not (-moz-window-shadow:none)) { /* Firefox >= 44 */
@supports (not (orphans:3)) { /* Firefox >= 44 */


body {
display: flex;
box-sizing: border-box;
min-height: 100vh;
padding: 0 48px;
align-items: center;
justify-content: center;
}

#errorPageContainer {
position: relative;
min-width: 320px;
max-width: 512px;
}

#errorTitle {
background: url("chrome://browser/skin/cert-error.svg") left 0 no-repeat;
background: url("chrome://browser/skin/cert-error.svg") left 2px no-repeat;
background-size: 3em;
margin-inline-start: -5em;
padding-inline-start: 5em;
}

#errorTitle:-moz-dir(rtl) {
background-position: right 0;
background-position: right 2px;
}

#errorTitleText {
border-bottom: 1px solid #C1C1C1;
padding-bottom: 0.4em;
}

@media (max-width: 675px) {
#errorTitle {
padding-top: 0;
background-image: none;
margin-inline-start: 0;
padding-inline-start: 0;
}
}

#buttonContainer {
display: flex;
flex-flow: row wrap;
justify-content: flex-end;
}

#buttonSpacer {
flex: 0;
flex: 1;
}

#certificateErrorDebugInformation {
Expand All @@ -104,9 +185,19 @@ h2 {
}

#returnButton {
min-width: 150px;
background-color: var(--in-content-primary-button-background);
border: none;
color: var(--in-content-selected-text);
min-width: 250px;
margin-inline-start: 0;
margin-inline-end: 1ex;
}

#returnButton:hover {
background-color: var(--in-content-primary-button-background-hover) !important;
}

#returnButton:hover:active {
background-color: var(--in-content-primary-button-background-active) !important;
}

#advancedButton {
Expand All @@ -115,8 +206,9 @@ h2 {

/* Advanced section is hidden via inline styles until the link is clicked */
#advancedPanel {
border: 1px lightgray solid;
background-color: white;
color: var(--in-content-text-color);
border: 1px lightgray solid;
/* Don't use top padding because the default p style has top padding, and it
* makes the overall div look uneven */
padding: 0 12px 10px;
Expand All @@ -128,3 +220,12 @@ h2 {
.hostname {
font-weight: bold;
}

#reportCertificateErrorRetry,
#certificateErrorReporting,
#reportSendingMessage,
#reportSentMessage {
display: none;
}

}
38 changes: 38 additions & 0 deletions whitefox/browser/aboutCertError_section.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 24a1a46

Please sign in to comment.