Skip to content

Commit

Permalink
Fix tanslation popup
Browse files Browse the repository at this point in the history
Closes  #808
Closes #806
  • Loading branch information
rafaelmardojai committed Jul 15, 2024
1 parent cbd351c commit c5f32d5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 11 deletions.
5 changes: 5 additions & 0 deletions theme/parts/buttons-fixes.css
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@ button.close {
width: 24px !important;
}

/* Translation */
#select-translations-panel-settings-button > .toolbarbutton-text {
display: none !important;
}

/* OPTIONAL: Hide unified-extensions-button */
@media (-moz-bool-pref: "gnomeTheme.hideUnifiedExtensions") {
#unified-extensions-button {
Expand Down
9 changes: 4 additions & 5 deletions theme/parts/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ button.close,
.expander-down, .expander-up,
.notification-button,
#identity-popup-security-expander,
#protections-popup-info-button,
.panel-info-button,
#PanelUI-panic-view-button,
.tracking-protection-button,
.dialog-button,
Expand Down Expand Up @@ -67,7 +67,7 @@ button.close,
.close-icon:not(.tab-close-button),
.dialog-button-box button,
button.close,
#protections-popup-info-button,
.panel-info-button,
.permission-popup-permission-remove-button,
.unified-extensions-item-menu-button {
background: transparent !important;
Expand Down Expand Up @@ -157,7 +157,7 @@ menulist:hover .menulist-label-box,
.close-icon:not(.tab-close-button):hover,
button.close:hover,
.dialog-button-box button:not([disabled="true"]):hover,
#protections-popup-info-button:hover,
.panel-info-button:hover,
.permission-popup-permission-remove-button:hover,
#item-choose button:hover,
.unified-extensions-item-menu-button:hover {
Expand Down Expand Up @@ -199,8 +199,7 @@ menulist[open] .menulist-label-box,
.close-icon:not(.tab-close-button):active,
button.close:active,
.dialog-button-box button:not([disabled="true"]):active,
#protections-popup-info-button:not(#hack):active,
#protections-popup-info-button:not(#hack)[checked],
.panel-info-button:not(#hack):is(:active, [checked]),
.permission-popup-permission-remove-button:active,
#item-choose button:active,
.unified-extensions-item-menu-button:active {
Expand Down
9 changes: 6 additions & 3 deletions theme/parts/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ button.close::before {
arrowscrollbox[orient="horizontal"] {
--scrollbutton-icon-name: url("../icons/pan-start-symbolic.svg");
}

/* Popovers subview menu arrow */
#identity-popup-mainView .subviewbutton-nav::after,
.widget-overflow-list .subviewbutton-nav::after,
Expand Down Expand Up @@ -189,7 +190,8 @@ button.close::before {
width: 16px !important;
height: 16px !important;
}
.menulist-label-box:after {
.menulist-label-box:after,
link[href="chrome://global/skin/menulist.css"] ~ dropmarker {
content: url("../icons/pan-down-symbolic.svg") !important;
}

Expand Down Expand Up @@ -374,7 +376,8 @@ button.close::before {
/* Preferences button */
#preferences-button,
.search-setting-button > .button-box > .button-icon,
.unified-extensions-item-menu-button.subviewbutton {
.unified-extensions-item-menu-button.subviewbutton,
.translations-panel-settings-gear-icon > .toolbarbutton-icon {
list-style-image: url("../icons/settings-symbolic.svg") !important;
}
/* Tabs sync */
Expand Down Expand Up @@ -522,7 +525,7 @@ button.close::before {
list-style-image: url("../icons/folder-download-symbolic.svg") !important;
}
/* Info */
.panel-info-button > image,
.panel-info-button:not(.translations-panel-settings-gear-icon) > image,
#identity-icon {
list-style-image: url("../icons/info-symbolic.svg") !important;
}
Expand Down
7 changes: 4 additions & 3 deletions theme/parts/popups.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/* Style menus */
menupopup {
-moz-appearance: none !important;
appearance: none !important;
color: var(--gnome-window-color) !important;
padding: 8px !important;
}
Expand All @@ -18,7 +18,7 @@ menulist {
}

.menupopup-arrowscrollbox {
-moz-appearance: none !important;
appearance: none !important;
background: var(--gnome-menu-background) !important;
border: 1px solid var(--gnome-menu-border-color) !important;
border-radius: 12px !important;
Expand Down Expand Up @@ -75,7 +75,8 @@ panel {
--arrowpanel-padding: var(--gnome-menu-padding) !important;
}
#downloadsPanel-blockedSubview,
#downloadsPanel-mainView {
#downloadsPanel-mainView,
#select-translations-panel-main-content {
padding: var(--gnome-menu-padding) !important;
}
.panel-header, .panel-footer,
Expand Down

0 comments on commit c5f32d5

Please sign in to comment.