[Pale-Moon] Issue #1872 - Part 8: Tweak, cleanup and finalize.

- clean up old unused graphics
- remove gradient and noise
- tweak quickdial styling
- add padding and slightly reduce logos
- add generic search icon for those without one
This commit is contained in:
Pale Moon 2021-07-05 18:41:49 +02:00 • committed by roytam1
commit d76cfefcfc
14 changed files with 111 additions and 48 deletions

View file

@ -7,7 +7,7 @@
html {
font: message-box;
font-size: 100%;
background-color: #e5e5e5;
background-color: #eee;
color: #000;
height: 100%;
}
@ -18,8 +18,6 @@ body {
-moz-box-orient: vertical;
width: 100%;
height: 100%;
background-image: url(chrome://browser/content/abouthome/noise.png),
linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.4));
}
input,
@ -68,23 +66,12 @@ a {
max-width: 600px;
}
/* #searchLogoContainer {
display: -moz-box;
-moz-box-align: center;
padding-top: 2px;
padding-inline-end: 8px;
}
#searchLogoContainer[hidden] {
display: none;
}*/
#searchEngineLogo {
border: 1px transparent;
padding: 2px 4px 2px 2px;
padding: 4px;
margin: 0;
width: 32px;
height: 32px;
width: 28px;
height: 28px;
position: absolute;
}
@ -92,7 +79,7 @@ a {
-moz-box-flex: 1;
padding-top: 6px;
padding-bottom: 6px;
padding-inline-start: 42px; /* room for logo */
padding-inline-start: 38px; /* room for logo */
padding-inline-end: 8px;
background: rgba(255, 255, 255, 0.9) padding-box;
border: 1px solid;

View file

@ -107,9 +107,9 @@ function setupSearchEngine()
logoElt.src = searchEngineInfo.image;
logoElt.alt = searchEngineName;
searchText.placeholder = "";
}
else {
logoElt.parentNode.hidden = true;
} else {
logoElt.parentNode.hidden = false;
logoElt.src = SEARCH_ENGINES['generic'].image;
searchText.placeholder = searchEngineName;
}

View file

@ -6,9 +6,6 @@ browser.jar:
* content/browser/abouthome/aboutHome.xhtml
* content/browser/abouthome/aboutHome.js
* content/browser/abouthome/aboutHome.css
content/browser/abouthome/noise.png
content/browser/abouthome/snippet1.png
content/browser/abouthome/snippet2.png
content/browser/abouthome/downloads.png
content/browser/abouthome/bookmarks.png
content/browser/abouthome/history.png
@ -19,8 +16,6 @@ browser.jar:
content/browser/abouthome/settings.png
content/browser/abouthome/restore.png
content/browser/abouthome/restore-large.png
content/browser/abouthome/snippet1@2x.png
content/browser/abouthome/snippet2@2x.png
content/browser/abouthome/downloads@2x.png
content/browser/abouthome/bookmarks@2x.png
content/browser/abouthome/history@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB