Fixed issues

This commit is contained in:
vinceliuice 2023-05-26 23:29:38 +08:00
parent 17d0f26385
commit c26f6dfc59
5 changed files with 22 additions and 12 deletions

View file

@ -32,7 +32,7 @@
--gnome-popover-shadow: 0 5px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.75);
--gnome-popover-button-hover-background: rgba(255, 255, 255, 0.1);
--gnome-popover-button-active-background: rgba(255, 255, 255, 0.15);
--gnome-popover-separator-color: rgba(255, 255, 255, 0.1);
--gnome-popover-separator-color: rgba(255, 255, 255, 0.08);
/* Header bar */
--gnome-headerbar-background: #373737;

View file

@ -33,7 +33,7 @@
--gnome-popover-shadow: 0 5px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.75);
--gnome-popover-button-hover-background: rgba(255, 255, 255, 0.1);
--gnome-popover-button-active-background: rgba(255, 255, 255, 0.15);
--gnome-popover-separator-color: rgba(255, 255, 255, 0.1);
--gnome-popover-separator-color: rgba(255, 255, 255, 0.08);
/* Header bar */
--gnome-headerbar-background: #373737;

View file

@ -31,6 +31,10 @@ body {
padding: 6px 12px !important;
}
.context-menu > ul > li.separator {
border-bottom: 1px solid var(--gnome-popover-separator-color) !important;
}
.home-section .section .switch {
width: 30px !important;
height: 20px !important;

View file

@ -94,6 +94,10 @@ dialog[subdialog] {
flex: 1;
}
.dialog-button-box spacer.button-spacer {
display: none;
}
/* Buttons borders - only suppor for cancel/ok */
/*.dialog-button-box button[dlgtype="accept"] {*/
/* border-right: 0 !important;*/

View file

@ -7,11 +7,6 @@
menupopup, panel,
:is(menupopup, panel)[type="arrow"] {
-moz-appearance: none !important;
}
menupopup, panel,
:is(menupopup, panel)[type="arrow"]
:is(panel, menupopup)::part(content) {
--panel-background: var(--gnome-menu-background) !important;
--arrowpanel-border-radius: 12px !important;
--arrowpanel-background: var(--gnome-menu-background) !important;
@ -19,19 +14,25 @@ menupopup, panel,
--panel-padding: 6px !important;
--panel-shadow: var(--gnome-popover-shadow) !important;
--panel-shadow-margin: 3px 8px 13px !important;
--panel-border-color: transparent !important;
--arrowpanel-border-color: transparent !important;
--panel-separator-color: var(--gnome-popover-separator-color) !important;
color: var(--gnome-toolbar-color) !important;
}
menupopup, panel,
:is(menupopup, panel)[type="arrow"],
:is(panel, menupopup)::part(content) {
--panel-border-color: transparent !important;
--arrowpanel-border-color: transparent !important;
}
.panel-arrowcontent {
border: none !important;
}
@media (prefers-color-scheme: dark) {
menupopup, panel,
:is(menupopup, panel)[type="arrow"]
:is(menupopup, panel)[type="arrow"],
:is(panel, menupopup)::part(content) {
--panel-border-color: rgba(255, 255, 255, 0.06) !important;
--arrowpanel-border-color: rgba(255, 255, 255, 0.06) !important;
@ -199,7 +200,6 @@ menuitem, menupopup menu,
fill-opacity: 1 !important;
}
/* Menu buttons disabled */
menuitem[disabled="true"], menupopup menu[disabled="true"],
.subviewbutton[disabled="true"], .toolbarbutton-1[disabled="true"],
@ -228,7 +228,8 @@ menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
/* Style popover separators */
toolbarseparator, menuseparator {
border-color: var(--gnome-popover-separator-color) !important;
appearance: none !important;
/* border-color: var(--gnome-popover-separator-color) !important;*/
}
#PlacesToolbar menupopup[placespopup="true"] menuseparator {
border-top: 1px solid var(--gnome-popover-separator-color) !important;
@ -239,6 +240,7 @@ toolbarseparator, menuseparator {
border: 0 !important;
}
toolbarseparator:not([orient="vertical"]), menupopup menuseparator {
border-top: 1px solid var(--gnome-popover-separator-color) !important;
margin: 4px 0 !important;
}
toolbarseparator[orient="vertical"] {