Skip to content

Commit

Permalink
Fixed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Nov 9, 2021
1 parent 2d94f36 commit 843b5ed
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 11 deletions.
11 changes: 9 additions & 2 deletions src/main/gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -4747,6 +4747,10 @@ stacksidebar.sidebar row:selected {
font-weight: 500;
}

stacksidebar.sidebar row:selected label, stacksidebar.sidebar row:selected image {
color: rgba(0, 0, 0, 0.87);
}

stacksidebar.sidebar row + row {
margin-top: 3px;
}
Expand Down Expand Up @@ -5251,16 +5255,19 @@ cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl)

stackswitcher {
min-height: 0;
padding: 0;
padding: 2px;
margin: 6px 0;
border-radius: 9999px;
background-color: alpha(currentColor, 0.05);
background-color: transparent;
border: 2px solid #E0E0E0;
}

stackswitcher.linked:not(.vertical) > button:not(.suggested-action):not(.destructive-action) {
margin: 0 0;
border-radius: 9999px;
background-color: transparent;
min-height: 20px;
padding: 5px 10px;
}

stackswitcher.linked:not(.vertical) > button:not(.suggested-action):not(.destructive-action).text-button {
Expand Down
11 changes: 9 additions & 2 deletions src/main/gtk-3.0/gtk-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -4747,6 +4747,10 @@ stacksidebar.sidebar row:selected {
font-weight: 500;
}

stacksidebar.sidebar row:selected label, stacksidebar.sidebar row:selected image {
color: white;
}

stacksidebar.sidebar row + row {
margin-top: 3px;
}
Expand Down Expand Up @@ -5251,16 +5255,19 @@ cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl)

stackswitcher {
min-height: 0;
padding: 0;
padding: 2px;
margin: 6px 0;
border-radius: 9999px;
background-color: alpha(currentColor, 0.05);
background-color: transparent;
border: 2px solid #333333;
}

stackswitcher.linked:not(.vertical) > button:not(.suggested-action):not(.destructive-action) {
margin: 0 0;
border-radius: 9999px;
background-color: transparent;
min-height: 20px;
padding: 5px 10px;
}

stackswitcher.linked:not(.vertical) > button:not(.suggested-action):not(.destructive-action).text-button {
Expand Down
11 changes: 9 additions & 2 deletions src/main/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -4747,6 +4747,10 @@ stacksidebar.sidebar row:selected {
font-weight: 500;
}

stacksidebar.sidebar row:selected label, stacksidebar.sidebar row:selected image {
color: white;
}

stacksidebar.sidebar row + row {
margin-top: 3px;
}
Expand Down Expand Up @@ -5251,16 +5255,19 @@ cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl)

stackswitcher {
min-height: 0;
padding: 0;
padding: 2px;
margin: 6px 0;
border-radius: 9999px;
background-color: alpha(currentColor, 0.05);
background-color: transparent;
border: 2px solid #333333;
}

stackswitcher.linked:not(.vertical) > button:not(.suggested-action):not(.destructive-action) {
margin: 0 0;
border-radius: 9999px;
background-color: transparent;
min-height: 20px;
padding: 5px 10px;
}

stackswitcher.linked:not(.vertical) > button:not(.suggested-action):not(.destructive-action).text-button {
Expand Down
2 changes: 1 addition & 1 deletion src/sass/_tweaks-temp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $panel_opacity: 1.0;
$blackness: 'false';

// Theme color type : default/nord/blackness
$color_type: 'nord';
$color_type: 'default';

// Windows outline style
$rimless: 'false';
11 changes: 9 additions & 2 deletions src/sass/gtk/_common-3.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3141,6 +3141,10 @@ stacksidebar.sidebar {
background-color: $primary;
color: on($primary);
font-weight: 500;

label, image {
color: on($primary);
}
}

+ row { margin-top: $space-size / 2; }
Expand Down Expand Up @@ -3734,15 +3738,18 @@ cursor-handle {

stackswitcher {
min-height: 0;
padding: 0;
padding: 2px;
margin: $space-size 0;
border-radius: $circular-radius;
background-color: $overlay-normal;
background-color: transparent;
border: 2px solid $primary;

&.linked:not(.vertical) > button:not(.suggested-action):not(.destructive-action) {
margin: 0 0;
border-radius: $circular-radius;
background-color: transparent;
min-height: 20px;
padding: ($medium-size - 26px) / 2 ($medium-size - 16px) / 2;

&.text-button { min-width: 100px; }

Expand Down
4 changes: 2 additions & 2 deletions src/sass/gtk/_common-4.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -835,9 +835,9 @@ spinbutton {
color: $text-secondary;
}

&.up { margin: 0 $space-size/2; }
&.up { margin: 0 $space-size / 2; }

&.down { margin: 0 $space-size/2; }
&.down { margin: 0 $space-size / 2; }
}
}

Expand Down

0 comments on commit 843b5ed

Please sign in to comment.