Protections popup improvements

This commit is contained in:
Rafael Mardojai CM 2020-10-27 08:42:11 -05:00
parent 1f67a4aa70
commit e0efe45b47
3 changed files with 33 additions and 22 deletions

View File

@ -182,12 +182,17 @@ menulist {
}
/* Protections popup */
#protections-popup-info-button {
margin: 0 !important;
margin-inline-end: 0 !important;
}
.protections-popup-footer-icon {
display: none !important;
}
.protections-popup-footer-button-label {
margin-inline-start: 0px !important;
margin-inline-start: 0 !important;
}
#protections-popup-footer-protection-type-label {
margin-inline-end: 0px !important;
margin-inline-end: 0 !important;
margin-block: 0 !important;
}

View File

@ -33,6 +33,7 @@
.protections-popup-footer-button,
.identity-popup-permission-remove-button,
#identity-popup-security-expander,
#protections-popup-info-button,
#PanelUI-panic-view-button,
.tracking-protection-button,
.dialog-button,
@ -50,6 +51,7 @@ tabmodalprompt[role="dialog"] button[class*='tabmodalprompt-button'] {
min-height: 34px !important;
min-width: 34px !important;
color: var(--gnome-toolbar-color) !important;
outline: 0 !important;
font: menu !important;
}
@ -135,6 +137,7 @@ menulist:hover .menulist-label-box,
.protections-popup-footer-button:hover,
.identity-popup-permission-remove-button:hover,
#identity-popup-security-expander:hover,
#protections-popup-info-button:hover,
.tracking-protection-button:hover,
.dialog-button:hover,
.autocomplete-richlistitem[type="loginsFooter"]:hover,
@ -169,6 +172,8 @@ menulist[open] .menulist-label-box,
.protections-popup-footer-button:not(#hack):active,
.identity-popup-permission-remove-button:active,
#identity-popup-security-expander:active,
#protections-popup-info-button:not(#hack):active,
#protections-popup-info-button:not(#hack)[checked],
.tracking-protection-button:active,
.dialog-button:active,
.autocomplete-richlistitem[type="loginsFooter"]:active,
@ -215,7 +220,8 @@ tabmodalprompt[role="dialog"] button[class*='tabmodalprompt-button']:active {
.subviewbutton-back:not(#hack),
.close-icon:not(.tab-close-button),
#TabsToolbar .toolbarbutton-1,
.identity-popup-permission-remove-button:not(#hack) {
.identity-popup-permission-remove-button:not(#hack),
#protections-popup-info-button {
background: transparent !important;
box-shadow: none !important;
border-color: transparent !important;
@ -223,7 +229,8 @@ tabmodalprompt[role="dialog"] button[class*='tabmodalprompt-button']:active {
}
.subviewbutton-back:not(#hack):not(:active):hover,
.close-icon:not(.tab-close-button):not(:active):hover,
#TabsToolbar .toolbarbutton-1:not(:active):not([open]):hover {
#TabsToolbar .toolbarbutton-1:not(:active):not([open]):hover,
#protections-popup-info-button:hover {
box-shadow: var(--gnome-button-box-shadow) !important;
border-color: var(--gnome-button-border-color) !important;
border-bottom-color: var(--gnome-button-border-accent-color) !important;

View File

@ -209,45 +209,41 @@
}
#protections-popup-mainView-panel-header {
background: var(--gnome-menu-background) !important;
border: 1px solid var(--gnome-button-border-color) !important;
border-bottom-width: 0 !important;
border-radius: 6px 6px 0 0;
color: var(--gnome-toolbar-color) !important;
min-height: 34px !important;
padding: 0 !important;
}
#protections-popup[hasException] #protections-popup-tp-switch-section,
#protections-popup[hasException] #protections-popup-mainView-panel-header{
background: var(--gnome-menu-background) !important;
#protections-popup[hasException] #protections-popup-mainView-panel-header {
background: none !important;
}
#protections-popup-main-header-label {
margin-inline-start: 12px !important;
height: auto !important;
margin-inline-start: 6px !important;
text-align: left !important;
}
#protections-popup-mainView-panel-header-span {
margin: 0 !important;
margin-inline-start: 0 !important
}
#protections-popup[toast] #protections-popup-mainView-panel-header {
border-bottom-width: 1px !important;
border-radius: 5px !important;
padding: 12px !important;
padding: 0px !important;
}
#messaging-system-message-container {
height: 150px !important;
border: 0 !important;
}
#protections-popup #messaging-system-message-container[disabled] {
margin-bottom: -150px !important;
}
#protections-popup-message {
background: var(--gnome-menu-background) !important;
border: 1px solid var(--gnome-button-border-color) !important;
border-bottom: 0 !important;
border-top: 0 !important;
background: none !important;
border: 0 !important;
color: var(--gnome-toolbar-color) !important;
height: 100% !important;
margin: 0 !important;
border-radius: 0 !important;
}
#protections-popup-message .text-link {
color: var(--gnome-toolbar-color) !important;
@ -256,11 +252,14 @@
#protections-popup-tp-switch-section {
background: var(--gnome-menu-background);
border: 1px solid var(--gnome-button-border-color) !important;
border-radius: 0 0 6px 6px;
border-radius: 6px;
padding: 12px !important;
}
#protections-popup[hasException] #protections-popup-tp-switch-section {
margin-bottom: 10px !important;
background: var(--gnome-menu-background) !important;
}
.protections-popup-tp-switch-label-box label {
font-weight: normal !important;
}
#protections-popup-no-trackers-found-description {
@ -295,7 +294,7 @@
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
margin-top: 3px;
margin-top: 12px;
}
#protections-popup-show-report-stack {
width: 100% !important;