mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 652306 - Move some parts of aboutDialog.css into branding. r=gavin
This commit is contained in:
parent
a6e786942e
commit
1ef24167d8
@ -2,52 +2,12 @@
|
||||
width: 620px;
|
||||
}
|
||||
|
||||
/* Official branding has Firefox logo on the left side of the window.
|
||||
Nightly/aurora branding has background image applied to entire window. */
|
||||
%ifdef MOZ_OFFICIAL_BRANDING
|
||||
#clientBox {
|
||||
background-color: #F7F7F7;
|
||||
color: #222222;
|
||||
}
|
||||
%else
|
||||
#aboutDialogContainer {
|
||||
background-image: url("chrome://branding/content/about-background.png");
|
||||
background-repeat: no-repeat;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.text-link {
|
||||
color: #fff !important;
|
||||
}
|
||||
%endif
|
||||
|
||||
%ifdef MOZ_OFFICIAL_BRANDING
|
||||
#leftBox {
|
||||
background-image: url("chrome://branding/content/about-logo.png");
|
||||
background-repeat: no-repeat;
|
||||
/* min-width and min-height create room for the logo */
|
||||
min-width: 210px;
|
||||
min-height: 210px;
|
||||
margin-top:20px;
|
||||
-moz-margin-start: 30px;
|
||||
}
|
||||
%endif
|
||||
|
||||
#rightBox {
|
||||
background-image: url("chrome://branding/content/about-wordmark.png");
|
||||
background-repeat: no-repeat;
|
||||
/* padding-top creates room for the wordmark */
|
||||
padding-top: 38px;
|
||||
margin-top:20px;
|
||||
%ifdef MOZ_OFFICIAL_BRANDING
|
||||
margin-left: 30px;
|
||||
margin-right: 30px;
|
||||
%else
|
||||
/* this margin prevents text from overlapping the planet image */
|
||||
margin-left: 280px;
|
||||
margin-right: 20px;
|
||||
%endif
|
||||
}
|
||||
|
||||
#rightBox:-moz-locale-dir(rtl) {
|
||||
@ -56,9 +16,6 @@
|
||||
|
||||
#bottomBox {
|
||||
padding: 15px 10px 0;
|
||||
%ifndef MOZ_OFFICIAL_BRANDING
|
||||
background-color: rgba(0,0,0,.7);
|
||||
%endif
|
||||
}
|
||||
|
||||
#version {
|
||||
@ -87,9 +44,6 @@
|
||||
}
|
||||
|
||||
#updateDeck > hbox > label:not([class="text-link"]) {
|
||||
%ifdef MOZ_OFFICIAL_BRANDING
|
||||
color: #909090;
|
||||
%endif
|
||||
font-style:italic;
|
||||
}
|
||||
|
||||
@ -113,17 +67,6 @@
|
||||
margin: 0 40px;
|
||||
}
|
||||
|
||||
/* we assume trademark text only appears in offical builds */
|
||||
%ifdef MOZ_OFFICIAL_BRANDING
|
||||
#trademark {
|
||||
font-size: xx-small;
|
||||
text-align: center;
|
||||
color: #999999;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
%endif
|
||||
|
||||
#currentChannel {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -41,6 +41,7 @@
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://browser/content/aboutDialog.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://branding/content/aboutDialog.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
||||
|
20
browser/branding/aurora/content/aboutDialog.css
Normal file
20
browser/branding/aurora/content/aboutDialog.css
Normal file
@ -0,0 +1,20 @@
|
||||
#aboutDialogContainer {
|
||||
background-image: url("chrome://branding/content/about-background.png");
|
||||
background-repeat: no-repeat;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.text-link {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
#rightBox {
|
||||
/* this margin prevents text from overlapping the planet image */
|
||||
margin-left: 280px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#bottomBox {
|
||||
background-color: rgba(0,0,0,.7);
|
||||
}
|
@ -8,3 +8,4 @@ browser.jar:
|
||||
content/branding/icon64.png (icon64.png)
|
||||
content/branding/icon128.png (../mozicon128.png)
|
||||
content/branding/icon16.png (../default16.png)
|
||||
content/branding/aboutDialog.css (aboutDialog.css)
|
||||
|
20
browser/branding/nightly/content/aboutDialog.css
Normal file
20
browser/branding/nightly/content/aboutDialog.css
Normal file
@ -0,0 +1,20 @@
|
||||
#aboutDialogContainer {
|
||||
background-image: url("chrome://branding/content/about-background.png");
|
||||
background-repeat: no-repeat;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.text-link {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
#rightBox {
|
||||
/* this margin prevents text from overlapping the planet image */
|
||||
margin-left: 280px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#bottomBox {
|
||||
background-color: rgba(0,0,0,.7);
|
||||
}
|
@ -8,3 +8,4 @@ browser.jar:
|
||||
content/branding/icon64.png (icon64.png)
|
||||
content/branding/icon128.png (../mozicon128.png)
|
||||
content/branding/icon16.png (../default16.png)
|
||||
content/branding/aboutDialog.css (aboutDialog.css)
|
||||
|
31
browser/branding/official/content/aboutDialog.css
Normal file
31
browser/branding/official/content/aboutDialog.css
Normal file
@ -0,0 +1,31 @@
|
||||
#clientBox {
|
||||
background-color: #F7F7F7;
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
#leftBox {
|
||||
background-image: url("chrome://branding/content/about-logo.png");
|
||||
background-repeat: no-repeat;
|
||||
/* min-width and min-height create room for the logo */
|
||||
min-width: 210px;
|
||||
min-height: 210px;
|
||||
margin-top:20px;
|
||||
-moz-margin-start: 30px;
|
||||
}
|
||||
|
||||
#rightBox {
|
||||
margin-left: 30px;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
#updateDeck > hbox > label:not([class="text-link"]) {
|
||||
color: #909090;
|
||||
}
|
||||
|
||||
#trademark {
|
||||
font-size: xx-small;
|
||||
text-align: center;
|
||||
color: #999999;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
@ -7,3 +7,4 @@ browser.jar:
|
||||
content/branding/icon64.png (icon64.png)
|
||||
content/branding/icon128.png (../mozicon128.png)
|
||||
content/branding/icon16.png (../default16.png)
|
||||
content/branding/aboutDialog.css (aboutDialog.css)
|
||||
|
20
browser/branding/unofficial/content/aboutDialog.css
Normal file
20
browser/branding/unofficial/content/aboutDialog.css
Normal file
@ -0,0 +1,20 @@
|
||||
#aboutDialogContainer {
|
||||
background-image: url("chrome://branding/content/about-background.png");
|
||||
background-repeat: no-repeat;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.text-link {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
#rightBox {
|
||||
/* this margin prevents text from overlapping the planet image */
|
||||
margin-left: 280px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#bottomBox {
|
||||
background-color: rgba(0,0,0,.7);
|
||||
}
|
@ -8,3 +8,4 @@ browser.jar:
|
||||
content/branding/icon64.png (icon64.png)
|
||||
content/branding/icon128.png (../mozicon128.png)
|
||||
content/branding/icon16.png (../default16.png)
|
||||
content/branding/aboutDialog.css (aboutDialog.css)
|
||||
|
Loading…
Reference in New Issue
Block a user