Skip to content

Commit

Permalink
Improvement: cinnamon - making button hover color consistant with gtk…
Browse files Browse the repository at this point in the history
… theme
  • Loading branch information
thekomer committed May 27, 2022
1 parent e21c4d7 commit c057774
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions cinnamon/cinnamon.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ stage {
box-shadow: inset 0 2px 4px rgba(22, 27, 46, 0.05); }
.sound-button:hover, .modal-dialog-button-box .modal-dialog-button:hover, .notification-button:hover, .notification-icon-button:hover, .popup-menu #notification .notification-button:hover, .popup-menu #notification .notification-icon-button:hover {
color: #BFC3CD;
background-color: #1f253f;
background-color: rgba(255, 106, 0, 0.5);
border: 1px solid rgba(191, 195, 205, 0.05);
box-shadow: inset 0 2px 4px rgba(31, 37, 63, 0.05); }
.sound-button:hover:focus, .modal-dialog-button-box .modal-dialog-button:hover:focus, .notification-button:hover:focus, .notification-icon-button:hover:focus, .popup-menu #notification .notification-button:hover:focus, .popup-menu #notification .notification-icon-button:hover:focus {
color: #BFC3CD;
background-color: #1f253f;
background-color: rgba(255, 106, 0, 0.5);
border: 1px solid #ff6a00;
box-shadow: inset 0 2px 4px rgba(22, 27, 46, 0.05); }
.sound-button:active, .modal-dialog-button-box .modal-dialog-button:active, .notification-button:active, .notification-icon-button:active, .popup-menu #notification .notification-button:active, .popup-menu #notification .notification-icon-button:active {
Expand Down Expand Up @@ -1572,7 +1572,7 @@ StScrollBar {
icon-size: 12px; }
.sound-player > StBoxLayout:first-child StButton:small:hover {
color: #BFC3CD;
background-color: #1f253f;
background-color: rgba(255, 106, 0, 0.5);
border: 1px solid rgba(191, 195, 205, 0.05);
box-shadow: inset 0 2px 4px rgba(31, 37, 63, 0.05); }
.sound-player > StBoxLayout:first-child StButton:small:active {
Expand Down Expand Up @@ -1603,7 +1603,7 @@ StScrollBar {
icon-size: 16px; }
.sound-player-overlay StButton:hover {
color: #BFC3CD;
background-color: #1f253f;
background-color: rgba(255, 106, 0, 0.5);
border: 1px solid rgba(191, 195, 205, 0.05);
box-shadow: inset 0 2px 4px rgba(31, 37, 63, 0.05); }
.sound-player-overlay StButton:active {
Expand Down
4 changes: 2 additions & 2 deletions cinnamon/sass/_drawing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@

@else if $t==focus-hover { // focused hovered button
color: $fg_color;
background-color: lighten($button_bg, 5%);
background-color: transparentize($selected_bg_color, 0.5);// lighten($button_bg, 5%);
border: 1px solid $selected_bg_color;
box-shadow: inset 0 2px 4px transparentize($button_bg, 0.95);
}

@else if $t==hover { // hovered button
color: $fg_color;
background-color: lighten($button_bg, 5%);
background-color: transparentize($selected_bg_color, 0.5);// lighten($button_bg, 5%);
border: 1px solid $borders_color;
box-shadow: inset 0 2px 4px transparentize(lighten($button_bg, 5%), 0.95);
}
Expand Down

0 comments on commit c057774

Please sign in to comment.