Fix: Content - Odd rows color at pippki #783

This commit is contained in:
alstjr7375 2023-10-02 05:50:09 +09:00
parent cc555468f3
commit 2f69ac896a
3 changed files with 16 additions and 11 deletions

10
css/leptonContent.css generated
View file

@ -2182,19 +2182,21 @@
height: 48px;
}
}
@-moz-document url-prefix("about:preferences"), url-prefix("chrome://browser/content/preferences/dialogs/")
@-moz-document url-prefix("about:preferences"), url-prefix("chrome://browser/content/preferences/dialogs/"), url-prefix("chrome://pippki/content/")
{
:is(.contentPane, .main-content) richlistbox > richlistitem:hover,
:is(.contentPane, .main-content, #certmanagertabs) richlistbox > richlistitem:hover,
#translations-manage-install-list > .translations-manage-language:hover {
background-color: var(--in-content-item-hover);
color: var(--in-content-item-hover-text);
}
:is(.contentPane, .main-content) richlistbox > richlistitem[selected="true"],
:is(.contentPane, .main-content, #certmanagertabs) richlistbox > richlistitem[selected="true"],
#translations-manage-install-list > .translations-manage-language[selected="true"] {
background-color: var(--in-content-item-selected);
color: var(--in-content-item-selected-text);
}
:is(.contentPane, .main-content) richlistbox > richlistitem:nth-child(even):not([selected="true"], :hover),
:is(.contentPane, .main-content, #certmanagertabs)
richlistbox
> richlistitem:nth-child(even):not([selected="true"], :hover),
#translations-manage-install-list > .translations-manage-language:nth-child(even):not([selected="true"], :hover) {
background-color: var(--in-content-box-background-odd);
}

View file

@ -2185,19 +2185,21 @@
height: 48px;
}
}
@-moz-document url-prefix("about:preferences"), url-prefix("chrome://browser/content/preferences/dialogs/")
@-moz-document url-prefix("about:preferences"), url-prefix("chrome://browser/content/preferences/dialogs/"), url-prefix("chrome://pippki/content/")
{
:is(.contentPane, .main-content) richlistbox > richlistitem:hover,
:is(.contentPane, .main-content, #certmanagertabs) richlistbox > richlistitem:hover,
#translations-manage-install-list > .translations-manage-language:hover {
background-color: var(--in-content-item-hover);
color: var(--in-content-item-hover-text);
}
:is(.contentPane, .main-content) richlistbox > richlistitem[selected="true"],
:is(.contentPane, .main-content, #certmanagertabs) richlistbox > richlistitem[selected="true"],
#translations-manage-install-list > .translations-manage-language[selected="true"] {
background-color: var(--in-content-item-selected);
color: var(--in-content-item-selected-text);
}
:is(.contentPane, .main-content) richlistbox > richlistitem:nth-child(even):not([selected="true"], :hover),
:is(.contentPane, .main-content, #certmanagertabs)
richlistbox
> richlistitem:nth-child(even):not([selected="true"], :hover),
#translations-manage-install-list > .translations-manage-language:nth-child(even):not([selected="true"], :hover) {
background-color: var(--in-content-box-background-odd);
}

View file

@ -4,10 +4,11 @@
@include moz-document(
url-prefix "about:preferences",
url-prefix "chrome://browser/content/preferences/dialogs/"
url-prefix "chrome://browser/content/preferences/dialogs/",
url-prefix "chrome://pippki/content/"
) {
// Odd table #737 #751
:is(.contentPane, .main-content) richlistbox > richlistitem,
// Odd table #737 #751 #783
:is(.contentPane, .main-content, #certmanagertabs) richlistbox > richlistitem,
#translations-manage-install-list > .translations-manage-language {
&:hover {
background-color: var(--in-content-item-hover);