mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2026-05-08 00:08:07 +00:00
update
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# WARNING: Don't use "cd" in this shell, use it in a subshell instead,
|
||||
# for example ( cd blabla && do_blabla ) or $( cd .. && do_blabla )
|
||||
|
||||
set -o pipefail
|
||||
set -Eeo pipefail
|
||||
|
||||
if [[ ! "${REPO_DIR}" ]]; then
|
||||
echo "Please define 'REPODIR' variable"; exit 1
|
||||
|
||||
@@ -39,6 +39,33 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@media not (forced-colors) {
|
||||
html|dialog,
|
||||
.dialogBox {
|
||||
--in-content-page-background: var(--gnome-content-page-dialog-background) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog */
|
||||
.dialogBox {
|
||||
margin: 0 !important;
|
||||
background-color: var(--gnome-content-page-dialog-background) !important;
|
||||
border-radius: 12px !important;
|
||||
border: none !important;
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
|
||||
}
|
||||
|
||||
.dialogBox window, .dialogBox dialog {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
.close-icon {
|
||||
border-radius: 100px !important;
|
||||
list-style-image: url("../icons/window-close-symbolic.svg") !important;
|
||||
}
|
||||
|
||||
.toggle-button {
|
||||
--toggle-background-color: var(--gnome-switch-background) !important;
|
||||
--toggle-background-color-hover: var(--gnome-switch-hover-background) !important;
|
||||
@@ -50,3 +77,35 @@
|
||||
--toggle-dot-background-color: var(--gnome-switch-slider-background) !important;
|
||||
--toggle-dot-background-color-on-pressed: var(--gnome-switch-slider-background) !important;
|
||||
}
|
||||
|
||||
:host {
|
||||
--input-text-min-height: var(--button-min-height);
|
||||
--input-text-border-color: var(--gnome-urlbar-border-color) !important;
|
||||
--input-text-border-color-disabled: var(--gnome-inactive-urlbar-border-color) !important;
|
||||
--input-text-border: var(--border-width) solid var(--input-text-border-color);
|
||||
--input-text-border-radius: 8px !important;
|
||||
--input-text-background-color: var(--gnome-urlbar-background) !important;
|
||||
--input-text-color: FieldText;
|
||||
--input-text-background-color-disabled: var(--gnome-inactive-urlbar-background) !important;
|
||||
--input-text-opacity-disabled: var(--button-opacity-disabled);
|
||||
}
|
||||
|
||||
#input:not(.toggle-button) {
|
||||
border: 1px solid var(--gnome-hover-urlbar-border-color) !important;
|
||||
border-radius: 8px !important;
|
||||
box-sizing: border-box;
|
||||
background-color: var(--gnome-urlbar-background) !important;
|
||||
outline: 2px solid transparent !important;
|
||||
outline-offset: -2px !important;
|
||||
|
||||
&:focus {
|
||||
border: 1px solid transparent !important;
|
||||
border-radius: 8px !important;
|
||||
outline: 2px solid var(--gnome-focused-urlbar-border-color) !important;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
border-color: var(--gnome-inactive-urlbar-border-color) !important;
|
||||
background-color: var(--gnome-inactive-urlbar-background) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,8 +28,11 @@ window {
|
||||
|
||||
/* Dialog */
|
||||
.dialogBox {
|
||||
border-radius: 12px !important;
|
||||
margin: 0 !important;
|
||||
background-color: var(--gnome-popover-background) !important;
|
||||
border-radius: 12px !important;
|
||||
border: none !important;
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
|
||||
}
|
||||
|
||||
window[role="dialog"] {
|
||||
@@ -50,7 +53,7 @@ dialog#handling {
|
||||
dialog[subdialog] {
|
||||
background-color: var(--gnome-popover-background) !important;
|
||||
border-radius: 12px !important;
|
||||
border: none !important;
|
||||
border: 1px solid var(--gnome-menu-border-color) !important;
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -4912,6 +4912,15 @@ window.background.messagedialog {
|
||||
}
|
||||
}
|
||||
|
||||
dialog.alert {
|
||||
.compact.response-area {
|
||||
button {
|
||||
min-height: 24px;
|
||||
padding: $container_padding;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.aboutdialog image.large-icons {
|
||||
-gtk-icon-size: 128px;
|
||||
}
|
||||
|
||||
@@ -1666,4 +1666,26 @@ window.background.chromium {
|
||||
background-color: gtkalpha(currentColor, 0.1);
|
||||
color: $chrome_fg_color;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Rnote
|
||||
//
|
||||
|
||||
.colorpad {
|
||||
background-color: gtkcolor(colorpad_color);
|
||||
color: gtkcolor(colorpad_fg_color);
|
||||
}
|
||||
|
||||
.colorsetter {
|
||||
&, &:hover, &:focus, &:active {
|
||||
background-color: gtkcolor(colorsetter_color);
|
||||
color: gtkcolor(colorsetter_fg_color);
|
||||
}
|
||||
|
||||
&:checked {
|
||||
background-color: gtkcolor(colorsetter_color);
|
||||
color: gtkcolor(colorsetter_fg_color);
|
||||
box-shadow: inset 0 -3px gtkcolor(colorsetter_fg_color);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user