Skip to content

Commit

Permalink
Fix padlock mapping and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Lootyhoof committed Dec 12, 2020
1 parent f19b1fe commit 7f5551c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 47 deletions.
2 changes: 1 addition & 1 deletion src/chrome/browser/browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 980,7 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
box-shadow: 4px 0 0 -3px #CCCCCC;
}

#identity-box.unknownIdentity {
#urlbar:not([security_level]) > #identity-box {
padding-inline-end: 5px;
}

Expand Down
52 changes: 6 additions & 46 deletions src/chrome/browser/padlock/padlock.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 31,10 @@
}

#padlock-ib:hover {
-moz-image-region: rect(0px 30px 16px 14px);
}

#padlock-ib:hover:active {
-moz-image-region: rect(0px 44px 16px 28px);
}

#padlock-ib[padshow="ib-trans-bg"][level="broken"]:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}

#padlock-ib[padshow="ib-trans-bg"][level="broken"]:hover:active {
#padlock-ib:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}

Expand Down Expand Up @@ -72,18 64,10 @@
}

#padlock-ib-left:hover {
-moz-image-region: rect(0px 30px 16px 14px);
}

#padlock-ib-left:hover:active {
-moz-image-region: rect(0px 44px 16px 28px);
}

#padlock-ib-left[padshow="ib-left"][level="broken"]:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}

#padlock-ib-left[padshow="ib-left"][level="broken"]:hover:active {
#padlock-ib-left:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}

Expand Down Expand Up @@ -112,18 96,10 @@
}

#padlock-ub-right:hover {
-moz-image-region: rect(0px 30px 16px 14px);
}

#padlock-ub-right:hover:active {
-moz-image-region: rect(0px 44px 16px 28px);
}

#padlock-ub-right[padshow="ub-right"][level="broken"]:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}

#padlock-ub-right[padshow="ub-right"][level="broken"]:hover:active {
#padlock-ub-right:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}

Expand Down Expand Up @@ -152,18 128,10 @@
}

#padlock-sb:hover {
-moz-image-region: rect(0px 30px 16px 14px);
}

#padlock-sb:hover:active {
-moz-image-region: rect(0px 44px 16px 28px);
}

#padlock-sb[padshow="statbar"][level="broken"]:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}

#padlock-sb[padshow="statbar"][level="broken"]:hover:active {
#padlock-sb:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}

Expand Down Expand Up @@ -192,17 160,9 @@
}

#padlock-tab:hover {
-moz-image-region: rect(0px 30px 16px 14px);
}

#padlock-tab:hover:active {
-moz-image-region: rect(0px 44px 16px 28px);
}

#padlock-tab[padshow="tabs-bar"][level="broken"]:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}

#padlock-tab[padshow="tabs-bar"][level="broken"]:hover:active {
#padlock-tab:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}
}

0 comments on commit 7f5551c

Please sign in to comment.