Skip to content

Commit

Permalink
Fix site information popup icons #67
Browse files Browse the repository at this point in the history
  • Loading branch information
bmFtZQ authored Dec 16, 2022
2 parents a52fdb3 + e4db12a commit b97704d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
8 changes: 0 additions & 8 deletions chrome/global/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,6 @@
border-radius: 2px !important;
}

#identity-popup-security-button {
padding-inline: calc(var(--arrowpanel-menuitem-padding-inline) - 4px) !important;
}

.identity-popup-security-connection>hbox {
margin-inline-start: calc(20px + var(--uc-arrowpanel-menuicon-margin-inline)) !important;
}

.identity-popup-security-connection>hbox>description {
margin-inline-start: 0 !important;
}
Expand Down
14 changes: 7 additions & 7 deletions chrome/icons/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ and 11 so applied to both) */

/* security */
.identity-popup-security-connection {
background-image: url("security-broken.svg") !important;
list-style-image: url("security-broken.svg") !important;
}

#identity-box[pageproxystate="valid"].notSecure #identity-icon,
Expand All @@ -318,30 +318,30 @@ and 11 so applied to both) */
}

#identity-popup[connection=chrome] .identity-popup-security-connection {
background-image: url("firefox.svg") !important;
list-style-image: url("firefox.svg") !important;
}

#identity-popup[connection="file"] .identity-popup-security-connection {
background-image: url("page-portrait.svg") !important;
list-style-image: url("page-portrait.svg") !important;
}

#identity-popup[connection^=secure] .identity-popup-security-connection {
background-image: url("security.svg") !important;
list-style-image: url("security.svg") !important;
}

#identity-popup[ciphers=weak] .identity-popup-security-connection,
#identity-popup[mixedcontent~=passive-loaded][isbroken] .identity-popup-security-connection,
#identity-popup[connection=secure-cert-user-overridden] .identity-popup-security-connection,
#identity-popup[connection=cert-error-page] .identity-popup-security-connection {
background-image: url("security-warning.svg") !important;
list-style-image: url("security-warning.svg") !important;
}

#identity-popup[connection=net-error-page] .identity-popup-security-connection {
background-image: url("info.svg") !important;
list-style-image: url("info.svg") !important;
}

#identity-popup[connection=extension] .identity-popup-security-connection {
background-image: url("extension.svg") !important;
list-style-image: url("extension.svg") !important;
}

#appMenu-new-tab-button2 {
Expand Down

0 comments on commit b97704d

Please sign in to comment.