Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Apr 20, 2024
1 parent 3813a4f commit 65f27bc
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/_sass/gtk/_common-4.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1563,6 +1563,27 @@ searchbar > revealer > box {
border-image: none;
box-shadow: none;
}

> image { // icons inside the entry
color: gtkalpha(on($header), 0.9);

&:hover, &:active { color: on($header); }

&:disabled { color: on($header, disabled); }
}

> text {
color: on($header);

> placeholder {
color: on($header, disabled);
}

> block-cursor {
color: $header;
background-color: on($header);
}
}
}

%header_button {
Expand Down Expand Up @@ -1655,6 +1676,10 @@ headerbar {
&:backdrop {
color: on($header, disabled);
&:disabled { color: on($header, secondary-disabled); }

> windowhandle {
filter: none;
}
}

&:disabled { color: on($header, disabled); }
Expand Down
29 changes: 29 additions & 0 deletions src/gtk/4.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,31 @@ headerbar entry:disabled {
box-shadow: none;
}

headerbar entry > image {
color: alpha(white,0.9);
}

headerbar entry > image:hover, headerbar entry > image:active {
color: white;
}

headerbar entry > image:disabled {
color: rgba(255, 255, 255, 0.45);
}

headerbar entry > text {
color: white;
}

headerbar entry > text > placeholder {
color: rgba(255, 255, 255, 0.45);
}

headerbar entry > text > block-cursor {
color: #36383c;
background-color: white;
}

headerbar button:not(.suggested-action):not(.destructive-action) {
box-shadow: none;
background-color: transparent;
Expand Down Expand Up @@ -2209,6 +2234,10 @@ headerbar:backdrop:disabled {
color: rgba(255, 255, 255, 0.3);
}

headerbar:backdrop > windowhandle {
filter: none;
}

headerbar:disabled {
color: rgba(255, 255, 255, 0.45);
}
Expand Down
29 changes: 29 additions & 0 deletions src/gtk/4.0/gtk-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,31 @@ headerbar entry:disabled {
box-shadow: none;
}

headerbar entry > image {
color: alpha(rgba(0, 0, 0, 0.87),0.9);
}

headerbar entry > image:hover, headerbar entry > image:active {
color: rgba(0, 0, 0, 0.87);
}

headerbar entry > image:disabled {
color: rgba(0, 0, 0, 0.38);
}

headerbar entry > text {
color: rgba(0, 0, 0, 0.87);
}

headerbar entry > text > placeholder {
color: rgba(0, 0, 0, 0.38);
}

headerbar entry > text > block-cursor {
color: #eeeeee;
background-color: rgba(0, 0, 0, 0.87);
}

headerbar button:not(.suggested-action):not(.destructive-action) {
box-shadow: none;
background-color: transparent;
Expand Down Expand Up @@ -2209,6 +2234,10 @@ headerbar:backdrop:disabled {
color: rgba(0, 0, 0, 0.26);
}

headerbar:backdrop > windowhandle {
filter: none;
}

headerbar:disabled {
color: rgba(0, 0, 0, 0.38);
}
Expand Down
29 changes: 29 additions & 0 deletions src/gtk/4.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,31 @@ headerbar entry:disabled {
box-shadow: none;
}

headerbar entry > image {
color: alpha(white,0.9);
}

headerbar entry > image:hover, headerbar entry > image:active {
color: white;
}

headerbar entry > image:disabled {
color: rgba(255, 255, 255, 0.45);
}

headerbar entry > text {
color: white;
}

headerbar entry > text > placeholder {
color: rgba(255, 255, 255, 0.45);
}

headerbar entry > text > block-cursor {
color: #363636;
background-color: white;
}

headerbar button:not(.suggested-action):not(.destructive-action) {
box-shadow: none;
background-color: transparent;
Expand Down Expand Up @@ -2209,6 +2234,10 @@ headerbar:backdrop:disabled {
color: rgba(255, 255, 255, 0.3);
}

headerbar:backdrop > windowhandle {
filter: none;
}

headerbar:disabled {
color: rgba(255, 255, 255, 0.45);
}
Expand Down

0 comments on commit 65f27bc

Please sign in to comment.