Skip to content

Commit

Permalink
add firefox theme
Browse files Browse the repository at this point in the history
  • Loading branch information
horst3180 committed Aug 19, 2015
1 parent c5fee00 commit 1d5f9f7
Show file tree
Hide file tree
Showing 810 changed files with 69,447 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.xpi
.sass-cache/
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Arc Firefox Theme

Offical [Arc](https://github.com/horst3180/Arc-theme) Firefox theme.

#####Arc Firefox

![alt tag](http://i.imgur.com/qHpAWT3.png)

#####Arc Darker Firefox

![alt tag](http://i.imgur.com/tjJf9T7.png)

#####Arc Dark Firefox

![alt tag](http://i.imgur.com/tv8C0Hs.png)


### Requirements
This theme is compatible with Firefox 40+.

**Note**: This theme is meant to be used in conjunction with the Arc GTK theme, don't use it with other GTK themes or it will look broken.

### Installation
Run `make-xpi.sh` script to create the xpi files

./make-xpi.sh

This will create three .xpi files. One for Arc, Arc-Darker and Arc-Dark.
Drag-and-drop these files into the Firefox window. Firefox will then prompt you to install the theme.
4 changes: 4 additions & 0 deletions arc-firefox-theme/chrome.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
skin browser arc-firefox-theme chrome/browser/
skin communicator arc-firefox-theme chrome/communicator/
skin global arc-firefox-theme chrome/global/
skin mozapps arc-firefox-theme chrome/mozapps/
Binary file added arc-firefox-theme/chrome/browser/Geolocation-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arc-firefox-theme/chrome/browser/Info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arc-firefox-theme/chrome/browser/Privacy-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arc-firefox-theme/chrome/browser/Push-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arc-firefox-theme/chrome/browser/Push-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arc-firefox-theme/chrome/browser/Secure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arc-firefox-theme/chrome/browser/Security-broken.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arc-firefox-theme/chrome/browser/Toolbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions arc-firefox-theme/chrome/browser/aboutCertError.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/* 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 {
background: -moz-Dialog;
}

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

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

h2 {
font-size: 130%;
}

#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;
padding: 3em;
-moz-padding-start: 30px;
background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field;
background-origin: content-box;
}

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

#errorTitle {
-moz-margin-start: 80px;
}

#errorLongContent {
-moz-margin-start: 80px;
}

.expander > button {
-moz-padding-start: 20px;
-moz-margin-start: -20px;
background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat;
border: none;
font: inherit;
color: inherit;
cursor: pointer;
}

.expander > button:-moz-dir(rtl) {
background-position: right center;
}

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

.expander[collapsed] > button:-moz-dir(rtl) {
background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed-rtl.png");
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 138 additions & 0 deletions arc-firefox-theme/chrome/browser/aboutNetError.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
/* 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/. */

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

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

ul, ol {
margin: 0;
padding: 0;
-moz-margin-start: 1em;
}

ul > li, ol > li {
margin-bottom: .5em;
}

ul {
list-style: disc;
}

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

#errorTitleText {
background: url("aboutNetError_info.svg") left 0 no-repeat;
background-size: 1.2em;
-moz-margin-start: -2em;
-moz-padding-start: 2em;
}

#errorTitleText:-moz-dir(rtl) {
background-position: right 0;
}

#errorTitleText[sslv3=true] {
background-image: url("aboutNetError_alert.svg");
}

#errorTryAgain {
margin-top: 1.2em;
min-width: 150px
}

#errorContainer {
display: none;
}

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

/* Pressing the retry button will cause the cursor to flicker from a pointer to
* not-allowed. Override the disabled cursor behaviour since we will never show
* the button disabled as the initial state. */
button:disabled {
cursor: pointer;
}

div#certificateErrorReporting {
display: none;
float: right;
/* Align with the "Try Again" button */
margin-top: 24px;
-moz-margin-end: 24px;
}

div#certificateErrorReporting a {
text-decoration: none;
}

div#certificateErrorReporting a:hover {
text-decoration: underline;
}

span.downArrow {
display: inline-block;
vertical-align: middle;
font-size: 0.6em;
-moz-margin-start: 0.5em;
transform: scaleY(0.7);
}

div#certificateErrorReportingPanel {
/* Hidden until the link is clicked */
display: none;
background-color: white;
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 12px 12px;
box-shadow: 0 0 4px #ddd;
font-size: 0.9em;
position: absolute;
width: 75%;
margin-top: 10px;
}

div#certificateErrorReportingPanel:-moz-dir(ltr) {
left: 34%;
}

div#certificateErrorReportingPanel:-moz-dir(rtl) {
right: 0;
}

#errorStatePanel {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-content: space-between;
align-items: flex-start;
}

span#hostname {
font-weight: bold;
}

#automaticallyReportInFuture {
cursor: pointer;
}
15 changes: 15 additions & 0 deletions arc-firefox-theme/chrome/browser/aboutNetError_alert.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions arc-firefox-theme/chrome/browser/aboutNetError_info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 69 additions & 0 deletions arc-firefox-theme/chrome/browser/aboutProviderDirectory.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
@import url("chrome://global/skin/in-content/common.css");

#errorPageContainer {
min-width: 50%;
}

#errorTitle {
background: url("aboutNetError_info.svg") left 0 no-repeat;
background-size: 2em;
-moz-padding-start: 3em;
}

#button-box {
text-align: center;
width: 75%;
margin: 0 auto;
}

button {
width: auto !important;
min-width: 150px;
}

@media all and (max-width: 300px) {
body {
padding: 0px 10px;
}
#errorPageContainer {
min-width: 100%;
}
#errorTitle {
background: none;
-moz-padding-start: 0 !important;
}
button {
width: auto !important;
min-width: auto !important;
}
}


body {
width: 310px;
margin: 1em auto;
}

#message-box {
margin-top: 2em;
background: url('chrome://global/skin/icons/information-24.png') no-repeat left 4px;
-moz-padding-start: 30px;
}

#activation-frame {
border: none;
margin: 0;
width: 310px;
height: 200px;
}
#activation > p {
width: 100%;
text-align: center;
margin: 0;
line-height: 2em;
}
.link {
text-decoration: none;
color: -moz-nativehyperlinktext;
cursor: pointer;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions arc-firefox-theme/chrome/browser/aboutSessionRestore.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

.title {
background-image: url("chrome://browser/skin/session-restore.svg");
}

treechildren::-moz-tree-image(icon),
treechildren::-moz-tree-image(noicon) {
padding-right: 2px;
margin: 0 2px;
width: 16px;
height: 16px;
}

treechildren::-moz-tree-image(noicon) {
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}
treechildren::-moz-tree-image(container, noicon) {
list-style-image: url("chrome://browser/skin/aboutSessionRestore-window-icon.png");
}

treechildren::-moz-tree-image(checked) {
list-style-image: url("chrome://global/skin/in-content/check.svg#check");
}
treechildren::-moz-tree-image(checked, selected) {
list-style-image: url("chrome://global/skin/in-content/check.svg#check-inverted");
}

treechildren::-moz-tree-image(partial) {
list-style-image: url("chrome://global/skin/in-content/check-partial.svg#check-partial");
}
treechildren::-moz-tree-image(partial, selected) {
list-style-image: url("chrome://global/skin/in-content/check-partial.svg#check-partial-inverted");
}
Loading

0 comments on commit 1d5f9f7

Please sign in to comment.