Merge remote-tracking branch 'origin/master' into custom

This commit is contained in:
Roy Tam 2020-04-11 10:43:22 +08:00
commit 8d7d46f06c
1186 changed files with 3894 additions and 2057 deletions

View file

@ -52,7 +52,7 @@ $(TIERS) binaries:: CLOBBER $(configure_dir)/configure config.status $(BUILD_BAC
# try and make this not have to happen, we actually want dist/bin to be
# completely removed regardless.
default alldep all::
$(RM) -r $(DIST)/bin
@$(RM) -r $(DIST)/bin
ifndef JS_STANDALONE
ifdef COMPILE_ENVIRONMENT
$(TIERS) binaries:: $(topsrcdir)/js/src/configure js/src/config.status

View file

@ -330,6 +330,10 @@ pref("browser.identity.display_punycode", 1);
// Address bar RSS icon control, show by default
pref("browser.urlbar.rss", true);
// If changed to true, copying the entire URL from the location bar will put
// the human readable (percent-decoded) URL on the clipboard.
pref("browser.urlbar.decodeURLsOnCopy", false);
pref("browser.altClickSave", true);
// Enable logging downloads operations to the Error Console.

View file

@ -321,7 +321,7 @@ panel[noactions] > richlistbox > richlistitem[type~="action"] > .ac-url-box > .a
}
#identity-box.verifiedIdentity > #identity-icon-labels > #identity-icon-label {
-moz-margin-end: 0.25em !important;
margin-inline-end: 0.25em !important;
}
#wrapper-search-container > #search-container > #searchbar > .searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input {

View file

@ -521,19 +521,17 @@
uri = uriFixup.createExposableURI(uri);
} catch (ex) {}
// If the entire URL is selected, just use the actual loaded URI.
if (inputVal == selectedVal) {
// ... but only if isn't a javascript: or data: URI, since those
// are hard to read when encoded
if (!uri.schemeIs("javascript") && !uri.schemeIs("data")) {
selectedVal = uri.spec;
}
return selectedVal;
// If the entire URL is selected, just use the actual loaded URI,
// unless we want a decoded URI, or it's a data: or javascript: URI,
// since those are hard to read when encoded.
if (inputVal == selectedVal &&
!uri.schemeIs("javascript") && !uri.schemeIs("data") &&
!Services.prefs.getBoolPref("browser.urlbar.decodeURLsOnCopy")) {
return uri.spec;
}
// Just the beginning of the URL is selected, check for a trimmed
// value
// Just the beginning of the URL is selected, or we want a decoded
// url. First check for a trimmed value.
let spec = uri.spec;
let trimmedSpec = this.trimValue(spec);
if (spec != trimmedSpec) {

View file

@ -18,7 +18,7 @@
// This will result in an "only with Firefox" message which suits us fine, because it's the truth.
pref("@GUAO_PREF@.addons.mozilla.org","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @PM_SLICE@");
// Required for domains that have proven unresponsive to requests from users
// Required for domains that are unresponsive to requests from users (or likely to be)
pref("@GUAO_PREF@.live.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Pale Moon)");
pref("@GUAO_PREF@.msn.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Pale Moon)");
pref("@GUAO_PREF@.bing.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Pale Moon)");
@ -33,6 +33,7 @@ pref("@GUAO_PREF@.yahoo.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefo
pref("@GUAO_PREF@.youtube.com","Mozilla/5.0 (%OS_SLICE% rv:60.0) @GK_SLICE@ Firefox/60.0 @PM_SLICE@");
pref("@GUAO_PREF@.gaming.youtube.com","Mozilla/5.0 (%OS_SLICE% rv:42.0) @GK_SLICE@ Firefox/42.0");
pref("@GUAO_PREF@.dropbox.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 (Pale Moon)");
pref("@GUAO_PREF@.patientaccess.com","Mozilla/5.0 (%OS_SLICE% rv:60.0) @GK_SLICE@ Firefox/60.0 @PM_SLICE@");
pref("@GUAO_PREF@.players.brightcove.net","Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko");

View file

@ -63,7 +63,7 @@ a {
display: -moz-box;
-moz-box-align: center;
padding-top: 2px;
-moz-padding-end: 8px;
padding-inline-end: 8px;
}
#searchLogoContainer[hidden] {
@ -99,12 +99,12 @@ a {
}
#searchSubmit {
-moz-margin-start: -1px;
margin-inline-start: -1px;
background: linear-gradient(hsla(0,0%,100%,.8), hsla(0,0%,100%,.1)) padding-box;
padding: 0 9px;
border: 1px solid;
border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.17) hsla(210,54%,20%,.2);
-moz-border-start: 1px solid transparent;
border-inline-start: 1px solid transparent;
border-radius: 0 2.5px 2.5px 0;
box-shadow: 0 0 2px hsla(0,0%,100%,.5) inset,
0 1px 0 hsla(0,0%,100%,.2);
@ -279,7 +279,7 @@ body[narrow] #restorePreviousSession {
display: inline-block; /* display on same line as text label */
vertical-align: middle;
margin-bottom: 0;
-moz-margin-end: 8px;
margin-inline-end: 8px;
}
#restorePreviousSession:-moz-dir(rtl)::before {

View file

@ -33,7 +33,7 @@ h2 {
border-radius: 10px;
box-shadow: 0px 0px 8px red;
padding: 3em;
-moz-padding-start: 30px;
padding-inline-start: 30px;
background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field;
background-origin: content-box;
}
@ -43,16 +43,16 @@ h2 {
}
#errorTitle {
-moz-margin-start: 80px;
margin-inline-start: 80px;
}
#errorLongContent {
-moz-margin-start: 80px;
margin-inline-start: 80px;
}
.expander > button {
-moz-padding-start: 20px;
-moz-margin-start: -20px;
padding-inline-start: 20px;
margin-inline-start: -20px;
background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat;
border: none;
font: inherit;

View file

@ -21,7 +21,7 @@ body.normal > #errorPageContainer {
}
#startPrivateBrowsingDesc > button {
-moz-margin-start: 0;
margin-inline-start: 0;
}
#footerDesc > p {
@ -30,7 +30,7 @@ body.normal > #errorPageContainer {
#moreInfo {
font-size: 110%; /* to match the value set in chrome://global/skin/netError.css */
-moz-padding-start: 25px;
padding-inline-start: 25px;
background: url("moz-icon://stock/gtk-dialog-info?size=menu") no-repeat top left;
}

View file

@ -82,9 +82,9 @@ treechildren::-moz-tree-row(alternate, selected) {
}
#buttons {
-moz-margin-start: 80px; /* same as #errorLongContent in netError.css */
margin-inline-start: 80px; /* same as #errorLongContent in netError.css */
}
#buttons > button {
margin-top: 2em;
-moz-margin-start: 5px;
margin-inline-start: 5px;
}

View file

@ -22,18 +22,18 @@
margin-top: 4px;
width: 45em;
height: 32px;
-moz-margin-start: 2em;
-moz-margin-end: 2em;
margin-inline-start: 2em;
margin-inline-end: 2em;
}
#tabsListHeading {
font-size: 140%;
font-weight: bold;
-moz-margin-start: 40px;
margin-inline-start: 40px;
}
richlistitem {
-moz-margin-end: 2em;
margin-inline-end: 2em;
}
richlistitem[selected="true"],
@ -46,7 +46,7 @@ richlistitem[type="tab"] {
border: #999999 1px solid !important;
padding: 2px 5px;
margin-bottom: 4px;
-moz-margin-start: 4em;
margin-inline-start: 4em;
border-radius: 6px;
background-color: menu;
width: 44em;
@ -64,7 +64,7 @@ richlistitem[type="tab"][selected="true"] {
richlistitem[type="client"] {
min-height: 2em;
color: #000000;
-moz-margin-start: 2em;
margin-inline-start: 2em;
margin-top: 2px;
margin-bottom: 3px;
width: 42em;
@ -96,6 +96,6 @@ richlistitem.desktop[type="client"] {
}
.tabIcon {
-moz-padding-start: 2px;
padding-inline-start: 2px;
padding-top: 2px;
}

View file

@ -83,7 +83,7 @@ panel[type="private-autocomplete-richlistbox"],
}
.private-autocomplete-treebody::-moz-tree-cell-text {
-moz-padding-start: 8px;
padding-inline-start: 8px;
}
treechildren.private-autocomplete-treebody::-moz-tree-row(selected) {
@ -143,15 +143,15 @@ treechildren.private-autocomplete-treebody::-moz-tree-cell-text(selected) {
width: 16px;
height: 16px;
margin-bottom: -2px;
-moz-margin-start: 3px;
-moz-margin-end: 6px;
margin-inline-start: 3px;
margin-inline-end: 6px;
}
.ac-type-icon {
width: 16px;
height: 16px;
-moz-margin-start: 6px;
-moz-margin-end: 4px;
margin-inline-start: 6px;
margin-inline-end: 4px;
}
.ac-extra > .ac-result-type-tag {

View file

@ -92,8 +92,8 @@ toolbarbutton.bookmark-item:hover:active,
toolbarbutton.bookmark-item[open="true"] {
padding-top: 3px;
padding-bottom: 1px;
-moz-padding-start: 4px;
-moz-padding-end: 2px;
padding-inline-start: 4px;
padding-inline-end: 2px;
}
.bookmark-item > .toolbarbutton-icon {
@ -137,7 +137,7 @@ menuitem.bookmark-item {
}
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
-moz-padding-start: 0px;
padding-inline-start: 0px;
}
/* Bookmark drag and drop styles */
@ -157,7 +157,7 @@ menuitem.bookmark-item {
.menupopup-drop-indicator {
list-style-image: none;
height: 2px;
-moz-margin-end: -4em;
margin-inline-end: -4em;
background-color: Highlight;
}
@ -559,7 +559,7 @@ menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) {
}
.toolbarbutton-1 > .toolbarbutton-icon {
-moz-margin-end: 0;
margin-inline-end: 0;
}
toolbar[mode="full"] .toolbarbutton-1:not([type="menu-button"]),
@ -897,7 +897,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
/* Fullscreen window controls */
#window-controls {
-moz-box-align: start;
-moz-margin-start: 10px;
margin-inline-start: 10px;
}
#minimize-button {
@ -923,7 +923,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
}
.urlbar-input-box {
-moz-margin-start: 0;
margin-inline-start: 0;
min-width: 4em;
}
@ -948,25 +948,25 @@ toolbar[iconsize="small"] #webrtc-status-button {
#urlbar-search-splitter {
-moz-appearance: none;
width: 8px;
-moz-margin-start: -4px;
margin-inline-start: -4px;
}
#urlbar-search-splitter + #urlbar-container > #urlbar ,
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
-moz-margin-start: 0;
margin-inline-start: 0;
}
#urlbar-display-box {
margin-top: -1px;
margin-bottom: -1px;
-moz-border-end: 1px solid #AAA;
-moz-margin-end: 3px;
border-inline-end: 1px solid #AAA;
margin-inline-end: 3px;
}
#urlbar-display {
margin-top: 0;
margin-bottom: 0;
-moz-margin-start: 0;
margin-inline-start: 0;
color: GrayText;
}
@ -976,8 +976,8 @@ toolbar[iconsize="small"] #webrtc-status-button {
height: 16px;
margin-top: 2px;
margin-bottom: 2px;
-moz-margin-start: 4px;
-moz-margin-end: 3px;
margin-inline-start: 4px;
margin-inline-end: 3px;
list-style-image: url(chrome://browser/skin/identity-icons-generic.png);
-moz-image-region: rect(0, 16px, 16px, 0);
}
@ -1013,7 +1013,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
#identity-box {
padding: 1px;
margin: -1px;
-moz-margin-end: 0;
margin-inline-end: 0;
font-size: .9em;
}
@ -1033,13 +1033,13 @@ toolbar[iconsize="small"] #webrtc-status-button {
}
#identity-icon-labels {
-moz-padding-start: 2px;
-moz-padding-end: 5px;
padding-inline-start: 2px;
padding-inline-end: 5px;
}
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
color: rgb(95,127,67);
-moz-margin-end: 4px;
margin-inline-end: 4px;
background-image: linear-gradient(rgba(226,246,208,1),
rgba(203,235,177,1));
background-position: right;
@ -1048,7 +1048,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain {
color: rgb(51,87,137);
-moz-margin-end: 4px;
margin-inline-end: 4px;
background-image: linear-gradient(rgba(220,231,245,1),
rgba(207,221,242,1));
background-position: right;
@ -1109,13 +1109,13 @@ toolbar[iconsize="small"] #webrtc-status-button {
/* Identity popup body text */
.identity-popup-description {
white-space: pre-wrap;
-moz-padding-start: 15px;
padding-inline-start: 15px;
margin: 2px 0 4px;
}
.identity-popup-label {
white-space: pre-wrap;
-moz-padding-start: 15px;
padding-inline-start: 15px;
margin: 0;
}
@ -1141,7 +1141,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
margin-top: 10px;
-moz-margin-start: -18px;
margin-inline-start: -18px;
}
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
@ -1162,7 +1162,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
.popup-notification-icon {
width: 64px;
height: 64px;
-moz-margin-end: 10px;
margin-inline-end: 10px;
}
.popup-notification-icon[popupid="geolocation"] {
@ -1200,8 +1200,8 @@ toolbar[iconsize="small"] #webrtc-status-button {
.popup-progress-label,
.popup-progress-meter {
-moz-margin-start: 0;
-moz-margin-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
}
.popup-progress-cancel {
@ -1210,7 +1210,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
border: none;
padding: 0;
margin: 0;
-moz-margin-start: 5px;
margin-inline-start: 5px;
min-height: 0;
min-width: 0;
list-style-image: url("moz-icon://stock/gtk-cancel?size=menu");
@ -1252,13 +1252,13 @@ toolbar[iconsize="small"] #webrtc-status-button {
border-width: 0 8px 0 0;
border-style: solid;
border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
-moz-margin-end: -8px;
margin-inline-end: -8px;
margin-top: -1px;
margin-bottom: -1px;
}
#notification-popup-box:not([hidden]) + #identity-box {
-moz-padding-start: 10px;
padding-inline-start: 10px;
border-radius: 0;
}
@ -1710,7 +1710,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
.tab-icon-image {
width: 16px;
height: 16px;
-moz-margin-end: 3px;
margin-inline-end: 3px;
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}
@ -1725,8 +1725,8 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
.tab-throbber[pinned],
.tab-icon-image[pinned],
.tabs-newtab-button > .toolbarbutton-icon {
-moz-margin-start: 2px;
-moz-margin-end: 2px;
margin-inline-start: 2px;
margin-inline-end: 2px;
}
#context_reloadTab {
@ -1766,12 +1766,12 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
padding: 0;
margin-top: -1px;
margin-bottom: -1px;
-moz-margin-end: -1px;
margin-inline-end: -1px;
}
/* Tab sound indicator */
.tab-icon-sound {
-moz-margin-start: 4px;
margin-inline-start: 4px;
width: 16px;
height: 16px;
padding: 0;
@ -1876,13 +1876,13 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
}
.tabbrowser-arrowscrollbox > .scrollbutton-up {
-moz-border-start: 0;
-moz-border-end: 2px solid transparent;
border-inline-start: 0;
border-inline-end: 2px solid transparent;
}
.tabbrowser-arrowscrollbox > .scrollbutton-down {
-moz-border-start: 2px solid transparent;
-moz-border-end: 0;
border-inline-start: 2px solid transparent;
border-inline-end: 0;
transition: 1s box-shadow ease-out;
border-radius: 4px;
}
@ -1952,7 +1952,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
#sidebar-throbber[loading="true"] {
list-style-image: url("chrome://global/skin/icons/loading_16.png");
-moz-margin-end: 4px;
margin-inline-end: 4px;
}
toolbarbutton.chevron {
@ -2040,8 +2040,8 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
}
#allTabs-filter {
-moz-margin-start: 36px;
-moz-margin-end: 0;
margin-inline-start: 36px;
margin-inline-end: 0;
}
.allTabs-preview-label {
@ -2051,7 +2051,7 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
/* Application button menu */
.splitmenu-menuitem {
-moz-margin-end: 1px;
margin-inline-end: 1px;
}
#appmenu-toolbar-button:not(:hover):not([open]):not(:-moz-lwtheme) {
@ -2064,7 +2064,7 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
margin-bottom: -2px !important;
}
#appmenuSecondaryPane {
-moz-border-start: 1px solid ThreeDShadow;
border-inline-start: 1px solid ThreeDShadow;
}
#appmenuSecondaryPane-spacer {
min-height: 1em;
@ -2184,7 +2184,7 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
text-shadow: none;
background-image: linear-gradient(#B4211B, #8A1915);
border-radius: 1px;
-moz-margin-end: 2px;
margin-inline-end: 2px;
}
%endif

View file

@ -14,7 +14,7 @@
}
.downloadTypeIcon {
-moz-margin-end: 8px;
margin-inline-end: 8px;
/* Prevent flickering when changing states. */
min-height: 32px;
min-width: 32px;

View file

@ -51,7 +51,7 @@
#downloadsSummary,
richlistitem[type="download"] {
height: 6em;
-moz-padding-end: 0;
padding-inline-end: 0;
color: inherit;
}
@ -96,7 +96,7 @@ richlistitem[type="download"]:last-child {
}
.downloadTypeIcon {
-moz-margin-end: 8px;
margin-inline-end: 8px;
/* Prevent flickering when changing states. */
min-height: 32px;
min-width: 32px;
@ -358,7 +358,7 @@ toolbar[brighttext] #downloads-indicator-counter {
background-image: linear-gradient(#505050, #575757);
border: 1px solid;
border-color: hsla(0,0%,0%,.6) hsla(0,0%,0%,.4) hsla(0,0%,0%,.4);
-moz-border-start: none;
border-inline-start: none;
border-radius: 0 2px 2px 0;
}

View file

@ -5,8 +5,8 @@
%endif
#engineList treechildren::-moz-tree-image(engineName) {
-moz-margin-end: 4px;
-moz-margin-start: 1px;
margin-inline-end: 4px;
margin-inline-start: 1px;
width: 16px;
height: 16px;
}

View file

@ -7,17 +7,17 @@
}
.handlersMenuPopup > menuitem {
-moz-padding-start: 23px;
padding-inline-start: 23px;
}
.handlersMenuPopup > menuitem.menuitem-iconic {
-moz-padding-start: 2px;
padding-inline-start: 2px;
}
.handlersMenuPopup > .menuitem-iconic > .menu-iconic-left {
display: -moz-box;
min-width: 16px;
-moz-padding-end: 2px;
padding-inline-end: 2px;
}
.chooseApplicationMenuItem {

View file

@ -10,7 +10,7 @@ html {
#feedBody {
border: 1px solid THreeDShadow;
padding: 3em;
-moz-padding-start: 30px;
padding-inline-start: 30px;
margin: 2em auto;
background: -moz-Field;
}
@ -25,9 +25,9 @@ html {
#feedHeader {
margin-top: 4.9em;
margin-bottom: 1em;
-moz-margin-start: 1.4em;
-moz-margin-end: 1em;
-moz-padding-start: 2.9em;
margin-inline-start: 1.4em;
margin-inline-end: 1em;
padding-inline-start: 2.9em;
font-size: 110%;
color: InfoText;
}
@ -54,12 +54,12 @@ html {
#feedHeader[firstrun="true"] #feedIntroText {
padding-top: 0.1em;
-moz-padding-start: 0.6em;
padding-inline-start: 0.6em;
display: block;
}
#feedHeader[firstrun="true"] > #feedSubscribeLine {
-moz-padding-start: 1.8em;
padding-inline-start: 1.8em;
}
#feedSubscribeLine {
@ -99,8 +99,8 @@ h2 {
#feedTitleLink {
float: right;
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-inline-start: .6em;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
}
@ -110,15 +110,15 @@ a[href] img {
}
#feedTitleContainer {
-moz-margin-start: 0;
-moz-margin-end: .6em;
margin-inline-start: 0;
margin-inline-end: .6em;
margin-top: 0;
margin-bottom: 0;
}
#feedTitleImage {
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-inline-start: .6em;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
max-width: 300px;

View file

@ -75,7 +75,7 @@ textbox {
}
textbox.header {
-moz-margin-start: 0;
margin-inline-start: 0;
}
.iframe {
@ -94,7 +94,7 @@ textbox[disabled] {
/* General Tab */
#generalPanel > #titletext {
-moz-margin-start: 5px;
margin-inline-start: 5px;
}
groupbox.collapsable caption .caption-icon {
@ -102,8 +102,8 @@ groupbox.collapsable caption .caption-icon {
height: 9px;
background-repeat: no-repeat;
background-position: center;
-moz-margin-start: 1px;
-moz-margin-end: 3px;
margin-inline-start: 1px;
margin-inline-end: 3px;
background-image: url("chrome://global/skin/tree/twisty-open.png");
}
@ -121,13 +121,13 @@ groupbox tree {
}
groupbox.treebox .groupbox-body {
-moz-margin-start: 5px;
-moz-margin-end: 1px;
margin-inline-start: 5px;
margin-inline-end: 1px;
padding-top: 0;
}
#securityBox description {
-moz-margin-start: 10px;
margin-inline-start: 10px;
}
#general-security-identity {
@ -182,8 +182,8 @@ treechildren::-moz-tree-cell-text(broken) {
#feedListbox richlistitem {
padding-top: 6px;
padding-bottom: 6px;
-moz-padding-start: 7px;
-moz-padding-end: 7px;
padding-inline-start: 7px;
padding-inline-end: 7px;
min-height: 25px;
border-bottom: 1px dotted #C0C0C0;
color: -moz-FieldText;
@ -229,8 +229,8 @@ treechildren::-moz-tree-cell-text(broken) {
.permission {
padding-top: 6px;
padding-bottom: 6px;
-moz-padding-start: 7px;
-moz-padding-end: 7px;
padding-inline-start: 7px;
padding-inline-end: 7px;
min-height: 25px;
border-bottom: 1px dotted #C0C0C0;
}

View file

@ -40,7 +40,7 @@
.site-favicon {
height: 16px;
width: 16px;
-moz-margin-end: 4px;
margin-inline-end: 4px;
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}
@ -57,7 +57,7 @@
#site-description {
font-size: 125%;
-moz-margin-start: 6px; /* to match button margin */
margin-inline-start: 6px; /* to match button margin */
}
#site-label {
@ -69,7 +69,7 @@
#defaults-description {
font-size: 125%;
font-weight: bold;
-moz-margin-start: 6px;
margin-inline-start: 6px;
}
.pref-item {
@ -79,7 +79,7 @@
.pref-icon {
width: 36px;
height: 36px;
-moz-margin-end: 10px;
margin-inline-end: 10px;
}
.pref-icon[type="password"] {

View file

@ -24,7 +24,7 @@
.expander-down {
min-width: 0;
padding: 2px 0;
-moz-padding-start: 2px;
padding-inline-start: 2px;
}
.expander-up > .button-box {

View file

@ -47,7 +47,7 @@
}
#placesMenu > menu {
-moz-padding-start: 4px;
padding-inline-start: 4px;
-moz-binding: url("chrome://browser/skin/places/organizer.xml#toolbarbutton-dropdown");
-moz-appearance: toolbarbutton;
color: -moz-DialogText;
@ -74,7 +74,7 @@
}
#infoBoxExpanderLabel {
-moz-padding-start: 2px;
padding-inline-start: 2px;
}
#searchModifiers {

View file

@ -11,18 +11,18 @@
.actionsMenu {
margin-top: -1px;
margin-bottom: -1px;
-moz-margin-start: -1px;
-moz-margin-end: 0;
margin-inline-start: -1px;
margin-inline-end: 0;
}
.typeIcon,
.actionIcon {
-moz-margin-start: 3px;
-moz-margin-end: 3px;
margin-inline-start: 3px;
margin-inline-end: 3px;
}
richlistitem label {
-moz-margin-start: 1px;
margin-inline-start: 1px;
margin-top: 2px;
}
@ -51,16 +51,16 @@ menuitem[appHandlerIcon="plugin"] {
}
.actionsMenu .menulist-icon {
-moz-margin-end: 1px;
margin-inline-end: 1px;
height: 16px;
width: 16px;
}
.actionsMenu > menupopup > menuitem > .menu-iconic-left {
-moz-padding-start: 0;
-moz-padding-end: 4px !important;
padding-inline-start: 0;
padding-inline-end: 4px !important;
}
.actionsMenu > menupopup > menuitem {
-moz-padding-start: 3px;
padding-inline-start: 3px;
}

View file

@ -3,12 +3,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#sanitizeDurationChoice {
-moz-margin-end: 0;
margin-inline-end: 0;
}
/* Align the duration label with the warning box and item list */
#sanitizeDurationLabel {
-moz-margin-start: 3px;
margin-inline-start: 3px;
}
@ -56,15 +56,15 @@
padding: 0;
margin-top: 6px;
margin-bottom: 6px;
-moz-margin-start: -6px;
-moz-margin-end: 0;
margin-inline-start: -6px;
margin-inline-end: 0;
}
.expander-up,
.expander-down {
min-width: 0;
padding: 2px 0;
-moz-padding-start: 2px;
padding-inline-start: 2px;
}
.expander-up {
@ -86,8 +86,8 @@
/* Make the item list the same width as the warning box */
#itemList {
-moz-margin-start: 0;
-moz-margin-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
}
/* Without this a useless scrollbar appears in the listbox when its rows
@ -100,8 +100,8 @@
/* Align the last dialog button with the end of the warning box */
.prefWindow-dlgbuttons {
-moz-margin-end: 0;
margin-inline-end: 0;
}
.dialog-button[dlgtype="accept"] {
-moz-margin-end: 0;
margin-inline-end: 0;
}

View file

@ -26,7 +26,7 @@
height: 16px;
width: 16px;
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
-moz-margin-start: 2px;
margin-inline-start: 2px;
}
.searchbar-engine-button {
@ -41,7 +41,7 @@
.searchbar-engine-button > .button-box {
-moz-appearance: none;
padding: 2px 0;
-moz-padding-end: 2px;
padding-inline-end: 2px;
border: 0;
}

View file

@ -57,7 +57,7 @@ toolbar[mode="icons"] #status4evar-download-button[forcelabel="true"] > label
{
margin: 0px 2px !important;
margin-top: -1px !important;
-moz-margin-start: 4px !important;
margin-inline-start: 4px !important;
}
/*
@ -81,7 +81,7 @@ splitter.status4evar-status-splitter
#notification-popup-box
{
-moz-margin-start: -1px;
margin-inline-start: -1px;
}
#urlbar .urlbar-over-link-box

View file

@ -8,7 +8,7 @@
}
.statusIcon {
-moz-margin-start: 4px;
margin-inline-start: 4px;
max-height: 16px;
max-width: 16px;
}

View file

@ -99,7 +99,7 @@ description > .text-link:focus {
}
.inputColumn {
-moz-margin-end: 2px
margin-inline-end: 2px
}
.pin {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Before After
Before After

View file

@ -0,0 +1,302 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
enable-background="new 0 0 378 38"
viewBox="0 0 378 38"
height="38"
width="378"
y="0px"
x="0px"
id="strataToolbarSVG"
version="1.1">
<metadata
id="metadata146">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs144">
<filter
id="filter1070"
style="color-interpolation-filters:sRGB;">
<feFlood
id="feFlood1060"
result="flood"
flood-color="rgb(0,0,0)"
flood-opacity="0.498039" />
<feComposite
id="feComposite1062"
result="composite1"
operator="in"
in2="SourceGraphic"
in="flood" />
<feGaussianBlur
id="feGaussianBlur1064"
result="blur"
stdDeviation="0.5"
in="composite1" />
<feOffset
id="feOffset1066"
result="offset"
dy="0"
dx="0" />
<feComposite
id="feComposite1068"
result="fbSourceGraphic"
operator="over"
in2="offset"
in="SourceGraphic" />
<feColorMatrix
id="feColorMatrix1072"
values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
in="fbSourceGraphic"
result="fbSourceGraphicAlpha" />
<feFlood
in="fbSourceGraphic"
result="flood"
flood-color="rgb(0,0,0)"
flood-opacity="0.498039"
id="feFlood1074" />
<feComposite
result="composite1"
operator="in"
in="flood"
id="feComposite1076"
in2="fbSourceGraphic" />
<feGaussianBlur
result="blur"
stdDeviation="0.5"
in="composite1"
id="feGaussianBlur1078" />
<feOffset
result="offset"
dy="0"
dx="0"
id="feOffset1080" />
<feComposite
result="fbSourceGraphic"
operator="over"
in="fbSourceGraphic"
id="feComposite1082"
in2="offset" />
<feColorMatrix
id="feColorMatrix1084"
values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
in="fbSourceGraphic"
result="fbSourceGraphicAlpha" />
<feFlood
in="fbSourceGraphic"
result="flood"
flood-color="rgb(0,0,0)"
flood-opacity="0.498039"
id="feFlood1086" />
<feComposite
result="composite1"
operator="in"
in="flood"
id="feComposite1088"
in2="fbSourceGraphic" />
<feGaussianBlur
result="blur"
stdDeviation="0.5"
in="composite1"
id="feGaussianBlur1090" />
<feOffset
result="offset"
dy="0"
dx="0"
id="feOffset1092" />
<feComposite
result="fbSourceGraphic"
operator="over"
in="fbSourceGraphic"
id="feComposite1094"
in2="offset" />
<feColorMatrix
id="feColorMatrix1096"
values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
in="fbSourceGraphic"
result="fbSourceGraphicAlpha" />
<feFlood
in="fbSourceGraphic"
result="flood"
flood-color="rgb(0,0,0)"
flood-opacity="0.498039"
id="feFlood1098" />
<feComposite
result="composite1"
operator="in"
in="flood"
id="feComposite1100"
in2="fbSourceGraphic" />
<feGaussianBlur
result="blur"
stdDeviation="0.5"
in="composite1"
id="feGaussianBlur1102" />
<feOffset
result="offset"
dy="0"
dx="0"
id="feOffset1104" />
<feComposite
result="fbSourceGraphic"
operator="over"
in="fbSourceGraphic"
id="feComposite1106"
in2="offset" />
<feColorMatrix
id="feColorMatrix1108"
values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
in="fbSourceGraphic"
result="fbSourceGraphicAlpha" />
<feFlood
in="fbSourceGraphic"
result="flood"
flood-color="rgb(0,0,0)"
flood-opacity="0.498039"
id="feFlood1110" />
<feComposite
result="composite1"
operator="in"
in="flood"
id="feComposite1112"
in2="fbSourceGraphic" />
<feGaussianBlur
result="blur"
stdDeviation="0.5"
in="composite1"
id="feGaussianBlur1114" />
<feOffset
result="offset"
dy="0"
dx="0"
id="feOffset1116" />
<feComposite
result="composite2"
operator="over"
in="fbSourceGraphic"
id="feComposite1118"
in2="offset" />
</filter>
</defs>
<g
style="fill:#ffffff;filter:url(#filter1070)"
id="toolbar">
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 14.7,10.7 C 14.464283,10.935746 14.000125,11 14.000125,11 H 9 l 2.132,2.085573 c 0.519423,0.508112 0.595,1.2729 0.198,1.6979 l -0.793,0.9549 c -0.396,0.424 -1.091,0.318 -1.587,-0.212 L 3.595,9.690773 3,8.946873 l 0.595,-0.743 5.256,-5.7295 c 0.496,-0.531 1.19,-0.637 1.587,-0.212 l 0.794,0.9549 c 0.396,0.425 0.297,1.1669 -0.198,1.6979 L 9,7 h 4.999875 c 0,0 0.464437,0.064342 0.700125,0.3 0.235717,0.2356875 0.299875,0.7 0.299875,0.7 l 2.5e-4,2 c 0,0 -0.06444,0.464283 -0.300125,0.7 z"
id="back" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="back-large"
d="m 16.441631,29.733331 c -0.275,0.275034 -0.816512,0.349996 -0.816512,0.349996 H 8.999927 l 2.487308,2.516543 c 0.595913,0.602917 0.694159,1.485034 0.230997,1.980862 l -0.925157,1.114039 C 10.33108,36.189432 9.5202547,36.065767 8.9415947,35.44744 L 2.6941594,28.639311 2,27.771437 2.6941594,26.904612 8.8260957,20.220265 c 0.57866,-0.619493 1.3883193,-0.743159 1.8514803,-0.24733 l 0.926324,1.114038 c 0.461995,0.495828 0.346497,1.361369 -0.230997,1.980863 l -2.37283,2.348836 h 6.6249 c 0,0 0.541837,0.07506 0.816804,0.349997 0.275,0.274966 0.34985,0.816658 0.34985,0.816658 l 1.46e-4,2.333346 c 0,0 -0.07518,0.541658 -0.350142,0.816658 z" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="forward"
d="m 21.30025,10.7 c 0.235717,0.235746 0.699875,0.3 0.699875,0.3 h 5.000125 l -2.132,2.085573 c -0.519423,0.508112 -0.595,1.2729 -0.198,1.6979 l 0.793,0.9549 c 0.396,0.424 1.091,0.318 1.587,-0.212 l 5.355,-5.8356 0.595,-0.7439 -0.595,-0.743 -5.256,-5.7295 c -0.496,-0.531 -1.19,-0.637 -1.587,-0.212 l -0.794,0.9549 c -0.396,0.425 -0.297,1.1669 0.198,1.6979 L 27.00025,7 h -4.999875 c 0,0 -0.464437,0.064342 -0.700125,0.3 C 21.064533,7.5356875 21.000375,8 21.000375,8 l -2.5e-4,2 c 0,0 0.06444,0.464283 0.300125,0.7 z" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 51.5,4.64955 47.233834,8.949625 51.5,13.248616 49.366916,15.398166 45,11.201008 40.733834,15.5 38.60075,13.35045 42.866916,8.9485416 38.5,4.64955 40.633084,2.5 45,6.800075 49.266166,2.5 Z"
id="stop" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 69,9 H 62 L 64.8,6.2 C 64.1,5.7 63.4,5.5 62.5,5.5 c -2.2,0 -4,1.8 -4,4 0,2.2 1.8,4 4,4 1.399,0 2.7,-0.7 3.399,-1.9 l 2.301,1 C 67.099,14.6 65,16 62.5,16 58.899,16 56,13.1 56,9.5 56,5.9 58.899,3 62.5,3 64,3 65.399,3.5 66.6,4.4 L 69,2 Z"
id="reload" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 76,9 h -3 l 8,-7 8,7 h -3 v 6.5 H 82 V 12 h -2 v 3.5 h -4 z"
id="home" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 91.5,9 h 4.453 V 2 h 6.093 V 9 H 106.5 L 99,16 Z"
id="download" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 117,2 c -3.866,0 -7,3.134 -7,7 0,3.866 3.134,7 7,7 3.866,0 7,-3.134 7,-7 0,-3.866 -3.134,-7 -7,-7 z m 0,2 c 2.761,0 5,2.238 5,5 0,2.762 -2.239,5 -5,5 -2.762,0 -5,-2.238 -5,-5 0,-2.762 2.239,-5 5,-5 z m -0.7,1.2 C 116.0643,5.4357023 116,6 116,6 v 4 l 4,2 -2,-3 V 6 C 118,6 117.9357,5.4357023 117.7,5.2 117.4643,4.9642977 117,5 117,5 c 0,0 -0.4643,-0.035702 -0.7,0.2 z"
id="history" />
<g
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="bookmarks">
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 131,2 v 14 h 7.44922 0.55078 1.94922 c 0.99175,-0.258441 1.76717,-1.038297 2,-2 V 12 6 4 c -0.23283,-0.9617034 -1.00825,-1.7415586 -2,-2 h -1.63672 -0.86328 z m 6.11523,2.4160156 1.05469,1.7714844 c 0,0 0.29209,0.4878333 0.51953,0.6425781 0.21313,0.1449479 0.73828,0.2285157 0.73828,0.2285157 h 2.15625 l -1.49804,2.4335937 c 0,0 -0.21789,0.4778906 -0.32617,0.7167965 -0.16271,0.357558 0.005,0.982547 0.0586,1.566407 0.0848,0.918442 0.15039,1.80664 0.15039,1.80664 l -1.75,-0.894531 c 0,0 -0.71714,-0.337318 -1.10156,-0.337891 -0.45203,0 -1.29883,0.392579 -1.29883,0.392579 l -1.75391,0.841796 c 0,0 0.12894,-0.80101 0.26758,-1.68164 0.0917,-0.579219 0.34458,-1.238485 0.14063,-1.636719 -0.11058,-0.216562 -0.33204,-0.6484375 -0.33204,-0.6484375 l -1.7246,-2.5019531 h 2.14257 c 0,0 0.69711,-0.049193 0.98243,-0.2285156 0.21656,-0.1352084 0.48242,-0.5957032 0.48242,-0.5957032 z"
id="bookmarks-star" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 129,2 c -0.99175,0.2584414 -1.76717,1.0382967 -2,2 v 2 6 2 c 0.23283,0.961703 1.00825,1.741559 2,2 h 2.5 V 12 6 2 Z"
id="bookmarks-overlay" />
<path
style="stroke:#000000;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 131.49914,2 V 16"
id="bookmarks-divider" />
</g>
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 160,14 h -2 l 1,2 h -12 l 1,-2 h -2 c -0.601,0 -1,-0.4 -1,-1 V 8 c 0,-0.6 0.70113,-0.635443 1,-1 0.38098,-0.4647208 0.61902,-1.0352792 1,-1.5 0.29887,-0.364557 0.399,-1 1,-1 V 3 c 0,-0.6 0.399,-1 1,-1 h 8 c 0.6,0 1,0.4 1,1 v 1.5 c 0.6,0 0.70113,0.635443 1,1 0.38098,0.4647208 0.61902,1.0352792 1,1.5 0.29887,0.364557 1,0.4 1,1 v 5 c 0,0.6 -0.4,1 -1,1 z M 148.5,9 h -0.5 -0.5 c -0.3,0 -0.5,0.2 -0.5,0.5 0,0.3 0.2,0.5 0.5,0.5 h 1 C 148.8,10 149,9.8 149,9.5 149,9.2 148.8,9 148.5,9 Z M 157,4 c 0,-0.6 -0.4,-1 -1,-1 h -6 c -0.601,0 -1,0.4 -1,1 v 3 c 0,0.6 0.399,1 1,1 h 6 c 0.6,0 1,-0.4 1,-1 z m -0.9,9 h -6.2 l -0.899,2 h 8 z"
id="print" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="newtab"
d="m 170.93359,2 -4.01562,0.00195 c 0,0.00178 -0.87681,0.216686 -0.87695,1.4980469 v 2.8164062 c 0,0 -0.0732,0.3643751 -0.19922,0.484375 C 165.69982,6.9357812 165.29102,7 165.29102,7 c 0,0 -0.53242,-0.057 -0.7754,0 -0.36297,0.086 -0.73599,0.236 -1,0.5 -0.26399,0.264 -0.41502,0.637 -0.5,1 -0.038,0.162 0,0.5 0,0.5 v 5.537109 c 0,0 0.24003,0.710891 0.5,0.962891 0.27398,0.267 1.03516,0.5 1.03516,0.5 h 13.0957 c 0,0 0.60287,-0.276 0.83985,-0.5 0.21699,-0.205 0.49023,-0.742188 0.49023,-0.742188 V 9 c 0.026,-0.322 0.038,-0.338 0,-0.5 -0.086,-0.363 -0.22624,-0.736 -0.49023,-1 -0.26398,-0.264 -0.63802,-0.415 -1,-0.5 -0.22799,-0.054 -0.69922,0 -0.69922,0 0,0 -0.44657,-0.056219 -0.60156,-0.1992188 -0.12799,-0.1189999 -0.19922,-0.484375 -0.19922,-0.484375 L 175.98828,3.5 C 175.98843,2.1047456 174.9707,2 174.9707,2 Z m -0.79101,5 h 1.71484 V 9.1425781 H 174 v 1.7148439 h -2.14258 V 13 h -1.71484 V 10.857422 H 168 V 9.1425781 h 2.14258 z" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="newwindow"
d="M 182.4375,2 C 181.52354,2.2781435 181.28553,2.8114358 181,3.6875 V 14.125 c 0.21642,1.330001 0.75257,1.636052 2.0625,1.875 H 195 c 1.30474,-0.204204 1.70477,-0.57308 2,-1.875 V 4 C 196.8019,2.7723315 196.4998,2.3703399 195.3125,2 Z M 190,3 h 1 v 1 h -1 z m 2,0 h 1 v 1 h -1 z m 2,0 h 2 v 1 h -2 z m -11,3 h 12 v 8 h -12 z m 5.14258,1 V 9.1425781 H 186 v 1.7148439 h 2.14258 V 13 h 1.71484 V 10.857422 H 192 V 9.1425781 h -2.14258 V 7 Z" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 212.70159,16 c -0.79707,0 -1.49513,-0.2 -2.2922,-1.3 -0.79807,-1.1 -1.69515,-2.5 -1.69515,-2.5 0,0 -0.69706,-0.9 -1.09709,-1.6 -0.49805,-0.7 -1.0971,-0.5 -1.0971,-0.5 0,0 -2.89125,-4.7 -3.3903,-5.4 -0.59805,-1 0.59906,-2.7 0.59906,-2.7 l 4.38738,7 c 0,0 1.39612,1.9 1.89417,2.3 0.49904,0.4 1.39612,-0.4 2.79224,0.9 1.89417,1.8 1.29611,3.8 -0.10101,3.8 z m -0.29802,-2.9 c -0.89708,-1 -1.69415,-0.9 -1.89417,-0.6 -0.20002,0.3 0,1.2 0.39804,1.7 0.39803,0.5 0.79806,0.7 1.39612,0.7 0.59905,0.1 1.09709,-0.7 0.10001,-1.8 z m -3.78934,-4.7 -1.1961,-1.8 2.89125,-4.6 c 0,0 1.19611,1.7 0.59906,2.7 -0.29903,0.4 -1.39613,2.3 -2.29421,3.7 z m -4.5854,2.899 c 0.29903,-0.3 0.99709,-1.1 1.39613,-1.7 l 0.79806,1.2 c -0.39803,0.6 -0.89707,1.4 -0.89707,1.4 0,0 -0.89608,1.4 -1.69415,2.5 -0.69806,1.1 -1.39612,1.3 -2.2932,1.3 -1.39613,0 -2.09419,-2 -0.10001,-3.8 1.39412,-1.199 2.2912,-0.499 2.79024,-0.9 z m -2.39321,1.801 c -0.89708,1 -0.39803,1.8 0.19902,1.8 0.59905,0 0.99709,-0.2 1.39612,-0.7 0.39804,-0.5 0.59806,-1.5 0.39804,-1.7 -0.29803,-0.3 -1.0961,-0.4 -1.99318,0.6 z"
id="cut" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 231,16 h -6 c -0.601,0 -1,-0.4 -1,-1 V 12 9.4 7 c 0,-0.6 0.399,-1 1,-1 0,0 3.2,0 5,0 l 2,2 c 0,2.2 0,7 0,7 0,0.6 -0.4,1 -1,1 z m -2,-9 v 2 h 2 z M 223,5.9 V 7 8.9 12 h -4 c -0.601,0 -1,-0.4 -1,-1 V 3 c 0,-0.6 0.399,-1 1,-1 0,0 3.2,0 5,0 l 2,2 c 0,0.4 0,0.8 0,1.3 h -2.5 C 223.2,5.4 223,5.6 223,5.9 Z M 223,3 v 2 h 2 z"
id="copy" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 246.8507,16 h -7.7014 C 238.26914,16 237.5,15.3 237.5,14.5 v -9 c 0,-0.8 0.77014,-1.5 1.6493,-1.5 h 1.6503 c 0,0 0,-2 2.2004,-2 2.2004,0 2.2004,2 2.2004,2 h 1.6493 c 0.88016,0 1.6503,0.7 1.6503,1.5 v 9 c 0.001,0.799 -0.76914,1.5 -1.6493,1.5 z M 245.97054,5 244.76032,4.5 c 0,0 0,-1.5 -1.76032,-1.5 -1.76032,0 -1.76032,1.5 -1.76032,1.5 l -1.21122,0.5 -0.5501,1 h 2.7505 3.52164 0.88016 z m 0.11002,1.7 h -5.17094 l -3.3016,1.7 3.08056,4.9 7.26232,-3.8 z"
id="paste" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 265,12 V 6 l 3,3 z m -7,1 h 6 l -3,3 z m 0,-1 V 6 h 6 v 6 z m 5,-4 h -4 v 3 h 4 z m -2,-6 3,3 h -6 z m -4,4 v 6 l -3,-3 z"
id="fullscreen" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 274,8 h 10 v 2 h -10 z"
id="minus" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 302,10 h -4 v 4 h -2 v -4 h -4 V 8 h 4 V 4 h 2 v 4 h 4 z"
id="plus" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 321.96164,9.3589991 c -0.0996,0.5880529 -0.19907,1.1749739 -0.39904,1.6649929 -0.39904,1.272996 -2.49721,3.230982 -2.49721,3.230982 l 1.23012,1.745023 -4.92726,6e-6 V 9.849 c 0,0 0.89889,1.46799 1.39795,2.05599 1.19912,-0.588025 1.99814,-1.762997 2.09818,-2.9380158 0.10109,-0.8810027 -0.19905,-1.6639894 -0.59902,-2.2510039 -0.18813,-0.3229439 -0.42109,-0.5799624 -0.68685,-0.7931908 -0.30005,-0.23897 -1.01208,-0.5779774 -1.01208,-0.5779774 l 0.0174,-3.3306603 c 1.03186,0.2680556 1.4999,0.3864246 2.85781,1.3686643 1.67715,1.2509803 2.78224,3.5019854 2.52022,5.9759989 z m -6.99262,-1.9580198 c 0,0 -1.09884,-1.4681946 -1.59912,-1.9580122 -1.39809,0.6859994 -2.19718,1.957993 -2.19714,3.3290059 0.39151,1.955025 1.15486,2.878079 2.87049,3.728027 V 16 c -1.14823,-0.14515 -2.89657,-1.144129 -3.76062,-2.017966 -1.64214,-1.695027 -2.56324,-3.735 -2.20626,-6.1889776 0.1,-0.6850241 0.30006,-1.3699914 0.49903,-1.9580159 0.40011,-1.0769929 1.10011,-1.957978 2.09921,-2.6429982 0.0997,-0.098323 0.199,-0.098023 0.29929,-0.1955973 -0.39905,-0.3919885 -1.2861,-0.9964444 -1.2861,-0.9964444 l 5.35545,-1.3e-6 z"
id="sync" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 339.29905,15.9 h -1.49989 c -0.39997,0 -0.79995,-0.3 -0.79995,-0.8 0,0 0.29998,-3.6 -3.19977,-7.2 -2.49982,-3 -6.9995,-3.2 -6.9995,-3.2 C 326.29998,4.7 326,4.4 326,4 V 2.6 c 0,-0.4 0.29998,-0.7 0.79994,-0.7 0,0 6.29955,0.4 9.59932,4.5 3.29976,3.1 3.60074,8.8 3.60074,8.8 -10e-4,0.4 -0.20099,0.7 -0.70095,0.7 z m -12.49911,-9 c 0,0 3.69974,0.5 5.79959,2.4 2.09985,2 2.49982,5.9 2.49982,5.9 0,0.4 -0.1,0.8 -0.49996,0.8 h -1.4999 c -0.39997,0 -0.59995,-0.3 -0.59995,-0.8 0,0 0.1,-2.4 -1.80088,-4.2 C 329.19877,9.7 326.79994,9.6 326.79994,9.6 326.29998,9.6 326,9.3 326,8.9 V 7.6 c 0,-0.4 0.29998,-0.7 0.79994,-0.7 z m 1.19992,5 c 1.09992,0 1.99985,0.9 1.99985,2 0,1.1 -0.89993,2 -1.99985,2 C 326.89894,15.9 326,15 326,13.9 c 0,-1.1 0.89994,-2 1.99986,-2 z"
id="rss" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 344.5,5 c 0,0 0.0643,-0.4642977 0.3,-0.7 0.2357,-0.2357023 0.7,-0.3 0.7,-0.3 h 7.5 c 0,0 0.4643,0.064298 0.7,0.3 0.2357,0.2357023 0.3,0.7 0.3,0.7 v 2 l 4.0245,-3 -0.049,10 L 354,11 v 2 c 0,0 -0.0643,0.464298 -0.3,0.7 -0.2357,0.235702 -0.7,0.3 -0.7,0.3 h -7.5 c 0,0 -0.4643,-0.0643 -0.7,-0.3 -0.2357,-0.235702 -0.3,-0.7 -0.3,-0.7 z"
id="webrtc" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="bookmark-none"
d="m 369.20312,1 -1.9082,3.2734375 c 0,0 -0.46184,0.8030625 -0.83984,1.0390625 -0.498,0.313 -1.71875,0.3984375 -1.71875,0.3984375 H 361 l 3.00781,4.3652345 c 0,0 0.38708,0.754812 0.58008,1.132812 0.356,0.6951 -0.0841,1.844469 -0.24414,2.855469 -0.242,1.5371 -0.4668,2.935547 -0.4668,2.935547 l 3.06055,-1.466797 c 0,0 1.47663,-0.685547 2.26562,-0.685547 0.671,10e-4 1.92579,0.587891 1.92579,0.587891 l 3.05273,1.5625 c 0,0 -0.11177,-1.549244 -0.25976,-3.152344 -0.093,-1.0191 -0.38752,-2.112228 -0.10352,-2.736328 0.189,-0.417 0.56836,-1.2519531 0.56836,-1.2519531 L 377,5.6113281 h -3.76172 c 0,0 -0.91706,-0.1454375 -1.28906,-0.3984375 -0.397,-0.2701 -0.90625,-1.1210937 -0.90625,-1.1210937 z m -0.0762,3 1.15039,1.9316406 c 0,0 0.31633,0.5323647 0.56446,0.7011719 0.23249,0.1581201 0.80664,0.25 0.80664,0.25 H 374 l -1.63281,2.6542969 c 0,0 -0.23929,0.5206326 -0.35742,0.7812496 -0.17749,0.39005 0.008,1.074021 0.0664,1.710938 C 372.16866,13.031203 372.23828,14 372.23828,14 l -1.9082,-0.978516 c 0,0 -0.78376,-0.366562 -1.20313,-0.367187 -0.4931,0 -1.41601,0.429687 -1.41601,0.429687 L 365.79883,14 c 0,0 0.13977,-0.873327 0.29101,-1.833984 0.1,-0.631855 0.37484,-1.350734 0.15235,-1.785157 -0.12063,-0.236243 -0.36133,-0.708984 -0.36133,-0.708984 L 364,6.9453125 h 2.33594 c 0,0 0.76298,-0.054381 1.07422,-0.25 0.23624,-0.1474953 0.52343,-0.6484375 0.52343,-0.6484375 z" />
<path
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="bookmark-added"
d="m 369.202,19 -1.908,3.2732 c 0,0 -0.461,0.8031 -0.839,1.0391 -0.498,0.313 -1.718,0.399 -1.718,0.399 H 361 l 3.008,4.3643 c 0,0 0.387,0.755 0.58,1.133 0.356,0.6951 -0.084,1.8452 -0.244,2.8562 C 364.102,33.6019 363.877,35 363.877,35 l 3.06,-1.4671 c 0,0 1.477,-0.686 2.266,-0.686 0.671,0.001 1.925,0.588 1.925,0.588 l 3.053,1.5641 c 0,0 -0.112,-1.5501 -0.26,-3.1532 -0.093,-1.0191 -0.388,-2.1121 -0.104,-2.7362 0.189,-0.417 0.57,-1.252 0.57,-1.252 L 377,23.6123 h -3.763 c 0,0 -0.917,-0.146 -1.289,-0.399 -0.397,-0.2701 -0.906,-1.1221 -0.906,-1.1221 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 55 KiB

View file

@ -33,7 +33,7 @@ h2 {
border-radius: 10px;
box-shadow: 0px 0px 8px red;
padding: 3em;
-moz-padding-start: 30px;
padding-inline-start: 30px;
background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field;
background-origin: content-box;
}
@ -43,16 +43,16 @@ h2 {
}
#errorTitle {
-moz-margin-start: 80px;
margin-inline-start: 80px;
}
#errorLongContent {
-moz-margin-start: 80px;
margin-inline-start: 80px;
}
.expander > button {
-moz-padding-start: 20px;
-moz-margin-start: -20px;
padding-inline-start: 20px;
margin-inline-start: -20px;
background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat;
border: none;
font: inherit;

View file

@ -21,7 +21,7 @@ body.normal > #errorPageContainer {
}
#startPrivateBrowsingDesc > button {
-moz-margin-start: 0;
margin-inline-start: 0;
}
#footerDesc > p {
@ -30,7 +30,7 @@ body.normal > #errorPageContainer {
#moreInfo {
font-size: 110%; /* to match the value set in chrome://global/skin/netError.css */
-moz-padding-start: 25px;
padding-inline-start: 25px;
background: url("chrome://global/skin/icons/information-16.png") no-repeat top left;
}

View file

@ -22,18 +22,18 @@
margin-top: 4px;
width: 45em;
height: 32px;
-moz-margin-start: 2em;
-moz-margin-end: 2em;
margin-inline-start: 2em;
margin-inline-end: 2em;
}
#tabsListHeading {
font-size: 140%;
font-weight: bold;
-moz-margin-start: 40px;
margin-inline-start: 40px;
}
richlistitem {
-moz-margin-end: 2em;
margin-inline-end: 2em;
}
richlistitem[selected="true"],
@ -46,7 +46,7 @@ richlistitem[type="tab"] {
border: #999999 1px solid !important;
padding: 2px 5px;
margin-bottom: 4px;
-moz-margin-start: 4em;
margin-inline-start: 4em;
border-radius: 6px;
background-color: menu;
width: 44em;
@ -64,7 +64,7 @@ richlistitem[type="tab"][selected="true"] {
richlistitem[type="client"] {
min-height: 2em;
color: #000000;
-moz-margin-start: 2em;
margin-inline-start: 2em;
margin-top: 2px;
margin-bottom: 3px;
width: 42em;
@ -96,6 +96,6 @@ richlistitem.desktop[type="client"] {
}
.tabIcon {
-moz-padding-start: 2px;
padding-inline-start: 2px;
padding-top: 2px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -129,15 +129,15 @@ treechildren.private-autocomplete-treebody::-moz-tree-cell-text(selected) {
width: 16px;
height: 16px;
margin-bottom: -1px;
-moz-margin-start: 7px;
-moz-margin-end: 5px;
margin-inline-start: 7px;
margin-inline-end: 5px;
}
.ac-type-icon {
width: 16px;
height: 16px;
-moz-margin-start: 6px;
-moz-margin-end: 4px;
margin-inline-start: 6px;
margin-inline-end: 4px;
}
.ac-url-box > .ac-site-icon,

File diff suppressed because it is too large Load diff

View file

@ -14,7 +14,7 @@
}
.downloadTypeIcon {
-moz-margin-end: 8px;
margin-inline-end: 8px;
/* explicitly size the icon, so size doesn't vary on hidpi systems */
height: 32px;
width: 32px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 546 B

View file

@ -57,7 +57,7 @@
#downloadsSummary,
richlistitem[type="download"] {
height: 7em;
-moz-padding-end: 0;
padding-inline-end: 0;
color: inherit;
}
@ -104,7 +104,7 @@ richlistitem[type="download"]:first-child {
}
.downloadTypeIcon {
-moz-margin-end: 8px;
margin-inline-end: 8px;
/* Prevent flickering when changing states. */
height: 32px;
width: 32px;
@ -251,37 +251,39 @@ richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:acti
/*** Main indicator icon ***/
#downloads-indicator-icon {
background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"),
background: -moz-image-rect(var(--toolbarbutton-image),
0, 108, 18, 90) center no-repeat;
min-width: 18px;
min-height: 18px;
}
toolbar[brighttext] #downloads-indicator-icon {
background: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"),
background: -moz-image-rect(var(--toolbarbutton-inverted-image),
0, 108, 18, 90) center no-repeat;
}
#downloads-indicator[attention] > #downloads-indicator-anchor > #downloads-indicator-icon {
background-image: url("chrome://browser/skin/downloads/download-glow.png");
background: -moz-image-rect(var(--toolbarbutton-image),
19, 108, 36, 90) center no-repeat;
}
/* In the next few rules, we use :not([counter]) as a shortcut that is
equivalent to -moz-any([progress], [paused]). */
#downloads-indicator:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter {
background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"),
background: -moz-image-rect(var(--toolbarbutton-image),
0, 108, 18, 90) center no-repeat;
background-size: 12px;
}
toolbar[brighttext] #downloads-indicator:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter {
background: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"),
background: -moz-image-rect(var(--toolbarbutton-inverted-image),
0, 108, 18, 90) center no-repeat;
}
#downloads-indicator:not([counter])[attention] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter {
background-image: url("chrome://browser/skin/downloads/download-glow.png");
background: -moz-image-rect(var(--toolbarbutton-image),
19, 108, 36, 90) center no-repeat;
}
/*** Download notifications ***/
@ -376,7 +378,7 @@ toolbar[brighttext] #downloads-indicator-counter {
background-image: linear-gradient(#505050, #575757);
border: 1px solid;
border-color: hsla(0,0%,0%,.6) hsla(0,0%,0%,.4) hsla(0,0%,0%,.4);
-moz-border-start: none;
border-inline-start: none;
border-radius: 0 2px 2px 0;
}

View file

@ -5,8 +5,8 @@
%endif
#engineList treechildren::-moz-tree-image(engineName) {
-moz-margin-end: 4px;
-moz-margin-start: 1px;
margin-inline-end: 4px;
margin-inline-start: 1px;
width: 16px;
height: 16px;
}

View file

@ -7,17 +7,17 @@
}
.handlersMenuPopup > menuitem {
-moz-padding-start: 23px;
padding-inline-start: 23px;
}
.handlersMenuPopup > menuitem.menuitem-iconic {
-moz-padding-start: 2px;
padding-inline-start: 2px;
}
.handlersMenuPopup > .menuitem-iconic > .menu-iconic-left {
display: -moz-box;
min-width: 16px;
-moz-padding-end: 2px;
padding-inline-end: 2px;
}
.chooseApplicationMenuItem {

View file

@ -10,7 +10,7 @@ html {
#feedBody {
border: 1px solid THreeDShadow;
padding: 3em;
-moz-padding-start: 30px;
padding-inline-start: 30px;
margin: 2em auto;
background: -moz-Field;
}
@ -25,9 +25,9 @@ html {
#feedHeader {
margin-top: 4.9em;
margin-bottom: 1em;
-moz-margin-start: 1.4em;
-moz-margin-end: 1em;
-moz-padding-start: 2.9em;
margin-inline-start: 1.4em;
margin-inline-end: 1em;
padding-inline-start: 2.9em;
font-size: 110%;
color: InfoText;
}
@ -54,12 +54,12 @@ html {
#feedHeader[firstrun="true"] #feedIntroText {
padding-top: 0.1em;
-moz-padding-start: 0.6em;
padding-inline-start: 0.6em;
display: block;
}
#feedHeader[firstrun="true"] > #feedSubscribeLine {
-moz-padding-start: 1.8em;
padding-inline-start: 1.8em;
}
#feedSubscribeLine {
@ -95,8 +95,8 @@ h2 {
#feedTitleLink {
float: right;
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-inline-start: .6em;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
}
@ -106,15 +106,15 @@ a[href] img {
}
#feedTitleContainer {
-moz-margin-start: 0;
-moz-margin-end: .6em;
margin-inline-start: 0;
margin-inline-end: .6em;
margin-top: 0;
margin-bottom: 0;
}
#feedTitleImage {
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-inline-start: .6em;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
max-width: 300px;

View file

@ -17,8 +17,6 @@ browser.jar:
#endif
* skin/classic/browser/autocomplete.css
skin/classic/browser/actionicon-tab.png
skin/classic/browser/appmenu-icons.png
skin/classic/browser/appmenu-dropmarker.png
* skin/classic/browser/browser.css
skin/classic/browser/click-to-play-warning-stripes.png
* skin/classic/browser/engineManager.css
@ -68,6 +66,8 @@ browser.jar:
skin/classic/browser/slowStartup-16.png
skin/classic/browser/Toolbar.png
skin/classic/browser/Toolbar-inverted.png
skin/classic/browser/Toolbar.svg
skin/classic/browser/Toolbar-inverted.svg
skin/classic/browser/toolbarbutton-dropdown-arrow.png
skin/classic/browser/toolbarbutton-dropdown-arrow-inverted.png
skin/classic/browser/urlbar-arrow.png
@ -84,7 +84,6 @@ browser.jar:
skin/classic/browser/webRTC-sharingDevice-16.png
#endif
skin/classic/browser/downloads/buttons.png (downloads/buttons.png)
skin/classic/browser/downloads/download-glow.png (downloads/download-glow.png)
skin/classic/browser/downloads/download-notification-finish.png (downloads/download-notification-finish.png)
skin/classic/browser/downloads/download-notification-start.png (downloads/download-notification-start.png)
skin/classic/browser/downloads/download-summary.png (downloads/download-summary.png)
@ -119,6 +118,7 @@ browser.jar:
skin/classic/browser/places/toolbarDropMarker.png (places/toolbarDropMarker.png)
skin/classic/browser/places/editBookmarkOverlay.css (places/editBookmarkOverlay.css)
skin/classic/browser/places/libraryToolbar.png (places/libraryToolbar.png)
skin/classic/browser/places/libraryToolbar.svg (places/libraryToolbar.svg)
skin/classic/browser/places/starred48.png (places/starred48.png)
skin/classic/browser/places/unstarred48.png (places/unstarred48.png)
skin/classic/browser/places/unfiledBookmarks.png (places/unfiledBookmarks.png)

View file

@ -6,7 +6,7 @@
/* View buttons */
#viewGroup {
-moz-padding-start: 10px;
padding-inline-start: 10px;
}
#viewGroup > radio {
@ -31,7 +31,7 @@
#topBar {
border-bottom: 2px groove ThreeDFace;
-moz-padding-start: 10px;
padding-inline-start: 10px;
background-color: -moz-Field;
color: -moz-FieldText;
}
@ -98,7 +98,7 @@ textbox {
}
textbox.header {
-moz-margin-start: 0;
margin-inline-start: 0;
}
.iframe {
@ -121,8 +121,8 @@ groupbox.collapsable caption .caption-icon {
height: 9px;
background-repeat: no-repeat;
background-position: center;
-moz-margin-start: 2px;
-moz-margin-end: 2px;
margin-inline-start: 2px;
margin-inline-end: 2px;
background-image: url("chrome://global/skin/tree/twisty-open.png");
}
@ -142,7 +142,7 @@ groupbox tree {
}
#securityBox description {
-moz-margin-start: 10px;
margin-inline-start: 10px;
}
#general-security-identity {
@ -187,8 +187,8 @@ treechildren::-moz-tree-cell-text(broken) {
#feedListbox richlistitem {
padding-top: 6px;
padding-bottom: 6px;
-moz-padding-start: 7px;
-moz-padding-end: 7px;
padding-inline-start: 7px;
padding-inline-end: 7px;
min-height: 25px;
border-bottom: 1px dotted #C0C0C0;
}
@ -225,8 +225,8 @@ treechildren::-moz-tree-cell-text(broken) {
.permission {
padding-top: 6px;
padding-bottom: 6px;
-moz-padding-start: 7px;
-moz-padding-end: 7px;
padding-inline-start: 7px;
padding-inline-end: 7px;
min-height: 25px;
border-bottom: 1px dotted #C0C0C0;
}

View file

@ -43,7 +43,7 @@
.site-favicon {
height: 16px;
width: 16px;
-moz-margin-end: 4px;
margin-inline-end: 4px;
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}
@ -60,7 +60,7 @@
#site-description {
font-size: 125%;
-moz-margin-start: 6px; /* to match button margin */
margin-inline-start: 6px; /* to match button margin */
}
#site-label {
@ -72,7 +72,7 @@
#defaults-description {
font-size: 125%;
font-weight: bold;
-moz-margin-start: 6px;
margin-inline-start: 6px;
}
.pref-item {
@ -82,7 +82,7 @@
.pref-icon {
width: 36px;
height: 36px;
-moz-margin-end: 10px;
margin-inline-end: 10px;
}
.pref-icon[type="password"] {

View file

@ -0,0 +1,41 @@
<!-- 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/. -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="16" viewBox="0 0 48 16">
<defs>
<linearGradient id="starGradient" x1="24.5" x2="24.5" y1="1081" y2="1121" gradientTransform="matrix(.318 0 0 .317 30.2 -342)" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#f9f3ac"/>
<stop offset="1" stop-color="#ffdc46"/>
</linearGradient>
<linearGradient id="fileGradient" x1="5" x2="5" y1=".842" y2="9.16" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fff"/>
<stop offset="1" stop-color="#e3f1fc"/>
</linearGradient>
</defs>
<g id="file">
<use width="100%" height="100%" transform="translate(6 6)" xlink:href="#file-individual"/>
<use width="100%" height="100%" transform="translate(4 4)" xlink:href="#file-individual"/>
<use width="100%" height="100%" transform="translate(2 2)" xlink:href="#file-individual"/>
<g id="file-individual">
<path fill="url(#fileGradient)" d="M1 0h8v10H1z"/>
<path fill="#9c9c9c" d="M1 0v10h8V0zm1 1h6v8H2z"/>
</g>
</g>
<g id="view">
<path fill="#a7dd8c" d="M17 2v1h2V2z"/>
<path fill="#eaedf4" d="M20 2v1h7V2zm8 0v1h3V2zm-8 2v1h7V4zm8 0v1h3V4zm-8 2v1h7V6zm8 0v1h3V6zm-8 3v1h7V9zm8 0v1h3V9zm-8 2v1h7v-1zm8 0v1h3v-1zm-8 2v1h7v-1zm8 0v1h3v-1z"/>
<path fill-opacity=".3" d="M17 3v1h2V3zm3 0v1h7V3zm8 0v1h3V3zM17 5v1h2V5zm3 0v1h7V5zm8 0v1h3V5zM17 7v1h2V7zm3 0v1h7V7zm8 0v1h3V7zm-11 3v1h2v-1zm3 0v1h7v-1zm8 0v1h3v-1zm-11 2v1h2v-1zm3 0v1h7v-1zm8 0v1h3v-1zm-11 2v1h2v-1zm3 0v1h7v-1zm8 0v1h3v-1z"/>
<path fill="#c5a2ec" d="M17 4v1h2V4z"/>
<path fill="#ec8e8e" d="M17 6v1h2V6z"/>
<path fill="#8ebbec" d="M17 9v1h2V9z"/>
<path fill="#a7dd8c" d="M17 11v1h2v-1z"/>
<path fill="#fac090" d="M17 13v1h2v-1z"/>
</g>
<g id="bk-restore">
<g id="star">
<path fill="url(#starGradient)" d="M34.2 9.73c.213-2.14.213-2.14-.921-3.23-1.66-1.6-1.52-2.14.636-2.41 1.76-.22 1.78-.23 2.61-1.93.488-.992 1.05-1.7 1.34-1.7.293 0 .856.717 1.35 1.72.841 1.71.854 1.72 2.61 1.94 2.15.268 2.28.789.629 2.38-1.13 1.09-1.13 1.09-.921 3.23.251 2.52.023 2.65-2.26 1.32-1.41-.823-1.41-.823-2.81 0-2.28 1.33-2.51 1.2-2.26-1.32z"/>
<path fill="#cd9a34" d="M38 0c-.299 0-.462.127-.608.245a2.635 2.635 0 0 0-.405.427 7.3 7.3 0 0 0-.769 1.26c-.396.805-.589 1.13-.738 1.24-.15.111-.468.179-1.3.283-.535.067-.96.148-1.32.287-.357.139-.715.384-.825.8-.11.417.055.788.274 1.12.219.328.53.662.939 1.06.539.519.706.698.767.911.06.213.04.683-.062 1.7-.06.607-.095 1.08-.07 1.47.012.198.037.381.107.566a.995.995 0 0 0 .411.502c.408.238.81.117 1.19-.035.38-.152.808-.391 1.36-.712.67-.391.938-.508 1.05-.508.114 0 .383.117 1.05.508.55.32.981.56 1.36.712.38.152.78.274 1.19.035a.995.995 0 0 0 .411-.502c.071-.185.096-.367.108-.566.025-.397-.01-.867-.07-1.47-.103-1.02-.124-1.49-.062-1.7.06-.213.228-.392.767-.911.407-.392.717-.723.935-1.05.218-.325.386-.693.276-1.11-.11-.416-.467-.657-.822-.794-.355-.137-.78-.217-1.31-.283-.833-.104-1.15-.169-1.3-.281-.15-.111-.343-.437-.743-1.25a7.138 7.138 0 0 0-.776-1.27 2.608 2.608 0 0 0-.405-.429C38.464.136 38.3.007 38 .007zm0 1.24c.042.044.073.07.126.137.192.245.428.627.648 1.07.4.814.612 1.31 1.09 1.66.473.351.997.391 1.83.495.488.06.849.14 1.04.214.194.075.154.1.135.029-.019-.071.014-.014-.122.188s-.401.5-.78.866c-.539.519-.912.86-1.07 1.41-.158.555-.077 1.1.024 2.12.06.589.083 1.03.067 1.29-.004.072-.012.088-.02.128.008-.01.047-.001-.137-.075-.264-.106-.672-.326-1.21-.64-.67-.39-1.07-.662-1.62-.662-.555 0-.954.272-1.62.663-.535.313-.945.533-1.21.639-.184.073-.145.065-.137.075-.008-.04-.016-.056-.02-.128-.017-.26.01-.704.068-1.29.102-1.02.182-1.56.025-2.12-.158-.555-.533-.896-1.07-1.41-.381-.367-.646-.67-.783-.873-.136-.204-.104-.263-.122-.197-.018.066-.054.04.14-.036.197-.076.556-.158 1.05-.219.839-.105 1.36-.146 1.84-.495.475-.349.685-.84 1.08-1.65.218-.442.453-.82.644-1.06.051-.065.082-.089.124-.133z"/>
</g>
<path fill="#169103" d="M43 6.7c-2.37 0-4.34 1.65-4.85 3.87h2.03c.458-1.13 1.54-1.94 2.82-1.94.692 0 1.23.154 1.77.541l-1.39 2.17H48v-4.65l-1.85 1.08c-.923-.698-2-1.08-3.15-1.08zm-5 4.65V16l1.85-1.08c.923.698 2 1.08 3.15 1.08 2.37 0 4.34-1.65 4.85-3.87h-2.03c-.458 1.13-1.54 1.94-2.82 1.94-.692 0-1.23-.154-1.77-.541l1.39-2.17z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -2,10 +2,24 @@
* 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/. */
:root {
--toolbarbutton-image: url("chrome://browser/skin/Toolbar.png");
--library-toolbar-image: url("chrome://browser/skin/places/libraryToolbar.png");
}
/* Use SVG for HiDPI 133%+ */
@media (min-resolution: 1.33dppx) {
:root {
--toolbarbutton-image: url("chrome://browser/skin/Toolbar.svg");
--library-toolbar-image: url("chrome://browser/skin/places/libraryToolbar.svg");
}
}
/* Toolbar */
#placesToolbar {
padding: 3px;
-moz-padding-end: 6px;
padding-inline-end: 6px;
}
#placesToolbar > toolbarbutton[disabled] > .toolbarbutton-icon {
@ -14,7 +28,7 @@
#back-button,
#forward-button {
list-style-image: url("chrome://browser/skin/Toolbar.png");
list-style-image: var(--toolbarbutton-image);
}
#back-button {
@ -34,35 +48,23 @@
#organizeButton,
#viewMenu,
#maintenanceButton {
list-style-image: url("chrome://browser/skin/places/libraryToolbar.png");
list-style-image: var(--library-toolbar-image);
}
/* organize button */
#organizeButton {
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
#organizeButton:hover,
#organizeButton[open="true"] {
-moz-image-region: rect(16px, 16px, 32px, 0px);
}
/* view button */
#viewMenu {
-moz-image-region: rect(0px, 32px, 16px, 16px);
}
#viewMenu:hover,
#viewMenu[open="true"] {
-moz-image-region: rect(16px, 32px, 32px, 16px);
}
/* maintenance button */
#maintenanceButton {
-moz-image-region: rect(0px, 48px, 16px, 32px);
}
#maintenanceButton:hover,
#maintenanceButton[open="true"] {
-moz-image-region: rect(16px, 48px, 32px, 32px);
}
/* Root View */
#placesView {
@ -76,7 +78,7 @@
}
#infoBoxExpanderLabel {
-moz-padding-start: 2px;
padding-inline-start: 2px;
}
#searchFilter {
@ -92,8 +94,8 @@
}
#clearDownloadsButton {
-moz-padding-start: 9px;
-moz-padding-end: 9px;
padding-inline-start: 9px;
padding-inline-end: 9px;
}
/* hover-over/open button highlighting */

View file

@ -142,5 +142,5 @@ treechildren::-moz-tree-cell-text(cutting) {
#viewButton > .button-box > .button-menu-dropmarker {
height: auto;
width: auto;
-moz-margin-end: -3px;
margin-inline-end: -3px;
}

View file

@ -11,18 +11,18 @@
.actionsMenu {
margin-top: 0;
margin-bottom: 0;
-moz-margin-start: -2px;
-moz-margin-end: 0;
margin-inline-start: -2px;
margin-inline-end: 0;
}
.typeIcon,
.actionIcon {
-moz-margin-start: 3px;
-moz-margin-end: 3px;
margin-inline-start: 3px;
margin-inline-end: 3px;
}
richlistitem label {
-moz-margin-start: 1px;
margin-inline-start: 1px;
margin-top: 2px;
}
@ -51,14 +51,14 @@ menuitem[appHandlerIcon="plugin"] {
}
.actionsMenu .menulist-icon {
-moz-margin-end: 3px;
margin-inline-end: 3px;
}
.actionsMenu > menupopup > menuitem > .menu-iconic-left {
-moz-padding-start: 0px;
-moz-padding-end: 2px;
padding-inline-start: 0px;
padding-inline-end: 2px;
}
.actionsMenu > menupopup > menuitem {
-moz-padding-start: 4px;
padding-inline-start: 4px;
}

View file

@ -3,12 +3,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#sanitizeDurationChoice {
-moz-margin-end: 0;
margin-inline-end: 0;
}
/* Align the duration label with the warning box and item list */
#sanitizeDurationLabel {
-moz-margin-start: 3px;
margin-inline-start: 3px;
}
@ -79,15 +79,15 @@
/* Make the item list the same width as the warning box */
#itemList {
-moz-margin-start: 0;
-moz-margin-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
}
/* Align the last dialog button with the end of the warning box */
.prefWindow-dlgbuttons {
-moz-margin-end: 0;
margin-inline-end: 0;
}
.dialog-button[dlgtype="cancel"] {
-moz-margin-end: 0;
margin-inline-end: 0;
}

View file

@ -28,7 +28,7 @@
min-width: 0;
margin: 0;
padding: 0;
-moz-padding-end: 2px;
padding-inline-end: 2px;
-moz-box-align: center;
background: none;
border: none;

View file

@ -60,7 +60,7 @@
toolbar[mode="icons"] #status4evar-download-button[forcelabel="true"] > label
{
margin: 0px 2px !important;
-moz-margin-start: 3px !important;
margin-inline-start: 3px !important;
}
/*

View file

@ -8,7 +8,7 @@
}
.statusIcon {
-moz-margin-start: 4px;
margin-inline-start: 4px;
max-height: 16px;
max-width: 16px;
}

View file

@ -99,7 +99,7 @@ description > .text-link:focus {
}
.inputColumn {
-moz-margin-end: 2px
margin-inline-end: 2px
}
.pin {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 B

View file

@ -16,7 +16,7 @@
}
.center-item-label {
-moz-margin-start: 6px;
margin-inline-start: 6px;
margin-bottom: 0;
text-overflow: ellipsis;
}
@ -26,7 +26,7 @@
background-repeat: no-repeat;
width: 16px;
height: 15px;
-moz-margin-start: 6px;
margin-inline-start: 6px;
}
.click-to-play-plugins-notification-button-container {

View file

@ -33,7 +33,7 @@ h2 {
border-radius: 10px;
box-shadow: 0px 0px 8px red;
padding: 3em;
-moz-padding-start: 30px;
padding-inline-start: 30px;
background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field;
background-origin: content-box;
}
@ -43,16 +43,16 @@ h2 {
}
#errorTitle {
-moz-margin-start: 80px;
margin-inline-start: 80px;
}
#errorLongContent {
-moz-margin-start: 80px;
margin-inline-start: 80px;
}
.expander > button {
-moz-padding-start: 20px;
-moz-margin-start: -20px;
padding-inline-start: 20px;
margin-inline-start: -20px;
background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat;
border: none;
font: inherit;

View file

@ -21,7 +21,7 @@ body.normal > #errorPageContainer {
}
#startPrivateBrowsingDesc > button {
-moz-margin-start: 0;
margin-inline-start: 0;
}
#footerDesc > p {
@ -30,7 +30,7 @@ body.normal > #errorPageContainer {
#moreInfo {
font-size: 110%; /* to match the value set in chrome://global/skin/netError.css */
-moz-padding-start: 25px;
padding-inline-start: 25px;
background: url("chrome://global/skin/icons/information-16.png") no-repeat top left;
}

View file

@ -22,18 +22,18 @@
margin-top: 4px;
width: 45em;
height: 32px;
-moz-margin-start: 2em;
-moz-margin-end: 2em;
margin-inline-start: 2em;
margin-inline-end: 2em;
}
#tabsListHeading {
font-size: 140%;
font-weight: bold;
-moz-margin-start: 40px;
margin-inline-start: 40px;
}
richlistitem {
-moz-margin-end: 2em;
margin-inline-end: 2em;
}
richlistitem[selected="true"],
@ -46,7 +46,7 @@ richlistitem[type="tab"] {
border: #999999 1px solid !important;
padding: 2px 5px;
margin-bottom: 4px;
-moz-margin-start: 4em;
margin-inline-start: 4em;
border-radius: 6px;
background-color: menu;
width: 44em;
@ -64,7 +64,7 @@ richlistitem[type="tab"][selected="true"] {
richlistitem[type="client"] {
min-height: 2em;
color: #000000;
-moz-margin-start: 2em;
margin-inline-start: 2em;
margin-top: 2px;
margin-bottom: 3px;
width: 42em;
@ -96,6 +96,6 @@ richlistitem.desktop[type="client"] {
}
.tabIcon {
-moz-padding-start: 2px;
padding-inline-start: 2px;
padding-top: 2px;
}

View file

@ -74,7 +74,7 @@ panel[type="private-autocomplete-richlistbox"],
}
.private-autocomplete-treebody::-moz-tree-cell-text {
-moz-padding-start: 8px;
padding-inline-start: 8px;
}
treechildren.private-autocomplete-treebody::-moz-tree-row(selected) {
@ -163,8 +163,8 @@ treechildren.private-autocomplete-treebody::-moz-tree-cell-text(selected) {
.ac-type-icon {
width: 16px;
height: 16px;
-moz-margin-start: 6px;
-moz-margin-end: 4px;
margin-inline-start: 6px;
margin-inline-end: 4px;
margin-bottom: -1px;
}

View file

@ -31,6 +31,9 @@
%endif
:root {
--fullscreen-background-color: #556;
--fullscreen-text-color: #fff;
--toolbox-after-color: ThreeDShadow;
--toolbar-custom-color: hsl(210,75%,92%);
@ -285,12 +288,12 @@
height: auto;
padding: 0;
margin: 0;
-moz-margin-start: .5em;
margin-inline-start: .5em;
}
.splitmenu-menuitem {
-moz-margin-end: 1px;
-moz-padding-end: 0.5em;
margin-inline-end: 1px;
padding-inline-end: 0.5em;
}
.splitmenu-menu {
@ -310,7 +313,7 @@
}
#appmenuPrimaryPane {
-moz-border-end: 1px solid ThreeDShadow;
border-inline-end: 1px solid ThreeDShadow;
}
@media (-moz-windows-default-theme) {
@ -322,13 +325,13 @@
#appmenuPrimaryPane {
background-color: rgba(255,255,255,0.5);
padding: 2px;
-moz-border-end: none;
border-inline-end: none;
}
#appmenuSecondaryPane {
background-color: #f1f5fb;
box-shadow: 1px 0 2px rgb(204,214,234) inset;
-moz-padding-start: 3px;
-moz-padding-end: 2px;
padding-inline-start: 3px;
padding-inline-end: 2px;
padding-top: 2px;
padding-bottom: 2px;
font-family: "Segoe UI Semibold", "Segoe UI", sans-serif;
@ -446,7 +449,7 @@
-moz-appearance: none;
margin-top: 3px;
margin-bottom: 3px;
-moz-margin-start: 30px;
margin-inline-start: 30px;
padding: 0;
border-top: 1px solid #d6e5f5;
border-bottom: none;
@ -454,17 +457,17 @@
@media (min-resolution: 1.25dppx) {
.appmenu-menuseparator {
-moz-margin-start: 25px;
margin-inline-start: 25px;
}
}
@media (min-resolution: 1.5dppx) {
.appmenu-menuseparator {
-moz-margin-start: 24px;
margin-inline-start: 24px;
}
}
@media (min-resolution: 2dppx) {
.appmenu-menuseparator {
-moz-margin-start: 22px;
margin-inline-start: 22px;
}
}
@ -628,7 +631,7 @@
@media not all and (-moz-windows-classic) {
#titlebar-min {
-moz-margin-end: 2px;
margin-inline-end: 2px;
}
}
@ -643,8 +646,8 @@ toolbarbutton.bookmark-item:hover:active:not([disabled="true"]),
toolbarbutton.bookmark-item[open="true"] {
padding-top: 3px;
padding-bottom: 1px;
-moz-padding-start: 4px;
-moz-padding-end: 2px;
padding-inline-start: 4px;
padding-inline-end: 2px;
}
.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon {
@ -684,7 +687,7 @@ menuitem.bookmark-item {
}
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
-moz-padding-start: 0px;
padding-inline-start: 0px;
}
/* ::::: bookmark items ::::: */
@ -785,7 +788,7 @@ toolbar[brighttext] .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
.toolbarbutton-1 > .toolbarbutton-icon,
.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
-moz-margin-end: 0;
margin-inline-end: 0;
}
toolbar[mode=full] .toolbarbutton-1:not([type=menu-button]) {
@ -827,11 +830,11 @@ toolbar[mode=full] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
}
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button {
-moz-padding-end: 0;
padding-inline-end: 0;
}
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
-moz-padding-start: 0;
padding-inline-start: 0;
-moz-box-align: center;
}
@ -866,15 +869,15 @@ toolbar[mode=full] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
@navbarLargeIcons@ .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button) > .toolbarbutton-icon,
@navbarLargeIcons@ .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
-moz-padding-end: 17px;
padding-inline-end: 17px;
}
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
-moz-margin-start: -15px;
margin-inline-start: -15px;
}
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
-moz-border-end: none;
border-inline-end: none;
}
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
@ -886,7 +889,7 @@ toolbar[mode=full] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
display: -moz-box;
width: 1px;
height: 18px;
-moz-margin-end: -1px;
margin-inline-end: -1px;
background-image: linear-gradient(var(--toolbarbutton-border-color) 0, var(--toolbarbutton-border-color) 18px);
background-clip: padding-box;
background-position: center;
@ -942,7 +945,7 @@ toolbar[mode=full] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
}
@navbarLargeIcons@ .toolbarbutton-1:-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker:not([disabled]) > .dropmarker-icon {
-moz-border-start-color: hsla(210,54%,20%,.35);
border-inline-start-color: hsla(210,54%,20%,.35);
}
@navbarLargeIcons@ .toolbarbutton-1[checked]:not(:active):hover > .toolbarbutton-icon {
@ -1020,7 +1023,7 @@ toolbar[mode=full] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
@conditionalForwardWithUrlbar@ > #forward-button > .toolbarbutton-icon {
clip-path: url(chrome://browser/content/browser.xul#windows-keyhole-forward-clip-path);
-moz-margin-start: -6px !important;
margin-inline-start: -6px !important;
border-left-style: none;
border-radius: 0;
padding-left: 7px;
@ -1048,8 +1051,8 @@ toolbar[mode=full] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
-moz-image-region: rect(18px, 20px, 38px, 0);
padding-top: 3px;
padding-bottom: 3px;
-moz-padding-start: 5px;
-moz-padding-end: 0;
padding-inline-start: 5px;
padding-inline-end: 0;
position: relative;
z-index: 1;
border-radius: 0 10000px 10000px 0;
@ -1212,45 +1215,86 @@ toolbar[brighttext] #bookmarks-menu-button.bookmark-item {
/* ::::: fullscreen window controls ::::: */
#window-controls {
-moz-margin-start: 4px;
-moz-box-align: start;
/* Make sure the window controls are always last on the toolbar */
-moz-box-ordinal-group: 100;
margin-inline-start: 4px;
}
#minimize-button,
#restore-button,
#close-button {
-moz-appearance: none;
border-style: none;
list-style-image: url("chrome://global/skin/icons/windowControls.png");
margin: 0;
padding: 0;
}
#minimize-button {
-moz-image-region: rect(0, 16px, 16px, 0);
}
#minimize-button:hover {
-moz-image-region: rect(16px, 16px, 32px, 0);
}
#minimize-button:hover:active {
-moz-image-region: rect(32px, 16px, 48px, 0);
}
#restore-button {
-moz-image-region: rect(0, 32px, 16px, 16px);
}
#restore-button:hover {
-moz-image-region: rect(16px, 32px, 32px, 16px);
}
#restore-button:hover:active {
-moz-image-region: rect(32px, 32px, 48px, 16px);
}
#close-button {
-moz-image-region: rect(0, 48px, 16px, 32px);
-moz-appearance: none;
border-style: none;
margin: 2px;
-moz-image-region: rect(0, 49px, 16px, 32px);
}
#close-button:hover {
-moz-image-region: rect(16px, 48px, 32px, 32px);
-moz-image-region: rect(16px, 49px, 32px, 32px);
}
#close-button:hover:active {
-moz-image-region: rect(32px, 48px, 48px, 32px);
-moz-image-region: rect(32px, 49px, 48px, 32px);
}
#minimize-button:-moz-locale-dir(rtl),
#restore-button:-moz-locale-dir(rtl),
#close-button:-moz-locale-dir(rtl) {
transform: scaleX(-1);
}
@media (-moz-os-version: windows-win10) {
#window-controls {
margin-inline-start: 0;
}
#window-controls > toolbarbutton {
margin: 0;
padding: 2px 4px;
transition: background-color linear 120ms;
}
#minimize-button,
#restore-button,
#close-button,
#minimize-button:hover,
#restore-button:hover,
#close-button:hover,
#minimize-button:hover:active,
#restore-button:hover:active,
#close-button:hover:active {
-moz-image-region: auto;
}
}
/* ::::: Location Bar ::::: */
@ -1267,7 +1311,7 @@ toolbar[brighttext] #bookmarks-menu-button.bookmark-item {
#urlbar {
width: 7em;
-moz-padding-end: 2px;
padding-inline-end: 2px;
}
@media (-moz-windows-default-theme) {
@ -1286,13 +1330,13 @@ toolbar[brighttext] #bookmarks-menu-button.bookmark-item {
@conditionalForwardWithUrlbar@ + #urlbar-container {
padding-left: @conditionalForwardWithUrlbarWidth@px;
-moz-margin-start: -@conditionalForwardWithUrlbarWidth@px;
margin-inline-start: -@conditionalForwardWithUrlbarWidth@px;
position: relative;
pointer-events: none;
}
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar {
-moz-border-start: none;
border-inline-start: none;
margin-left: 0;
pointer-events: all;
}
@ -1342,7 +1386,7 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
}
.urlbar-input-box {
-moz-margin-start: 0;
margin-inline-start: 0;
min-width: 4em;
}
@ -1370,25 +1414,25 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
#urlbar-search-splitter {
min-width: 6px;
-moz-margin-start: -3px;
margin-inline-start: -3px;
border: none;
background: transparent;
}
#urlbar-search-splitter + #urlbar-container > #urlbar ,
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
-moz-margin-start: 0;
margin-inline-start: 0;
}
#urlbar-display-box {
-moz-border-end: 1px solid #AAA;
-moz-margin-end: 3px;
border-inline-end: 1px solid #AAA;
margin-inline-end: 3px;
}
#urlbar-display {
margin-top: 0;
margin-bottom: 0;
-moz-margin-start: 0;
margin-inline-start: 0;
color: GrayText;
}
@ -1410,7 +1454,7 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
}
#notification-popup-box:not([hidden]) + #identity-box {
-moz-padding-start: 10px;
padding-inline-start: 10px;
border-radius: 0;
}
@ -1420,7 +1464,7 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
color: hsl(92,100%,20%);
-moz-margin-end: 4px;
margin-inline-end: 4px;
background-image: -moz-linear-gradient(hsla(92,81%,16%,0),
hsla(92,81%,16%,.08) 25%,
hsla(92,81%,16%,.08) 75%,
@ -1432,7 +1476,7 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain {
color: rgb(0,79,168);
-moz-margin-end: 4px;
margin-inline-end: 4px;
background-image: -moz-linear-gradient(rgba(0,79,168,0),
rgba(0,79,168,.08) 25%,
rgba(0,79,168,.08) 75%,
@ -1460,8 +1504,8 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
}
#identity-icon-labels {
-moz-padding-start: 2px;
-moz-padding-end: 5px;
padding-inline-start: 2px;
padding-inline-end: 5px;
}
/* Address bar shading for SSL */
@ -1540,14 +1584,14 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
height: 16px;
margin-top: 1px;
margin-bottom: 1px;
-moz-margin-start: 3px;
-moz-margin-end: 2px;
margin-inline-start: 3px;
margin-inline-end: 2px;
list-style-image: url(chrome://browser/skin/identity-icons-generic.png);
-moz-image-region: rect(0, 16px, 16px, 0);
}
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar > #identity-box > #page-proxy-favicon {
-moz-margin-end: 1px;
margin-inline-end: 1px;
}
/* Since we already have a padlock, always use the generic icon until the favicon loads
@ -1796,7 +1840,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
}
#sidebar-title {
-moz-padding-start: 0px;
padding-inline-start: 0px;
}
/* ::::: throbber ::::: */
@ -1874,12 +1918,12 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
/* Hide the transparent top border by default */
margin-top: -1px;
/* Reduce the gap between the tabs */
-moz-margin-start: -1px;
margin-inline-start: -1px;
box-shadow: var(--tab-box-shadow);
}
.tabbrowser-tab {
-moz-padding-end: 3px;
padding-inline-end: 3px;
}
/* Override the default (globally-set) tab width values; increase
@ -1996,8 +2040,8 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
width: 16px;
height: 16px;
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
-moz-margin-start: 2px;
-moz-margin-end: 3px;
margin-inline-start: 2px;
margin-inline-end: 3px;
}
.tab-throbber {
@ -2010,8 +2054,8 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
.tab-throbber[pinned],
.tab-icon-image[pinned] {
-moz-margin-start: 5px;
-moz-margin-end: 5px;
margin-inline-start: 5px;
margin-inline-end: 5px;
}
/* tabbrowser-tab focus ring */
@ -2042,7 +2086,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
/* Tab sound indicator */
.tab-icon-sound {
-moz-margin-start: 4px;
margin-inline-start: 4px;
width: 16px;
height: 16px;
padding: 0;
@ -2273,9 +2317,9 @@ toolbar[brighttext] .tabs-closebutton {
}
.tabs-closebutton > .toolbarbutton-icon {
-moz-margin-end: 0px !important;
-moz-padding-end: 2px !important;
-moz-padding-start: 2px !important;
margin-inline-end: 0px !important;
padding-inline-end: 2px !important;
padding-inline-start: 2px !important;
}
toolbarbutton.chevron {
@ -2301,7 +2345,7 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
#sidebar-throbber[loading="true"] {
list-style-image: url("chrome://global/skin/icons/loading_16.png");
-moz-margin-end: 4px;
margin-inline-end: 4px;
}
/* Pale Moon: Feed icon */
@ -2353,7 +2397,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
.menupopup-drop-indicator {
list-style-image: none;
height: 2px;
-moz-margin-end: -4em;
margin-inline-end: -4em;
background-color: Highlight;
}
@ -2379,13 +2423,13 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
/* Popup Body Text */
.identity-popup-description {
white-space: pre-wrap;
-moz-padding-start: 15px;
padding-inline-start: 15px;
margin: 2px 0 4px;
}
.identity-popup-label {
white-space: pre-wrap;
-moz-padding-start: 15px;
padding-inline-start: 15px;
margin: 0;
}
@ -2419,7 +2463,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
margin-top: 10px;
-moz-margin-start: -24px;
margin-inline-start: -24px;
}
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
@ -2430,13 +2474,13 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
#identity-popup-more-info-button {
margin-top: 6px;
margin-bottom: 0;
-moz-margin-end: 0;
margin-inline-end: 0;
}
.popup-notification-icon {
width: 64px;
height: 64px;
-moz-margin-end: 10px;
margin-inline-end: 10px;
}
.popup-notification-icon[popupid="geolocation"] {
@ -2470,8 +2514,8 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
.popup-progress-label,
.popup-progress-meter {
-moz-margin-start: 0;
-moz-margin-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
}
.popup-progress-cancel {
@ -2530,7 +2574,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
border-width: 0 8px 0 0;
border-style: solid;
border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
-moz-margin-end: -8px;
margin-inline-end: -8px;
}
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
@ -2792,8 +2836,8 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
}
#allTabs-filter {
-moz-margin-start: 24px;
-moz-margin-end: 0;
margin-inline-start: 24px;
margin-inline-end: 0;
}
#allTabs-tab-close-button > .toolbarbutton-icon {
@ -2811,10 +2855,10 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
height: 22px;
padding-top: 1px;
padding-bottom: 5px;
-moz-padding-start: 1px;
-moz-padding-end: 5px;
padding-inline-start: 1px;
padding-inline-end: 5px;
margin-top: -2px;
-moz-margin-start: -2px;
margin-inline-start: -2px;
border-bottom-right-radius: 4px;
}
@ -2940,7 +2984,7 @@ toolbar[brighttext] #addonbar-closebutton {
text-shadow: none;
background-image: linear-gradient(#B4211B, #8A1915);
border-radius: 1px;
-moz-margin-end: 5px;
margin-inline-end: 5px;
}
%endif
@ -2961,7 +3005,7 @@ toolbar[brighttext] #addonbar-closebutton {
}
.toolbarbutton-badge-stack > .toolbarbutton-icon[label]:not([label=""]) {
-moz-margin-end: 0;
margin-inline-end: 0;
}
@navbarLargeIcons@ *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
@ -3018,7 +3062,7 @@ toolbar[brighttext] #addonbar-closebutton {
#appmenu-popup {
margin-top: -1px;
-moz-margin-start: 1px;
margin-inline-start: 1px;
}
.panel-promo-message {
@ -3090,19 +3134,19 @@ toolbar[brighttext] #addonbar-closebutton {
.sidebar-splitter {
border: 0;
-moz-border-end: 1px solid #A9B7C9;
border-inline-end: 1px solid #A9B7C9;
min-width: 0;
width: 3px;
background-color: transparent;
-moz-margin-start: -3px;
margin-inline-start: -3px;
position: relative;
}
#appcontent ~ .sidebar-splitter {
-moz-border-start: 1px solid #A9B7C9;
-moz-border-end: none;
-moz-margin-start: 0;
-moz-margin-end: -3px;
border-inline-start: 1px solid #A9B7C9;
border-inline-end: none;
margin-inline-start: 0;
margin-inline-end: -3px;
}
.menu-accel,
@ -3143,7 +3187,8 @@ toolbar[brighttext] #addonbar-closebutton {
--window-text-color: black;
}
#titlebar-min:not(:-moz-window-inactive):not(:-moz-lwtheme) {
#titlebar-min:not(:-moz-window-inactive):not(:-moz-lwtheme),
#minimize-button:not(:-moz-lwtheme) {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize);
}
@ -3151,29 +3196,35 @@ toolbar[brighttext] #addonbar-closebutton {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize);
}
#main-window[sizemode="maximized"] #titlebar-max:not(:-moz-window-inactive):not(:-moz-lwtheme) {
#main-window[sizemode="maximized"] #titlebar-max:not(:-moz-window-inactive):not(:-moz-lwtheme),
#restore-button:not(:-moz-lwtheme) {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore);
}
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme) {
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme),
#close-button:not(:-moz-lwtheme) {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#close);
}
.titlebar-button:not(#titlebar-close):not(:-moz-window-inactive):not(:-moz-lwtheme):hover {
.titlebar-button:not(#titlebar-close):not(:-moz-window-inactive):not(:-moz-lwtheme):hover,
#window-controls > toolbarbutton:not(#close-button):not(:-moz-lwtheme):hover {
background-color: hsla(0, 0%, 0%, .17);
}
.titlebar-button:not(#titlebar-close):not(:-moz-window-inactive):not(:-moz-lwtheme):hover:active {
.titlebar-button:not(#titlebar-close):not(:-moz-window-inactive):not(:-moz-lwtheme):hover:active,
#window-controls > toolbarbutton:not(#close-button):not(:-moz-lwtheme):hover:active {
background-color: hsla(0, 0%, 0%, .27);
transition: none;
}
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme):hover {
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme):hover,
#close-button:not(:-moz-lwtheme):hover {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-highlight);
background-color: hsla(0, 86%, 49%, 1);
}
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme):hover:active {
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme):hover:active,
#close-button:not(:-moz-lwtheme):hover:active {
background-color: hsla(0, 60%, 49%, 0.6);
transition: none;
}
@ -3188,8 +3239,14 @@ toolbar[brighttext] #addonbar-closebutton {
:root:not(:-moz-window-inactive):not(:-moz-lwtheme) {
--window-text-color: -moz-win-accentcolortext;
}
#main-window[sizemode=fullscreen]:not(:-moz-lwtheme) {
--fullscreen-background-color: -moz-win-accentcolor;
--fullscreen-text-color: -moz-win-accentcolortext;
}
#titlebar-min {
#titlebar-min,
#minimize-button {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize);
}
@ -3197,26 +3254,31 @@ toolbar[brighttext] #addonbar-closebutton {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize);
}
#main-window[sizemode="maximized"] #titlebar-max {
#main-window[sizemode="maximized"] #titlebar-max,
#restore-button {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore);
}
#titlebar-close {
#titlebar-close,
#close-button {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#close);
}
.titlebar-button:hover {
.titlebar-button:hover,
#window-controls > toolbarbutton:not(#close-button):hover {
background-color: hsla(0, 0%, 0%, .17);
}
.titlebar-button:hover:active {
.titlebar-button:hover:active,
#window-controls > toolbarbutton:not(#close-button):hover:active {
background-color: hsla(0, 0%, 0%, .27);
transition: none;
}
@media (-moz-windows-accent-color-is-dark) {
/* dark accent color */
#titlebar-min {
#titlebar-min,
#minimize-button {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-highlight);
}
@ -3224,7 +3286,8 @@ toolbar[brighttext] #addonbar-closebutton {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize-highlight);
}
#main-window[sizemode="maximized"] #titlebar-max {
#main-window[sizemode="maximized"] #titlebar-max,
#restore-button {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-highlight);
}
@ -3232,20 +3295,24 @@ toolbar[brighttext] #addonbar-closebutton {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-highlight);
}
.titlebar-button:not(#titlebar-close):not(:-moz-window-inactive):not(:-moz-lwtheme):hover {
.titlebar-button:not(#titlebar-close):not(:-moz-window-inactive):not(:-moz-lwtheme):hover,
#window-controls > toolbarbutton:not(#close-button):not(:-moz-lwtheme):hover {
background-color: hsla(0, 0%, 100%, .17);
}
.titlebar-button:not(#titlebar-close):not(:-moz-window-inactive):not(:-moz-lwtheme):hover:active {
.titlebar-button:not(#titlebar-close):not(:-moz-window-inactive):not(:-moz-lwtheme):hover:active,
#window-controls > toolbarbutton:not(#close-button):not(:-moz-lwtheme):hover:active {
background-color: hsla(0, 0%, 100%, .27);
transition: none;
}
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme):hover {
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme):hover,
#close-button:not(:-moz-lwtheme):hover {
background-color: hsla(0, 86%, 49%, 1);
}
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme):hover:active {
#titlebar-close:not(:-moz-window-inactive):not(:-moz-lwtheme):hover:active,
#close-button:not(:-moz-lwtheme):hover:active {
background-color: hsla(0, 60%, 39%, 1);
transition: none;
}
@ -3301,13 +3368,15 @@ toolbar[brighttext] #addonbar-closebutton {
padding-right: 19px;
}
#titlebar-close:hover {
#titlebar-close:hover,
#close-button:hover {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-highlight);
background-color: hsla(0, 86%, 49%, 1);
transition: background-color linear 160ms;
}
#titlebar-close:hover:active {
#titlebar-close:hover:active,
#close-button:hover:active {
background-color: hsla(0, 86%, 49%, 0.6);
transition: none;
}
@ -3341,16 +3410,19 @@ toolbar[brighttext] #addonbar-closebutton {
/* light persona */
.titlebar-button:-moz-lwtheme-darktext:hover {
.titlebar-button:-moz-lwtheme-darktext:hover,
#window-controls > toolbarbutton:not(#close-button):-moz-lwtheme-darktext:hover {
background-color: hsla(0, 0%, 0%, .17);
}
.titlebar-button:-moz-lwtheme-darktext:hover:active {
.titlebar-button:-moz-lwtheme-darktext:hover:active,
#window-controls > toolbarbutton:not(#close-button):-moz-lwtheme-darktext:hover:active {
background-color: hsla(0, 0%, 0%, .27);
transition: none;
}
#titlebar-min:-moz-lwtheme-darktext {
#titlebar-min:-moz-lwtheme-darktext,
#minimize-button:-moz-lwtheme-darktext {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-outline);
}
@ -3358,29 +3430,35 @@ toolbar[brighttext] #addonbar-closebutton {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize-outline);
}
#main-window[sizemode="maximized"]:-moz-lwtheme-darktext #titlebar-max:-moz-lwtheme-darktext {
#main-window[sizemode="maximized"]:-moz-lwtheme-darktext #titlebar-max:-moz-lwtheme-darktext,
#restore-button:-moz-lwtheme-darktext {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-outline);
}
#titlebar-close:-moz-lwtheme-darktext {
#titlebar-close:-moz-lwtheme-darktext,
#close-button:-moz-lwtheme-darktext {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-outline);
}
#titlebar-close:hover:-moz-lwtheme-darktext {
#titlebar-close:hover:-moz-lwtheme-darktext,
#close-button:hover:-moz-lwtheme-darktext {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-outline);
}
/* dark persona */
.titlebar-button:-moz-lwtheme-brighttext:hover {
.titlebar-button:-moz-lwtheme-brighttext:hover,
#window-controls > toolbarbutton:not(#close-button):-moz-lwtheme-brighttext:hover {
background-color: hsla(0, 0%, 100%, .27);
}
.titlebar-button:-moz-lwtheme-brighttext:hover:active {
.titlebar-button:-moz-lwtheme-brighttext:hover:active,
#window-controls > toolbarbutton:not(#close-button):-moz-lwtheme-brighttext:hover:active {
background-color: hsla(0, 0%, 100%, .37);
transition: none;
}
#titlebar-min:-moz-lwtheme-brighttext {
#titlebar-min:-moz-lwtheme-brighttext,
#minimize-button:-moz-lwtheme-brighttext {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-outline-inverted);
}
@ -3388,14 +3466,17 @@ toolbar[brighttext] #addonbar-closebutton {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize-outline-inverted);
}
#main-window[sizemode="maximized"]:-moz-lwtheme-brighttext #titlebar-max:-moz-lwtheme-brighttext {
#main-window[sizemode="maximized"]:-moz-lwtheme-brighttext #titlebar-max:-moz-lwtheme-brighttext,
#restore-button:-moz-lwtheme-brighttext {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-outline-inverted);
}
#titlebar-close:-moz-lwtheme-brighttext {
#titlebar-close:-moz-lwtheme-brighttext,
#close-button:-moz-lwtheme-brighttext {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-outline-inverted);
}
#titlebar-close:hover:-moz-lwtheme-brighttext {
#titlebar-close:hover:-moz-lwtheme-brighttext,
#close-button:hover:-moz-lwtheme-brighttext {
list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-outline-inverted);
}
@ -3550,8 +3631,9 @@ toolbar[brighttext] #addonbar-closebutton {
/* ==== ==== */
#main-window[sizemode=fullscreen]:not(:-moz-lwtheme) {
--window-text-color: var(--fullscreen-text-color);
-moz-appearance: none;
background-color: #556;
background-color: var(--fullscreen-background-color);
}
#toolbar-menubar:not(:-moz-lwtheme),
@ -3756,35 +3838,6 @@ toolbar[brighttext] #addonbar-closebutton {
}
}
/* ::::: fullscreen window controls ::::: */
#window-controls {
-moz-box-align: start;
}
#minimize-button,
#restore-button,
#close-button {
-moz-appearance: none;
border-style: none;
margin: 0;
}
#close-button {
-moz-image-region: rect(0, 49px, 16px, 32px);
}
#close-button:hover {
-moz-image-region: rect(16px, 49px, 32px, 32px);
}
#close-button:hover:active {
-moz-image-region: rect(32px, 49px, 48px, 32px);
}
#minimize-button:-moz-locale-dir(rtl),
#restore-button:-moz-locale-dir(rtl),
#close-button:-moz-locale-dir(rtl) {
transform: scaleX(-1);
}
/* ::::: splitmenu highlight style that imitates Windows 7 start menu ::::: */
@media (-moz-os-version: windows-vista) and (-moz-windows-default-theme),
(-moz-os-version: windows-win7) and (-moz-windows-default-theme) {
@ -3796,10 +3849,10 @@ toolbar[brighttext] #addonbar-closebutton {
border: 1px solid transparent;
}
.splitmenu-menuitem {
-moz-margin-end: 0;
margin-inline-end: 0;
}
.splitmenu-menu {
-moz-margin-start: -1px;
margin-inline-start: -1px;
}
.splitmenu-menuitem:-moz-locale-dir(ltr),
.splitmenu-menu:-moz-locale-dir(rtl) {
@ -3813,11 +3866,11 @@ toolbar[brighttext] #addonbar-closebutton {
}
.splitmenu-menuitem > .menu-text {
-moz-margin-start: 1px !important;
-moz-margin-end: 3px !important;
margin-inline-start: 1px !important;
margin-inline-end: 3px !important;
}
.splitmenu-menu > .menu-right {
-moz-margin-end: -3px;
margin-inline-end: -3px;
}
.splitmenu-menuitem[iconic],
@ -3827,11 +3880,11 @@ toolbar[brighttext] #addonbar-closebutton {
.splitmenu-menuitem[iconic] > .menu-iconic-left {
margin-top: -3px;
margin-bottom: -2px;
-moz-margin-start: -1px;
margin-inline-start: -1px;
}
.splitmenu-menuitem[iconic] > .menu-iconic-text {
-moz-margin-start: 2px !important;
-moz-margin-end: 3px !important;
margin-inline-start: 2px !important;
margin-inline-end: 3px !important;
}
.splitmenu-menu[iconic] > .menu-right {
margin-top: -1px;

View file

@ -13,8 +13,8 @@
}
.downloadTypeIcon {
-moz-margin-start: 8px;
-moz-margin-end: 8px;
margin-inline-start: 8px;
margin-inline-end: 8px;
/* explicitly size the icon, so size doesn't vary on hidpi systems */
height: 32px;
width: 32px;

View file

@ -88,7 +88,7 @@
#downloadsSummary,
richlistitem[type="download"] {
height: 7em;
-moz-padding-end: 0;
padding-inline-end: 0;
color: inherit;
}
@ -143,7 +143,7 @@ richlistitem[type="download"]:first-child {
}
.downloadTypeIcon {
-moz-margin-end: 8px;
margin-inline-end: 8px;
/* Prevent flickering when changing states. */
height: 32px;
width: 32px;
@ -465,7 +465,7 @@ toolbar[brighttext] #downloads-indicator-counter {
background-image: linear-gradient(#505050, #575757);
border: 1px solid;
border-color: hsla(0,0%,0%,.6) hsla(0,0%,0%,.4) hsla(0,0%,0%,.4);
-moz-border-start: none;
border-inline-start: none;
border-radius: 0 2px 2px 0;
}

View file

@ -5,8 +5,8 @@
%endif
#engineList treechildren::-moz-tree-image(engineName) {
-moz-margin-end: 4px;
-moz-margin-start: 1px;
margin-inline-end: 4px;
margin-inline-start: 1px;
width: 16px;
height: 16px;
}

View file

@ -7,17 +7,17 @@
}
.handlersMenuPopup > menuitem {
-moz-padding-start: 23px;
padding-inline-start: 23px;
}
.handlersMenuPopup > menuitem.menuitem-iconic {
-moz-padding-start: 2px;
padding-inline-start: 2px;
}
.handlersMenuPopup > .menuitem-iconic > .menu-iconic-left {
display: -moz-box;
min-width: 16px;
-moz-padding-end: 2px;
padding-inline-end: 2px;
}
.chooseApplicationMenuItem {

View file

@ -10,7 +10,7 @@ html {
#feedBody {
border: 1px solid THreeDShadow;
padding: 3em;
-moz-padding-start: 30px;
padding-inline-start: 30px;
margin: 2em auto;
background: -moz-Field;
}
@ -25,9 +25,9 @@ html {
#feedHeader {
margin-top: 4.9em;
margin-bottom: 1em;
-moz-margin-start: 1.4em;
-moz-margin-end: 1em;
-moz-padding-start: 2.9em;
margin-inline-start: 1.4em;
margin-inline-end: 1em;
padding-inline-start: 2.9em;
font-size: 110%;
color: InfoText;
}
@ -54,12 +54,12 @@ html {
#feedHeader[firstrun="true"] #feedIntroText {
padding-top: 0.1em;
-moz-padding-start: 0.6em;
padding-inline-start: 0.6em;
display: block;
}
#feedHeader[firstrun="true"] > #feedSubscribeLine {
-moz-padding-start: 1.8em;
padding-inline-start: 1.8em;
}
#feedSubscribeLine {
@ -99,8 +99,8 @@ h2 {
#feedTitleLink {
float: right;
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-inline-start: .6em;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
}
@ -110,15 +110,15 @@ a[href] img {
}
#feedTitleContainer {
-moz-margin-start: 0;
-moz-margin-end: .6em;
margin-inline-start: 0;
margin-inline-end: .6em;
margin-top: 0;
margin-bottom: 0;
}
#feedTitleImage {
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-inline-start: .6em;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
max-width: 300px;

View file

@ -112,6 +112,7 @@ browser.jar:
skin/classic/browser/places/toolbarDropMarker.png (places/toolbarDropMarker.png)
skin/classic/browser/places/editBookmarkOverlay.css (places/editBookmarkOverlay.css)
skin/classic/browser/places/libraryToolbar.png (places/libraryToolbar.png)
skin/classic/browser/places/libraryToolbar.svg (places/libraryToolbar.svg)
skin/classic/browser/places/starred48.png (places/starred48.png)
skin/classic/browser/places/unstarred48.png (places/unstarred48.png)
skin/classic/browser/places/tag.png (places/tag.png)

View file

@ -6,7 +6,7 @@
/* View buttons */
#viewGroup {
-moz-padding-start: 10px;
padding-inline-start: 10px;
}
#viewGroup > radio {
@ -31,7 +31,7 @@
#topBar {
border-bottom: 2px groove ThreeDFace;
-moz-padding-start: 10px;
padding-inline-start: 10px;
background-color: -moz-Field;
color: -moz-FieldText;
}
@ -98,7 +98,7 @@ textbox {
}
textbox.header {
-moz-margin-start: 0;
margin-inline-start: 0;
}
.iframe {
@ -121,8 +121,8 @@ groupbox.collapsable caption .caption-icon {
height: 9px;
background-repeat: no-repeat;
background-position: center;
-moz-margin-start: 2px;
-moz-margin-end: 2px;
margin-inline-start: 2px;
margin-inline-end: 2px;
background-image: url("chrome://global/skin/tree/twisty.svg#open");
}
@ -142,7 +142,7 @@ groupbox tree {
}
#securityBox description {
-moz-margin-start: 10px;
margin-inline-start: 10px;
}
#general-security-identity {
@ -197,8 +197,8 @@ treechildren::-moz-tree-cell-text(broken) {
#feedListbox richlistitem {
padding-top: 6px;
padding-bottom: 6px;
-moz-padding-start: 7px;
-moz-padding-end: 7px;
padding-inline-start: 7px;
padding-inline-end: 7px;
min-height: 25px;
border-bottom: 1px dotted #C0C0C0;
}
@ -235,8 +235,8 @@ treechildren::-moz-tree-cell-text(broken) {
.permission {
padding-top: 6px;
padding-bottom: 6px;
-moz-padding-start: 7px;
-moz-padding-end: 7px;
padding-inline-start: 7px;
padding-inline-end: 7px;
min-height: 25px;
border-bottom: 1px dotted #C0C0C0;
}

View file

@ -43,7 +43,7 @@
.site-favicon {
height: 16px;
width: 16px;
-moz-margin-end: 4px;
margin-inline-end: 4px;
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}
@ -60,7 +60,7 @@
#site-description {
font-size: 125%;
-moz-margin-start: 6px; /* to match button margin */
margin-inline-start: 6px; /* to match button margin */
}
#site-label {
@ -72,7 +72,7 @@
#defaults-description {
font-size: 125%;
font-weight: bold;
-moz-margin-start: 6px;
margin-inline-start: 6px;
}
.pref-item {
@ -82,7 +82,7 @@
.pref-icon {
width: 48px;
height: 48px;
-moz-margin-end: 10px;
margin-inline-end: 10px;
}
.pref-icon[type="password"] {

View file

@ -24,7 +24,7 @@
.expander-down {
min-width: 0;
margin: 0;
-moz-margin-end: 4px;
margin-inline-end: 4px;
}
.expander-up > .button-box,

View file

@ -0,0 +1,41 @@
<!-- 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/. -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="16" viewBox="0 0 48 16">
<defs>
<linearGradient id="starGradient" x1="24.5" x2="24.5" y1="1081" y2="1121" gradientTransform="matrix(.318 0 0 .317 30.2 -342)" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#f9f3ac"/>
<stop offset="1" stop-color="#ffdc46"/>
</linearGradient>
<linearGradient id="fileGradient" x1="5" x2="5" y1=".842" y2="9.16" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fff"/>
<stop offset="1" stop-color="#e3f1fc"/>
</linearGradient>
</defs>
<g id="file">
<use width="100%" height="100%" transform="translate(6 6)" xlink:href="#file-individual"/>
<use width="100%" height="100%" transform="translate(4 4)" xlink:href="#file-individual"/>
<use width="100%" height="100%" transform="translate(2 2)" xlink:href="#file-individual"/>
<g id="file-individual">
<path fill="url(#fileGradient)" d="M1 0h8v10H1z"/>
<path fill="#9c9c9c" d="M1 0v10h8V0zm1 1h6v8H2z"/>
</g>
</g>
<g id="view">
<path fill="#a7dd8c" d="M17 2v1h2V2z"/>
<path fill="#eaedf4" d="M20 2v1h7V2zm8 0v1h3V2zm-8 2v1h7V4zm8 0v1h3V4zm-8 2v1h7V6zm8 0v1h3V6zm-8 3v1h7V9zm8 0v1h3V9zm-8 2v1h7v-1zm8 0v1h3v-1zm-8 2v1h7v-1zm8 0v1h3v-1z"/>
<path fill-opacity=".3" d="M17 3v1h2V3zm3 0v1h7V3zm8 0v1h3V3zM17 5v1h2V5zm3 0v1h7V5zm8 0v1h3V5zM17 7v1h2V7zm3 0v1h7V7zm8 0v1h3V7zm-11 3v1h2v-1zm3 0v1h7v-1zm8 0v1h3v-1zm-11 2v1h2v-1zm3 0v1h7v-1zm8 0v1h3v-1zm-11 2v1h2v-1zm3 0v1h7v-1zm8 0v1h3v-1z"/>
<path fill="#c5a2ec" d="M17 4v1h2V4z"/>
<path fill="#ec8e8e" d="M17 6v1h2V6z"/>
<path fill="#8ebbec" d="M17 9v1h2V9z"/>
<path fill="#a7dd8c" d="M17 11v1h2v-1z"/>
<path fill="#fac090" d="M17 13v1h2v-1z"/>
</g>
<g id="bk-restore">
<g id="star">
<path fill="url(#starGradient)" d="M34.2 9.73c.213-2.14.213-2.14-.921-3.23-1.66-1.6-1.52-2.14.636-2.41 1.76-.22 1.78-.23 2.61-1.93.488-.992 1.05-1.7 1.34-1.7.293 0 .856.717 1.35 1.72.841 1.71.854 1.72 2.61 1.94 2.15.268 2.28.789.629 2.38-1.13 1.09-1.13 1.09-.921 3.23.251 2.52.023 2.65-2.26 1.32-1.41-.823-1.41-.823-2.81 0-2.28 1.33-2.51 1.2-2.26-1.32z"/>
<path fill="#cd9a34" d="M38 0c-.299 0-.462.127-.608.245a2.635 2.635 0 0 0-.405.427 7.3 7.3 0 0 0-.769 1.26c-.396.805-.589 1.13-.738 1.24-.15.111-.468.179-1.3.283-.535.067-.96.148-1.32.287-.357.139-.715.384-.825.8-.11.417.055.788.274 1.12.219.328.53.662.939 1.06.539.519.706.698.767.911.06.213.04.683-.062 1.7-.06.607-.095 1.08-.07 1.47.012.198.037.381.107.566a.995.995 0 0 0 .411.502c.408.238.81.117 1.19-.035.38-.152.808-.391 1.36-.712.67-.391.938-.508 1.05-.508.114 0 .383.117 1.05.508.55.32.981.56 1.36.712.38.152.78.274 1.19.035a.995.995 0 0 0 .411-.502c.071-.185.096-.367.108-.566.025-.397-.01-.867-.07-1.47-.103-1.02-.124-1.49-.062-1.7.06-.213.228-.392.767-.911.407-.392.717-.723.935-1.05.218-.325.386-.693.276-1.11-.11-.416-.467-.657-.822-.794-.355-.137-.78-.217-1.31-.283-.833-.104-1.15-.169-1.3-.281-.15-.111-.343-.437-.743-1.25a7.138 7.138 0 0 0-.776-1.27 2.608 2.608 0 0 0-.405-.429C38.464.136 38.3.007 38 .007zm0 1.24c.042.044.073.07.126.137.192.245.428.627.648 1.07.4.814.612 1.31 1.09 1.66.473.351.997.391 1.83.495.488.06.849.14 1.04.214.194.075.154.1.135.029-.019-.071.014-.014-.122.188s-.401.5-.78.866c-.539.519-.912.86-1.07 1.41-.158.555-.077 1.1.024 2.12.06.589.083 1.03.067 1.29-.004.072-.012.088-.02.128.008-.01.047-.001-.137-.075-.264-.106-.672-.326-1.21-.64-.67-.39-1.07-.662-1.62-.662-.555 0-.954.272-1.62.663-.535.313-.945.533-1.21.639-.184.073-.145.065-.137.075-.008-.04-.016-.056-.02-.128-.017-.26.01-.704.068-1.29.102-1.02.182-1.56.025-2.12-.158-.555-.533-.896-1.07-1.41-.381-.367-.646-.67-.783-.873-.136-.204-.104-.263-.122-.197-.018.066-.054.04.14-.036.197-.076.556-.158 1.05-.219.839-.105 1.36-.146 1.84-.495.475-.349.685-.84 1.08-1.65.218-.442.453-.82.644-1.06.051-.065.082-.089.124-.133z"/>
</g>
<path fill="#169103" d="M43 6.7c-2.37 0-4.34 1.65-4.85 3.87h2.03c.458-1.13 1.54-1.94 2.82-1.94.692 0 1.23.154 1.77.541l-1.39 2.17H48v-4.65l-1.85 1.08c-.923-.698-2-1.08-3.15-1.08zm-5 4.65V16l1.85-1.08c.923.698 2 1.08 3.15 1.08 2.37 0 4.34-1.65 4.85-3.87h-2.03c-.458 1.13-1.54 1.94-2.82 1.94-.692 0-1.23-.154-1.77-.541l1.39-2.17z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -6,19 +6,21 @@
--toolbar-custom-color: hsl(210,75%,92%);
--toolbar-highlight-top: rgba(255,255,255,.5);
--toolbarbutton-image: url("chrome://browser/skin/Toolbar.png");
--library-toolbar-image: url("chrome://browser/skin/places/libraryToolbar.png");
}
/* Use SVG for HiDPI 133%+ */
@media (min-resolution: 1.33dppx) {
:root {
--toolbarbutton-image: url("chrome://browser/skin/Toolbar.svg");
--library-toolbar-image: url("chrome://browser/skin/places/libraryToolbar.svg");
}
}
/* Toolbar */
#placesToolbar {
padding: 3px;
-moz-padding-end: 6px;
padding-inline-end: 6px;
}
#placesToolbar > toolbarbutton[disabled] > .toolbarbutton-icon {
@ -45,14 +47,14 @@
/* Menu */
#placesMenu {
-moz-margin-start: 6px;
margin-inline-start: 6px;
-moz-appearance: none;
border: none;
}
#placesMenu > menu {
-moz-padding-start: 4px;
-moz-padding-end: 1px;
padding-inline-start: 4px;
padding-inline-end: 1px;
padding-top: 2px;
padding-bottom: 2px;
-moz-appearance: toolbarbutton;
@ -73,14 +75,14 @@
#placesMenu > menu[open="true"] {
border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
-moz-padding-start: 5px;
-moz-padding-end: 0px;
padding-inline-start: 5px;
padding-inline-end: 0px;
padding-top: 3px;
padding-bottom: 1px;
}
#placesMenu > menu > .menubar-text {
-moz-padding-end: 8px;
padding-inline-end: 8px;
background: url(chrome://global/skin/arrow/arrow-dn.gif) right center no-repeat;
}
@ -92,35 +94,23 @@
#organizeButton,
#viewMenu,
#maintenanceButton {
list-style-image: url("chrome://browser/skin/places/libraryToolbar.png");
list-style-image: var(--library-toolbar-image);
}
/* organize button */
#organizeButton {
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
#organizeButton:hover,
#organizeButton[open="true"] {
-moz-image-region: rect(16px, 16px, 32px, 0px);
}
/* view button */
#viewMenu {
-moz-image-region: rect(0px, 32px, 16px, 16px);
}
#viewMenu:hover,
#viewMenu[open="true"] {
-moz-image-region: rect(16px, 32px, 32px, 16px);
}
/* maintenance button */
#maintenanceButton {
-moz-image-region: rect(0px, 48px, 16px, 32px);
}
#maintenanceButton:hover,
#maintenanceButton[open="true"] {
-moz-image-region: rect(16px, 48px, 32px, 32px);
}
/* Root View */
#placesView {
@ -134,12 +124,12 @@
}
#infoBoxExpanderLabel {
-moz-padding-start: 2px;
padding-inline-start: 2px;
}
#organizerScopeBar {
padding: 2px 0;
-moz-padding-end: 3px;
padding-inline-end: 3px;
}
#organizerScopeBar > toolbarbutton {
@ -181,8 +171,8 @@
}
#clearDownloadsButton {
-moz-padding-start: 9px;
-moz-padding-end: 9px;
padding-inline-start: 9px;
padding-inline-end: 9px;
}
#placesView {
@ -205,11 +195,11 @@
@media (-moz-windows-default-theme) {
#placesView > splitter {
border: 0;
-moz-border-end: 1px solid #A9B7C9;
border-inline-end: 1px solid #A9B7C9;
min-width: 0;
width: 3px;
background-color: transparent;
-moz-margin-start: -3px;
margin-inline-start: -3px;
position: relative;
}
}
@ -245,7 +235,7 @@
#searchFilter {
-moz-appearance: none;
padding: 2px;
-moz-padding-start: 4px;
padding-inline-start: 4px;
background-clip: padding-box;
border: 1px solid rgba(0,0,0,.32);
border-radius: 2px;

View file

@ -168,5 +168,5 @@ treechildren::-moz-tree-cell-text(cutting) {
#viewButton > .button-box > .button-menu-dropmarker {
height: auto;
width: auto;
-moz-margin-end: -3px;
margin-inline-end: -3px;
}

View file

@ -11,18 +11,18 @@
.actionsMenu {
margin-top: 0;
margin-bottom: 0;
-moz-margin-start: -2px;
-moz-margin-end: 0;
margin-inline-start: -2px;
margin-inline-end: 0;
}
.typeIcon,
.actionIcon {
-moz-margin-start: 3px;
-moz-margin-end: 3px;
margin-inline-start: 3px;
margin-inline-end: 3px;
}
richlistitem label {
-moz-margin-start: 1px;
margin-inline-start: 1px;
margin-top: 2px;
}
@ -51,14 +51,14 @@ menuitem[appHandlerIcon="plugin"] {
}
.actionsMenu .menulist-icon {
-moz-margin-end: 3px;
margin-inline-end: 3px;
}
.actionsMenu > menupopup > menuitem > .menu-iconic-left {
-moz-padding-start: 0px;
-moz-padding-end: 2px;
padding-inline-start: 0px;
padding-inline-end: 2px;
}
.actionsMenu > menupopup > menuitem {
-moz-padding-start: 4px;
padding-inline-start: 4px;
}

View file

@ -3,12 +3,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#sanitizeDurationChoice {
-moz-margin-end: 0;
margin-inline-end: 0;
}
/* Align the duration label with the warning box and item list */
#sanitizeDurationLabel {
-moz-margin-start: 3px;
margin-inline-start: 3px;
}
@ -79,15 +79,15 @@
/* Make the item list the same width as the warning box */
#itemList {
-moz-margin-start: 0;
-moz-margin-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
}
/* Align the last dialog button with the end of the warning box */
.prefWindow-dlgbuttons {
-moz-margin-end: 0;
margin-inline-end: 0;
}
.dialog-button[dlgtype="cancel"] {
-moz-margin-end: 0;
margin-inline-end: 0;
}

View file

@ -22,7 +22,7 @@
width: 16px;
list-style-image: url("chrome://global/skin/icons/folder-item.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
-moz-margin-start: 2px;
margin-inline-start: 2px;
}
.searchbar-engine-button {
@ -30,7 +30,7 @@
min-width: 0;
margin: 0;
padding: 0;
-moz-padding-end: 2px;
padding-inline-end: 2px;
-moz-box-align: center;
background: none;
border: none;

View file

@ -58,7 +58,7 @@ toolbar[brighttext] #status4evar-download-button #status4evar-download-icon
toolbar[mode="icons"] #status4evar-download-button[forcelabel="true"] > label
{
-moz-margin-start: 5px !important;
margin-inline-start: 5px !important;
}
/*
@ -77,7 +77,7 @@ splitter.status4evar-status-splitter
#urlbar-progress-alt
{
-moz-margin-end: -2px;
margin-inline-end: -2px;
}
/*

View file

@ -8,7 +8,7 @@
}
.statusIcon {
-moz-margin-start: 4px;
margin-inline-start: 4px;
max-height: 16px;
max-width: 16px;
}

View file

@ -99,7 +99,7 @@ description > .text-link:focus {
}
.inputColumn {
-moz-margin-end: 2px
margin-inline-end: 2px
}
.pin {

View file

@ -381,11 +381,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
eval $set_cc_for_build
SUN_ARCH=i386
# If there is a compiler, see if it is configured for 64-bit objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# This test works for both compilers.
if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
_ISAINFO=`isainfo -k 2>/dev/null`
if [ "$_ISAINFO" = "amd64" ]; then
SUN_ARCH=x86_64
elif [ "$CC_FOR_BUILD" != no_compiler_found ]; then
# If there is a compiler, see if it is configured for 64-bit objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# This test works for both compilers.
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then

72
build/ppCheck.py Normal file
View file

@ -0,0 +1,72 @@
#!/usr/bin/env python
from __future__ import print_function
import os, sys
if not len(sys.argv) is 2 or not os.path.exists(sys.argv[1]):
print("\nYou did not supply a valid path to check.")
exit(1)
else:
print("\nChecking for un-preprocessed files...", end = ' ')
DIST_PATH = sys.argv[1]
PP_FILE_TYPES = (
'.css',
'.dtd',
'.html',
'.js',
'.jsm',
'.xhtml',
'.xml',
'.xul',
'.manifest',
'.properties',
'.rdf'
)
PP_SPECIAL_TYPES = ('.css')
PP_DIRECTIVES = [
'define',
'if',
'ifdef',
'ifndef',
'elif',
'elifdef',
'endif',
'error',
'expand',
'filter',
'include',
'literal',
'undef',
'unfilter'
]
PP_FILES = []
PP_BAD_FILES = []
for root, directories, filenames in os.walk(DIST_PATH):
for filename in filenames:
if filename.endswith(PP_FILE_TYPES):
PP_FILES += [ os.path.join(root, filename).replace(os.sep, '/') ]
for file in PP_FILES:
with open(file) as fp:
marker = '%' if file.endswith(PP_SPECIAL_TYPES) else '#'
directives = tuple(marker + directive for directive in PP_DIRECTIVES)
for line in fp:
if line.startswith(directives):
PP_BAD_FILES += [ file.replace(DIST_PATH + '/', '') ]
fp.close()
PP_BAD_FILES = list(dict.fromkeys(PP_BAD_FILES))
print('Done!')
if len(PP_BAD_FILES) > 0:
print("\nWARNING: The following {0} file(s) in {1} may require preprocessing:\n".format(len(PP_BAD_FILES), DIST_PATH))
for file in PP_BAD_FILES:
print(file)
exit(0)

View file

@ -860,6 +860,12 @@ nsDocShell::~nsDocShell()
shPrivate->SetRootDocShell(nullptr);
}
if (mContentViewer) {
mContentViewer->Close(nullptr);
mContentViewer->Destroy();
mContentViewer = nullptr;
}
if (--gDocShellCount == 0) {
NS_IF_RELEASE(sURIFixup);
}

View file

@ -6,11 +6,8 @@
EXTRA_COMPONENTS += [
'InputMethod.manifest',
'MozKeyboard.js',
]
EXTRA_PP_JS_MODULES += [
'Keyboard.jsm',
'MozKeyboard.js',
]
JAR_MANIFESTS += ['jar.mn']

View file

@ -487,7 +487,7 @@ class CompileInfo
// Function.arguments can be used to access all arguments in non-strict
// scripts, so we can't optimize out any arguments.
if ((hasArguments() || !script()->strict()) &&
if ((mayReadFrameArgsDirectly_ || !script()->strict()) &&
firstArgSlot() <= slot && slot - firstArgSlot() < nargs())
{
return true;

View file

@ -851,12 +851,6 @@ NS_IMPL_ISUPPORTS(VsyncChildCreateCallback, nsIIPCBackgroundChildCreateCallback)
static StaticRefPtr<RefreshDriverTimer> sRegularRateTimer;
static StaticRefPtr<InactiveRefreshDriverTimer> sThrottledRateTimer;
#ifdef XP_WIN
static int32_t sHighPrecisionTimerRequests = 0;
// a bare pointer to avoid introducing a static constructor
static nsITimer *sDisableHighPrecisionTimersTimer = nullptr;
#endif
static void
CreateContentVsyncRefreshTimer(void*)
{
@ -934,16 +928,6 @@ nsRefreshDriver::Shutdown()
sRegularRateTimer = nullptr;
sThrottledRateTimer = nullptr;
#ifdef XP_WIN
if (sDisableHighPrecisionTimersTimer) {
sDisableHighPrecisionTimersTimer->Cancel();
NS_RELEASE(sDisableHighPrecisionTimersTimer);
timeEndPeriod(1);
} else if (sHighPrecisionTimerRequests) {
timeEndPeriod(1);
}
#endif
}
/* static */ int32_t
@ -1062,7 +1046,6 @@ nsRefreshDriver::nsRefreshDriver(nsPresContext* aPresContext)
mNeedToRecomputeVisibility(false),
mTestControllingRefreshes(false),
mViewManagerFlushIsPending(false),
mRequestedHighPrecision(false),
mInRefresh(false),
mWaitingForTransaction(false),
mSkippedPaints(false),
@ -1300,83 +1283,6 @@ nsRefreshDriver::StopTimer()
mActiveTimer->RemoveRefreshDriver(this);
mActiveTimer = nullptr;
if (mRequestedHighPrecision) {
SetHighPrecisionTimersEnabled(false);
}
}
#ifdef XP_WIN
static void
DisableHighPrecisionTimersCallback(nsITimer *aTimer, void *aClosure)
{
timeEndPeriod(1);
NS_RELEASE(sDisableHighPrecisionTimersTimer);
}
#endif
void
nsRefreshDriver::ConfigureHighPrecision()
{
bool haveUnthrottledFrameRequestCallbacks =
mFrameRequestCallbackDocs.Length() > 0;
// if the only change that's needed is that we need high precision,
// then just set that
if (!mThrottled && !mRequestedHighPrecision &&
haveUnthrottledFrameRequestCallbacks) {
SetHighPrecisionTimersEnabled(true);
} else if (mRequestedHighPrecision && !haveUnthrottledFrameRequestCallbacks) {
SetHighPrecisionTimersEnabled(false);
}
}
void
nsRefreshDriver::SetHighPrecisionTimersEnabled(bool aEnable)
{
LOG("[%p] SetHighPrecisionTimersEnabled (%s)", this, aEnable ? "true" : "false");
if (aEnable) {
NS_ASSERTION(!mRequestedHighPrecision, "SetHighPrecisionTimersEnabled(true) called when already requested!");
#ifdef XP_WIN
if (++sHighPrecisionTimerRequests == 1) {
// If we had a timer scheduled to disable it, that means that it's already
// enabled; just cancel the timer. Otherwise, really enable it.
if (sDisableHighPrecisionTimersTimer) {
sDisableHighPrecisionTimersTimer->Cancel();
NS_RELEASE(sDisableHighPrecisionTimersTimer);
} else {
timeBeginPeriod(1);
}
}
#endif
mRequestedHighPrecision = true;
} else {
NS_ASSERTION(mRequestedHighPrecision, "SetHighPrecisionTimersEnabled(false) called when not requested!");
#ifdef XP_WIN
if (--sHighPrecisionTimerRequests == 0) {
// Don't jerk us around between high precision and low precision
// timers; instead, only allow leaving high precision timers
// after 90 seconds. This is arbitrary, but hopefully good
// enough.
NS_ASSERTION(!sDisableHighPrecisionTimersTimer, "We shouldn't have an outstanding disable-high-precision timer !");
nsCOMPtr<nsITimer> timer = do_CreateInstance(NS_TIMER_CONTRACTID);
if (timer) {
timer.forget(&sDisableHighPrecisionTimersTimer);
sDisableHighPrecisionTimersTimer->InitWithFuncCallback(DisableHighPrecisionTimersCallback,
nullptr,
90 * 1000,
nsITimer::TYPE_ONE_SHOT);
} else {
// might happen if we're shutting down XPCOM; just drop the time period down
// immediately
timeEndPeriod(1);
}
}
#endif
mRequestedHighPrecision = false;
}
}
uint32_t
@ -1993,8 +1899,6 @@ nsRefreshDriver::Tick(int64_t aNowEpoch, TimeStamp aNowTime)
observer->DidRefresh();
}
ConfigureHighPrecision();
NS_ASSERTION(mInRefresh, "Still in refresh");
if (mPresContext->IsRoot() && XRE_IsContentProcess() && gfxPrefs::AlwaysPaint()) {
@ -2247,7 +2151,6 @@ nsRefreshDriver::ScheduleFrameRequestCallbacks(nsIDocument* aDocument)
}
// make sure that the timer is running
ConfigureHighPrecision();
EnsureTimerStarted();
}
@ -2256,7 +2159,6 @@ nsRefreshDriver::RevokeFrameRequestCallbacks(nsIDocument* aDocument)
{
mFrameRequestCallbackDocs.RemoveElement(aDocument);
mThrottledFrameRequestCallbackDocs.RemoveElement(aDocument);
ConfigureHighPrecision();
// No need to worry about restarting our timer in slack mode if it's already
// running; that will happen automatically when it fires.
}

View file

@ -450,7 +450,6 @@ private:
bool mNeedToRecomputeVisibility;
bool mTestControllingRefreshes;
bool mViewManagerFlushIsPending;
bool mRequestedHighPrecision;
bool mInRefresh;
// True if the refresh driver is suspended waiting for transaction
@ -502,10 +501,6 @@ private:
friend class mozilla::RefreshDriverTimer;
// turn on or turn off high precision based on various factors
void ConfigureHighPrecision();
void SetHighPrecisionTimersEnabled(bool aEnable);
static void Shutdown();
// `true` if we are currently in jank-critical mode.

View file

@ -1031,6 +1031,7 @@ nsContainerFrame::ReflowChild(nsIFrame* aKidFrame,
if (0 == (aFlags & NS_FRAME_NO_MOVE_VIEW)) {
PositionFrameView(aKidFrame);
PositionChildViews(aKidFrame);
}
// Reflow the child frame
@ -1074,6 +1075,7 @@ nsContainerFrame::ReflowChild(nsIFrame* aKidFrame,
if (0 == (aFlags & NS_FRAME_NO_MOVE_VIEW)) {
PositionFrameView(aKidFrame);
PositionChildViews(aKidFrame);
}
// Reflow the child frame
@ -1923,6 +1925,10 @@ nsContainerFrame::RenumberFrameAndDescendants(int32_t* aOrdinal,
nsIFrame *f = bullet;
do {
nsIFrame *parent = f->GetParent();
if (!parent) {
// We may have an orphan situation in some corner cases.
break;
}
parent->ChildIsDirty(f);
f = parent;
} while (f != listItem);

View file

@ -9,7 +9,7 @@ import os
import re
import subprocess
AOM_DIR = '../../third_party/aom'
AOM_DIR = '../../media/libaom/src'
def write_aom_config(system, arch, variables, cache_variables):
# read template cmake file

View file

@ -15,7 +15,7 @@
export LC_ALL=C
BASE_DIR=$(pwd)
LIBAOM_SRC_DIR="../../third_party/aom"
LIBAOM_SRC_DIR="../../media/libaom/src"
LIBAOM_CONFIG_DIR="config"
# Print license header.

View file

@ -134,10 +134,10 @@ if CONFIG['CLANG_CXX'] or CONFIG['CLANG_CL']:
ASFLAGS += CONFIG['VPX_ASFLAGS']
ASFLAGS += [
'-I.',
'-I%s/third_party/aom' % TOPSRCDIR,
'-I%s/media/libaom/src' % TOPSRCDIR,
]
LOCAL_INCLUDES += [
'/media/libaom/config', # aom_version.h
'/third_party/aom',
'/media/libaom/src',
]

File diff suppressed because it is too large Load diff

Some files were not shown because too many files have changed in this diff Show more