Skip to content

Commit

Permalink
fix progressbar styles when inside an osd. disable psuedo element war…
Browse files Browse the repository at this point in the history
…nings. darken separator color for titlebuttons.
  • Loading branch information
lots0logs committed May 7, 2016
1 parent f8ace81 commit 9ed8bb4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .scss-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ linters:
enabled: true
global: [ "px", "%", "s", "ms" ]

PseudoElement:
enabled: false

QualifyingElement:
enabled: false
allow_element_with_attribute: false
Expand Down
12 changes: 6 additions & 6 deletions gtk-3.20/scss/widgets/_osd.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,22 @@
}
}

.osd progressBar, progressBar.osd {
-GtkProgressBar-xspacing: 0;
-GtkProgressBar-yspacing: 2px;
-GtkProgressBar-min-horizontal-bar-height: 2px;
.osd progressbar, progressbar.osd {
margin: 2px;
min-height: 2px;
min-width: 2px;

padding: 0;

&.trough {
trough {
padding: 0;
border-style: none;
border-radius: 0;
background-image: none;
background-color: transparent;
}

&.progressbar {
progress {
border-style: none;
border-radius: 0;
background-color: $selected_bg_color;
Expand Down
2 changes: 1 addition & 1 deletion gtk-3.20/scss/widgets/_toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
&.vertical separator { margin: ($spacing + 2px) 1px ($spacing + 2px) 0; }

separator, separator:disabled {
color: shade($bg, ($contrast + .1));
color: shade($bg, ($contrast - .2));
border-color: currentColor;

-GtkWidget-window-dragging: true;
Expand Down

0 comments on commit 9ed8bb4

Please sign in to comment.