Popups: Fix styling

Closes #496
This commit is contained in:
Rafael Mardojai CM 2022-12-18 22:15:40 -05:00
parent dae2b8b4ef
commit 28238a0395
No known key found for this signature in database
GPG Key ID: 2B2DAB2A58566C84
2 changed files with 17 additions and 27 deletions

View File

@ -144,8 +144,8 @@
#permission-popup-mainView,
#protections-popup-mainView,
#identity-popup-mainView-panel-header {
max-width: calc(var(--popup-width) + (var(--gnome-menu-padding) * 2)) !important;
min-width: calc(var(--popup-width) + (var(--gnome-menu-padding) * 2)) !important;
max-width: calc(var(--popup-width) + (var(--gnome-menu-padding) * 2)) !important;
min-width: calc(var(--popup-width) + (var(--gnome-menu-padding) * 2)) !important;
}
/* Identity popup */
@ -178,10 +178,6 @@
#permission-popup-permissions-content {
padding: 0 !important;
}
#permission-popup-mainView {
min-width: unset !important;
max-width: unset !important;
}
.permission-popup-permission-item:first-child, #permission-popup-storage-access-permission-list-header {
margin-top: 0 !important;
@ -230,7 +226,6 @@
#protections-popup-mainView-panel-header {
color: var(--gnome-toolbar-color) !important;
padding: 0 !important;
}
#protections-popup[hasException] #protections-popup-mainView-panel-header {
background: none !important;
@ -253,29 +248,28 @@
margin: 0 !important;
}
#messaging-system-message-container {
height: 120px !important;
border: 0 !important;
}
#protections-popup #messaging-system-message-container[disabled] {
margin-bottom: -120px !important;
}
#protections-popup-message {
background: none !important;
background-position: center 12px !important;
background-color: var(--gnome-entry-background);
border: 0 !important;
border-radius: 12px;
color: var(--gnome-toolbar-color) !important;
height: 100% !important;
margin: 0 !important;
}
#protections-popup-message .text-link {
#protections-popup-message .text-link,
#cfr-protections-panel-link-text {
color: var(--gnome-toolbar-color) !important;
}
.whatsNew-message-body {
padding: 0 6px;
}
#protections-popup-tp-switch-section {
background: var(--gnome-menu-background);
border: 1px solid var(--gnome-button-border-color) !important;
border-radius: 9px;
padding: 12px 16px !important;
padding: 12px 8px !important;
margin: 0 !important;
}
@ -288,7 +282,7 @@
}
#protections-popup-no-trackers-found-description {
margin: 12px 12px 0 !important;
margin: 12px 8px 0 !important;
text-align: left !important;
}
@ -325,10 +319,8 @@
#protections-popup-show-report-button {
height: 32px !important;
}
#protections-popup-trackers-blocked-counter-box,
#protections-popup-footer-protection-type-label {
margin: 0 !important;
margin-inline: 0 !important;
margin-left: 6px !important;
}
.protections-popup-description {
border-bottom: 0 !important;

View File

@ -61,10 +61,8 @@ panel {
}
.panel-header, .panel-footer,
.panel-subview-body,
.protections-popup-section,
#protections-popup-mainView-panel-header-section,
.permission-popup-section,
.identity-popup-section,
.popup-notification-header-container,
.popup-notification-body-container,
.popup-notification-footer-container {
@ -83,6 +81,10 @@ panel {
):first-child:not(:empty) {
padding-top: var(--gnome-menu-padding) !important;
}
#protections-popup-footer,
#identity-popup-clear-sitedata-footer {
padding: 0 var(--gnome-menu-padding) !important;
}
.panel-subview-body > .panel-subview-body {
padding: 0 !important;
}
@ -96,9 +98,6 @@ panel {
.subviewbutton.panel-subview-footer-button:not(:only-child, #downloadsHistory):last-child {
margin-bottom: var(--gnome-menu-padding) !important;
}
#identity-popup-security-button {
margin: 0 var(--gnome-menu-padding) !important;
}
/* No menu */
#notification-popup,
@ -273,7 +272,6 @@ toolbarseparator[orient="vertical"] {
margin: 0 0 6px !important;
}
panelview > toolbarseparator:not([orient="vertical"]),
#identity-popup-clear-sitedata-footer toolbarseparator:not([orient="vertical"]),
#identity-popup-more-info-footer toolbarseparator:not([orient="vertical"]){
margin: 6px !important;
}