Update Collapsed Slidebar Layout

This commit is contained in:
JackMyth 2018-08-01 16:17:44 +08:00
parent 9256476854
commit e75fac29ad
4 changed files with 1456 additions and 0 deletions

View File

@ -0,0 +1,150 @@
"resource/layout/accountbutton.layout"
{
controls
{
account_avatar
{
"ControlName" "Image"
"fieldName" "account_avatar"
"zpos" "-2" // behind dropdown button
}
account_drop_down
{
"ControlName" "Label"
"fieldName" "account_drop_down"
"zpos" "-2" // behind dropdown button
"style" "AccountDropDownStyleOffline"
}
account_balance
{
"ControlName" "Label"
"fieldName" "account_balance"
"style" "AccountBalanceStyle"
"zpos" "-2" // behind dropdown button
}
account_persona
{
"ControlName" "Label"
"fieldName" "account_persona"
"style" "AccountPersonaStyleOffline"
"labelText" "%persona%"
"zpos" "-2" // behind dropdown button
}
account_menu_button
{
"ControlName" "Button"
"fieldName" "account_menu_button"
"labelText" ""
"style" "AccountMenuButtonStyle"
}
}
styles
{
AccountPersonaStyleOffline
{
padding-right=6
padding-left=12
textcolor=Friends.OfflineColor
}
AccountPersonaStyleOnline
{
padding-right=6
padding-left=12
textcolor=Friends.OnlineColor
}
AccountPersonaStyleInGame
{
padding-right=6
padding-left=12
textcolor=Friends.InGameColor
}
AccountDropDownStyleOffline
{
render
{
0="image(x0,y0,x1,y1,graphics/avatarBorderOffline)"
}
}
AccountDropDownStyleOnline
{
render
{
0="image(x0,y0,x1,y1,graphics/avatarBorderOnline)"
}
}
AccountDropDownStyleInGame
{
render
{
0="image(x0,y0,x1,y1,graphics/avatarBorderInGame)"
}
}
AccountButtonStyle
{
bgcolor=none
}
AccountButtonStyle:hover
{
bgcolor=none
}
AccountBalanceStyle
{
textcolor="labeldisabled"
bgcolor="none"
font-family=basefont
font-size=14
font-weight=400
font-style=regular
padding-top=1
padding-right=8
padding-left=2
}
AccountBalanceStyle [$OSX]
{
textcolor="labeldisabled"
bgcolor="none"
font-family=basefont
font-size=13
font-weight=400
font-style=regular
inset="0 1 0 0"
}
AccountMenuButtonStyle
{
bgcolor=none
}
AccountMenuButtonStyle:hover
{
bgcolor=none
}
}
layout
{
place { control="account_menu_button" align=left height=0 width=0 } //This normally spans the whole element but it only opens the menu down, so disable it for now
place { control="account_drop_down" align=right height=48 width=48 margin-top=4 } //Avatar & outline
place { control="account_avatar" align=right margin-top=8 height=32 width=32 margin-right=12}
place { control="account_balance" align=right end-right="account_drop_down" y=22 }
place { control="account_persona" align=right end-right="account_drop_down" y=8 }
}
}

View File

@ -0,0 +1,569 @@
"resource/layout/steamrootdialog.layout"
{
controls
{
"fullscreen"
{
"ControlName" "Button"
style="FullscreenButton"
command="fullscreen"
tooltiptext="#tooltip_view_fullscreen"
}
"startvr"
{
"ControlName" "Button"
style="VRButton"
command="startvr"
tooltiptext="#tooltip_view_vr_start"
}
"exitvr"
{
"ControlName" "Button"
style="VRButtonExit"
command="exitvr"
tooltiptext="#tooltip_view_vr_exit"
}
"UINavigatorPanel"
{
"ControlName" "CUINavigatorPanel"
zpos=-2
}
"UIStatusPanel"
{
"ControlName" "CUIStatusPanel"
zpos=-2
}
"MenuBar"
{
"ControlName" "MenuBar"
style=RootMenu
}
SupportAlert
{
ControlName=Button
labelText="#Steam_SupportAlert"
style="support_alert"
textAlignment=center
command="OpenSupportAlertWindow"
}
XPVistaAlert
{
ControlName=Button
labelText="#Steam_XPVistaAlert"
style="support_alert"
textAlignment=center
command="OpenXPVistaAlertWindow"
}
ParentalLockButton
{
ControlName=ToggleButton
style="parental_lock_button"
labelText=""
text=""
command="ParentalLock"
}
InboxButton
{
ControlName=CInboxButton
style="inbox_button"
textAlignment=west
}
AnnouncementButton
{
ControlName=CAnnouncementButton
style="announcement_button"
textAlignment=west
}
AccountButton
{
ControlName=CAccountButton
style="AccountButtonStyle"
}
add_game
{
"ControlName" "MenuButton"
labelText="#steam_client_add_game"
style="AddGameButton"
}
frame_title
{
ControlName=Label
style="ClientTitle"
"textAlignment" "west"
"textAlignment" "center" [$OSX]
}
universe_label
{
"ControlName" "Label"
"fieldName" "universe_label"
"labelText" "#Steam_Universe_Internal"
style="UniverseLabel"
}
view_friends
{
ControlName=Button
labelText="#Steam_ViewFriends"
command="ViewFriends"
style="view_friends"
textAlignment=east
}
}
styles
{
AccountBalanceStyle
{
textcolor=Root.SubLabel.Text
bgcolor="none"
font-family=basefont
font-size=10 [$LINUX]
font-size=13
font-style=regular
inset="0 1 0 0"
}
AccountBalanceStyle:Hover
{
textcolor=Root.SubLabel.Text
}
AccountBalanceSeparatorStyle
{
textcolor=Root.SubLabel.Text
font-family=basefont
font-size=14
font-weight=400
font-style=regular
inset="0 -1 0 0"
}
RootMenu
{
bgcolor="none"
}
AddGameButton
{
font-family=basefont
inset="-6 0 0 0"
font-size=13 [$LINUX]
font-size=15
font-weight=800
font-style=none
textcolor=none
image="graphics/Threshold/add"
render{}
render_bg{}
}
AddGameButton:hover
{
bgcolor=Menu.Hover
render{}
}
AddGameButton:selected
{
bgcolor=Menu.Hover
render{}
}
AddGameButton:disabled
{
textcolor=none
render{}
}
CSteamRootDialog
{
bgcolor=almostblack
render_bg
{
// top area and graphics
//1="fill( x0+48, y0, x1, y0+80, Root.Header)"
//2="fill( x0, y0+32, x0+48, y1, Root.LeftCol)"
//3="fill( x0+48, y1-48, x1, y1, Root.Header)"
//4="fill( x0+48, y0+80, x1, y1-48, almostblack)"
0="image_scale(x0,y0,x1,y1,graphics/JackMyth/MainBG)"
}
render
{
0="image (x0+14, y0+94, x1, y1, graphics/Threshold/store)"
1="image (x0+14, y0+142, x1, y1, graphics/Threshold/library)"
2="image (x0+14, y0+190, x1, y1, graphics/Threshold/community)"
3="image (x0+14, y0+238, x1, y1, graphics/Threshold/me)"
4="fill(x0, y0, x1, y0+1, Frame.Outline.Focus)"
5="fill(x0, y0, x0+1, y1, Frame.Outline.Focus)"
6="fill(x1-1, y0, x1, y1, Frame.Outline.Focus)"
7="fill(x0, y1-1, x1, y1, Frame.Outline.Focus)"
}
}
CSteamRootDialog:FrameFocus{
render
{
0="image (x0+14, y0+94, x1, y1, graphics/Threshold/store)"
1="image (x0+14, y0+142, x1, y1, graphics/Threshold/library)"
2="image (x0+14, y0+190, x1, y1, graphics/Threshold/community)"
3="image (x0+14, y0+238, x1, y1, graphics/Threshold/me)"
4="fill(x0, y0, x1, y0+1, Frame.Outline)"
5="fill(x0, y0, x0+1, y1, Frame.Outline)"
6="fill(x1-1, y0, x1, y1, Frame.Outline)"
7="fill(x0, y1-1, x1, y1, Frame.Outline)"
}
}
"MenuBar MenuButton"
{
textcolor="none"
inset="0 0 0 0"
render{
0="image(x0+16,y0+18,x1,y1,graphics/Threshold/menu)"
}
}
"MenuBar MenuButton:hover"
{
bgcolor=Menu.Button.Hover
render_bg {
}
}
"MenuBar MenuButton:frameFocus:hover"
{
bgcolor=Menu.Button.Hover
render_bg {
}
}
"MenuBar MenuButton:frameFocus:selected"
{
bgcolor=Accent
render_bg {
}
}
view_friends
{
textcolor=Root.Label.Text
bgcolor="none"
font-family=basefont
font-size=13 [$LINUX]
font-size=15
font-weight=400
font-style=regular
}
view_friends:hover
{
textcolor=Root.Label.Hover.Text
}
online_friends
{
textcolor=Root.SubLabel.Text
bgcolor="none"
font-family=basefont
font-size=11 [$LINUX]
font-size=13
font-weight=400
font-style=regular
}
online_friends:disabled
{
textcolor=Root.LeftCol.Disabled
}
support_alert
{
font-family=basefont
font-size=13 [$LINUX]
font-size=15
font-weight=1000
font-style=none
textcolor=DefaultText
padding-left=50
padding-right=50
padding-top=6
inset="-8 -3 8 0"
render {}
render_bg {
0="fill( x0, y0 + 3, x1-1, y1, parental_lock_inactive1 )"
}
}
support_alert:hover
{
render_bg {
0="fill( x0, y0 + 3, x1-1, y1, parental_lock_inactive3 )"
}
}
support_alert_ack
{
font-family=basefont
font-size=13 [$LINUX]
font-size=15
font-weight=1000
font-style=none
textcolor=white
padding-left=50
padding-right=50
padding-top=6
inset="-8 -3 8 0"
render {}
render_bg {
0="fill( x0, y0 + 3, x1-1, y1, support_lock_ack1 )"
}
}
support_alert_ack:hover
{
render_bg {
0="fill( x0, y0 + 3, x1-1, y1, support_lock_ack2 )"
}
}
inbox_button
{
font-family=basefont
inset="-6 0 0 0"
font-size=13 [$LINUX]
font-size=15
font-weight=800
font-style=none
textcolor=Root.LeftCol.Text
image="graphics/Threshold/mail"
render{}
render_bg{}
}
inbox_button:hover
{
bgcolor=Menu.Hover
render{}
}
inbox_button:selected
{
bgcolor=Menu.Hover
render{}
}
inbox_button:disabled
{
textcolor=Root.LeftCol.Disabled
image="graphics/Threshold/mail_dis"
render{}
}
inbox_button_active
{
font-family=basefont
inset="-6 0 0 0"
font-size=13 [$LINUX]
font-size=15
font-weight=800
font-style=none
textcolor=none
bgcolor=Accent
image="graphics/Threshold/mail"
render {}
render_bg{}
}
inbox_button_active:hover
{
bgcolor=Accent.Hover
render {}
}
inbox_button_active:selected
{
bgcolor=Accent.Hover
render {}
}
inbox_button_active:disabled
{
image="graphics/Threshold/mail_dis"
render {}
}
announcement_button
{
bgcolor=none
inset="3 0 0 0"
image="graphics/Threshold/community"
render{}
render_bg{}
}
announcement_button:hover
{
bgcolor=Menu.Hover
render{}
}
announcement_button:selected
{
bgcolor=Menu.Hover
render{}
}
announcement_button:disabled
{
image="graphics/Threshold/community"
render{}
}
announcement_button_button_active
{
inset="3 0 0 0"
bgcolor=Accent
image="graphics/Threshold/community"
render {}
render_bg{}
}
announcement_button_button_active:hover
{
bgcolor=Accent.Hover
render {}
}
announcement_button_button_active:selected
{
bgcolor=Accent.Hover
render {}
}
announcement_button_button_active:disabled
{
image="graphics/Threshold/community"
render {}
}
parental_lock_button
{
inset="-10 0 0 0"
bgcolor=none
image="graphics/Threshold/notfamilyview"
render{}
render_bg{}
}
parental_lock_button:hover
{
bgcolor=Menu.Hover
}
parental_lock_button:selected
{
image="graphics/Threshold/familyview"
}
parental_lock_button:selected:hover
{
bgcolor=Menu.Hover
image="graphics/Threshold/familyview"
}
inboxmenuitem
{
textcolor=Menu.Disabled.Text
}
inboxmenuitem_active
{
textcolor=Menu.Text
}
inboxmenuitem_active:hover
{
textcolor=Menu.Text
}
AccountURLStyle
{
font-size=13 [$LINUX]
font-size=15
textcolor=Root.Label.Text
}
AccountURLStyle:hover
{
textcolor=Root.Label.Hover.Text
}
AccountURLStyle:disabled
{
textcolor=Root.LeftCol.Disabled
padding-right=0
}
}
colors
{
support_flag_red "169 72 71 255"
support_hover_red1 "193 94 93 255"
support_hover_red2 "156 64 63 255"
inbox_active_text DefaultText
inbox_inactive_text DefaultText.Disabled
backdrop "20 20 20 255"
disabledborder "63 63 63 255"
}
layout
{
region { name=hidden width=0 height=0}
region { name=left width=48 y=32}
region { name=bottom-left region=left align=bottom height=max width=48}
region { name=bottom width=max height=48 align=bottom}
region { name=account align=bottom-right margin-right=96 width=max height=48 margin-left=505}
//place { control="view_friends,add_game" region=hidden}
place { control="add_game" region=hidden}
place { control="view_friends" height=36 width=36 region=bottom align=right dir=right margin-right=106 margin-top=6 }
place { control="MenuBar" height=48 width=48 y=32 x=0 }
place { control="UINavigatorPanel" width=max height=max margin-right=0 margin-left=0 margin-bottom=48 margin-top=0 }
place { control="ParentalLockButton, startVR, exitVR, SupportAlert" region=bottom-left align=bottom margin-bottom=48 height=48 width=48 spacing=0 dir=down}
place { control="UIStatusPanel" height=48 width=323 region=bottom margin-left=0}
place { control="AnnouncementButton,InboxButton" height=48 width=48 region=bottom align=right }
place { control="fullscreen,frame_minimize,frame_maximize,frame_close" align=right width=46 height=32 spacing=0 }
place { control="AccountButton" margin-left=4 region=account height=48 align=right}
}
}

View File

@ -0,0 +1,678 @@
"resource/layout/uinavigatorpanel.layout"
{
styles
{
BackButton
{
bgcolor=TitleBar
padding-left=0
padding-right=0
inset="13 0 0 0"
image="graphics/Threshold/back_sm_dis"
render_bg {
}
render
{
0="image(x0+60, y0+12, x1, y1, graphics/Threshold/title)"
}
}
BackButton:framefocus
{
image="graphics/Threshold/back_sm"
bgcolor=TitleBar.Accent
render_bg{
}
render
{
0="image(x0+60, y0+12, x1, y1, graphics/Threshold/titlefocus)"
}
}
BackButton:hover
{
image="graphics/Threshold/back_sm"
bgcolor=TitleBar.Accent.Hover
render_bg{
}
}
BackButton:active
{
image="graphics/Threshold/back_sm"
bgcolor=TitleBar.Accent.Hover
render_bg{
}
}
BackButton:disabled
{
bgcolor=none
image="none"
render_bg {}
render {}
}
grouper
{
bgcolor=none
render_bg
{
// background fill
0="fill( x0, y0, x0 + 275, y1, clientgrouper )"
}
}
headertextlarge
{
padding-left=10
padding-top=5
padding-right=10
padding-bottom=5
font-size=26 [$LINUX]
font-size=34
font-family=light
textcolor=Text
font-weight=400
//bgcolor=DarkDialogBGTransparent
minimum-width=200
}
zoomslider
{
inset="0 0 0 0"
textcolor=Root.Label.Text
}
zoomslider:hover
{
inset="0 0 0 0"
textcolor=Root.Label.Hover.Text
}
LibrarySeparator
{
textcolor=none
render_bg
{
0="fill(x1-2, y0+13, x1, y1-13, DefaultText.Hover)"
}
}
LibrarySearch
{
padding-left=-4
font-family=basefont
font-size=15 [$LINUX]
font-size=20
textcolor=Search.Active.Text
shadowtextcolor=DefaultCursor
bgcolor=Search.Back
render_bg{
}
render{}
}
LibrarySearch:empty
{
font-style=normal
textcolor=Search.Text
}
LibrarySearch:hover
{
textcolor=Search.Active.Text
}
LibrarySearch:empty:hover
{
font-style=normal
textcolor=Search.Hover.Text
}
LibrarySearch:disabled
{
font-style=DefaultText.Disabled
textcolor="None"
}
LibrarySearchIcon
{
bgcolor=Search.Back
inset="15 2 0 0"
image="graphics/Threshold/icons/search"
padding-left=0
padding-right=0
padding-top=0
render_bg{
}
}
LibrarySearchIcon:disabled
{
image="none"
}
MusicAddButton
{
inset="5 0 0 0"
font-size=13 [$LINUX]
font-size=15
font-family=basefont
textcolor="labelfocus"
font-style=uppercase
image="graphics/Threshold/icons/plus"
render_bg
{
}
}
MusicAddButton:hover
{
textcolor="white"
image="graphics/Threshold/icons/plus_hover"
render_bg
{
}
}
MusicPlayerIcon
{
bgcolor="none"
inset="0 0 0 0"
render_bg={}
image="graphics/Threshold/icons/music_player"
}
MusicPlayerIcon:hover
{
bgcolor=Menu.Button.Hover
render_bg={}
image="graphics/Threshold/icons/music_player"
}
MusicPlayerIcon:selected
{
bgcolor=Menu.Button.Active
render_bg={}
image="graphics/Threshold/icons/music_player"
}
LibraryShow
{
padding-left=0
font-family=basefont
font-size=13 [$LINUX]
font-size=15
font-weight=400
textcolor="LabelDisabled"
font-style=uppercase
}
NavLabel
{
font-family=basefont
font-size=13 [$LINUX]
font-size=15
font-weight=400
textcolor="Label"
font-style=uppercase
}
NavLabelView
{
font-family=basefont
font-size=13 [$LINUX]
font-size=15
font-weight=400
textcolor="LabelDisabled"
font-style=uppercase
padding-left=0
}
NavLabelZoom
{
font-family=basefont
font-size=13 [$LINUX]
font-size=15
font-weight=400
textcolor=Root.SubLabel.Text
font-style=uppercase
padding-right=5
}
NavLabel2
{
font-family=basefont
font-size=15 [$LINUX]
font-size=20
font-weight=400
textcolor=Root.Label.Text
font-style=uppercase
inset="0 0 6 0"
render{
0="image(x1-7,y0+20,x1,y1,graphics/Threshold/icons/down)"
}
}
NavLabel2:hover
{
textcolor=Root.Label.Hover.Text
inset="0 0 6 0"
render{
0="image(x1-7,y0+20,x1,y1,graphics/Threshold/icons/down_hover)"
}
}
NavLabel2:selected
{
textcolor=Root.Label.Text
inset="0 0 6 0"
render{
0="image(x1-7,y0+20,x1,y1,graphics/Threshold/icons/down)"
}
}
Panel_transparent
{
bgcolor="none"
}
ViewDetailButton
{
bgcolor=DefaultText
inset="0 0 0 0"
padding-left=0
padding-right=0
render{
0="image(x0,y0,x1,y1,graphics/Threshold/detail_scale)"
}
render_bg{}
}
ViewDetailButton:hover
{
bgcolor=DefaultText
render{
0="image(x0,y0,x1,y1,graphics/Threshold/detail_scale_hover)"
}
}
ViewDetailButton:active
{
bgcolor=Accent
}
ViewDetailButton:selected
{
bgcolor=Accent
}
ViewDetailButton:selected:hover
{
bgcolor=Accent
render{
0="image(x0,y0,x1,y1,graphics/Threshold/detail_scale_hover)"
}
}
ViewDetailButton:disabled
{
bgcolor=DefaultText.Disabled
}
ViewGridButton
{
bgcolor=DefaultText
inset="1 0 0 0"
//image="graphics/icon_button_grid"
padding-left=0
padding-right=0
render{
0="image(x0,y0,x1,y1,graphics/Threshold/grid_scale)"
}
render_bg{}
}
ViewGridButton:hover
{
bgcolor=DefaultText
render{
0="image(x0,y0,x1,y1,graphics/Threshold/grid_scale_hover)"
}
}
ViewGridButton:active
{
bgcolor=Accent
}
ViewGridButton:selected
{
bgcolor=Accent
}
ViewGridButton:selected:hover
{
bgcolor=Accent
render{
0="image(x0,y0,x1,y1,graphics/Threshold/grid_scale_hover)"
}
}
ViewGridButton:disabled
{
bgcolor=DefaultText.Disabled)
}
ViewListButton
{
bgcolor=DefaultText
inset="1 0 0 0"
padding-left=0
padding-right=0
render{
0="image(x0,y0,x1,y1,graphics/Threshold/list_scale)"
}
}
ViewListButton:hover
{
bgcolor=DefaultText
render{
0="image(x0,y0,x1,y1,graphics/Threshold/list_scale_hover)"
}
}
ViewListButton:active
{
bgcolor=Accent
}
ViewListButton:selected
{
bgcolor=Accent
}
ViewListButton:selected:hover
{
bgcolor=Accent
render{
0="image(x0,y0,x1,y1,graphics/Threshold/list_scale_hover)"
}
}
ViewListButton:disabled
{
bgcolor=DefaultText.Disabled
}
WebPanelStyle
{
bgcolor="almostblack"
textcolor=DefaultText
render_bg
{
}
}
BroadcastPanelMinimized
{
bgcolor=almostblack
textcolor="label"
inset="0 0 0 0"
render_bg
{
}
}
TextEntryURL
{
inset-left=5
bgcolor=TextBox.Back
render_bg{}
render{}
}
CUINavButtonNew
{
textcolor="133 176 223 255"
font-weight=800
}
CUINavButton
{
textcolor=none
bgcolor="none"
font-family=basefont
font-size=15 [$LINUX]
font-size=20
font-weight=400
inset="57 0 0 0"
}
CUINavButton:disabled
{
textcolor=none
bgcolor="none"
font-family=basefont
font-weight=400
}
CUINavButton:hover
{
textcolor=none
bgcolor=Menu.Hover
render_bg
{
}
}
CUINavButton:disabled:hover
{
textcolor=none
//font-style="uppercase"
}
CUINavButton:selected
{
textcolor=none
bgcolor=Accent.Hover
render_bg
{
}
}
CUINavButton2
{
textcolor="Labelfocus"
bgcolor="none"
font-family=basefont
font-size=13 [$LINUX]
font-size=15
font-weight=400
font-style="uppercase"
padding-left=5
padding-right=5
padding-bottom=4
}
CUINavButton2:hover
{
textcolor="text"
font-style="uppercase,outerglow"
font-outerglow-color="TextGlowHoverSm"
font-outerglow-offset=1
font-outerglow-filtersize=1
}
CUINavButton2:selected
{
textcolor="white"
bgcolor=none
font-style="uppercase,outerglow"
font-outerglow-color="TextGlowSelectedSm"
font-outerglow-offset=1
font-outerglow-filtersize=1
}
CUINavigatorPanel
{
bgcolor="none"
}
"CSteamRootDialog CGameFilterMenuButton"
{
inset="0 0 0 0"
padding-left=5
}
"CGamesPage_Mini CGameFilterMenuButton"
{
inset="3 0 0 0"
padding-left="0"
}
LabelEVCert
{
font-family=basefont
font-size=13 [$LINUX]
font-size=15
textcolor="darkclientbg"
font-weight=400
bgcolor="html.secureurl"
inset-left=4
inset-right=4
}
ForwardButton
{
bgcolor=none
inset="5 0 0 0"
render_bg={}
image="graphics/Threshold/forward"
}
ForwardButton:hover
{
bgcolor=Menu.Button.Hover
render_bg={}
image="graphics/Threshold/forward"
}
ForwardButton:active
{
bgcolor=Accent
render_bg={}
image="graphics/Threshold/forward"
}
ForwardButton:disabled
{
bgcolor=none
render_bg={}
image="none"
}
ReloadButton
{
inset="5 0 0 0"
}
StopButton
{
inset="5 0 0 0"
}
URLStatusImage
{
bgcolor=none
inset="0 0 0 0"
render{
}
}
URLBarSecure
{
textcolor="html.secureurl"
}
URLBarBrokenSecure
{
textcolor="html.insecureurl"
}
}
colors
{
}
layout
{
region {name=hidden width=0 height=0}
region {name=left width=48 y=32}
region {name=right x=48 y=32}
place { control="label_store,label_library,label_community,label_me,label_news,label_console" dir=down x=0 y=48 spacing=0 width=max height=48 region=left}
place { control="label_community_friends,label_community_profile,label_community_gamehubs,label_community_forums,label_community_workshop,label_community_greenlight,label_community_marketplace" region=hidden}
place { control="label_community_new" start="label_community" y="-40" x="15" width=0 height=0 region=hidden}
place { control="back" x=0 y=0 height=32 width=48}
place { control="forward" region=hidden x=48 height=48 width=48}
place { control="URLBar" dir=right region=right width=max height=48 end-right=URLStatusImage}
place { control="EVCert" region=hidden}
place { control="URLStatusImage,refresh,stop,PageLoadThrobber" height=48 width=48 align=right region=right}
place { control="subnavgroup_library" y=0 height=48 width=max margin-right=0 region=hidden region=right}
place { control="label_search_icon" align=left height=48 region=right width=35}
place { control="library_search" start=label_search_icon height=48 dir=right region=right}
place { control="library_filters" x=275 y=0 height=48 region=right}
place { control="label_zoom_separator" align=right height=48 spacing=3 margin-right=150 region=right}
place { control="library_zoom" width=82 height=22 align=right y=13 margin-right=165 region=right}
place { control="label_library_view,label_library_zoom" region=hidden }
place { control="library_music_add_button" region=hidden}
place { control="library_music_player_icon" width=48}
place { control="library_music_menu,library_music_player_icon" align=right y=0 height=48 spacing=10 margin-right=0 region=right}
place { control="library_filters_details,library_filters_list,library_filters_grid" align=right y=0 height=48 spacing=0 margin-right=1 width=48 region=right}
place { control=emailreminderbar start=URLBar dir=down margin-top=0 margin-right=0 width=max height=50 region=right}
place { control=phonereminderbar start=URLBar dir=down margin-top=0 margin-left=0 width=max height=80 region=right}
// content pages - these are all pushed down by the email reminder bar (above) if it's visible
place { control=DownloadsPage width=max height=max margin-top=0 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
place { control=ScreenshotsPage width=max height=max margin-top=48 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
place { control=GamesPage_List width=max height=max margin-top=48 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
place { control=GamesPage_Details width=max height=max margin-top=48 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
place { control=GamesPage_Grid width=max height=max margin-top=46 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
place { control=WebPanel width=max height=max margin-top=0 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
place { control=BroadcastPage width=max height=max margin-top=0 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
place { control=BroadcastPageMin width=300 height=168 margin-top=0 margin-left=0 margin-right=30 margin-bottom=26 dir=down align=bottom-right }
place { control=BroadcastPageMinHoriz width=300 height=168 margin-top=0 margin-left=0 margin-right=30 margin-bottom=40 dir=down align=bottom-right }
place { control=ConsolePage width=max height=max margin-top=0 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down}
place { control=MediaPage width=max height=max margin-top=48 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
place { control=ToolsPage width=max height=max margin-top=48 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
place { control=MusicPage_Details width=max height=max margin-top=48 margin-left=0 margin-right=0 margin-bottom=0 start=emailreminderbar dir=down }
}
}

View File

@ -0,0 +1,59 @@
"resource/layout/uistatuspanel.layout"
{
controls
{
StatusDownloading { controlname=URLLabel style="StatusLabel" labelText="" URLText="steam://open/downloads" }
StatusPaused{ controlname=URLLabel style="StatusLabelDim" labelText="" URLText="steam://open/downloads" }
StatusComplete { controlname=URLLabel style="StatusLabelDim" labelText="" URLText="steam://open/downloads" }
StatusProgressbar { controlname="ProgressBar" style="SlimProgressBar" barinset=0 continuous=1 }
}
styles
{
CUIStatusPanel
{
render{
0="image( x0, y0, x1, y1, graphics/Threshold/downloads)"
}
}
StatusLabelDim
{
textcolor=none
}
StatusLabelDim:hover
{
textcolor=none
render_bg
{
0="fill(x0, y0, x1, y1, Menu.Hover)"
}
}
SlimProgressBar
{
textcolor=Accent
render_bg
{
0="fill( x0, y0, x1, y1, Progress.Back )"
}
render
{
}
}
}
layout
{
region {name=hidden width=0 height=0}
region {name=button width=48 height=48}
region {name=text width=max height=48 margin-left=48}
place { control="StatusPaused" region=button height=max width=max}
place { control="StatusComplete" region=button height=max width=max}
place { control="StatusDownloading" region=text margin-left=10 margin-top=12} //Also Offline mode status
place { control="StatusProgressbar" region=text width=max height=5 align=bottom margin-bottom=9 margin-right=10 margin-left=10}
}
}