mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 14:57:30 +09:00
Improve newtab styling
- De-duplicate controls - Improve title text position - Improve pinned site indicator
This commit is contained in:
parent
5315d7c162
commit
6f8aeda418
11 changed files with 13 additions and 11 deletions
|
|
@ -123,24 +123,23 @@ body {
|
|||
|
||||
/* TITLES */
|
||||
.newtab-title {
|
||||
padding: 0 8px;
|
||||
padding: 0 8px 1px;
|
||||
background-color: rgba(248,249,251,.95);
|
||||
color: #1f364c;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.newtab-site[pinned] .newtab-title {
|
||||
padding-inline-start: 24px;
|
||||
padding-inline-start: 16px;
|
||||
}
|
||||
|
||||
.newtab-site[pinned] .newtab-title::before {
|
||||
background-image: url(chrome://browser/skin/newtab/controls.png);
|
||||
background-position: -74px -1px;
|
||||
background-image: url(chrome://browser/skin/newtab/pinned.png);
|
||||
content: "";
|
||||
left: 2px;
|
||||
top: 2px;
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
width: 12px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue