mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-01 15:00:32 -08:00
Add: Proton - Cert exception dialog
This commit is contained in:
parent
7683948069
commit
90e0b1e479
1 changed files with 50 additions and 1 deletions
|
|
@ -1098,6 +1098,7 @@
|
|||
@-moz-document url("chrome://global/content/commonDialog.xhtml"),
|
||||
url("chrome://pippki/content/editcacert.xhtml"),
|
||||
url("chrome://pippki/content/deletecert.xhtml"),
|
||||
url("chrome://pippki/content/exceptionDialog.xhtml"),
|
||||
url("chrome://mozapps/content/downloads/unknownContentType.xhtml"),
|
||||
url("chrome://browser/content/pageinfo/pageInfo.xhtml")
|
||||
{
|
||||
|
|
@ -1123,6 +1124,7 @@
|
|||
#commonDialog,
|
||||
#editCaCert,
|
||||
#deleteCertificate,
|
||||
#exceptiondialog,
|
||||
#unknownContentType,
|
||||
#topBar, /* #topBar, #mainDeck: Page Info */
|
||||
#mainDeck {
|
||||
|
|
@ -1596,7 +1598,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
/*= Delete Cert =============================================================*/
|
||||
/*= Delete Cert ============================================================*/
|
||||
@-moz-document url("chrome://pippki/content/deletecert.xhtml")
|
||||
{
|
||||
:root {
|
||||
|
|
@ -1608,6 +1610,53 @@
|
|||
}
|
||||
}
|
||||
|
||||
/*= Cert Exeption Dialog ===================================================*/
|
||||
@-moz-document url("chrome://pippki/content/exceptionDialog.xhtml")
|
||||
{
|
||||
:root {
|
||||
--in-content-border-color: color-mix(in srgb, currentColor 41%, transparent) !important;
|
||||
}
|
||||
#locationTextBox {
|
||||
appearance: none !important;
|
||||
border: 1px solid var(--in-content-box-border-color) !important;
|
||||
border-radius: 4px !important;
|
||||
color: inherit !important;
|
||||
background-color: var(--in-content-box-background) !important;
|
||||
|
||||
font-family: inherit !important;
|
||||
font-size: inherit !important;
|
||||
padding: 8px !important;
|
||||
margin: 2px 4px !important;
|
||||
}
|
||||
#locationTextBox:focus {
|
||||
border-color: transparent !important;
|
||||
outline: 2px solid var(--in-content-focus-outline-color) !important;
|
||||
outline-offset: -1px !important; /* Prevents antialising around the corners */
|
||||
}
|
||||
#locationTextBox:-moz-ui-invalid {
|
||||
border-color: transparent !important;
|
||||
outline: 2px solid var(--in-content-border-invalid) !important;
|
||||
outline-offset: -1px !important; /* Prevents antialising around the corners */
|
||||
}
|
||||
#locationTextBox:disabled {
|
||||
opacity: 0.4 !important;
|
||||
}
|
||||
|
||||
#exceptiondialog:first-child > hbox > vbox:not([flex="1"]) {
|
||||
width: 48px !important;
|
||||
height: 48px !important;
|
||||
background-image: url("chrome://global/skin/icons/warning.svg") !important;
|
||||
background-size: 48px !important;
|
||||
background-repeat: no-repeat !important;
|
||||
|
||||
-moz-context-properties: fill !important;
|
||||
fill: currentColor !important;
|
||||
}
|
||||
#exceptiondialog:first-child > hbox > vbox > image {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*= Page Info ==============================================================*/
|
||||
@-moz-document url("chrome://browser/content/pageinfo/pageInfo.xhtml")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue