Skip to content

Commit

Permalink
Fixes #130. Fixes #131.
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtDiglett committed Aug 17, 2018
1 parent 1a0bc18 commit f76ca56
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 30 deletions.
3 changes: 3 additions & 0 deletions includes/tweaks/theme/dark.styles
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,8 @@
color__listPanelBackground = grey900

color__materialButtonWhiteBackground = grey800
color__screenshotBackground = color__background
color__appDownloadPanelActive = color__background
color__playButtonTextDownloadPage = color__playButtonText
}
}
3 changes: 3 additions & 0 deletions includes/tweaks/theme/light.styles
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,8 @@
color__listPanelBackground = white

color__materialButtonWhiteBackground = white
color__screenshotBackground = white
color__appDownloadPanelActive = white
color__playButtonTextDownloadPage = lightgreen900
}
}
63 changes: 41 additions & 22 deletions resource/layout/appdownloadpanel.layout
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

panelStyleHighlight {
bgcolor=white
bgcolor=color__appDownloadPanelActive

render_bg {}
}
Expand All @@ -29,16 +29,15 @@
inset="0 0 0 0"

render_bg {}
}
}

DetailsLaunchButton {
bgcolor=none
textcolor="lightgreen900"
textcolor=color__playButtonTextDownloadPage
font-family=font__mediumfont
font-size = 20
font-size = 16 [$LINUX]
font-size = 21 [$OSX]

font-size = 16 [$LINUX]
font-size = 21 [$OSX]
font-weight=600
font-style=uppercase
inset="65 0 0 0"
Expand All @@ -47,24 +46,45 @@ font-size = 21 [$OSX]

render {}
render_bg {
0="fill(x0,y0,x1,y1, limeA400__26opacity)"
1="fill(x0,y0,x0+3,y1, limeA400)"
2="fill(x0,y0,x1,y0+3, limeA400)"
3="fill(x1-3,y0,x1,y1, limeA400)"
4="fill(x0,y1-3,x1,y1, limeA400)"
0="fill(x0,y0,x1,y1, color__playButtonBackground)"
1="fill(x0,y0,x0+3,y1, color__playButtonBorder)"
2="fill(x0,y0,x1,y0+3, color__playButtonBorder)"
3="fill(x1-3,y0,x1,y1, color__playButtonBorder)"
4="fill(x0,y1-3,x1,y1, color__playButtonBorder)"
}
}

DetailsLaunchButton:Hover {

DetailsLaunchButton:Hover {
render_bg {
0="fill(x0,y0,x1,y1, color__playButtonBackground__hover)"
1="fill(x0,y0,x0+3,y1, color__playButtonBorder__hover)"
2="fill(x0,y0,x1,y0+3, color__playButtonBorder__hover)"
3="fill(x1-3,y0,x1,y1, color__playButtonBorder__hover)"
4="fill(x0,y1-3,x1,y1, color__playButtonBorder__hover)"
}
}

DetailsLaunchButton:Selected {
render_bg {
0="fill(x0,y0,x1,y1, limeA400__50opacity)"
1="fill(x0,y0,x0+3,y1, limeA400)"
2="fill(x0,y0,x1,y0+3, limeA400)"
3="fill(x1-3,y0,x1,y1, limeA400)"
4="fill(x0,y1-3,x1,y1, limeA400)"
}
0="fill(x0,y0,x1,y1, color__playButtonBackground__selected)"
1="fill(x0,y0,x0+3,y1, color__playButtonBorder__selected)"
2="fill(x0,y0,x1,y0+3, color__playButtonBorder__selected)"
3="fill(x1-3,y0,x1,y1, color__playButtonBorder__selected)"
4="fill(x0,y1-3,x1,y1, color__playButtonBorder__selected)"
}
}

DetailsLaunchButton:Active {
render_bg {
0="fill(x0,y0,x1,y1, color__playButtonBackground__selected)"
1="fill(x0,y0,x0+3,y1, color__playButtonBorder__selected)"
2="fill(x0,y0,x1,y0+3, color__playButtonBorder__selected)"
3="fill(x1-3,y0,x1,y1, color__playButtonBorder__selected)"
4="fill(x0,y1-3,x1,y1, color__playButtonBorder__selected)"
}
}


ModuleHeading {
textcolor=color__text
font-size=24
Expand All @@ -75,9 +95,8 @@ font-size = 21 [$OSX]
label {
textcolor=color__secondaryText
font-size = 18
font-size = 16 [$LINUX]
font-size = 19 [$OSX]

font-size = 16 [$LINUX]
font-size = 19 [$OSX]
}

label2 {
Expand Down
7 changes: 3 additions & 4 deletions resource/layout/downloadspage.layout
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
shadowtextcolor=color__disabled
font-family=font__basefont
font-size = 14
font-size = 12 [$LINUX]
font-size = 15 [$OSX]

font-size = 12 [$LINUX]
font-size = 15 [$OSX]
font-weight=400

render {
Expand Down Expand Up @@ -76,7 +75,7 @@ font-size = 15 [$OSX]
}

SectionHeaderStyleLabel {
bgcolor=white
bgcolor=none
textcolor=color__listPanelSectionHeaderText
font-weight=600
font-style=uppercase
Expand Down
5 changes: 2 additions & 3 deletions resource/layout/gamespage_details_subheader.layout
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ font-size = 29 [$OSX]
textcolor=color__playButtonText
font-family=font__mediumfont
font-size = 28
font-size = 23 [$LINUX]
font-size = 29 [$OSX]

font-size = 23 [$LINUX]
font-size = 29 [$OSX]
font-weight=600
font-style=uppercase
padding-left=60
Expand Down
2 changes: 1 addition & 1 deletion resource/layout/screenshotmanager.layout
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}

WrapPanel {
bgcolor=white
bgcolor=color__screenshotBackground
padding-left=4
padding-top=4
padding-right=4
Expand Down

0 comments on commit f76ca56

Please sign in to comment.