Skip to content

Commit

Permalink
Fixed budgie issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Sep 9, 2023
1 parent cc91953 commit 194b6ab
Show file tree
Hide file tree
Showing 22 changed files with 566 additions and 531 deletions.
41 changes: 29 additions & 12 deletions src/_sass/gtk/_budgie.scss
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,12 @@
}

&.caffeine-popover {
// .container { padding: $space_size; }
.container {
padding: $space_size;

.container { padding: $space_size / 2; }
}

.view-header { margin: 0 $space_size; }
}

Expand Down Expand Up @@ -1032,8 +1037,8 @@ frame.raven-frame .raven .raven-notifications-view {
@extend %circular_button;
}

.linked > button {
@extend %flat_button;
button {
@extend %linked;
}
}

Expand Down Expand Up @@ -1063,16 +1068,24 @@ frame.raven-frame .raven .raven-notifications-view {
@extend .budgie-notification;
}

// power dialog window
window.budgie-power-dialog {
&, &.backgrround.csd, & > decoration {
border-radius: $modal_radius;
}
}

.drop-shadow {
margin: 5px 9px;
padding: $space_size;
border-radius: $modal_radius;
box-shadow: $shadow_2, inset 0 1px $highlight;
background-color: $surface;

button { @extend %simple_flat_button; }

// .linked > button { border-radius: $button_radius; }
button {
@extend %simple_flat_button;
@extend %linked;
}
}

%budgie_dialog {
Expand All @@ -1083,23 +1096,27 @@ frame.raven-frame .raven .raven-notifications-view {
decoration { border-radius: $modal_radius; }

entry { @extend %flat_entry; }

button { @extend %flat_button; }

.linked.horizontal > button {
.linked > button {
padding: 8px 16px;
border-top: 1px solid $border;
border-radius: 0;

@extend %simple_flat_button;

&:first-child { border-bottom-left-radius: $modal_radius; }
&:last-child { border-bottom-right-radius: $modal_radius; }
&:first-child {
border-radius: 0 0 0 $modal_radius;
}

&:last-child {
border-radius: 0 0 $modal_radius 0;
}
}

@each $b_type, $b_color in (suggested-action, $suggested),
(destructive-action, $destructive) {
.linked.horizontal > button.#{$b_type} {

.linked > button.#{$b_type} {
&, &:hover { color: $b_color; }

&:active, &:checked {
Expand Down
6 changes: 3 additions & 3 deletions src/cinnamon/cinnamon-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.window-caption#selected {
#selected.window-caption {
spacing: 25px;
color: white;
background-color: #4285F4;
Expand Down Expand Up @@ -2592,7 +2592,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
box-shadow: inset 0 -2px #4285F4;
}

.expo-workspaces-name-entry#selected {
#selected.expo-workspaces-name-entry {
color: white;
caret-color: white;
background-color: rgba(255, 255, 255, 0.05);
Expand All @@ -2604,7 +2604,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
background-color: transparent;
}

.expo-workspace-thumbnail-frame#active {
#active.expo-workspace-thumbnail-frame {
border-radius: 2px;
border: 2px solid #4285F4;
}
Expand Down
6 changes: 3 additions & 3 deletions src/cinnamon/cinnamon-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.window-caption#selected {
#selected.window-caption {
spacing: 25px;
color: white;
background-color: #4285F4;
Expand Down Expand Up @@ -2592,7 +2592,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
box-shadow: inset 0 -2px #4285F4;
}

.expo-workspaces-name-entry#selected {
#selected.expo-workspaces-name-entry {
color: white;
caret-color: white;
background-color: rgba(0, 0, 0, 0.05);
Expand All @@ -2604,7 +2604,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
background-color: transparent;
}

.expo-workspace-thumbnail-frame#active {
#active.expo-workspace-thumbnail-frame {
border-radius: 2px;
border: 2px solid #4285F4;
}
Expand Down
6 changes: 3 additions & 3 deletions src/cinnamon/cinnamon.css
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.window-caption#selected {
#selected.window-caption {
spacing: 25px;
color: white;
background-color: #4285F4;
Expand Down Expand Up @@ -2592,7 +2592,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
box-shadow: inset 0 -2px #4285F4;
}

.expo-workspaces-name-entry#selected {
#selected.expo-workspaces-name-entry {
color: white;
caret-color: white;
background-color: rgba(0, 0, 0, 0.05);
Expand All @@ -2604,7 +2604,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
background-color: transparent;
}

.expo-workspace-thumbnail-frame#active {
#active.expo-workspace-thumbnail-frame {
border-radius: 2px;
border: 2px solid #4285F4;
}
Expand Down
8 changes: 4 additions & 4 deletions src/gnome-shell/shell-3-28/gnome-shell-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -2275,7 +2275,7 @@ StEntry StLabel.hint-text {
-st-icon-style: symbolic;
}

#panel .panel-button#panelActivities {
#panel #panelActivities.panel-button {
-natural-hpadding: 18px;
}

Expand Down Expand Up @@ -2310,11 +2310,11 @@ StEntry StLabel.hint-text {
box-shadow: none;
}

#panel:overview .panel-button:hover.clock-display, #panel:overview .panel-button:active.clock-display, #panel:overview .panel-button:overview.clock-display, #panel:overview .panel-button:focus.clock-display, #panel:overview .panel-button:checked.clock-display, #panel.unlock-screen .panel-button:hover.clock-display, #panel.unlock-screen .panel-button:active.clock-display, #panel.unlock-screen .panel-button:overview.clock-display, #panel.unlock-screen .panel-button:focus.clock-display, #panel.unlock-screen .panel-button:checked.clock-display, #panel.login-screen .panel-button:hover.clock-display, #panel.login-screen .panel-button:active.clock-display, #panel.login-screen .panel-button:overview.clock-display, #panel.login-screen .panel-button:focus.clock-display, #panel.login-screen .panel-button:checked.clock-display, #panel.lock-screen .panel-button:hover.clock-display, #panel.lock-screen .panel-button:active.clock-display, #panel.lock-screen .panel-button:overview.clock-display, #panel.lock-screen .panel-button:focus.clock-display, #panel.lock-screen .panel-button:checked.clock-display {
#panel:overview .panel-button.clock-display:hover, #panel:overview .panel-button.clock-display:active, #panel:overview .panel-button.clock-display:overview, #panel:overview .panel-button.clock-display:focus, #panel:overview .panel-button.clock-display:checked, #panel.unlock-screen .panel-button.clock-display:hover, #panel.unlock-screen .panel-button.clock-display:active, #panel.unlock-screen .panel-button.clock-display:overview, #panel.unlock-screen .panel-button.clock-display:focus, #panel.unlock-screen .panel-button.clock-display:checked, #panel.login-screen .panel-button.clock-display:hover, #panel.login-screen .panel-button.clock-display:active, #panel.login-screen .panel-button.clock-display:overview, #panel.login-screen .panel-button.clock-display:focus, #panel.login-screen .panel-button.clock-display:checked, #panel.lock-screen .panel-button.clock-display:hover, #panel.lock-screen .panel-button.clock-display:active, #panel.lock-screen .panel-button.clock-display:overview, #panel.lock-screen .panel-button.clock-display:focus, #panel.lock-screen .panel-button.clock-display:checked {
box-shadow: none;
}

#panel:overview .panel-button:hover.clock-display .clock, #panel:overview .panel-button:active.clock-display .clock, #panel:overview .panel-button:overview.clock-display .clock, #panel:overview .panel-button:focus.clock-display .clock, #panel:overview .panel-button:checked.clock-display .clock, #panel.unlock-screen .panel-button:hover.clock-display .clock, #panel.unlock-screen .panel-button:active.clock-display .clock, #panel.unlock-screen .panel-button:overview.clock-display .clock, #panel.unlock-screen .panel-button:focus.clock-display .clock, #panel.unlock-screen .panel-button:checked.clock-display .clock, #panel.login-screen .panel-button:hover.clock-display .clock, #panel.login-screen .panel-button:active.clock-display .clock, #panel.login-screen .panel-button:overview.clock-display .clock, #panel.login-screen .panel-button:focus.clock-display .clock, #panel.login-screen .panel-button:checked.clock-display .clock, #panel.lock-screen .panel-button:hover.clock-display .clock, #panel.lock-screen .panel-button:active.clock-display .clock, #panel.lock-screen .panel-button:overview.clock-display .clock, #panel.lock-screen .panel-button:focus.clock-display .clock, #panel.lock-screen .panel-button:checked.clock-display .clock {
#panel:overview .panel-button.clock-display:hover .clock, #panel:overview .panel-button.clock-display:active .clock, #panel:overview .panel-button.clock-display:overview .clock, #panel:overview .panel-button.clock-display:focus .clock, #panel:overview .panel-button.clock-display:checked .clock, #panel.unlock-screen .panel-button.clock-display:hover .clock, #panel.unlock-screen .panel-button.clock-display:active .clock, #panel.unlock-screen .panel-button.clock-display:overview .clock, #panel.unlock-screen .panel-button.clock-display:focus .clock, #panel.unlock-screen .panel-button.clock-display:checked .clock, #panel.login-screen .panel-button.clock-display:hover .clock, #panel.login-screen .panel-button.clock-display:active .clock, #panel.login-screen .panel-button.clock-display:overview .clock, #panel.login-screen .panel-button.clock-display:focus .clock, #panel.login-screen .panel-button.clock-display:checked .clock, #panel.lock-screen .panel-button.clock-display:hover .clock, #panel.lock-screen .panel-button.clock-display:active .clock, #panel.lock-screen .panel-button.clock-display:overview .clock, #panel.lock-screen .panel-button.clock-display:focus .clock, #panel.lock-screen .panel-button.clock-display:checked .clock {
box-shadow: none;
}

Expand Down Expand Up @@ -2376,7 +2376,7 @@ StEntry StLabel.hint-text {
background-color: #4285F4 !important;
}

.popup-menu .popup-menu-item:checked:focus, .popup-menu .popup-menu-item:checked:hover, .popup-menu .popup-menu-item:checked.selected {
.popup-menu .popup-menu-item:checked:focus, .popup-menu .popup-menu-item:checked:hover, .popup-menu .popup-menu-item.selected:checked {
color: white !important;
background-color: #5a95f5 !important;
}
Expand Down
8 changes: 4 additions & 4 deletions src/gnome-shell/shell-3-28/gnome-shell-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -2275,7 +2275,7 @@ StEntry StLabel.hint-text {
-st-icon-style: symbolic;
}

#panel .panel-button#panelActivities {
#panel #panelActivities.panel-button {
-natural-hpadding: 18px;
}

Expand Down Expand Up @@ -2310,11 +2310,11 @@ StEntry StLabel.hint-text {
box-shadow: none;
}

#panel:overview .panel-button:hover.clock-display, #panel:overview .panel-button:active.clock-display, #panel:overview .panel-button:overview.clock-display, #panel:overview .panel-button:focus.clock-display, #panel:overview .panel-button:checked.clock-display, #panel.unlock-screen .panel-button:hover.clock-display, #panel.unlock-screen .panel-button:active.clock-display, #panel.unlock-screen .panel-button:overview.clock-display, #panel.unlock-screen .panel-button:focus.clock-display, #panel.unlock-screen .panel-button:checked.clock-display, #panel.login-screen .panel-button:hover.clock-display, #panel.login-screen .panel-button:active.clock-display, #panel.login-screen .panel-button:overview.clock-display, #panel.login-screen .panel-button:focus.clock-display, #panel.login-screen .panel-button:checked.clock-display, #panel.lock-screen .panel-button:hover.clock-display, #panel.lock-screen .panel-button:active.clock-display, #panel.lock-screen .panel-button:overview.clock-display, #panel.lock-screen .panel-button:focus.clock-display, #panel.lock-screen .panel-button:checked.clock-display {
#panel:overview .panel-button.clock-display:hover, #panel:overview .panel-button.clock-display:active, #panel:overview .panel-button.clock-display:overview, #panel:overview .panel-button.clock-display:focus, #panel:overview .panel-button.clock-display:checked, #panel.unlock-screen .panel-button.clock-display:hover, #panel.unlock-screen .panel-button.clock-display:active, #panel.unlock-screen .panel-button.clock-display:overview, #panel.unlock-screen .panel-button.clock-display:focus, #panel.unlock-screen .panel-button.clock-display:checked, #panel.login-screen .panel-button.clock-display:hover, #panel.login-screen .panel-button.clock-display:active, #panel.login-screen .panel-button.clock-display:overview, #panel.login-screen .panel-button.clock-display:focus, #panel.login-screen .panel-button.clock-display:checked, #panel.lock-screen .panel-button.clock-display:hover, #panel.lock-screen .panel-button.clock-display:active, #panel.lock-screen .panel-button.clock-display:overview, #panel.lock-screen .panel-button.clock-display:focus, #panel.lock-screen .panel-button.clock-display:checked {
box-shadow: none;
}

#panel:overview .panel-button:hover.clock-display .clock, #panel:overview .panel-button:active.clock-display .clock, #panel:overview .panel-button:overview.clock-display .clock, #panel:overview .panel-button:focus.clock-display .clock, #panel:overview .panel-button:checked.clock-display .clock, #panel.unlock-screen .panel-button:hover.clock-display .clock, #panel.unlock-screen .panel-button:active.clock-display .clock, #panel.unlock-screen .panel-button:overview.clock-display .clock, #panel.unlock-screen .panel-button:focus.clock-display .clock, #panel.unlock-screen .panel-button:checked.clock-display .clock, #panel.login-screen .panel-button:hover.clock-display .clock, #panel.login-screen .panel-button:active.clock-display .clock, #panel.login-screen .panel-button:overview.clock-display .clock, #panel.login-screen .panel-button:focus.clock-display .clock, #panel.login-screen .panel-button:checked.clock-display .clock, #panel.lock-screen .panel-button:hover.clock-display .clock, #panel.lock-screen .panel-button:active.clock-display .clock, #panel.lock-screen .panel-button:overview.clock-display .clock, #panel.lock-screen .panel-button:focus.clock-display .clock, #panel.lock-screen .panel-button:checked.clock-display .clock {
#panel:overview .panel-button.clock-display:hover .clock, #panel:overview .panel-button.clock-display:active .clock, #panel:overview .panel-button.clock-display:overview .clock, #panel:overview .panel-button.clock-display:focus .clock, #panel:overview .panel-button.clock-display:checked .clock, #panel.unlock-screen .panel-button.clock-display:hover .clock, #panel.unlock-screen .panel-button.clock-display:active .clock, #panel.unlock-screen .panel-button.clock-display:overview .clock, #panel.unlock-screen .panel-button.clock-display:focus .clock, #panel.unlock-screen .panel-button.clock-display:checked .clock, #panel.login-screen .panel-button.clock-display:hover .clock, #panel.login-screen .panel-button.clock-display:active .clock, #panel.login-screen .panel-button.clock-display:overview .clock, #panel.login-screen .panel-button.clock-display:focus .clock, #panel.login-screen .panel-button.clock-display:checked .clock, #panel.lock-screen .panel-button.clock-display:hover .clock, #panel.lock-screen .panel-button.clock-display:active .clock, #panel.lock-screen .panel-button.clock-display:overview .clock, #panel.lock-screen .panel-button.clock-display:focus .clock, #panel.lock-screen .panel-button.clock-display:checked .clock {
box-shadow: none;
}

Expand Down Expand Up @@ -2376,7 +2376,7 @@ StEntry StLabel.hint-text {
background-color: #4285F4 !important;
}

.popup-menu .popup-menu-item:checked:focus, .popup-menu .popup-menu-item:checked:hover, .popup-menu .popup-menu-item:checked.selected {
.popup-menu .popup-menu-item:checked:focus, .popup-menu .popup-menu-item:checked:hover, .popup-menu .popup-menu-item.selected:checked {
color: white !important;
background-color: #5a95f5 !important;
}
Expand Down
Loading

0 comments on commit 194b6ab

Please sign in to comment.