Skip to content

Commit

Permalink
Fixed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Dec 31, 2023
1 parent dedb364 commit 0c4c9a5
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 46 deletions.
24 changes: 17 additions & 7 deletions src/_sass/gtk/_common-4.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -604,21 +604,31 @@ button {

// big standalone buttons like in Documents pager
&.osd {
color: $osd_fg_color;
background-color: $osd_bg_color;
border: none;
box-shadow: none;
background-clip: border-box;
background-color: rgba(black, 0.65);
color: white;

&.image-button {
padding: $cont_padding;
padding: $cont_padding / 2;
min-height: $medium_size;
min-width: $medium_size;
}

&:hover { color: $selected_bg_color; }
&:active, &:checked, &.keyboard-activating { @include button(osd-active); }
&:disabled { @include button(osd-insensitive); }
&:hover {
background-color: rgba(black, 0.75);
color: white;
}

&:active, &:checked, &.keyboard-activating {
background-color: rgba(black, 0.85);
color: white;
}

&:disabled {
background-color: rgba(black, 0.35);
color: rgba(white, 0.45);
}
}

//overlay / OSD style
Expand Down
12 changes: 12 additions & 0 deletions src/_sass/gtk/apps/_gnome-4.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,18 @@ window.dialog {
}
}

.background-thumbnail {
button.osd.remove-button {
padding: 0;
}
}

navigation-view-page > toolbarview > scrolledwindow > viewport > clamp > box > box > stack {
> button {
margin-top: 12px;
}
}

//
// Calculator
//
Expand Down
30 changes: 17 additions & 13 deletions src/gtk/theme-4.0/gtk-Dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -728,35 +728,31 @@ button:drop(active) {
}

button.osd {
color: #D3DAE3;
background-color: #282A33;
border: none;
box-shadow: none;
background-clip: border-box;
background-color: rgba(0, 0, 0, 0.65);
color: white;
}

button.osd.image-button {
padding: 6px;
padding: 3px;
min-height: 28px;
min-width: 28px;
}

button.osd:hover {
color: #5294e2;
background-color: rgba(0, 0, 0, 0.75);
color: white;
}

button.osd:active, button.osd:checked, button.osd.keyboard-activating {
color: #ffffff;
border-color: #5294e2;
background-color: #5294e2;
background-clip: border-box;
background-color: rgba(0, 0, 0, 0.85);
color: white;
}

button.osd:disabled {
opacity: 1;
color: #5b5f68;
border-color: #434655;
background-color: rgba(51, 54, 65, 0.85);
background-color: rgba(0, 0, 0, 0.35);
color: rgba(255, 255, 255, 0.45);
}

.osd .linked:not(.vertical):not(.path-bar) > button:hover:not(:checked):not(:active):not(:only-child), .osd .linked:not(.vertical):not(.path-bar) > button:hover:not(:checked):not(:active) + button:not(:checked):not(:active) {
Expand Down Expand Up @@ -6068,6 +6064,14 @@ window.dialog > box > stack > box > box > notebook.frame {
border-radius: 0;
}

.background-thumbnail button.osd.remove-button {
padding: 0;
}

navigation-view-page > toolbarview > scrolledwindow > viewport > clamp > box > box > stack > button {
margin-top: 12px;
}

.history-view {
background-color: #32343D;
}
Expand Down
30 changes: 17 additions & 13 deletions src/gtk/theme-4.0/gtk-Light.css
Original file line number Diff line number Diff line change
Expand Up @@ -728,35 +728,31 @@ button:drop(active) {
}

button.osd {
color: #D3DAE3;
background-color: #282A33;
border: none;
box-shadow: none;
background-clip: border-box;
background-color: rgba(0, 0, 0, 0.65);
color: white;
}

button.osd.image-button {
padding: 6px;
padding: 3px;
min-height: 28px;
min-width: 28px;
}

button.osd:hover {
color: #5294e2;
background-color: rgba(0, 0, 0, 0.75);
color: white;
}

button.osd:active, button.osd:checked, button.osd.keyboard-activating {
color: #ffffff;
border-color: #5294e2;
background-color: #5294e2;
background-clip: border-box;
background-color: rgba(0, 0, 0, 0.85);
color: white;
}

button.osd:disabled {
opacity: 1;
color: #5b5f68;
border-color: #434655;
background-color: rgba(51, 54, 65, 0.85);
background-color: rgba(0, 0, 0, 0.35);
color: rgba(255, 255, 255, 0.45);
}

.osd .linked:not(.vertical):not(.path-bar) > button:hover:not(:checked):not(:active):not(:only-child), .osd .linked:not(.vertical):not(.path-bar) > button:hover:not(:checked):not(:active) + button:not(:checked):not(:active) {
Expand Down Expand Up @@ -6064,6 +6060,14 @@ window.dialog > box > stack > box > box > notebook.frame {
border-radius: 0;
}

.background-thumbnail button.osd.remove-button {
padding: 0;
}

navigation-view-page > toolbarview > scrolledwindow > viewport > clamp > box > box > stack > button {
margin-top: 12px;
}

.history-view {
background-color: #fafbfc;
}
Expand Down
30 changes: 17 additions & 13 deletions src/gtk/theme-4.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -728,35 +728,31 @@ button:drop(active) {
}

button.osd {
color: #D3DAE3;
background-color: #282A33;
border: none;
box-shadow: none;
background-clip: border-box;
background-color: rgba(0, 0, 0, 0.65);
color: white;
}

button.osd.image-button {
padding: 6px;
padding: 3px;
min-height: 28px;
min-width: 28px;
}

button.osd:hover {
color: #5294e2;
background-color: rgba(0, 0, 0, 0.75);
color: white;
}

button.osd:active, button.osd:checked, button.osd.keyboard-activating {
color: #ffffff;
border-color: #5294e2;
background-color: #5294e2;
background-clip: border-box;
background-color: rgba(0, 0, 0, 0.85);
color: white;
}

button.osd:disabled {
opacity: 1;
color: #5b5f68;
border-color: #434655;
background-color: rgba(51, 54, 65, 0.85);
background-color: rgba(0, 0, 0, 0.35);
color: rgba(255, 255, 255, 0.45);
}

.osd .linked:not(.vertical):not(.path-bar) > button:hover:not(:checked):not(:active):not(:only-child), .osd .linked:not(.vertical):not(.path-bar) > button:hover:not(:checked):not(:active) + button:not(:checked):not(:active) {
Expand Down Expand Up @@ -6110,6 +6106,14 @@ window.dialog > box > stack > box > box > notebook.frame {
border-radius: 0;
}

.background-thumbnail button.osd.remove-button {
padding: 0;
}

navigation-view-page > toolbarview > scrolledwindow > viewport > clamp > box > box > stack > button {
margin-top: 12px;
}

.history-view {
background-color: #fafbfc;
}
Expand Down

0 comments on commit 0c4c9a5

Please sign in to comment.