Improve Linux font sizes

This commit is contained in:
ungstein 2022-02-16 19:02:55 +10:30
parent e696a3cc04
commit 16c76b2432
No known key found for this signature in database
GPG key ID: 9458B9C9CABE03E4
4 changed files with 113 additions and 59 deletions

View file

@ -49,6 +49,7 @@
minimum-height="525" minimum-height="525"
font-family=basefont font-family=basefont
font-size=18 font-size=18
font-size=20 [$OSX]
padding=6 padding=6
render render
{ {

View file

@ -155,7 +155,8 @@
AddGameButton { AddGameButton {
font-family = basefont font-family = basefont
font-size=16 font-size=14
font-size=16 [$OSX]
inset = "4 0 0 0" inset = "4 0 0 0"
textcolor = White textcolor = White
render_bg render_bg

View file

@ -266,7 +266,8 @@
{ {
padding-left=0 padding-left=0
font-family=basefont font-family=basefont
font-size=16 font-size=14
font-size=16 [$OSX]
font-weight=400 font-weight=400
textcolor=LabelDisabled textcolor=LabelDisabled
inset="0 -2 0 0" inset="0 -2 0 0"
@ -445,7 +446,8 @@
NavLabel NavLabel
{ {
font-family=basefont font-family=basefont
font-size=16 font-size=14
font-size=16 [$OSX]
font-weight=400 font-weight=400
textcolor="Label" textcolor="Label"
font-style=uppercase font-style=uppercase
@ -688,7 +690,8 @@
font-family=basefont font-family=basefont
inset-top=1 inset-top=1
inset-left=2 inset-left=2
font-size=16 font-size=14
font-size=16 [$OSX]
textcolor="label" textcolor="label"
font-weight=400 font-weight=400
bgcolor="none" bgcolor="none"
@ -724,7 +727,8 @@
CUINavButton { CUINavButton {
font-family = basefont font-family = basefont
font-size=16 font-size=14
font-size=16 [$OSX]
inset = "9 0 9 0" inset = "9 0 9 0"
textcolor = White textcolor = White
minimum-width = 66 minimum-width = 66
@ -760,7 +764,8 @@
textcolor="Labelfocus" textcolor="Labelfocus"
bgcolor="none" bgcolor="none"
font-family=basefont font-family=basefont
font-size=16 font-size=14
font-size=16 [$OSX]
font-weight=400 font-weight=400
font-style="uppercase" font-style="uppercase"
padding-left=5 padding-left=5
@ -833,7 +838,8 @@
LabelEVCert LabelEVCert
{ {
font-family=basefont font-family=basefont
font-size=16 font-size=14
font-size=16 [$OSX]
textcolor="Black" textcolor="Black"
font-weight=400 font-weight=400
bgcolor="html.secureurl" bgcolor="html.secureurl"

View file

@ -304,7 +304,7 @@ steam.styles
Notifications.PanelPosition "BottomRight" // Can be "BottomRight", "BottomLeft", "TopRight", "TopLeft" Notifications.PanelPosition "BottomRight" // Can be "BottomRight", "BottomLeft", "TopRight", "TopLeft"
Notifications.PanelPosition "TopRight" [$OSX] // the dock is on the bottom for OSX, so instead pop top right like other apps do Notifications.PanelPosition "TopRight" [$OSX] // the dock is on the bottom for OSX, so instead pop top right like other apps do
Notifications.SlideDirection "None" // Can be "Vertical", "Horizontal", "None" and controls slide effect Notifications.SlideDirection "Vertical" // Can be "Vertical", "Horizontal", "None" and controls slide effect
Notifications.FadeInTime "0.45" // Controls the time it takes to slide/fade into view Notifications.FadeInTime "0.45" // Controls the time it takes to slide/fade into view
Notifications.FadeOutTime "0.45" // Controls the time it takes to slide/fade out of view Notifications.FadeOutTime "0.45" // Controls the time it takes to slide/fade out of view
Notifications.DisplayTime "6.0" // Controls the length of time at steady state after fade in and before fade out Notifications.DisplayTime "6.0" // Controls the length of time at steady state after fade in and before fade out
@ -418,7 +418,8 @@ steam.styles
Button Button
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
inset = "4 0 0 0" inset = "4 0 0 0"
textcolor = White textcolor = White
render_bg { render_bg {
@ -502,7 +503,8 @@ steam.styles
"Page Button" "Page Button"
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
render_bg render_bg
{ {
@ -588,7 +590,8 @@ steam.styles
CFriendsListSectionAffordance CFriendsListSectionAffordance
{ {
inset = "0 0 0 0" inset = "0 0 0 0"
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = White textcolor = White
} }
@ -597,7 +600,7 @@ steam.styles
{ {
bgcolor = none bgcolor = none
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX] font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = White textcolor = White
@ -609,7 +612,7 @@ steam.styles
inset = "0 2 0 0" inset = "0 2 0 0"
bgcolor = none bgcolor = none
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX] font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = White textcolor = White
@ -703,7 +706,8 @@ steam.styles
inset = "3 0 0 0" inset = "3 0 0 0"
textcolor = White textcolor = White
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
selectedtextcolor = White selectedtextcolor = White
selectedbgcolor = MaizeBG selectedbgcolor = MaizeBG
render render
@ -1069,7 +1073,8 @@ steam.styles
FrameTitle { FrameTitle {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
padding-left = 0 padding-left = 0
padding-right = 64 padding-right = 64
textcolor = TitleDimText textcolor = TitleDimText
@ -1083,7 +1088,8 @@ steam.styles
FrameTitle:FrameFocus FrameTitle:FrameFocus
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
padding-left = 0 padding-left = 0
padding-right = 64 padding-right = 64
textcolor = White textcolor = White
@ -1098,7 +1104,8 @@ steam.styles
{ {
bgcolor = none bgcolor = none
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = White textcolor = White
selectedtextcolor = White selectedtextcolor = White
@ -1140,7 +1147,8 @@ steam.styles
Label Label
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = Label textcolor = Label
selectedtextcolor = Text selectedtextcolor = Text
} }
@ -1187,7 +1195,8 @@ steam.styles
inset = "0 0 0 0" inset = "0 0 0 0"
bgcolor = DarkGreenBG bgcolor = DarkGreenBG
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = White textcolor = White
selectedtextcolor = White selectedtextcolor = White
@ -1299,7 +1308,8 @@ steam.styles
"GameColumn_BigText" "GameColumn_BigText"
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 700 font-weight = 700
textcolor = text textcolor = text
} }
@ -1307,7 +1317,8 @@ steam.styles
ListPanelCheckBox ListPanelCheckBox
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = White textcolor = White
image = "graphics/chkUnselStd_Sm" image = "graphics/chkUnselStd_Sm"
@ -1348,7 +1359,8 @@ steam.styles
"ListPanelColumnheader ListPanelCheckBox" "ListPanelColumnheader ListPanelCheckBox"
{ {
font-family = basefont font-family = basefont
font-size = 15 font-size = 14
font-size = 15 [$OSX]
font-weight = 100 font-weight = 100
textcolor = White textcolor = White
image = "graphics/chkUnSelFocus_Sm" image = "graphics/chkUnSelFocus_Sm"
@ -1373,7 +1385,7 @@ steam.styles
ListPanelColumnheader ListPanelColumnheader
{ {
font-family = basefont font-family = basefont
font-size = 15 font-size = 14
font-size = 15 [$OSX] font-size = 15 [$OSX]
font-weight = 100 font-weight = 100
textcolor = White textcolor = White
@ -1398,7 +1410,7 @@ steam.styles
"Csteamrootdialog ListPanelColumnheader" "Csteamrootdialog ListPanelColumnheader"
{ {
font-family = basefont font-family = basefont
font-size = 15 font-size = 14
font-size = 15 [$OSX] font-size = 15 [$OSX]
font-weight = 100 font-weight = 100
textcolor = White textcolor = White
@ -1529,7 +1541,8 @@ steam.styles
ListPanelInterior ListPanelInterior
{ {
inset = "0 0 0 1" inset = "0 0 0 1"
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
bgcolor = none bgcolor = none
} }
@ -1540,7 +1553,8 @@ steam.styles
"CSteamRootDialog ListPanel" "CSteamRootDialog ListPanel"
{ {
inset = "0 0 0 1" inset = "0 0 0 1"
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
bgcolor = none bgcolor = none
} }
@ -1548,7 +1562,8 @@ steam.styles
"Csteamrootdialog ListPanelInterior" "Csteamrootdialog ListPanelInterior"
{ {
inset = "0 0 0 1" inset = "0 0 0 1"
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
bgcolor = none bgcolor = none
} }
@ -1559,7 +1574,8 @@ steam.styles
"Page ListPanelInterior" "Page ListPanelInterior"
{ {
inset = "0 0 0 1" inset = "0 0 0 1"
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
bgcolor = none bgcolor = none
} }
@ -1582,7 +1598,8 @@ steam.styles
{ {
textcolor = Text textcolor = Text
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
bgcolor = none bgcolor = none
render_bg {} render_bg {}
} }
@ -1591,7 +1608,8 @@ steam.styles
{ {
textcolor = Text textcolor = Text
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-style = underline font-style = underline
} }
@ -1657,7 +1675,8 @@ steam.styles
"MenuBar MenuButton" "MenuBar MenuButton"
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = TitleDimText textcolor = TitleDimText
padding-right = -2 padding-right = -2
inset = "1 0 1 0" inset = "1 0 1 0"
@ -1679,7 +1698,8 @@ steam.styles
{ {
textcolor = White textcolor = White
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
} }
MenuButton:hover MenuButton:hover
{ {
@ -1702,7 +1722,8 @@ steam.styles
MenuItem MenuItem
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
} }
@ -1719,7 +1740,8 @@ steam.styles
Notification Notification
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
bgcolor = none bgcolor = none
render_bg render_bg
{ {
@ -1770,7 +1792,8 @@ steam.styles
PageTab PageTab
{ {
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
render_bg render_bg
{ {
@ -1786,7 +1809,8 @@ steam.styles
PageTab:selected PageTab:selected
{ {
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = Over textcolor = Over
render_bg render_bg
{ {
@ -1802,7 +1826,8 @@ steam.styles
"PageDragFrame PageTab" "PageDragFrame PageTab"
{ {
font-size = 16 font-size = 14
font-size = 16 [$OSX]
} }
TabCloseButton TabCloseButton
@ -1815,7 +1840,8 @@ steam.styles
Panel Panel
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = White textcolor = White
bgcolor = none bgcolor = none
@ -1861,7 +1887,8 @@ steam.styles
RadioButton RadioButton
{ {
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-family = basefont font-family = basefont
textcolor = White textcolor = White
image = "Graphics/radUnselStd" image = "Graphics/radUnselStd"
@ -1912,7 +1939,8 @@ steam.styles
selectedtextcolor = White selectedtextcolor = White
selectedbgcolor = MaizeBG selectedbgcolor = MaizeBG
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
inset = "0 0 0 0" inset = "0 0 0 0"
render_bg render_bg
@ -1932,7 +1960,8 @@ steam.styles
// style of links in a rich text control // style of links in a rich text control
"RichText url" "RichText url"
{ {
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
selectedtextcolor = White selectedtextcolor = White
font-style = underline font-style = underline
@ -1948,19 +1977,22 @@ steam.styles
{ {
textcolor = White textcolor = White
font-style = underline font-style = underline
font-size = 16 font-size = 14
font-size = 16 [$OSX]
} }
// style of bold text in a rich text control // style of bold text in a rich text control
"RichText bold" "RichText bold"
{ {
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 1000 font-weight = 1000
} }
"RichText emphasis" "RichText emphasis"
{ {
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-style = italic font-style = italic
} }
@ -2291,7 +2323,8 @@ steam.styles
bgcolor = none bgcolor = none
inset = "0 0 0 0" inset = "0 0 0 0"
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = Text textcolor = Text
selectedtextcolor = White selectedtextcolor = White
@ -2303,7 +2336,8 @@ steam.styles
{ {
bgcolor = none bgcolor = none
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = Text textcolor = Text
selectedtextcolor = White selectedtextcolor = White
@ -2346,7 +2380,8 @@ steam.styles
StatusLabel StatusLabel
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = Label textcolor = Label
font-style = uppercase font-style = uppercase
@ -2360,7 +2395,8 @@ steam.styles
TextEntry TextEntry
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
bgcolor = DarkGreenBG bgcolor = DarkGreenBG
textcolor = White textcolor = White
inset = "4 0 4 0" inset = "4 0 4 0"
@ -2416,7 +2452,8 @@ steam.styles
"Page TextEntry" "Page TextEntry"
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
selectedbgcolor = MaizeBG selectedbgcolor = MaizeBG
selectedtextcolor = White selectedtextcolor = White
@ -2493,7 +2530,8 @@ steam.styles
TextEntryURL TextEntryURL
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = text textcolor = text
font-weight = 400 font-weight = 400
bgcolor = none bgcolor = none
@ -2512,7 +2550,8 @@ steam.styles
{ {
inset = "1 0 0 0" inset = "1 0 0 0"
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = White textcolor = White
bgcolor = none bgcolor = none
@ -2547,7 +2586,8 @@ steam.styles
"Page ToggleButton" "Page ToggleButton"
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
textcolor = White textcolor = White
bgcolor = none bgcolor = none
@ -2644,7 +2684,8 @@ steam.styles
textcolor = Label textcolor = Label
bgcolor = none bgcolor = none
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
font-style = underlined font-style = underlined
} }
@ -2658,7 +2699,8 @@ steam.styles
textcolor = Label textcolor = Label
bgcolor = none bgcolor = none
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 400 font-weight = 400
font-style = underlined font-style = underlined
} }
@ -3064,7 +3106,8 @@ steam.styles
{ {
font-family = basefont font-family = basefont
font-style = uppercase font-style = uppercase
font-size = 16 font-size = 14
font-size = 16 [$OSX]
font-weight = 100 font-weight = 100
textcolor = Text textcolor = Text
bgcolor = none bgcolor = none
@ -3106,7 +3149,8 @@ steam.styles
SuperNavMenuItem SuperNavMenuItem
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = White textcolor = White
} }
SuperNavMenuItem:selected SuperNavMenuItem:selected
@ -3128,7 +3172,8 @@ steam.styles
html-findbar html-findbar
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = Text textcolor = Text
font-weight = 100 font-weight = 100
bgcolor = GreenBG bgcolor = GreenBG
@ -3150,7 +3195,8 @@ steam.styles
html-imebar html-imebar
{ {
font-family = basefont font-family = basefont
font-size = 16 font-size = 14
font-size = 16 [$OSX]
textcolor = Text textcolor = Text
font-weight = 100 font-weight = 100
bgcolor = GreenBG bgcolor = GreenBG