Skip to content

Commit

Permalink
Some fixes from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
lassekongo83 committed Oct 9, 2019
1 parent d6146c4 commit 5f5f734
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 9 deletions.
6 changes: 5 additions & 1 deletion gnome-shell/src/gnome-shell-high-contrast.css
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { backg

.popup-separator-menu-item { height: 1px; margin: 6px 0px; background-color: transparent; border-color: rgba(34, 34, 34, 0.2); border-bottom-width: 1px; border-bottom-style: solid; }

.rename-folder-popup .rename-folder-popup-item { spacing: 6px; }

.rename-folder-popup .rename-folder-popup-item:ltr, .rename-folder-popup .rename-folder-popup-item:rtl { padding: 0, 12px; }

.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; }

.lowres-icon { icon-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
Expand Down Expand Up @@ -322,7 +326,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { backg

.workspace-switcher { background: transparent; border: 0; border-radius: 0; padding: 0; spacing: 8px; }

.ws-switcher-active-up, .ws-switcher-active-down, .ws-switcher-active-left, .ws-switcher-active-right { height: 50px; background-color: #215d9c; color: #ffffff; background-size: 32px; border-radius: 5px; }
.ws-switcher-active-up, .ws-switcher-active-down, .ws-switcher-active-left, .ws-switcher-active-right { height: 52px; background-color: #215d9c; color: #ffffff; background-size: 32px; border-radius: 5px; }

.ws-switcher-box { height: 50px; border: 1px solid rgba(238, 238, 236, 0.1); background: transparent; border-radius: 5px; }

Expand Down
11 changes: 10 additions & 1 deletion gnome-shell/src/gnome-shell-sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,15 @@ StScrollBar {
border-bottom-style: solid;
}

// Rename popup

.rename-folder-popup {
.rename-folder-popup-item {
spacing: 6px;
&:ltr, &:rtl { padding: 0, 12px; }
}
}

// Background menu
.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; }

Expand Down Expand Up @@ -714,7 +723,7 @@ StScrollBar {

.ws-switcher-active-up, .ws-switcher-active-down,
.ws-switcher-active-left, .ws-switcher-active-right {
height: 50px;
height: 52px;
background-color: $selected_bg_color;
color: $selected_fg_color;
background-size: 32px;
Expand Down
6 changes: 5 additions & 1 deletion gnome-shell/src/gnome-shell.css
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { backg

.popup-separator-menu-item { height: 1px; margin: 6px 0px; background-color: transparent; border-color: rgba(56, 59, 61, 0.2); border-bottom-width: 1px; border-bottom-style: solid; }

.rename-folder-popup .rename-folder-popup-item { spacing: 6px; }

.rename-folder-popup .rename-folder-popup-item:ltr, .rename-folder-popup .rename-folder-popup-item:rtl { padding: 0, 12px; }

.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; }

.lowres-icon { icon-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
Expand Down Expand Up @@ -322,7 +326,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { backg

.workspace-switcher { background: transparent; border: 0; border-radius: 0; padding: 0; spacing: 8px; }

.ws-switcher-active-up, .ws-switcher-active-down, .ws-switcher-active-left, .ws-switcher-active-right { height: 50px; background-color: #4a79c7; color: #ffffff; background-size: 32px; border-radius: 5px; }
.ws-switcher-active-up, .ws-switcher-active-down, .ws-switcher-active-left, .ws-switcher-active-right { height: 52px; background-color: #4a79c7; color: #ffffff; background-size: 32px; border-radius: 5px; }

.ws-switcher-box { height: 50px; border: 1px solid rgba(246, 246, 247, 0.1); background: transparent; border-radius: 5px; }

Expand Down
2 changes: 1 addition & 1 deletion gtk/src/Stilo/gtk-3.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@ menubar,

// remove padding and rounding from menubar submenus
menu {
.csd &, & {
&:dir(rtl), &:dir(ltr) { // specificity bump
border-radius: 0;
padding: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion gtk/src/Stilo/gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ menubar, .menubar { -GtkWidget-window-dragging: true; padding: 0px; background-c

menubar > menuitem, .menubar > menuitem { min-height: 16px; padding: 2px 8px; border: 0; border-color: transparent; color: #f6f6f7; }

.csd menubar > menuitem menu, menubar > menuitem menu, .csd .menubar > menuitem menu, .menubar > menuitem menu { border-radius: 0; padding: 0; }
menubar > menuitem menu:dir(rtl), menubar > menuitem menu:dir(ltr), .menubar > menuitem menu:dir(rtl), .menubar > menuitem menu:dir(ltr) { border-radius: 0; padding: 0; }

menubar > menuitem:hover, menubar > menuitem:active, .menubar > menuitem:hover, .menubar > menuitem:active { color: #ffffff; border-radius: 0; background-color: #4a79c7; }

Expand Down
2 changes: 1 addition & 1 deletion gtk/src/Stilo/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ menubar, .menubar { -GtkWidget-window-dragging: true; padding: 0px; background-c

menubar > menuitem, .menubar > menuitem { min-height: 16px; padding: 2px 8px; border: 0; border-color: transparent; color: #3C3C3C; }

.csd menubar > menuitem menu, menubar > menuitem menu, .csd .menubar > menuitem menu, .menubar > menuitem menu { border-radius: 0; padding: 0; }
menubar > menuitem menu:dir(rtl), menubar > menuitem menu:dir(ltr), .menubar > menuitem menu:dir(rtl), .menubar > menuitem menu:dir(ltr) { border-radius: 0; padding: 0; }

menubar > menuitem:hover, menubar > menuitem:active, .menubar > menuitem:hover, .menubar > menuitem:active { color: #ffffff; border-radius: 0; background-color: #3665b3; }

Expand Down
2 changes: 1 addition & 1 deletion gtk/src/Stiloetto/gtk-3.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ menubar,

// remove padding and rounding from menubar submenus
menu {
.csd &, & {
&:dir(rtl), &:dir(ltr) { // specificity bump
border-radius: 0;
padding: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion gtk/src/Stiloetto/gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ menubar, .menubar { -GtkWidget-window-dragging: true; padding: 0px; background-c

menubar > menuitem, .menubar > menuitem { min-height: 16px; padding: 2px 8px; border: 0; border-color: transparent; color: #f6f6f7; }

.csd menubar > menuitem menu, menubar > menuitem menu, .csd .menubar > menuitem menu, .menubar > menuitem menu { border-radius: 0; padding: 0; }
menubar > menuitem menu:dir(rtl), menubar > menuitem menu:dir(ltr), .menubar > menuitem menu:dir(rtl), .menubar > menuitem menu:dir(ltr) { border-radius: 0; padding: 0; }

menubar > menuitem:hover, menubar > menuitem:active, .menubar > menuitem:hover, .menubar > menuitem:active { color: #ffffff; border-radius: 0; background-color: #4a79c7; }

Expand Down
2 changes: 1 addition & 1 deletion gtk/src/Stiloetto/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ menubar, .menubar { -GtkWidget-window-dragging: true; padding: 0px; background-c

menubar > menuitem, .menubar > menuitem { min-height: 16px; padding: 2px 8px; border: 0; border-color: transparent; color: #3C3C3C; }

.csd menubar > menuitem menu, menubar > menuitem menu, .csd .menubar > menuitem menu, .menubar > menuitem menu { border-radius: 0; padding: 0; }
menubar > menuitem menu:dir(rtl), menubar > menuitem menu:dir(ltr), .menubar > menuitem menu:dir(rtl), .menubar > menuitem menu:dir(ltr) { border-radius: 0; padding: 0; }

menubar > menuitem:hover, menubar > menuitem:active, .menubar > menuitem:hover, .menubar > menuitem:active { color: #ffffff; border-radius: 0; background-color: #3665b3; }

Expand Down

0 comments on commit 5f5f734

Please sign in to comment.