visual improvements
parent
cbac36ec59
commit
546e7f21e6
|
@ -0,0 +1,30 @@
|
|||
--- a/browser/themes/shared/toolbarbuttons.inc.css 2021-09-28 00:46:32.000000000 +0200
|
||||
+++ b/browser/themes/shared/toolbarbuttons.inc.css 2021-10-12 12:14:29.155204427 +0200
|
||||
@@ -54,6 +54,10 @@
|
||||
|
||||
.toolbarbutton-1 > .toolbarbutton-icon {
|
||||
margin-inline-end: 0 !important;
|
||||
+ height: 24px !important;
|
||||
+ width: 24px !important;
|
||||
+ padding: 0 !important;
|
||||
+ margin: 0 4px !important;
|
||||
}
|
||||
|
||||
.toolbarbutton-1 > .toolbarbutton-icon,
|
||||
@@ -367,3 +371,16 @@
|
||||
margin-inline-end: -6px !important;
|
||||
background: url(chrome://browser/skin/badge-blue.svg);
|
||||
}
|
||||
+
|
||||
+#PersonalToolbar {
|
||||
+ padding-left: 0px;
|
||||
+}
|
||||
+
|
||||
+#PersonalToolbar > toolbarbutton {
|
||||
+ margin: 0px !important;
|
||||
+ padding: 0px !important;
|
||||
+}
|
||||
+
|
||||
+#PersonalToolbar > toolbarbutton > image {
|
||||
+ margin-inline-start: 0px !important;
|
||||
+}
|
|
@ -263,9 +263,8 @@ diff --git a/browser/themes/shared/sidebar.inc.css b/browser/themes/shared/sideb
|
|||
-moz-context-properties: fill;
|
||||
fill: currentColor;
|
||||
opacity: 0.8;
|
||||
diff --git a/browser/themes/shared/tabs.inc.css b/browser/themes/shared/tabs.inc.css
|
||||
--- a/browser/themes/shared/tabs.inc.css
|
||||
+++ b/browser/themes/shared/tabs.inc.css
|
||||
--- a/browser/themes/shared/tabs.inc.css 2021-09-28 00:46:31.000000000 +0200
|
||||
+++ b/browser/themes/shared/tabs.inc.css 2021-10-12 12:02:37.973205172 +0200
|
||||
@@ -44,6 +44,7 @@
|
||||
#tabbrowser-tabs {
|
||||
--tab-min-width: 76px;
|
||||
|
@ -274,7 +273,7 @@ diff --git a/browser/themes/shared/tabs.inc.css b/browser/themes/shared/tabs.inc
|
|||
}
|
||||
|
||||
#tabbrowser-tabpanels {
|
||||
@@ -443,10 +444,11 @@
|
||||
@@ -447,10 +448,11 @@
|
||||
.tab-close-button {
|
||||
-moz-context-properties: fill, fill-opacity;
|
||||
margin-inline-end: calc(var(--inline-tab-padding) / -2);
|
||||
|
@ -289,16 +288,28 @@ diff --git a/browser/themes/shared/tabs.inc.css b/browser/themes/shared/tabs.inc
|
|||
}
|
||||
|
||||
/* The following rulesets allow showing more of the tab title */
|
||||
@@ -776,3 +778,53 @@
|
||||
.all-tabs-item > toolbarbutton {
|
||||
margin-inline-start: 0;
|
||||
@@ -645,7 +647,7 @@
|
||||
|
||||
#tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs]) > #tabbrowser-arrowscrollbox > .tabbrowser-tab[first-visible-unpinned-tab] {
|
||||
/* Add a gap between the last pinned tab and the first visible tab */
|
||||
- margin-inline-start: 12px !important; /* .tabbrowser-tab sets margin: 0 !important; */
|
||||
+ margin-inline-start: 0px !important; /* .tabbrowser-tab sets margin: 0 !important; */
|
||||
}
|
||||
+
|
||||
+
|
||||
|
||||
.tab-label[attention]:not([selected="true"]) {
|
||||
@@ -778,5 +780,55 @@
|
||||
}
|
||||
|
||||
.all-tabs-item > toolbarbutton {
|
||||
- margin-inline-start: 0;
|
||||
+ margin-inline-start: 0 !important;
|
||||
+}
|
||||
+
|
||||
+tab {
|
||||
+ font-size: 16px !important;
|
||||
+ font-family: sans-serif !important;
|
||||
+ padding-inline-start: 0px !important;
|
||||
+ padding-inline-end: 0px !important;
|
||||
+}
|
||||
+
|
||||
+.tab-background {
|
||||
|
@ -342,7 +353,7 @@ diff --git a/browser/themes/shared/tabs.inc.css b/browser/themes/shared/tabs.inc
|
|||
+}
|
||||
+.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container > .tab-close-button:hover {
|
||||
+ list-style-image: url("chrome://browser/skin/tab-close_hover.png") !important;
|
||||
+}
|
||||
}
|
||||
diff --git a/browser/themes/shared/toolbarbutton-icons.inc.css b/browser/themes/shared/toolbarbutton-icons.inc.css
|
||||
--- a/browser/themes/shared/toolbarbutton-icons.inc.css
|
||||
+++ b/browser/themes/shared/toolbarbutton-icons.inc.css
|
||||
|
|
|
@ -0,0 +1,314 @@
|
|||
--- a/browser/components/newtab/lib/DefaultSites.jsm 2021-09-28 00:46:32.000000000 +0200
|
||||
+++ b/browser/components/newtab/lib/DefaultSites.jsm 2021-10-12 11:02:34.976208950 +0200
|
||||
@@ -8,40 +8,8 @@
|
||||
// This first item is the global list fallback for any unexpected geos
|
||||
[
|
||||
"",
|
||||
- "https://www.youtube.com/,https://www.facebook.com/,https://www.wikipedia.org/,https://www.reddit.com/,https://www.amazon.com/,https://twitter.com/",
|
||||
- ],
|
||||
- [
|
||||
- "US",
|
||||
- "https://www.youtube.com/,https://www.facebook.com/,https://www.amazon.com/,https://www.reddit.com/,https://www.wikipedia.org/,https://twitter.com/",
|
||||
- ],
|
||||
- [
|
||||
- "CA",
|
||||
- "https://www.youtube.com/,https://www.facebook.com/,https://www.reddit.com/,https://www.wikipedia.org/,https://www.amazon.ca/,https://twitter.com/",
|
||||
- ],
|
||||
- [
|
||||
- "DE",
|
||||
- "https://www.youtube.com/,https://www.facebook.com/,https://www.amazon.de/,https://www.ebay.de/,https://www.wikipedia.org/,https://www.reddit.com/",
|
||||
- ],
|
||||
- [
|
||||
- "PL",
|
||||
- "https://www.youtube.com/,https://www.facebook.com/,https://allegro.pl/,https://www.wikipedia.org/,https://www.olx.pl/,https://www.wykop.pl/",
|
||||
- ],
|
||||
- [
|
||||
- "RU",
|
||||
- "https://vk.com/,https://www.youtube.com/,https://ok.ru/,https://www.avito.ru/,https://www.aliexpress.com/,https://www.wikipedia.org/",
|
||||
- ],
|
||||
- [
|
||||
- "GB",
|
||||
- "https://www.youtube.com/,https://www.facebook.com/,https://www.reddit.com/,https://www.amazon.co.uk/,https://www.bbc.co.uk/,https://www.ebay.co.uk/",
|
||||
- ],
|
||||
- [
|
||||
- "FR",
|
||||
- "https://www.youtube.com/,https://www.facebook.com/,https://www.wikipedia.org/,https://www.amazon.fr/,https://www.leboncoin.fr/,https://twitter.com/",
|
||||
- ],
|
||||
- [
|
||||
- "CN",
|
||||
- "https://www.baidu.com/,https://www.zhihu.com/,https://www.ifeng.com/,https://weibo.com/,https://www.ctrip.com/,https://www.iqiyi.com/",
|
||||
- ],
|
||||
+ "https://duck.com/",
|
||||
+ ]
|
||||
]);
|
||||
|
||||
this.EXPORTED_SYMBOLS = ["DEFAULT_SITES"];
|
||||
--- a/browser/components/places/CommonNames.jsm 2021-09-28 01:17:27.000000000 +0200
|
||||
+++ b/browser/components/places/CommonNames.jsm 2021-10-12 11:10:58.952208421 +0200
|
||||
@@ -20,265 +20,7 @@
|
||||
* a site doesn't expose site_name metadata. Maps a site's hostname (not
|
||||
* including `www.`) to its common name.
|
||||
*/
|
||||
-const CUSTOM_NAMES = new Map([
|
||||
- ["adobe.com", "Adobe"],
|
||||
- ["adp.com", "ADP"],
|
||||
- ["airbnb.com", "Airbnb"],
|
||||
- ["alibaba.com", "Alibaba"],
|
||||
- ["aliexpress.com", "AliExpress"],
|
||||
- ["aliexpress.ru", "AliExpress.ru"],
|
||||
- ["allegro.pl", "Allegro"],
|
||||
- ["amazon.ca", "Amazon.ca"],
|
||||
- ["amazon.co.jp", "Amazon.co.jp"],
|
||||
- ["amazon.co.uk", "Amazon.co.uk"],
|
||||
- ["amazon.com", "Amazon"],
|
||||
- ["amazon.de", "Amazon.de"],
|
||||
- ["amazon.es", "Amazon.es"],
|
||||
- ["amazon.fr", "Amazon.fr"],
|
||||
- ["amazon.in", "Amazon.in"],
|
||||
- ["amazon.it", "Amazon.it"],
|
||||
- ["amazonaws.com", "AWS"],
|
||||
- ["americanexpress.com", "American Express"],
|
||||
- ["ameritrade.com", "TD Ameritrade"],
|
||||
- ["aol.com", "AOL"],
|
||||
- ["apple.com", "Apple"],
|
||||
- ["archive.org", "Internet Archive"],
|
||||
- ["ask.com", "Ask.com"],
|
||||
- ["att.com", "AT&T"],
|
||||
- ["aws.amazon.com", "AWS"],
|
||||
- ["bankofamerica.com", "Bank of America"],
|
||||
- ["bbc.co.uk", "BBC"],
|
||||
- ["bbc.com", "BBC"],
|
||||
- ["bestbuy.com", "Best Buy"],
|
||||
- ["bing.com", "Bing"],
|
||||
- ["blogger.com", "Blogger"],
|
||||
- ["bloomberg.com", "Bloomberg"],
|
||||
- ["bluehost.com", "Bluehost"],
|
||||
- ["booking.com", "Booking.com"],
|
||||
- ["bscscan.com", "BscScan"],
|
||||
- ["businessinsider.com", "Insider"],
|
||||
- ["ca.gov", "California State Portal"],
|
||||
- ["canada.ca", "Government of Canada"],
|
||||
- ["canva.com", "Canva"],
|
||||
- ["capitalone.com", "Capital One"],
|
||||
- ["cdc.gov", "CDC.gov"],
|
||||
- ["chase.com", "Chase"],
|
||||
- ["chess.com", "Chess.com"],
|
||||
- ["citi.com", "Citi.com"],
|
||||
- ["cj.com", "CJ Affiliate"],
|
||||
- ["cnbc.com", "CNBC"],
|
||||
- ["cnet.com", "CNET"],
|
||||
- ["cnn.com", "CNN"],
|
||||
- ["cnnindonesia.com", "CNN Indonesia"],
|
||||
- ["coingecko.com", "CoinGecko"],
|
||||
- ["coinmarketcap.com", "CoinMarketCap"],
|
||||
- ["constantcontact.com", "Constant Contact"],
|
||||
- ["coursera.org", "Coursera"],
|
||||
- ["cowin.gov.in", "CoWIN"],
|
||||
- ["craigslist.org", "Craigslist"],
|
||||
- ["dailymail.co.uk", "Daily Mail"],
|
||||
- ["dailymotion.com", "Dailymotion"],
|
||||
- ["deepl.com", "DeepL"],
|
||||
- ["dell.com", "Dell"],
|
||||
- ["discord.com", "Discord"],
|
||||
- ["disneyplus.com", "Disney+"],
|
||||
- ["docs.google.com", "Google Docs"],
|
||||
- ["docusign.net", "DocuSign"],
|
||||
- ["drive.google.com", "Google Drive"],
|
||||
- ["dropbox.com", "Dropbox"],
|
||||
- ["duckduckgo.com", "DuckDuckGo"],
|
||||
- ["ebay.co.uk", "eBay"],
|
||||
- ["ebay.com", "eBay"],
|
||||
- ["ebay.de", "eBay"],
|
||||
- ["espn.com", "ESPN"],
|
||||
- ["etherscan.io", "Etherscan"],
|
||||
- ["etrade.com", "E*TRADE"],
|
||||
- ["etsy.com", "Etsy"],
|
||||
- ["evernote.com", "Evernote"],
|
||||
- ["expedia.com", "Expedia"],
|
||||
- ["facebook.com", "Facebook"],
|
||||
- ["fandom.com", "Fandom"],
|
||||
- ["fast.com", "Fast.com"],
|
||||
- ["fedex.com", "FedEx"],
|
||||
- ["feedly.com", "Feedly"],
|
||||
- ["fidelity.com", "Fidelity"],
|
||||
- ["fiverr.com", "Fiverr"],
|
||||
- ["flickr.com", "Flickr"],
|
||||
- ["flipkart.com", "Flipkart"],
|
||||
- ["force.com", "Salesforce"],
|
||||
- ["foxnews.com", "Fox News"],
|
||||
- ["freshdesk.com", "Freshdesk"],
|
||||
- ["geeksforgeeks.org", "GeeksforGeeks"],
|
||||
- ["github.com", "GitHub"],
|
||||
- ["glassdoor.com", "Glassdoor"],
|
||||
- ["gmail.com", "Gmail"],
|
||||
- ["godaddy.com", "GoDaddy"],
|
||||
- ["goodreads.com", "Goodreads"],
|
||||
- ["google.az", "Google"],
|
||||
- ["google.ca", "Google"],
|
||||
- ["google.cn", "Google"],
|
||||
- ["google.co.id", "Google"],
|
||||
- ["google.co.in", "Google"],
|
||||
- ["google.co.jp", "Google"],
|
||||
- ["google.co.th", "Google"],
|
||||
- ["google.co.uk", "Google"],
|
||||
- ["google.com", "Google"],
|
||||
- ["google.com.ar", "Google"],
|
||||
- ["google.com.au", "Google"],
|
||||
- ["google.com.br", "Google"],
|
||||
- ["google.com.eg", "Google"],
|
||||
- ["google.com.hk", "Google"],
|
||||
- ["google.com.mx", "Google"],
|
||||
- ["google.com.sa", "Google"],
|
||||
- ["google.com.sg", "Google"],
|
||||
- ["google.com.tr", "Google"],
|
||||
- ["google.com.tw", "Google"],
|
||||
- ["google.de", "Google"],
|
||||
- ["google.es", "Google"],
|
||||
- ["google.fr", "Google"],
|
||||
- ["google.it", "Google"],
|
||||
- ["google.pl", "Google"],
|
||||
- ["google.ru", "Google"],
|
||||
- ["googlevideo.com", "Google Video"],
|
||||
- ["grammarly.com", "Grammarly"],
|
||||
- ["hbomax.com", "HBO Max"],
|
||||
- ["healthline.com", "Healthline"],
|
||||
- ["homedepot.com", "The Home Depot"],
|
||||
- ["hootsuite.com", "Hootsuite"],
|
||||
- ["hostgator.com", "HostGator"],
|
||||
- ["hotstar.com", "Hotstar"],
|
||||
- ["hp.com", "HP"],
|
||||
- ["hulu.com", "Hulu"],
|
||||
- ["icicibank.com", "ICICI Bank"],
|
||||
- ["ikea.com", "IKEA"],
|
||||
- ["ilovepdf.com", "iLovePDF"],
|
||||
- ["imdb.com", "IMDb"],
|
||||
- ["imgur.com", "Imgur"],
|
||||
- ["indeed.com", "Indeed"],
|
||||
- ["indiamart.com", "IndiaMART"],
|
||||
- ["indiatimes.com", "Indiatimes"],
|
||||
- ["instagram.com", "Instagram"],
|
||||
- ["instructure.com", "Instructure"],
|
||||
- ["intuit.com", "Intuit"],
|
||||
- ["investing.com", "Investing.com"],
|
||||
- ["iqbroker.com", "IQ Option"],
|
||||
- ["irs.gov", "IRS.gov"],
|
||||
- ["istockphoto.com", "iStock"],
|
||||
- ["japanpost.jp", "Japan Post"],
|
||||
- ["kayak.com ", "Kayak"],
|
||||
- ["linkedin.com", "LinkedIn"],
|
||||
- ["linktr.ee", "Linktree"],
|
||||
- ["live.com", "Live"],
|
||||
- ["loom.com", "Loom"],
|
||||
- ["mail.google.com", "Gmail"],
|
||||
- ["mailchimp.com", "Mailchimp"],
|
||||
- ["manage.wix.com", "Wix"],
|
||||
- ["maps.google.com", "Google Maps"],
|
||||
- ["marca.com", "MARCA"],
|
||||
- ["mediafire.com", "MediaFire"],
|
||||
- ["mercadolibre.com.mx", "Mercado Libre"],
|
||||
- ["mercadolivre.com.br", "Mercado Livre"],
|
||||
- ["mercari.com", "Mercari"],
|
||||
- ["microsoft.com", "Microsoft"],
|
||||
- ["mlb.com", "MLB.com"],
|
||||
- ["moneycontrol.com", "moneycontrol.com"],
|
||||
- ["mozilla.org", "Mozilla"],
|
||||
- ["msn.com", "MSN"],
|
||||
- ["myshopify.com", "Shopify"],
|
||||
- ["myworkdayjobs.com", "Workday"],
|
||||
- ["naukri.com", "Naukri.com"],
|
||||
- ["ndtv.com", "NDTV.com"],
|
||||
- ["netflix.com", "Netflix"],
|
||||
- ["nih.gov", "National Institutes of Health (NIH)"],
|
||||
- ["nike.com", "Nike"],
|
||||
- ["nordstrom.com", "Nordstrom"],
|
||||
- ["notion.so", "Notion"],
|
||||
- ["nypost.com", "New York Post"],
|
||||
- ["nytimes.com", "New York Times"],
|
||||
- ["office.com", "Office"],
|
||||
- ["office365.com", "Office 365"],
|
||||
- ["olympics.com", "Olympics"],
|
||||
- ["onlinesbi.com", "State Bank of India"],
|
||||
- ["orange.fr", "Orange"],
|
||||
- ["patreon.com", "Patreon"],
|
||||
- ["paypal.com", "PayPal"],
|
||||
- ["pinterest.com", "Pinterest"],
|
||||
- ["primevideo.com", "Prime Video"],
|
||||
- ["quora.com", "Quora"],
|
||||
- ["rakuten.co.jp", "Rakuten"],
|
||||
- ["rakuten.com", "Rakuten"],
|
||||
- ["realtor.com", "Realtor.com"],
|
||||
- ["redd.it", "Reddit"],
|
||||
- ["reddit.com", "Reddit"],
|
||||
- ["redfin.com", "Redfin"],
|
||||
- ["researchgate.net", "ResearchGate"],
|
||||
- ["reuters.com", "Reuters"],
|
||||
- ["reverso.net", "Reverso"],
|
||||
- ["roblox.com", "Roblox"],
|
||||
- ["rt.com", "RT"],
|
||||
- ["salesforce.com", "Salesforce"],
|
||||
- ["samsung.com", "Samsung"],
|
||||
- ["scribd.com", "Scribd"],
|
||||
- ["sheets.google.com", "Google Sheets"],
|
||||
- ["shein.com", "Shein"],
|
||||
- ["shutterstock.com", "Shutterstock"],
|
||||
- ["skype.com", "Skype"],
|
||||
- ["slides.google.com", "Google Slides"],
|
||||
- ["slideshare.net", "SlideShare"],
|
||||
- ["soundcloud.com", "SoundCloud"],
|
||||
- ["speedtest.net", "Speedtest"],
|
||||
- ["spotify.com", "Spotify"],
|
||||
- ["squarespace.com", "Squarespace"],
|
||||
- ["stackexchange.com", "Stack Exchange"],
|
||||
- ["stackoverflow.com", "Stack Overflow"],
|
||||
- ["steampowered.com", "Steam"],
|
||||
- ["taboola.com", "Taboola.com"],
|
||||
- ["target.com", "Target"],
|
||||
- ["td.com", "TD Bank"],
|
||||
- ["telegram.org", "Telegram"],
|
||||
- ["theguardian.com", "The Guardian"],
|
||||
- ["tiktok.com", "TikTok"],
|
||||
- ["tmall.com", "Tmall"],
|
||||
- ["tokopedia.com", "Tokopedia"],
|
||||
- ["trello.com", "Trello"],
|
||||
- ["tripadvisor.com", "Tripadvisor"],
|
||||
- ["trustpilot.com", "Trustpilot"],
|
||||
- ["twitch.tv", "Twitch"],
|
||||
- ["twitter.com", "Twitter"],
|
||||
- ["udemy.com", "Udemy"],
|
||||
- ["unsplash.com", "Unsplash"],
|
||||
- ["ups.com", "UPS"],
|
||||
- ["upwork.com", "Upwork"],
|
||||
- ["usps.com", "USPS"],
|
||||
- ["vimeo.com", "Vimeo"],
|
||||
- ["w3schools.com", "W3Schools"],
|
||||
- ["walmart.com", "Walmart"],
|
||||
- ["washingtonpost.com", "Washington Post"],
|
||||
- ["wayfair.com", "Wayfair"],
|
||||
- ["weather.com", "The Weather Channel"],
|
||||
- ["webmd.com", "WebMD"],
|
||||
- ["wellsfargo.com", "Wells Fargo"],
|
||||
- ["wetransfer.com", "WeTransfer"],
|
||||
- ["whatsapp.com", "WhatsApp"],
|
||||
- ["wikihow.com", "wikiHow"],
|
||||
- ["wikimedia.org", "Wikimedia Commons"],
|
||||
- ["wikipedia.org", "Wikipedia"],
|
||||
- ["wildberries.ru", "Wildberries"],
|
||||
- ["wordpress.org", "WordPress.org"],
|
||||
- ["worldometers.info", "Worldometer"],
|
||||
- ["wsj.com", "Wall Street Journal"],
|
||||
- ["xfinity.com", "Xfinity"],
|
||||
- ["y2mate.com", "Y2mate"],
|
||||
- ["yahoo.co.jp", "Yahoo Japan"],
|
||||
- ["yahoo.com", "Yahoo"],
|
||||
- ["yandex.ru", "Yandex"],
|
||||
- ["yelp.com", "Yelp"],
|
||||
- ["youtube.com", "YouTube"],
|
||||
- ["zendesk.com", "Zendesk"],
|
||||
- ["zerodha.com", "Zerodha"],
|
||||
- ["zillow.com", "Zillow"],
|
||||
- ["zoom.us", "Zoom"],
|
||||
-]);
|
||||
+const CUSTOM_NAMES = new Map([]);
|
||||
|
||||
/**
|
||||
* Maps the domains from CUSTOM_NAMES to a regex that matches a URL ending with
|
|
@ -293,3 +293,24 @@
|
|||
"downloads-button",
|
||||
AppConstants.MOZ_DEV_EDITION ? "developer-button" : null,
|
||||
"fxa-toolbar-menu-button",
|
||||
--- a/browser/base/content/navigator-toolbox.inc.xhtml 2021-09-28 01:17:27.000000000 +0200
|
||||
+++ b/browser/base/content/navigator-toolbox.inc.xhtml 2021-10-12 12:07:57.021204838 +0200
|
||||
@@ -395,7 +395,7 @@
|
||||
removable="true"
|
||||
overflows="false"
|
||||
cui-areatype="toolbar"
|
||||
- hidden="true"
|
||||
+ hidden="false"
|
||||
tooltip="dynamic-shortcut-tooltip"
|
||||
indicator="true">
|
||||
<box id="downloads-indicator-anchor"
|
||||
@@ -438,7 +438,8 @@
|
||||
</toolbarbutton>
|
||||
|
||||
<toolbaritem id="PanelUI-button"
|
||||
- removable="false">
|
||||
+ removable="false"
|
||||
+ style="display: none;">
|
||||
<toolbarbutton id="ion-button"
|
||||
class="toolbarbutton-1"
|
||||
hidden="true"
|
||||
|
|
Loading…
Reference in New Issue