C0BRA

Steam chat fix C:Program Files (x86)Steamresourcestyles

Apr 25th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 132.69 KB | None | 0 0
  1. steam.styles
  2. {
  3. colors
  4. {
  5. // colors section can include colors in "R G B A" form, or references to already defined colors;
  6. // it can also include just general settings controls can pull from for extra customization
  7.  
  8. black="0 0 0 255"
  9. almostBlack="23 22 20 255"
  10. white="255 255 255 255"
  11. grey="158 153 149 255"
  12. none="0 0 0 0"
  13. yellow="255 255 0 255"
  14. offwhite="166 164 159 255"
  15. dullgreen="216 222 211 255"
  16. maize="203 191 87 255"
  17. red="255 51 51 255"
  18. darkblue="0 85 128 255"
  19. blue="0 133 199 255"
  20. darkred="128 0 0 255"
  21. darkpurple="64 0 64 255"
  22.  
  23.  
  24. // control colors
  25. bordercolor="133 130 113 255"
  26. darkcorner="77 73 71 255"
  27. buttontext=Text
  28. buttontextactive=Text
  29.  
  30. // cool we can define font-families here as well
  31. basefont="Arial"
  32. basefont="Helvetica" [$OSX]
  33.  
  34. // new control colors
  35. ButtonFace="105 102 99 200"
  36. ButtonFace2="92 89 86 255" // for use in main client list panel column header, some button states
  37. ButtonFace3="95 92 90 255" // button cornering pixels
  38. ButtonFaceDisabled="none"
  39. ButtonFaceHover="105 102 99 240" /// hover!
  40. ButtonFaceActive="105 102 99 240" // not sure what this state is...
  41. ButtonFaceFocus="105 102 99 240" // keyboard focus
  42. ButtonFaceActiveFocus="105 102 99 255" // this is the default choice
  43.  
  44. ButtonBorder="112 109 105 255"
  45. ButtonBorderPage="128 124 120 255"
  46. ButtonBorderDisabled="77 75 72 255"
  47. ButtonBorderDisabled2="67 65 63 255" //cornering pixels
  48. ButtonBorderActive="140 135 129 255"
  49. ButtonBorderFocus="153 147 141 255"
  50.  
  51.  
  52. Text="209 207 205 255"
  53. Text2="184 180 176 255"
  54. TextDisabled="102 99 96 255"
  55. TextHover="229 226 223 255"
  56. TextSelected="242 239 235 255"
  57. TextentrySelected="240 237 235 235" // color of any selected text
  58. TextSelectedBG="64 89 128 255" // background color of any selected text
  59. TextGlowHover="128 124 120 255"
  60. TextGlowSelected="171 169 166 255"
  61. TextGlowHoverSm="128 123 120 255"
  62. TextGlowSelectedSm="145 142 140 255"
  63.  
  64. NavLabel="158 153 149 255"
  65. Label="166 164 161 255"
  66. Label2="115 111 108 255"
  67. LabelDisabled="138 135 132 255"
  68. LabelFocus="199 196 194 255"
  69.  
  70. ScrollGlyph="204 198 192 255" // the color of the scroll bar arrows
  71. ScrollGlyphDisabled="77 74 72 255"
  72. ScrollGlyphFocus="242 242 242 255"
  73.  
  74. ScrollBG="77 74 72 255" // the color of the scroll bar gutter
  75.  
  76. HeaderClient="57 53 49 255" // the color of the List box header in the main client window
  77. HeaderDialog="95 92 90 255" // the color of the list box header in other windows
  78.  
  79. TitleBar="86 81 78 50"
  80. TitleBarFocus="176 169 162 50"
  81.  
  82. Focus="49 65 89 255" // background color of any selected menu or list item
  83. Focus2="85 125 171 255" // background color of view buttons and anything else in focus that needs more 'punch'
  84. Focus3="62 92 133 255" // background color of highlighted friends
  85. FocusGrid="85 146 160 240" // background color of any grid item
  86. Highlight="81 140 170 120" // same as focus
  87. Highlight1="204 185 88 255" // installing hover color
  88. Highlight2="181 164 78 255" // installing color
  89. Highlight3="173 69 71 255" // red for errors, blocked, etc.
  90. Highlight5="77 109 140 255" // blue
  91. Highlight5a="83 124 166 255" // lighter version of highlight5
  92. Highlight5b="59 85 98 255" // as highlight5 but darker, for non-focused window borders
  93.  
  94. BackgroundStartSubtle="20 20 20 155"
  95. BackgroundStartSubtle="31 31 31 45" [$OSX]
  96. BackgroundStart="23 22 20 180"
  97. BackgroundStartOpaque="36 35 34 255"
  98.  
  99. ClientBG="0 0 0 255"
  100. DialogBG="56 54 53 255"
  101.  
  102. DarkClientBG="36 35 34 255"
  103. DarkDialogBG="56 54 53 255"
  104. DarkClientBGTransparent="36 35 34 19"
  105. DarkDialogBGTransparent="56 55 53 170"
  106.  
  107. GameDetailsBlueTransparent="89 134 179 160"
  108. GameDetailsGreenTransparent="126 166 75 160"
  109. GameDetailsRedTransparent="173 69 71 160"
  110.  
  111. GameDetailsBlue="89 134 179 255"
  112. GameDetailsGreen="126 166 75 255"
  113. GameDetailsRed="173 69 71 255"
  114.  
  115. PropertySheetBG="74 72 70 255"
  116. InteriorColor="64 62 60 255"
  117.  
  118. DialogBorder="119 117 115 255" // border color around any dialog
  119.  
  120. FillBG1="64 62 60 255" //gradient colors
  121. FillBG2="71 69 67 255"
  122.  
  123. MenuBG1="92 89 86 255" //gradient colors
  124. MenuBG2="61 59 58 255"
  125.  
  126. Divider="107 104 101 255"
  127. SuperDivider="61 61 61 255"
  128. DarkImageBorder="47 48 43 255"
  129. DarkImageOverlay="0 0 0 80"
  130.  
  131. // colors pulled from steamscheme.res
  132. "ClayBG" "70 70 70 255"
  133. "ClayButtonBG" "87 88 88 255"
  134. "ClayEnabled" "85 88 82 255"
  135. "ClayKeyFocus" "89 92 77 255"
  136. "ClayMouseDown" "85 85 85 255"
  137. "ClayDisabledText" "128 134 126 255"
  138. "ClayLightGreen" "173 181 168 255" // frame button (close X) etc
  139. "ClayDimLightGreen" "166 172 162 255" // frame button and title without focus etc
  140. "LightClayBG" "104 106 101 255" // property sheet interior, active tab
  141. "LightClayButtonBG" "125 128 120 255" // buttons on property sheet interior, active tab
  142. "DarkClayBG" "47 49 45 255" // shadow
  143. "p_ClayMouseDown" "94 94 94 255"
  144. "ClaySheetBottom" "92 90 87 255"
  145. "MaizeBG" "145 134 60 255" // background color of any selected text or menu item
  146. "GreenBG" "76 88 68 255"
  147. "LightGreenBG" "90 106 80 255" // darker background color
  148. "DarkGreenBG" "62 70 55 255" // background color of text edit panes (chat, text Entries, etc.)
  149. "LightGrayBG" "121 126 121 255"
  150. "GrayBG" "77 73 71 255"
  151. "GrayBG2" "39 37 35 255"
  152. "TempGradientTop" "53 52 51 255"
  153.  
  154.  
  155. DragDrop.DragFrame "255 255 255 192"
  156. DragDrop.DropFrame "150 255 150 255"
  157.  
  158. Frame.ClientInsetX 10
  159. Frame.ClientInsetY 35
  160. Frame.FocusTransitionEffectTime "0" // time it takes for a window to fade in/out on focus/out of focus
  161. Frame.TransitionEffectTime "0.25" // time it takes for a window to fade in/out on open/close
  162. Frame.OnDragAlphaDelayTime "0.15" // time it takes after clicking the title bar of a window before the alpha multiplier kicks in
  163. Frame.OnDragAlphaMultiplier "1.0" // multiplier applied to alpha while dragging a frame
  164. Frame.AutoSnapRange "6"
  165. Frame.UsesAlphaBlending 1
  166. FrameSystemButton.Icon ""
  167. FrameSystemButton.DisabledIcon ""
  168.  
  169. Notifications.PanelPosition "BottomRight" // Can be "BottomRight", "BottomLeft", "TopRight", "TopLeft"
  170. Notifications.PanelPosition "TopRight" [$OSX] // the dock is on the bottom for OSX, so instead pop top right like other apps do
  171. Notifications.SlideDirection "Vertical" // Can be "Vertical", "Horizontal", "None" and controls slide effect
  172. Notifications.FadeInTime "0.45" // Controls the time it takes to slide/fade into view
  173. Notifications.FadeOutTime "0.45" // Controls the time it takes to slide/fade out of view
  174. Notifications.DisplayTime "6.0" // Controls the length of time at steady state after fade in and before fade out
  175. Notifications.StackSize "3" // Controls how many panels we will stack before background queuing
  176.  
  177. ListPanel.TextColor Text
  178. ListPanel.BgColor none
  179. ListPanel.SelectedTextColor TextentrySelected
  180. ListPanel.SelectedBgColor TextSelectedBG
  181. ListPanel.SelectedOutOfFocusBgColor ClientBG
  182. ListPanel.DisabledTextColor TextDisabled
  183. ListPanel.DisabledSelectedTextColor ClientBG
  184. ListPanel.EmptyListInfoTextColor Label
  185. ListPanel.PerPixelScrolling 1
  186. ListPanel.PostSectionLeading 10
  187.  
  188. // Default tooltip delay pops fast, but lets the mouse pass through without popping
  189. // Anchor=Cursor makes it stick to initial pop location like windows implementation.
  190. // Anchor can also be 'Float' to move with the mouse, or 'Parent' to stick just outside
  191. // the parent panel (useful for icon sized items)
  192. Tooltip.Delay=75
  193. Tooltip.Anchor=Cursor
  194.  
  195.  
  196. WizardPanel.HeaderBGColor HeaderDialog
  197.  
  198. Menu.TextInset "6"
  199.  
  200. PropertySheet.TransitionEffectTime "0" // time to change from one tab to another
  201. PropertySheet.TabGap 1
  202. PropertySheet.FlashTabColor "255 114 76 255"
  203.  
  204. RichText.InsetX 8
  205. RichText.InsetY 7
  206.  
  207. ScrollBar.Wide 19
  208.  
  209. SectionedListPanel.CollapserWidth 16
  210.  
  211. HTML.SearchInsetY 5
  212. HTML.SearchInsetX 10
  213. HTML.SearchWide 348
  214. HTML.SearchTall 38
  215. HTML.SearchAnimationTime 0.25
  216. html.secureurl "126 166 75 255"
  217. html.insecureurl "173 69 72 255"
  218.  
  219. MessageBox.ButtonHeight 24
  220.  
  221. TextEntry.IMEBGColor "225 225 225 255"
  222. TextEntry.IMEFGColor "black"
  223.  
  224.  
  225. // Friends List colors
  226. Friends.InGameColor "140 179 89 255"
  227. Friends.OnlineColor "134 181 217 255"
  228. Friends.OfflineColor "Label"
  229. Friends.PanelDefault "Label"
  230. Friends.PanelOver "Text"
  231. Friends.PanelSelected "ClientBG"
  232. Friends.SectionHeader "Label"
  233. Friends.NoAvatarOver "Text"
  234. Friends.IgnoredColor "Highlight3"
  235.  
  236. ChatDialog.URLColor "text"
  237. ChatOwnTextColor "Label"
  238. ChatDialog.HistoryColor "124 124 124 255"
  239. ChatGradientTop "39 39 39 255"
  240. ChatGradientBottom "102 104 99 255"
  241.  
  242. AchievementPopup.TitleColor "Text"
  243. AchievementPopup.DescriptionColor "180 180 180 255"
  244.  
  245. GiftOnlyInfo.ImagePanelColor "GrayBG"
  246. }
  247.  
  248. styles
  249. {
  250. downarrow
  251. {
  252. image="graphics/icon_down_default"
  253. }
  254.  
  255. downarrow:hover
  256. {
  257. image="graphics/icon_down_hover"
  258.  
  259.  
  260. render_bg {
  261.  
  262. //background
  263. 0="fill( x0 + 5, y0 + 4, x1 - 2, y1 - 4, buttonfaceactive )"
  264. //lines around
  265. 1="fill(x0 + 4, y0 + 5, x0 + 5, y1 - 5, buttonfaceactive )" //left
  266. 2="fill(x1 - 2, y0 + 5, x1 - 1, y1 - 5, buttonfaceactive )" //right
  267. }
  268. }
  269.  
  270. uparrow
  271. {
  272. image="graphics/icon_up_default"
  273. }
  274.  
  275. rightarrow
  276. {
  277. image="graphics/icon_right_default"
  278. }
  279.  
  280.  
  281. rightarrow:hover
  282. {
  283. image="graphics/icon_right_hover"
  284. }
  285.  
  286. Button
  287. {
  288. font-family=basefont
  289. font-size=13
  290. font-weight=400
  291. textcolor="Text"
  292. font-style=uppercase
  293. bgcolor=none
  294. render_bg
  295. {
  296. // background fill
  297. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonface2, propertysheetbg )"
  298.  
  299. // lines around
  300. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  301. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  302. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  303. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  304.  
  305. // single pixel fills in the corners
  306. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  307. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  308. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  309. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  310. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  311. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  312. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  313. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  314. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  315. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  316. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  317. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  318. }
  319. }
  320.  
  321. "Page Button"
  322. {
  323. render_bg
  324. {
  325. // background fill
  326. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonface2, propertysheetbg )"
  327.  
  328. // lines around
  329. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderPage )" // top
  330. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderPage )" // bottom
  331. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderPage )" // left
  332. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderPage )" // right
  333.  
  334. // single pixel fills in the corners
  335. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderPage )"
  336. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderPage )"
  337. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderPage )"
  338. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderPage )"
  339. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  340. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  341. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  342. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  343. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  344. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  345. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  346. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  347. }
  348. }
  349.  
  350. Button:hover
  351. {
  352. textcolor="TextHover"
  353. render_bg
  354. {
  355. // background fill
  356. // background fill
  357. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactive, propertysheetbg )"
  358.  
  359. // lines around
  360. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  361. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  362. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  363. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  364.  
  365. // single pixel fills in the corners
  366. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  367. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  368. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  369. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  370. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  371. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  372. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  373. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  374. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  375. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  376. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  377. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  378.  
  379. }
  380. }
  381.  
  382. "Page Button:hover"
  383. {
  384. textcolor="TextHover"
  385. render_bg
  386. {
  387. // background fill
  388. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactive, propertysheetbg )"
  389.  
  390. // lines around
  391. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  392. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  393. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  394. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  395.  
  396. // single pixel fills in the corners
  397. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  398. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  399. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  400. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  401. }
  402. }
  403.  
  404. Button:focus
  405. {
  406.  
  407. textcolor="TextHover"
  408. render_bg
  409. {
  410. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfacefocus, propertysheetbg )"
  411.  
  412. // lines around
  413. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  414. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  415. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  416. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  417.  
  418. // single pixel fills in the corners
  419. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  420. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  421. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  422. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  423. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  424. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  425. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  426. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  427. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  428. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  429. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  430. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  431. }
  432. }
  433.  
  434. "Page Button:focus"
  435. {
  436. textcolor="TextHover"
  437. render_bg
  438. {
  439. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfacefocus, propertysheetbg )"
  440.  
  441. // lines around
  442. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  443. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  444. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  445. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  446.  
  447. // single pixel fills in the corners
  448. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  449. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  450. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  451. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  452. }
  453. }
  454.  
  455. Button:active // this is the left-mouse-currently-pressed state
  456. {
  457. textcolor="TextHover"
  458. render_bg
  459. {
  460. // background fill
  461. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, DialogBG, propertysheetbg )"
  462.  
  463. // lines around
  464. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  465. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  466. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  467. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  468.  
  469. // single pixel fills in the corners
  470. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  471. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  472. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  473. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  474. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  475. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  476. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  477. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  478. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  479. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  480. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  481. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  482. }
  483. }
  484.  
  485. "Page Button:active"
  486. {
  487. textcolor="TextHover"
  488. render_bg
  489. {
  490. // background fill
  491. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, DialogBG, propertysheetbg )"
  492.  
  493. // lines around
  494. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  495. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  496. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  497. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  498.  
  499. // single pixel fills in the corners
  500. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  501. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  502. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  503. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  504. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  505. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  506. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  507. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  508. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  509. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  510. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  511. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  512. }
  513. }
  514.  
  515.  
  516.  
  517. Button:selected
  518. {
  519. textcolor="TextHover"
  520. render_bg
  521. {
  522. // background fill
  523. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactivefocus, propertysheetbg )"
  524.  
  525. // lines around
  526. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  527. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  528. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  529. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  530.  
  531. // single pixel fills in the corners
  532. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  533. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  534. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  535. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  536. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  537. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  538. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  539. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  540. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  541. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  542. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  543. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  544. }
  545. }
  546.  
  547. "Page Button:selected"
  548. {
  549. textcolor="TextHover"
  550. render_bg
  551. {
  552. // background fill
  553. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactivefocus, propertysheetbg )"
  554.  
  555. // lines around
  556. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  557. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  558. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  559. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  560.  
  561. // single pixel fills in the corners
  562. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  563. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  564. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  565. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  566. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  567. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  568. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  569. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  570. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  571. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  572. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  573. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  574. }
  575. }
  576.  
  577. Button:disabled
  578. {
  579. textcolor="LabelDisabled"
  580. render_bg
  581. {
  582. // background fill
  583. 0="fill( x0 + 1, y0 + 1, x1 - 1, y1 - 1, none )"
  584.  
  585. // lines around
  586. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  587. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  588. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  589. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  590.  
  591. // single pixel fills in the corners
  592. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  593. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  594. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  595. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  596. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  597. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  598. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  599. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  600. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  601. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  602. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  603. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  604.  
  605. }
  606. }
  607.  
  608. "Page Button:disabled"
  609. {
  610. textcolor="LabelDisabled"
  611. render_bg
  612. {
  613. // background fill
  614. 0="fill( x0 + 1, y0 + 1, x1 - 1, y1 - 1, none )"
  615.  
  616. // lines around
  617. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  618. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  619. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  620. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  621.  
  622. // single pixel fills in the corners
  623. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  624. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  625. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  626. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  627. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  628. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  629. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  630. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  631. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  632. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  633. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  634. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  635. }
  636.  
  637. }
  638.  
  639.  
  640. CFriendsListSectionAffordance
  641. {
  642. inset="0 0 0 0"
  643. font-size=14
  644. font-weight=400
  645. textcolor="Label"
  646. }
  647.  
  648. CFriendsListSectionHeader
  649. {
  650. bgcolor=none
  651. font-family=basefont
  652. font-size=14
  653. font-size=13 [$OSX]
  654. font-weight=400
  655. textcolor="texthover"
  656. inset="0 2 0 0"
  657. render_bg
  658. {
  659. 0="gradient_horizontal( x0-21, y0+1, x0+230, y1+1, buttonface2, none )"
  660. }
  661. }
  662.  
  663. CFriendPanel
  664. {
  665. inset="0 2 0 0"
  666. bgcolor=none
  667. font-family=basefont
  668. font-size=14
  669. font-size=13 [$OSX]
  670. font-weight=400
  671. textcolor="label"
  672. }
  673.  
  674.  
  675. CheckButton
  676. {
  677. font-family=basefont
  678. font-size=14
  679. font-weight=400
  680. textcolor="Label"
  681. image="graphics/chkUnselStd"
  682. }
  683.  
  684. CheckButton:selected
  685. {
  686. image="graphics/chkSelStd"
  687. }
  688.  
  689. CheckButton:focus
  690. {
  691. textcolor="Text"
  692. bgcolor=none
  693. image="graphics/chkUnselFocus"
  694. }
  695.  
  696. CheckButton:selected:focus
  697. {
  698. textcolor="Text"
  699. render_bg {}
  700. bgcolor=none
  701. image="graphics/chkSelFocus"
  702. }
  703.  
  704. CheckButton:disabled
  705. {
  706. textcolor="TextDisabled"
  707. bgcolor=none
  708. image="graphics/chkUnselDis"
  709. }
  710.  
  711. CheckButton:selected:disabled
  712. {
  713. textcolor="TextDisabled"
  714. bgcolor=none
  715. //!! bug - this needs to look disabled
  716. image="graphics/chkSelDis"
  717. }
  718.  
  719. CheckButtonList
  720. {
  721. inset="1 1 1 1"
  722. textcolor="text2"
  723. bgcolor=none
  724. render_bg
  725. {
  726. // background fill
  727. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y0 +80, dialogbg, BackgroundStartOpaque )"
  728. 1="fill( x0 + 1, y0 + 80, x1 - 1, y1 - 1, BackgroundStartOpaque )"
  729. 2="gradient( x0 + 1, y0 + 1, x1 - 1, y0 + 30, backgroundstartsubtle, none )"
  730.  
  731. // lines around
  732. 3="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  733. 4="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  734. 5="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  735. 6="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  736.  
  737.  
  738. // single pixel fills in the corners
  739. 7="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  740. 8="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  741. 9="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  742. 10="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  743. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  744. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  745. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  746. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  747. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  748. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  749. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  750. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  751. }
  752.  
  753. }
  754.  
  755. CheckButtonList:scrollbar
  756. {
  757. inset="1 1 1 1"
  758. textcolor="text2"
  759. bgcolor=none
  760. render
  761. {
  762. //gradient to obscure content at top of scrolling region
  763. 0="gradient( x0+1, y0, x1+1, y0 + 6, dialogbg, none )"
  764.  
  765. //gradient to obscure content at bottom of scrolling region
  766. 1="gradient( x0, y1 - 9, x1+1, y1-1, none, almostblack )"
  767. }
  768. render_bg
  769. {
  770. // background fill
  771. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y0 +80, dialogbg, BackgroundStartOpaque )"
  772. 1="fill( x0 + 1, y0 + 80, x1 - 1, y1 - 1, BackgroundStartOpaque )"
  773. 2="gradient( x0 + 1, y0 + 1, x1 - 1, y0 + 30, backgroundstartsubtle, none )"
  774.  
  775. // lines around
  776. 3="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  777. 4="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  778. 5="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  779. 6="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  780.  
  781.  
  782. // single pixel fills in the corners
  783. 7="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  784. 8="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  785. 9="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  786. 10="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  787. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  788. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  789. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  790. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  791. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  792. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  793. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  794. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  795. }
  796.  
  797. }
  798.  
  799. "Page CheckButtonList"
  800. {
  801. inset="1 1 1 1"
  802. textcolor="text2"
  803. bgcolor=none
  804. render_bg
  805. {
  806. // background fill
  807. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y0 +80, dialogbg, BackgroundStartOpaque )"
  808. 1="fill( x0 + 1, y0 + 80, x1 - 1, y1 - 1, BackgroundStartOpaque )"
  809. 2="gradient( x0 + 1, y0 + 1, x1 - 1, y0 + 30, backgroundstartsubtle, none )"
  810.  
  811. // lines around
  812. 3="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  813. 4="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  814. 5="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  815. 6="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  816.  
  817.  
  818. // single pixel fills in the corners
  819. 7="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  820. 8="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  821. 9="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  822. 10="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  823. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  824. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  825. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  826. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  827. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  828. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  829. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  830. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  831. }
  832.  
  833. }
  834.  
  835. "Page CheckButtonList:scrollbar"
  836. {
  837. inset="1 1 1 1"
  838. textcolor="text2"
  839. bgcolor=none
  840. render
  841. {
  842. //gradient to obscure content at top of scrolling region
  843. 0="gradient( x0+1, y0, x1+1, y0 + 6, dialogbg, none )"
  844.  
  845. //gradient to obscure content at bottom of scrolling region
  846. 1="gradient( x0, y1 - 9, x1+1, y1-1, none, almostblack )"
  847. }
  848. render_bg
  849. {
  850. // background fill
  851. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y0 +80, dialogbg, BackgroundStartOpaque )"
  852. 1="fill( x0 + 1, y0 + 80, x1 - 1, y1 - 1, BackgroundStartOpaque )"
  853. 2="gradient( x0 + 1, y0 + 1, x1 - 1, y0 + 30, backgroundstartsubtle, none )"
  854.  
  855. // lines around
  856. 3="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  857. 4="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  858. 5="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  859. 6="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  860.  
  861.  
  862. // single pixel fills in the corners
  863. 7="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  864. 8="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  865. 9="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  866. 10="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  867. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  868. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  869. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  870. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  871. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  872. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  873. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  874. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  875. }
  876.  
  877. }
  878.  
  879. "CheckbuttonList Checkbutton"
  880. {textcolor="text2"}
  881.  
  882.  
  883. ComboBox
  884. {
  885. inset="3 0 0 0"
  886. textcolor="Text"
  887. font-family=basefont
  888. font-size="14"
  889. selectedtextcolor="TextEntrySelected"
  890. selectedbgcolor="TextSelectedBG"
  891. render_bg
  892. {
  893. // background fill
  894. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonface2, propertysheetbg )"
  895.  
  896. // lines around
  897. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  898. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  899. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  900. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  901.  
  902. // single pixel fills in the corners
  903. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  904. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  905. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  906. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  907. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  908. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  909. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  910. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  911. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  912. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  913. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  914. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  915. }
  916. }
  917.  
  918. ComboBox:hover
  919. {
  920. selectedbgcolor="none"
  921. selectedtextcolor="Text"
  922. render_bg
  923. {
  924. // background fill
  925. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactive, propertysheetbg )"
  926.  
  927. // lines around
  928. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  929. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  930. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  931. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  932.  
  933. // single pixel fills in the corners
  934. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  935. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  936. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  937. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  938. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  939. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  940. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  941. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  942. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  943. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  944. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  945. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  946. }
  947. }
  948.  
  949. ComboBox:focus
  950. {
  951. selectedbgcolor="none"
  952. selectedtextcolor="Text"
  953. render_bg
  954. {
  955. // background fill
  956. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactive, propertysheetbg )"
  957.  
  958. // lines around
  959. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  960. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  961. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  962. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  963.  
  964. // single pixel fills in the corners
  965. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  966. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  967. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  968. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  969. }
  970. }
  971.  
  972. ComboBox:focus:hover
  973. {
  974. selectedbgcolor="none"
  975. selectedtextcolor="Text"
  976. render_bg
  977. {
  978. // background fill
  979. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactive, propertysheetbg )"
  980.  
  981. // lines around
  982. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  983. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  984. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  985. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  986.  
  987. // single pixel fills in the corners
  988. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  989. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  990. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  991. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  992. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  993. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  994. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  995. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  996. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  997. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  998. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  999. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  1000. }
  1001. }
  1002.  
  1003. "Page ComboBox"
  1004. {
  1005. render_bg
  1006. {
  1007. // background fill
  1008. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonface2, propertysheetbg )"
  1009.  
  1010. // lines around
  1011. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderPage )" // top
  1012. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderPage )" // bottom
  1013. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderPage )" // left
  1014. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderPage )" // right
  1015.  
  1016. // single pixel fills in the corners
  1017. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderPage )"
  1018. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderPage )"
  1019. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderPage )"
  1020. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderPage )"
  1021. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  1022. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  1023. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  1024. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  1025. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  1026. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  1027. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  1028. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  1029. }
  1030. }
  1031.  
  1032. "Page ComboBox:focus"
  1033. {
  1034. render_bg
  1035. {
  1036. // background fill
  1037. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactive, propertysheetbg )"
  1038.  
  1039. // lines around
  1040. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  1041. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  1042. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  1043. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  1044.  
  1045. // single pixel fills in the corners
  1046. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  1047. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  1048. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  1049. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  1050. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  1051. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  1052. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  1053. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  1054. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  1055. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  1056. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  1057. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  1058. }
  1059. }
  1060.  
  1061. "Page ComboBox:hover"
  1062. {
  1063. render_bg
  1064. {
  1065. // background fill
  1066. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfacehover, propertysheetbg )"
  1067.  
  1068. // lines around
  1069. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  1070. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  1071. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  1072. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  1073.  
  1074. // single pixel fills in the corners
  1075. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  1076. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  1077. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  1078. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  1079. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  1080. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  1081. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  1082. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  1083. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  1084. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  1085. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  1086. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  1087. }
  1088. }
  1089.  
  1090. "Page ComboBox:focus:hover"
  1091. {
  1092. render_bg
  1093. {
  1094. // background fill
  1095. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactive, propertysheetbg )"
  1096.  
  1097. // lines around
  1098. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  1099. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  1100. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  1101. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  1102.  
  1103. // single pixel fills in the corners
  1104. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  1105. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  1106. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  1107. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  1108. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  1109. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  1110. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  1111. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  1112. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  1113. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  1114. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  1115. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  1116. }
  1117. }
  1118.  
  1119.  
  1120. ComboBoxButton
  1121. {
  1122.  
  1123. bgcolor=none
  1124. padding-left=2
  1125. image="graphics/icon_down_default"
  1126. // just draw a single line to divide it from the text
  1127. render_bg
  1128. {
  1129. 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorder )"
  1130. }
  1131. }
  1132.  
  1133. ComboBoxButton:hover
  1134. {
  1135. image="graphics/icon_down_hover"
  1136. // just draw a single line to divide it from the text
  1137. render_bg
  1138. {
  1139. 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, label )"
  1140. }
  1141. }
  1142.  
  1143. ComboBoxButton:focus
  1144. {
  1145.  
  1146. bgcolor=none
  1147. image="graphics/icon_down_focus"
  1148. // just draw a single line to divide it from the text
  1149. render_bg
  1150. {
  1151. 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )"
  1152. }
  1153. }
  1154.  
  1155. ComboBoxButton:focus:hover
  1156. {
  1157.  
  1158. bgcolor=none
  1159. image="graphics/icon_down_default"
  1160. // just draw a single line to divide it from the text
  1161. render_bg
  1162. {
  1163. 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )"
  1164. }
  1165. }
  1166.  
  1167.  
  1168. "Page ComboBoxButton"
  1169. {
  1170. bgcolor=none
  1171. image="graphics/icon_down_default"
  1172. // just draw a single line to divide it from the text
  1173. render_bg
  1174. {
  1175. 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderPage )"
  1176. }
  1177. }
  1178.  
  1179. "Page ComboBoxButton:hover"
  1180. {
  1181. image="graphics/icon_down_hover"
  1182. // just draw a single line to divide it from the text
  1183. render_bg
  1184. {
  1185. 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )"
  1186. }
  1187. }
  1188.  
  1189. "Page ComboBoxButton:focus"
  1190. {
  1191.  
  1192. bgcolor=none
  1193. image="graphics/icon_down_focus"
  1194. // just draw a single line to divide it from the text
  1195. render_bg
  1196. {
  1197. 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )"
  1198. }
  1199. }
  1200.  
  1201. "Page ComboBoxButton:focus:hover"
  1202. {
  1203.  
  1204. bgcolor=none
  1205. image="graphics/icon_down_focus"
  1206. // just draw a single line to divide it from the text
  1207. render_bg
  1208. {
  1209. 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )"
  1210. }
  1211. }
  1212.  
  1213. Divider
  1214. {
  1215. bgcolor="none"
  1216. render
  1217. {
  1218. 0="gradient_horizontal( x0, y1 - 1, x1 + 1, y1, divider, propertysheetbg )"
  1219. }
  1220.  
  1221. }
  1222.  
  1223. Frame
  1224. {
  1225. bgcolor="DialogBG"
  1226. render
  1227. {
  1228. 0="gradient_horizontal( x0, y1 - 1, x1 + 1, y1, ClientBG, Highlight5 )"
  1229. 1="gradient( x1 - 1, y0, x1, y1, ClientBG, Highlight5 )"
  1230. 2="fill( x0, y0, x1, y0 + 1, ClientBG )"
  1231. 3="fill( x0, y0, x0 + 1, y1, ClientBG )"
  1232. }
  1233. }
  1234.  
  1235. Frame:FrameFocus
  1236. {
  1237. bgcolor="DialogBG"
  1238. render
  1239. {
  1240. 0="gradient_horizontal( x0, y1 - 1, x1 + 1, y1, ClientBG, Highlight5 )"
  1241. 1="gradient( x1 - 1, y0, x1, y1, ClientBG, Highlight5 )"
  1242. 2="fill( x0, y0, x1, y0 + 1, ClientBG )"
  1243. 3="fill( x0, y0, x0 + 1, y1, ClientBG )"
  1244. }
  1245. }
  1246.  
  1247.  
  1248. FrameBRGripPanel
  1249. {
  1250. image=graphics/resizer
  1251.  
  1252. }
  1253.  
  1254. FrameBRGripPanel:hover
  1255. {
  1256. image=graphics/resizer_over
  1257.  
  1258. }
  1259.  
  1260. FrameMinimizeButton
  1261. {
  1262. render_bg {}
  1263. image="graphics/win32_win_min"
  1264. image="graphics/osx_win_dis" [$OSX]
  1265. }
  1266.  
  1267. FrameMinimizeButton:hover
  1268. {
  1269. render_bg {}
  1270. bgcolor="none"
  1271. image="graphics/win32_win_min_hover"
  1272. image="graphics/osx_min_hov" [$OSX]
  1273. }
  1274.  
  1275. FrameMinimizeButton:framefocus [$OSX]
  1276. {
  1277. render_bg {}
  1278. bgcolor="none"
  1279. image="graphics/osx_min_def"
  1280. }
  1281.  
  1282. FrameMinimizeButton:framefocus:hover [$OSX]
  1283. {
  1284. render_bg {}
  1285. bgcolor="none"
  1286. image="graphics/osx_min_hov"
  1287. }
  1288.  
  1289. FrameMinimizeButton:active [$OSX]
  1290. {
  1291. render_bg {}
  1292. bgcolor="none"
  1293. image="graphics/osx_min_down"
  1294. }
  1295.  
  1296. // need the maximize button to have different styles for OSX & win32
  1297. FrameMaximizeButton
  1298. {
  1299. render_bg {}
  1300. image="graphics/win32_win_max"
  1301. image="graphics/osx_win_dis" [$OSX]
  1302. }
  1303.  
  1304. FrameMaximizeButton:hover
  1305. {
  1306. render_bg {}
  1307. bgcolor="none"
  1308. image="graphics/win32_win_max_hover"
  1309. image="graphics/osx_max_hov" [$OSX]
  1310. }
  1311.  
  1312. FrameMaximizeButton:framefocus
  1313. {
  1314. render_bg {}
  1315. bgcolor="none"
  1316. image="graphics/win32_win_max"
  1317. image="graphics/osx_max_def" [$OSX]
  1318. }
  1319.  
  1320. FrameMaximizeButton:framefocus:hover
  1321. {
  1322. render_bg {}
  1323. bgcolor="none"
  1324. image="graphics/win32_win_max_hover"
  1325. image="graphics/osx_max_hov" [$OSX]
  1326. }
  1327.  
  1328. FrameMaximizeButton:active
  1329. {
  1330. render_bg {}
  1331. bgcolor="none"
  1332. image="graphics/win32_win_max_hover"
  1333. image="graphics/osx_max_down" [$OSX]
  1334. }
  1335.  
  1336. // these are for when the maximize button becomes the restore button
  1337. FrameRestoreButton
  1338. {
  1339. render_bg {}
  1340. image="graphics/win32_win_restore"
  1341. image="graphics/osx_win_dis" [$OSX]
  1342. }
  1343.  
  1344. FrameRestoreButton:hover
  1345. {
  1346. render_bg {}
  1347. bgcolor="none"
  1348. image="graphics/win32_win_restore_hover"
  1349. image="graphics/osx_max_hov" [$OSX]
  1350. }
  1351.  
  1352. FrameRestoreButton:framefocus
  1353. {
  1354. render_bg {}
  1355. bgcolor="none"
  1356. image="graphics/win32_win_restore"
  1357. image="graphics/osx_max_def" [$OSX]
  1358. }
  1359.  
  1360. FrameRestoreButton:framefocus:hover
  1361. {
  1362. render_bg {}
  1363. bgcolor="none"
  1364. image="graphics/win32_win_restore_hover"
  1365. image="graphics/osx_max_hov" [$OSX]
  1366. }
  1367.  
  1368. FrameRestoreButton:active
  1369. {
  1370. render_bg {}
  1371. bgcolor="none"
  1372. image="graphics/win32_win_restore_hover"
  1373. image="graphics/osx_max_down" [$OSX]
  1374. }
  1375.  
  1376. FrameCloseButton
  1377. {
  1378. render_bg {}
  1379. image="graphics/win32_win_close"
  1380. image="graphics/osx_win_dis" [$OSX]
  1381. }
  1382.  
  1383. FrameCloseButton:hover
  1384. {
  1385. render_bg {}
  1386. image="graphics/win32_win_close_hover"
  1387. image="graphics/osx_close_hov" [$OSX]
  1388. }
  1389.  
  1390. FrameCloseButton:framefocus [$OSX]
  1391. {
  1392. render_bg {}
  1393. bgcolor="none"
  1394. image="graphics/osx_close_def"
  1395. }
  1396.  
  1397. FrameCloseButton:framefocus:hover [$OSX]
  1398. {
  1399. render_bg {}
  1400. bgcolor="none"
  1401. image="graphics/osx_close_hov"
  1402. }
  1403.  
  1404. FrameCloseButton:active [$OSX]
  1405. {
  1406. render_bg {}
  1407. bgcolor="none"
  1408. image="graphics/osx_close_down"
  1409. }
  1410.  
  1411. FrameCloseButton:disabled
  1412. {
  1413. render_bg {}
  1414. bgcolor="none"
  1415. image="graphics/win32_win_close_disabled"
  1416. image="graphics/osx_win_dis" [$OSX]
  1417. }
  1418.  
  1419.  
  1420. FrameTitle
  1421. {
  1422. font-family=basefont
  1423. inset="5 2 0 0"
  1424. inset="0 4 0 0" [$OSX]
  1425. padding-left="0"
  1426. padding-right="64"
  1427. padding-right="0" [$OSX]
  1428. font-size=14
  1429. font-weight=400
  1430. textcolor="buttonborderfocus"
  1431. bgcolor="none"
  1432. render_bg
  1433. {
  1434. 1="gradient( x0, y0, x1, y1 + 18, TitleBar, none )"
  1435. }
  1436. }
  1437.  
  1438.  
  1439. FrameTitle:framefocus
  1440. {
  1441. font-family=basefont
  1442. inset="0 4 0 0" [$OSX]
  1443. font-size=14
  1444. font-weight=400
  1445. bgcolor="none"
  1446. textcolor="texthover"
  1447. textcolor="texthover" [$OSX]
  1448. render_bg
  1449. {
  1450. 1="gradient( x0, y0, x1, y1 + 18, titlebarfocus, none )"
  1451. }
  1452. }
  1453.  
  1454.  
  1455. "CFriendsDialog SectionedListPanelInterior"
  1456. {
  1457. bgcolor=none
  1458. font-family=basefont
  1459. font-size=14
  1460. font-weight=400
  1461. textcolor="Text"
  1462. selectedtextcolor="TextSelected"
  1463. selectedbgcolor="Focus"
  1464. shadowtextcolor="TextDisabled" // the color of disabled line items
  1465. render
  1466. {
  1467. //gradient to obscure content at top of scrolling region
  1468. 0="fill( x0+2, y0, x1, y0 + 2, dialogbg )"
  1469. 1="gradient( x0+2, y0+2, x1, y0 + 12, dialogbg, none )"
  1470.  
  1471. //gradient to obscure content at bottom of scrolling region
  1472. 2="gradient( x0+1, y1 - 18, x1, y1-3, none, almostblack )"
  1473. 3="fill( x0+1, y1 - 4, x1, y1-1, almostblack )"
  1474. }
  1475. render_bg
  1476. {
  1477. // background gradient
  1478. 0="gradient( x0, y0, x1, y0 + 149, dialogbg, AlmostBlack )"
  1479. 1="fill( x0, y0 + 149, x1, y1 + 1, AlmostBlack )"
  1480. }
  1481. }
  1482.  
  1483.  
  1484. GraphPanel
  1485. {
  1486. textcolor=Highlight5
  1487. bgcolor=none
  1488. inset="0 -3 0 0"
  1489. render_bg
  1490. {
  1491. // lines around
  1492. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  1493. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  1494. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  1495. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  1496.  
  1497. // single pixel fills in the corners
  1498. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  1499. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  1500. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  1501. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  1502. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  1503. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  1504. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  1505. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  1506. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  1507. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  1508. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  1509. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  1510. }
  1511. }
  1512.  
  1513. HTML
  1514. {
  1515. bgcolor="none"
  1516. render_bg
  1517. {
  1518. 0="fill( x0, y0, x1 - 1, y1- 1, almostblack )" // bg
  1519. // lines around
  1520. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  1521. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  1522. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  1523. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  1524.  
  1525. // single pixel fills in the corners
  1526. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  1527. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  1528. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  1529. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  1530. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  1531. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  1532. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  1533. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  1534. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  1535. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  1536. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  1537. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  1538. }
  1539. inset="2 2 2 2"
  1540. }
  1541.  
  1542.  
  1543. Label
  1544. {
  1545. textcolor="Label"
  1546. selectedtextcolor="Text"
  1547. bgcolor="none"
  1548. font-family=basefont
  1549. font-size=14
  1550. font-weight=400
  1551. }
  1552.  
  1553. ListPanel
  1554. {
  1555. bgcolor=none
  1556. font-family=basefont
  1557. font-size=14
  1558. font-weight=400
  1559. textcolor="text2"
  1560. selectedtextcolor="TextSelected"
  1561. selectedbgcolor="Focus"
  1562. shadowtextcolor="TextDisabled" // the color of disabled line items
  1563. inset="0 -1 1 1"
  1564. render
  1565. { }
  1566. render_bg
  1567. {
  1568. // background gradient
  1569. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, dialogbg, almostblack )"
  1570. 1="gradient( x0 + 1, y0 + 1, x1 - 1, y0 + 31, backgroundstartsubtle, none )"
  1571.  
  1572. // lines around
  1573. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  1574. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  1575. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  1576.  
  1577. // single pixel fills in the corners
  1578.  
  1579. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  1580. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  1581. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  1582. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  1583. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  1584. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  1585. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  1586. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  1587. }
  1588. }
  1589.  
  1590. "Page ListPanel"
  1591. {
  1592.  
  1593. font-family=basefont
  1594. font-size=14
  1595. font-weight=400
  1596. textcolor="Text2"
  1597. selectedtextcolor="TextSelected"
  1598. selectedbgcolor="Focus"
  1599. inset="0 -1 1 1"
  1600. bgcolor=none
  1601. render_bg
  1602. {
  1603. // background fill
  1604. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y0 + 80, Propertysheetbg, BackgroundStartOpaque )"
  1605. 1="fill( x0 + 1, y0 + 80, x1 - 1, y1 - 1, BackgroundStartOpaque )"
  1606. 2="gradient( x0 + 1, y0 + 1, x1 - 1, y0 + 30, backgroundstartsubtle, none )"
  1607.  
  1608. // lines around
  1609. 3="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  1610. 4="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  1611. 5="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  1612. 6="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  1613.  
  1614. // single pixel fills in the corners
  1615. 7="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  1616. 8="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  1617. 9="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  1618. 10="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  1619. }
  1620. }
  1621.  
  1622. "CGamesListPanel"
  1623. {
  1624. font-family=basefont
  1625. bgcolor="none"
  1626. font-size=15
  1627. font-weight=400
  1628. textcolor="Text"
  1629. selectedtextcolor="textselected"
  1630. selectedbgcolor="Focus"
  1631. shadowtextcolor="TextDisabled"
  1632. inset="0 -1 1 1"
  1633. render_bg {
  1634.  
  1635. // background gradient
  1636. 0="gradient( x0+1, y0+1, x1-1, y0 + 432, dialogbg, almostblack )"
  1637. 1="fill( x0+1, y0+ 432, x1-1, y1 - 1, almostblack )"
  1638. 2="gradient( x0+1, y0+1, x1-1, y0 + 31, BackgroundStartsubtle, none )"
  1639.  
  1640.  
  1641. // lines around
  1642. 3="fill( x0, y0, x0 + 1, y1 - 2, ButtonBorderDisabled )" //left
  1643. 4="fill( x1 - 1, y0, x1, y1 - 2, ButtonBorderDisabled)" //right
  1644. 5="fill( x0 + 2, y0 - 1, x1 - 2, y0, ButtonBorderDisabled )" //top
  1645. 6="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" //btm
  1646.  
  1647. // single pixel fills in the corners
  1648. 7="fill( x0 + 2, y0 + 1, x0 + 3, y0 + 2, ButtonBorderDisabled )"
  1649. 8="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  1650. 9="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  1651. 10="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  1652. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  1653. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  1654. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  1655. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  1656. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  1657. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  1658. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  1659. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  1660.  
  1661. }
  1662. }
  1663.  
  1664. "GameItem_Uninstalled"
  1665. {
  1666. textcolor="labeldisabled"
  1667. selectedtextcolor="label"
  1668. }
  1669. "GameItem_Uninstalled:hover"
  1670. {
  1671. textcolor="label"
  1672. selectedtextcolor="label"
  1673. }
  1674.  
  1675. "GameItem_Installed"
  1676. {
  1677. textcolor="text"
  1678. selectedtextcolor="white"
  1679. }
  1680.  
  1681. "GameItem_Installed:hover"
  1682. {
  1683. textcolor="white"
  1684. selectedtextcolor="white"
  1685. }
  1686.  
  1687. "GameItem_Shortcut"
  1688. {
  1689. textcolor="text"
  1690. selectedtextcolor="white"
  1691. }
  1692.  
  1693. "GameItem_Shortcut:hover"
  1694. {
  1695. textcolor="white"
  1696. selectedtextcolor="white"
  1697. }
  1698.  
  1699. "GameItem_Mod"
  1700. {
  1701. textcolor="text"
  1702. selectedtextcolor="white"
  1703. }
  1704.  
  1705. "GameItem_Mod:hover"
  1706. {
  1707. textcolor="white"
  1708. selectedtextcolor="white"
  1709. }
  1710.  
  1711.  
  1712. "GameItem_Updating"
  1713. {
  1714. textcolor="highlight2"
  1715. selectedtextcolor="highlight1"
  1716. }
  1717.  
  1718. "GameItem_Updating:hover"
  1719. {
  1720. textcolor="highlight1"
  1721. selectedtextcolor="highlight1"
  1722. }
  1723.  
  1724. "GameItem_Updating:selected"
  1725. {
  1726. textcolor="highlight1"
  1727. selectedtextcolor="highlight1"
  1728. }
  1729.  
  1730. "GameItem_Decrypting"
  1731. {
  1732. textcolor="highlight2"
  1733. selectedtextcolor="highlight1"
  1734. }
  1735.  
  1736. "GameItem_Decrypting:hover"
  1737. {
  1738. textcolor="highlight1"
  1739. selectedtextcolor="highlight1"
  1740. }
  1741.  
  1742. "GameItem_Decrypting:selected"
  1743. {
  1744. textcolor="highlight1"
  1745. selectedtextcolor="highlight1"
  1746. }
  1747.  
  1748. "GameItem_Syncing"
  1749. {
  1750. textcolor="highlight2"
  1751. selectedtextcolor="highlight1"
  1752. }
  1753.  
  1754. "GameItem_Syncing:hover"
  1755. {
  1756. textcolor="highlight1"
  1757. selectedtextcolor="highlight1"
  1758. }
  1759.  
  1760. "GameItem_Syncing:selected"
  1761. {
  1762. textcolor="highlight1"
  1763. selectedtextcolor="highlight1"
  1764. }
  1765.  
  1766.  
  1767. "GameColumn_BigText"
  1768. {
  1769. font-family=basefont
  1770. font-size=17
  1771. font-weight=700
  1772. textcolor="text"
  1773. }
  1774.  
  1775. ListPanelCheckBox
  1776. {
  1777. font-family=basefont
  1778. font-size=14
  1779. font-weight=400
  1780. textcolor="Label"
  1781. image="graphics/chkUnselStd_Sm"
  1782. inset="0 5 0 0"
  1783. }
  1784.  
  1785.  
  1786. ListPanelCheckBox:selected
  1787. {
  1788. image="graphics/chkSelStd_Sm"
  1789. }
  1790.  
  1791. ListPanelCheckBox:focus
  1792. {
  1793. textcolor="Text"
  1794. bgcolor=none
  1795. image="graphics/chkUnselFocus_Sm"
  1796. }
  1797.  
  1798. ListPanelCheckBox:selected:focus
  1799. {
  1800. textcolor="Text"
  1801. render_bg {}
  1802. bgcolor=none
  1803. image="graphics/chkSelFocus_Sm"
  1804. }
  1805.  
  1806. ListPanelCheckBox:disabled
  1807. {
  1808. textcolor="TextDisabled"
  1809. bgcolor=none
  1810. image="graphics/chkUnselDis_Sm"
  1811. }
  1812.  
  1813. ListPanelCheckBox:disabled:select
  1814. {
  1815. textcolor="TextDisabled"
  1816. bgcolor=none
  1817. //!! bug - this needs to look disabled
  1818. image="graphics/chkUnselDis"
  1819. }
  1820.  
  1821. "ListPanelColumnheader ListPanelCheckBox"
  1822. {
  1823. font-family=basefont
  1824. font-size=14
  1825. font-weight=400
  1826. textcolor="Label"
  1827. image="graphics/chkUnSelFocus_Sm"
  1828. inset="4 0 0 0"
  1829. }
  1830.  
  1831.  
  1832. "ListPanelColumnHeader ListPanelCheckBox:selected"
  1833. {
  1834. inset="4 0 0 0"
  1835. image="graphics/chkUnSelStd_Sm"
  1836. }
  1837.  
  1838. "ListPanelColumnheader ListPanelCheckBox:focus"
  1839. {
  1840. font-family=basefont
  1841. font-size=14
  1842. font-weight=400
  1843. textcolor="TextHover"
  1844. image="graphics/chkUnSelFocus_Sm"
  1845. inset="4 0 0 0"
  1846. }
  1847.  
  1848. "ListPanelColumnheader ListPanelCheckBox:selected:focus"
  1849. {
  1850. textcolor="TextHover"
  1851. render_bg {}
  1852. bgcolor=none
  1853. image="graphics/chkSelFocus_Sm"
  1854. inset="4 0 0 0"
  1855. }
  1856.  
  1857.  
  1858. ListPanelColumnheader
  1859. {
  1860. font-family=basefont
  1861. font-size=14
  1862. font-size=13 [$OSX]
  1863. font-weight=400
  1864. textcolor="label"
  1865. font-style="uppercase"
  1866. bgcolor="none"
  1867. inset="1 3 0 0"
  1868.  
  1869. render_bg
  1870. {
  1871. // fill
  1872. 0="fill (x0, y0 + 3, x1, y1 + 1, buttonborderdisabled )" // bg fill
  1873. 1="fill (x0 + 1, y0 + 2, x1, y0 + 3, buttonborderdisabled)" // bg fill2
  1874. }
  1875. }
  1876.  
  1877. ListPanelColumnHeader:hover
  1878. {
  1879. textcolor="Texthover"
  1880. }
  1881.  
  1882. "Csteamrootdialog ListPanelColumnheader"
  1883. {
  1884. font-family=basefont
  1885. font-size=14
  1886. font-size=13 [$OSX]
  1887. font-weight=400
  1888. textcolor="label"
  1889. font-style="uppercase"
  1890. bgcolor="none"
  1891. inset="0 0 0 0"
  1892. inset="0 1 0 0" [$OSX]
  1893. padding-top=1
  1894.  
  1895. render_bg
  1896. {
  1897. // fill
  1898. 0="fill (x0, y0 + 1, x1, y1, buttonborderdisabled )" // bg fill
  1899.  
  1900. // lines around
  1901. 2="fill ( x1 - 1, y0 + 3, x1, y1-1, buttonborderdisabled )" // right
  1902. }
  1903. }
  1904.  
  1905.  
  1906. "Csteamrootdialog ListPanelColumnHeader:hover"
  1907. {
  1908. textcolor="TextHover"
  1909. }
  1910.  
  1911. "Csteamrootdialog ListPanelSectionCollapser"
  1912. {
  1913. inset = "0 1 0 1"
  1914. bgcolor=none
  1915. render_bg
  1916. {
  1917. 1="fill( x0 , y0, x1, y1 - 1, buttonface2 )"
  1918. }
  1919. }
  1920.  
  1921. "CGamesPage_Mini ListPanelSectionCollapser"
  1922. {
  1923. inset = "0 1 0 1"
  1924. bgcolor=none
  1925. render_bg
  1926. {
  1927. 1="fill( x0 , y0, x1, y1 - 1, buttonface2 )"
  1928. }
  1929. }
  1930.  
  1931.  
  1932.  
  1933. ListPanelColumnSelectButton // the games list column chooser
  1934. {
  1935. inset="-3 3 0 0"
  1936. render
  1937. {
  1938. // background fill
  1939. 1="fill( x0, y0 + 1, x1 - 1, y1, buttonborderdisabled )"
  1940.  
  1941. // lines around
  1942. 2="fill( x0 - 4, y0 - 1, x1 + 1, y0 + 1, buttonborderdisabled )" //top
  1943. 3="fill( x0, y1 - 1, x1, y1, buttonborderdisabled )" //btm
  1944. 4="fill( x1-1, y0 + 1, x1, y1, buttonborderdisabled )" //right
  1945. 5="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse )"
  1946. }
  1947. render_bg {}
  1948. }
  1949.  
  1950. ListPanelColumnSelectButton:hover
  1951. {
  1952. inset="-3 3 0 0"
  1953. render
  1954. {
  1955. // lines around
  1956. 1="fill( x0, y0 + 1, x1 - 1, y1, buttonborderdisabled)"
  1957. 2="fill( x0 - 4, y0 - 1, x1 + 1, y0 + 1, buttonborderdisabled )" //top
  1958. 3="fill( x0, y1 - 1, x1, y1, buttonborderdisabled )" //btm
  1959. 4="fill( x1-1, y0 + 1, x1, y1, buttonborderdisabled )" //right
  1960. 5="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse_over )"
  1961. }
  1962. render_bg {}
  1963. }
  1964.  
  1965. ListPanelColumnSelectButton:selected
  1966. {
  1967. inset="-3 3 0 0"
  1968. render
  1969. {
  1970. // lines around
  1971. 1="fill( x0, y0 + 1, x1 - 1, y1, buttonborderdisabled)"
  1972. 2="fill( x0 - 4, y0 - 1, x1 + 1, y0 + 1, buttonborderdisabled )" //top
  1973. 3="fill( x0, y1 - 1, x1, y1, buttonborderdisabled )" //btm
  1974. 4="fill( x1-1, y0 + 1, x1, y1, buttonborderdisabled )" //right
  1975. 5="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse_over )"
  1976. }
  1977. render_bg {}
  1978. }
  1979.  
  1980.  
  1981.  
  1982. "CGamesListPanel ListPanelColumnSelectButton"
  1983. {
  1984. inset="-3 3 0 0"
  1985. render
  1986. {
  1987. 5="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse )"
  1988. }
  1989. render_bg {
  1990. 1="fill( x0 + 1, y0, x1 - 1, y1, buttonborderdisabled )"
  1991. }
  1992. }
  1993. "CGamesListPanel ListPanelColumnSelectButton:hover"
  1994. {
  1995. inset="-3 3 0 0"
  1996. render
  1997. {
  1998. 5="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse_over )"
  1999. }
  2000.  
  2001. }
  2002. "CGamesListPanel ListPanelColumnSelectButton:selected"
  2003. {
  2004. inset="-3 3 0 0"
  2005. render
  2006. {
  2007. 5="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse_over )"
  2008. }
  2009.  
  2010. }
  2011.  
  2012. ListPanelDragger
  2013. {
  2014. bgcolor="none"
  2015. render
  2016. {
  2017. //fill makes dragger visible
  2018. 0="fill( x0, y0 + 2, x0 + 1, y1 - 3, dialogbg )" // left
  2019. 1="fill (x0, y0, x0+1, y0+3, buttonborderdisabled )" //dot
  2020. }
  2021. }
  2022.  
  2023. ListPanelInterior
  2024. {
  2025. inset="3 1 0 0"
  2026. font-size=15
  2027. textcolor="text2"
  2028. bgcolor="none"
  2029. render
  2030. {
  2031. //gradient to obscure content at top of scrolling region
  2032. 1="gradient( x0+1, y0+0, x1-1, y0 + 3, dialogbg, none )"
  2033.  
  2034. //gradient to obscure content at bottom of scrolling region
  2035. 2="gradient( x0, y1 - 12, x1, y1-0, none, almostblack )"
  2036. }
  2037.  
  2038. render_bg {}
  2039. }
  2040.  
  2041. ListPanelInterior:scrollbar
  2042. {
  2043. bgcolor=none
  2044. inset="3 1 -1 0"
  2045. textcolor="text2"
  2046. render
  2047. {
  2048. //gradient to obscure content at top of scrolling region
  2049. 1="gradient( x0+1, y0-1, x1+1, y0 + 6, dialogbg, none )"
  2050.  
  2051. //gradient to obscure content at bottom of scrolling region
  2052. 2="gradient( x0+1, y1 - 9, x1+1, y1-1, none, almostblack )"
  2053. }
  2054. render_bg {}
  2055. }
  2056.  
  2057. "CSteamRootDialog ListPanel"
  2058. {
  2059. padding-left=2
  2060. padding-right=2
  2061. }
  2062.  
  2063. "Csteamrootdialog ListPanelInterior"
  2064. {
  2065. inset="3 0 3 0"
  2066. bgcolor=none
  2067. render_bg {}
  2068. }
  2069.  
  2070. "Csteamrootdialog ListPanelInterior:scrollbar"
  2071. {
  2072. inset="3 0 -1 0"
  2073. bgcolor=none
  2074. render
  2075. {
  2076. //gradient to obscure content at top of scrolling region
  2077. 0="gradient( x0+1, y0-1, x1+1, y0 + 6, dialogbg, none )"
  2078.  
  2079. //gradient to obscure content at bottom of scrolling region
  2080. 1="gradient( x0+1, y1 - 9, x1+1, y1-1, none, almostblack )"
  2081. }
  2082. render_bg {}
  2083. }
  2084.  
  2085. "Page ListPanelInterior"
  2086. {
  2087. inset="3 1 -1 0"
  2088. font-size=15
  2089. bgcolor=none
  2090. render_bg {}
  2091. }
  2092.  
  2093. "Page ListPanelInterior:scrollbar"
  2094. {
  2095. inset="3 1 -1 0"
  2096. bgcolor=none
  2097. render
  2098. {
  2099. //gradient to obscure content at top of scrolling region
  2100. 1="gradient( x0+1, y0, x1+2, y0 + 6, dialogbg, none )"
  2101.  
  2102. //gradient to obscure content at bottom of scrolling region
  2103. 2="gradient( x0+2, y1 - 9, x1+2, y1-1, none, almostblack )"
  2104. }
  2105. render_bg {}
  2106. }
  2107.  
  2108. ListPanelSectionHeader
  2109. {
  2110. inset="2 0 0 0"
  2111. textcolor=label
  2112. font-style="uppercase"
  2113. render_bg
  2114. {
  2115. 0="gradient_horizontal( x0 - 1, y0, x0 + 250, y1 - 1, buttonface2, none )"
  2116. }
  2117. }
  2118.  
  2119. ListPanelSectionHeader:hover
  2120. {
  2121. textcolor=texthover
  2122. }
  2123.  
  2124.  
  2125.  
  2126. "ListPanel RichText"
  2127. {
  2128. textcolor="Text"
  2129. font-family=basefont
  2130. font-size=15
  2131. bgcolor=none
  2132. render_bg {}
  2133. }
  2134.  
  2135.  
  2136. "ListPanel RichText url"
  2137. {
  2138. font-size=15
  2139. textcolor="Text"
  2140. font-style=underline
  2141. }
  2142.  
  2143. "ListPanel RichTextInterior"
  2144. {
  2145. bgcolor=DarkDialogBG
  2146. render_bg {}
  2147. bgcolor=none
  2148. }
  2149.  
  2150. ListPanelSectionCollapser [!$OSX]
  2151. {
  2152.  
  2153. bgcolor=none
  2154. render_bg {}
  2155. image="graphics/icon_collapse"
  2156. inset="-4 0 0 0"
  2157. padding-top=-2
  2158. padding-bottom=-2
  2159. }
  2160.  
  2161. ListPanelSectionCollapser [$OSX]
  2162. {
  2163.  
  2164. bgcolor=none
  2165. render_bg {}
  2166. image="graphics/icon_collapse_osx"
  2167. inset="-4 0 0 0"
  2168. padding-top=-2
  2169. padding-bottom=-2
  2170. }
  2171.  
  2172. ListPanelSectionCollapser:hover [!$OSX]
  2173. {
  2174. image="graphics/icon_collapse_over"
  2175. }
  2176.  
  2177. ListPanelSectionCollapser:hover [$OSX]
  2178. {
  2179. image="graphics/icon_collapse_over_osx"
  2180. }
  2181.  
  2182. ListPanelSectionCollapser:selected [!$OSX]
  2183. {
  2184. image="graphics/icon_expand"
  2185. }
  2186.  
  2187. ListPanelSectionCollapser:selected [$OSX]
  2188. {
  2189. image="graphics/icon_expand_osx"
  2190. }
  2191.  
  2192. ListPanelSectionCollapser:selected:hover [!$OSX]
  2193. {
  2194. image="graphics/icon_expand_over"
  2195. }
  2196.  
  2197. ListPanelSectionCollapser:selected:hover [$OSX]
  2198. {
  2199. image="graphics/icon_expand_over_osx"
  2200. }
  2201.  
  2202. MainNav
  2203. {
  2204. textcolor="Label"
  2205. selectedtextcolor="Text"
  2206. bgcolor="none"
  2207. font-family=basefont
  2208. font-size=21
  2209. font-weight=700
  2210. font-style="uppercase"
  2211. }
  2212.  
  2213. Menu
  2214. {
  2215. bgcolor="dialogbg"
  2216. padding-right=4
  2217. inset="2 2 2 2"
  2218.  
  2219. render_bg
  2220. {
  2221. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y0+140, MenuBG1, MenuBG2 )"
  2222. 1="fill( x0 + 1 , y0 + 140, x1 - 1, y1 - 1, MenuBG2 )"
  2223.  
  2224. // lines around
  2225. 2="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  2226. 3="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  2227. 4="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  2228. 5="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  2229.  
  2230. // single pixel fills in the corners
  2231. 6="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  2232. 7="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  2233. 8="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  2234. 9="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  2235. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  2236. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  2237. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  2238. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  2239. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  2240. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  2241. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  2242. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  2243. }
  2244.  
  2245. render {}
  2246. corner_rounding=1
  2247. }
  2248.  
  2249.  
  2250. MenuBar
  2251. {
  2252. bgcolor=dialogbg
  2253. padding-right=1
  2254. padding-left=6
  2255. padding-top=2
  2256. padding-bottom=-2
  2257. }
  2258.  
  2259. "Page MenuBar"
  2260. {
  2261. bgcolor=none
  2262. }
  2263.  
  2264.  
  2265. "MenuBar MenuButton"
  2266. {
  2267. textcolor="buttonborder"
  2268. padding-right=-2
  2269. inset="-2 0 2 0"
  2270. }
  2271.  
  2272. "MenuBar MenuButton:frameFocus"
  2273. {
  2274. textcolor="labeldisabled"
  2275. }
  2276.  
  2277. "MenuBar MenuButton:frameFocus:hover"
  2278. {
  2279. textcolor="texthover"
  2280. bgcolor=none
  2281.  
  2282. render_bg
  2283. {
  2284. // background
  2285. 0="gradient( x0 + 1, y0 + 3, x1 - 5, y1 - 3, textdisabled, focus )"
  2286.  
  2287. // lines around
  2288. 1="fill( x0 + 2, y0 + 2, x1 - 6, y0 + 3, textdisabled )" // top
  2289. 2="fill( x0 + 2, y1 - 3, x1 - 6, y1 - 2, focus )" // bottom
  2290. 3="gradient( x0, y0 + 4, x0 + 1, y1 - 4, textdisabled, focus )" // left
  2291. 4="gradient( x1 - 5, y0 + 4, x1 - 4, y1 - 4, textdisabled, focus )" // right
  2292. }
  2293. }
  2294.  
  2295. "MenuBar MenuButton:frameFocus:selected"
  2296. {
  2297. textcolor="texthover"
  2298. bgcolor=none
  2299.  
  2300. render_bg
  2301. {
  2302. // background
  2303. 0="gradient( x0 + 1, y0 + 3, x1 - 5, y1 - 3, textdisabled, focus )"
  2304.  
  2305. // lines around
  2306. 1="fill( x0 + 2, y0 + 2, x1 - 6, y0 + 3, textdisabled )" // top
  2307. 2="fill( x0 + 2, y1 - 3, x1 - 6, y1 - 2, focus )" // bottom
  2308. 3="gradient( x0, y0 + 4, x0 + 1, y1 - 4, textdisabled, focus )" // left
  2309. 4="gradient( x1 - 5, y0 + 4, x1 - 4, y1 - 4, textdisabled, focus )" // right
  2310. }
  2311. }
  2312.  
  2313. MenuButton
  2314. {
  2315. font-family=basefont
  2316. font-size=14
  2317. font-weight=400
  2318. textcolor="scrollglyph"
  2319. bgcolor="none"
  2320. render_bg {}
  2321.  
  2322. }
  2323.  
  2324. MenuButton:hover
  2325. {
  2326. textcolor="white"
  2327. }
  2328.  
  2329.  
  2330. MenuButton:selected
  2331. {
  2332. textcolor="white"
  2333. }
  2334.  
  2335. MenuItem
  2336. {
  2337. font-family=basefont
  2338. textcolor="Text"
  2339. font-size=14
  2340. font-weight=700
  2341. inset="0 0 0 0"
  2342. padding-right=6
  2343. bgcolor="none"
  2344. render_bg {}
  2345. }
  2346.  
  2347. MenuItem:selected
  2348. {
  2349. textcolor="TextHover"
  2350. bgcolor="Focus"
  2351. }
  2352.  
  2353. MenuItem:hover
  2354. {
  2355. textcolor="TextHover"
  2356. bgcolor="Focus"
  2357. }
  2358.  
  2359. MenuItem:disabled
  2360. {
  2361. textcolor="labeldisabled"
  2362. shadowtextcolor=none
  2363. }
  2364.  
  2365. MenuItem:disabled:hover
  2366. {
  2367. textcolor="labeldisabled"
  2368. shadowtextcolor=none
  2369. }
  2370.  
  2371.  
  2372. MenuSeparator
  2373. {
  2374. inset="2 0 6 0"
  2375. textcolor="Divider"
  2376. bgcolor=none
  2377. }
  2378.  
  2379. Notification
  2380. {
  2381. font-family=basefont
  2382. font-size=15
  2383. font-weight=400
  2384. bgcolor=none
  2385. render_bg
  2386. {
  2387. 0="gradient( x0+1, y0, x1-1, y0+80, DialogBG, ClientBG )"
  2388.  
  2389. 0="gradient_horizontal( x0 + 1, y1 - 1, x1 -1, y1, ClientBG, Highlight5 )" // bottom
  2390. 1="gradient( x1 - 1, y0 + 1, x1, y1 - 1, ClientBG, Highlight5 )" // right
  2391. 2="fill( x0 + 1, y0, x1 - 1, y0 + 1, ClientBG )" // top
  2392. 3="fill( x0, y0 + 1, x0 + 1, y1 - 1, ClientBG )" // left
  2393.  
  2394. // single pixel fills in the corners
  2395. 4="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ClientBG )"
  2396. 5="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ClientBG )"
  2397. 6="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ClientBG )"
  2398. 7="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, Highlight5a )"
  2399. }
  2400.  
  2401. render {}
  2402. corner_rounding=1
  2403. }
  2404.  
  2405. Page
  2406. {
  2407. bgcolor="none"
  2408. render_bg
  2409. {
  2410. // background gradient
  2411. 0="gradient( x0, y0 + 18, x1, y1, DialogBG, PropertySheetBG )"
  2412. }
  2413. }
  2414.  
  2415. "CSteamRootDialog Page"
  2416. {
  2417. bgcolor="none"
  2418. render_bg {}
  2419. }
  2420.  
  2421. "Page RadioButtonList"
  2422. {
  2423. bgcolor="DialogBG"
  2424. }
  2425.  
  2426. PageTab
  2427. {
  2428. textcolor="Label"
  2429. font-family=basefont
  2430. font-size=13
  2431. font-style=Uppercase
  2432. font-weight=400
  2433. inset="0 -2 0 0"
  2434. render_bg
  2435. {
  2436. // background gradient
  2437. 0="fill( x0, y0 , x1, y1 - 4, PropertySheetBG )"
  2438. 1="fill(x0, y1-2, x1+3000, y1 -1, divider )"
  2439.  
  2440. }
  2441. }
  2442.  
  2443.  
  2444. PageTab:selected
  2445. {
  2446. textcolor="texthover"
  2447. font-family=basefont
  2448. font-size=13
  2449. font-style=Uppercase
  2450. font-weight=400
  2451. inset="0 -2 0 0"
  2452. bgcolor="none"
  2453. render_bg
  2454. {
  2455. // background gradient
  2456. 0="gradient( x0, y0 , x1, y1, divider, dialogbg )"
  2457. 1="fill(x1, y1-2, x1+3000, y1 - 1, divider )"
  2458. }
  2459. }
  2460.  
  2461.  
  2462. PageTab:hover
  2463. {
  2464. textcolor="texthover"
  2465. font-family=basefont
  2466. font-size=13
  2467. font-style=Uppercase
  2468. font-weight=400
  2469. inset="0 -2 0 0"
  2470. render_bg
  2471. {
  2472. // background gradient
  2473. 0="fill( x0, y0 , x1, y1 - 4, buttonfacehover )"
  2474. 1="fill(x0, y1-2, x1+3000, y1 -1, divider )"
  2475. }
  2476. }
  2477.  
  2478. PageTab:selected:hover
  2479. {
  2480. textcolor="texthover"
  2481. font-family=basefont
  2482. font-size=13
  2483. font-style=Uppercase
  2484. font-weight=400
  2485. inset="0 -2 0 0"
  2486. bgcolor="none"
  2487. render_bg
  2488. {
  2489. // background gradient
  2490. 0="gradient( x0, y0 , x1, y1, divider, dialogbg )"
  2491. 1="fill(x1, y1-2, x1+3000, y1 - 1, divider )"
  2492. }
  2493. }
  2494.  
  2495. PageTab:Focus
  2496. {
  2497. textcolor="Texthover"
  2498. }
  2499.  
  2500. "PageDragFrame PageTab"
  2501. {
  2502. font-size=14
  2503. font-style=""
  2504. }
  2505.  
  2506. TabCloseButton
  2507. {
  2508. render_bg {}
  2509. image="graphics/tiny_x_default"
  2510. }
  2511.  
  2512. TabCloseButton:hover
  2513. {
  2514. image="graphics/tiny_x_hover"
  2515. }
  2516.  
  2517. Panel
  2518. {
  2519. font-family=basefont
  2520. font-size=14
  2521. font-weight=400
  2522. textcolor="Text"
  2523. bgcolor="none"
  2524. }
  2525.  
  2526. ProgressBar
  2527. {
  2528. textcolor="Highlight5"
  2529. bgcolor="none"
  2530. render
  2531. {
  2532. // lines around
  2533. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  2534. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  2535. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  2536. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  2537.  
  2538. // single pixel fills in the corners
  2539. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  2540. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  2541. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  2542. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  2543. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  2544. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  2545. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  2546. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  2547. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  2548. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  2549. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  2550. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  2551. }
  2552. }
  2553.  
  2554. "Page ProgressBar"
  2555. {
  2556. textcolor="Highlight5"
  2557. bgcolor="none"
  2558. render
  2559. {
  2560. // lines around
  2561. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderPage )" // top
  2562. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderPage )" // bottom
  2563. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderPage )" // left
  2564. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderPage )" // right
  2565.  
  2566. // single pixel fills in the corners
  2567. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderPage )"
  2568. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderPage )"
  2569. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderPage )"
  2570. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderPage )"
  2571. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  2572. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  2573. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  2574. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  2575. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  2576. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  2577. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  2578. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  2579. }
  2580. }
  2581.  
  2582. PropertyPage
  2583. {
  2584. bgcolor="PropertySheetBG"
  2585. }
  2586.  
  2587. "CFriendsDialog PropertySheet"
  2588. {
  2589. bgcolor="none"
  2590. }
  2591.  
  2592. RadioButton
  2593. {
  2594. font-family=basefont
  2595. font-size=14
  2596. font-weight=400
  2597. textcolor="Label"
  2598. render_bg {}
  2599. image="graphics/RadUnselStd"
  2600. bgcolor=none
  2601. }
  2602.  
  2603. RadioButton:selected
  2604. {
  2605. render_bg {}
  2606. image="graphics/radSelStd"
  2607. }
  2608.  
  2609. RadioButton:focus
  2610. {
  2611. textcolor="Texthover"
  2612. bgcolor=none
  2613. image="graphics/radSelDown"
  2614. }
  2615.  
  2616. RadioButton:selected:focus
  2617. {
  2618. textcolor="Texthover"
  2619. bgcolor=none
  2620. image="graphics/radSelFocus"
  2621. }
  2622.  
  2623. RadioButtonList
  2624. {
  2625. bgcolor="DialogBG"
  2626. inset="-2 0 0 0"
  2627.  
  2628. render_bg
  2629. {
  2630. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, DialogBG, ClientBG )"
  2631. // lines around
  2632. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  2633. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  2634. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  2635. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  2636.  
  2637. // single pixel fills in the corners
  2638. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  2639. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  2640. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  2641. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  2642. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  2643. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  2644. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  2645. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  2646. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  2647. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  2648. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  2649. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  2650. }
  2651. }
  2652.  
  2653. RichText
  2654. {
  2655. textcolor="Text"
  2656. selectedtextcolor="TextSelected"
  2657. font-family=basefont
  2658. font-size=14
  2659. font-weight=400
  2660. inset="0 -1 0 0"
  2661. render_bg
  2662. {
  2663. -1="fill( x0 + 1, y0 + 1, x1 - 1, y1 - 1, DialogBG )"
  2664.  
  2665. // lines around
  2666. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  2667. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  2668. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  2669. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  2670.  
  2671. // single pixel fills in the corners
  2672. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  2673. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  2674. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  2675. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  2676. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  2677. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  2678. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  2679. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  2680. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  2681. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  2682. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  2683. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  2684. }
  2685. }
  2686.  
  2687. RichTextInterior
  2688. {
  2689. bgcolor=none
  2690. }
  2691.  
  2692. // style of links in a rich text control
  2693.  
  2694. "RichText url"
  2695. {
  2696. font-size=14
  2697. textcolor="label"
  2698. selectedtextcolor="label"
  2699. font-style=underline
  2700. }
  2701.  
  2702. "RichText url:hover"
  2703. {
  2704. textcolor="Texthover"
  2705. }
  2706.  
  2707.  
  2708. "CFriendPanel RichText URL"
  2709. {
  2710. textcolor="text"
  2711. font-style=underline
  2712. font-size=14
  2713. }
  2714.  
  2715. // style of bold text in a rich text control
  2716. "RichText bold"
  2717. {
  2718. font-size=15
  2719. font-weight=1000
  2720. }
  2721.  
  2722. "RichText emphasis"
  2723. {
  2724. font-size=15
  2725. font-style=italic
  2726. }
  2727.  
  2728. ScrollBar
  2729. {
  2730. inset="0 0 0 0"
  2731. }
  2732.  
  2733. ScrollBarButton.up
  2734. {
  2735. bgcolor=none
  2736. inset="-1 2 0 0"
  2737. image="graphics/icon_up_default"
  2738. render_bg
  2739. {
  2740. // background fill
  2741. 0="fill( x0 + 2, y0 + 3, x1 - 4, y1 + 2, buttonface )"
  2742.  
  2743. // lines around
  2744. 1="fill( x0 + 3, y0 + 2, x1 - 5, y0 + 3, ButtonFace )" // top
  2745. 2="fill( x0 + 3, y1 + 2, x1 - 5, y1 + 3, ButtonFace )" // bottom
  2746. }
  2747.  
  2748. }
  2749.  
  2750. ScrollBarButton.up:hover
  2751. {
  2752. bgcolor=none
  2753. inset="-1 2 0 0"
  2754. image="graphics/icon_up_hover"
  2755. render_bg
  2756. {
  2757. // background fill
  2758. 0="fill( x0 + 2, y0 + 3, x1 - 4, y1 + 2, buttonfaceActive )"
  2759.  
  2760. // lines around
  2761. 1="fill( x0 + 3, y0 + 2, x1 - 5, y0 + 3, ButtonFaceActive )" // top
  2762. 2="fill( x0 + 3, y1 + 2, x1 - 5, y1 + 3, ButtonFaceActive )" // bottom
  2763. }
  2764. }
  2765.  
  2766. ScrollBarButton.up:active
  2767. {
  2768. inset="-1 2 0 0"
  2769. image="graphics/icon_up_hover"
  2770. render_bg
  2771. {
  2772. // background fill
  2773. 0="fill( x0 + 2, y0 + 3, x1 - 4, y1 + 2, buttonfaceActive )"
  2774.  
  2775. // lines around
  2776. 1="fill( x0 + 3, y0 + 2, x1 - 5, y0 + 3, ButtonFaceActive )" // top
  2777. 2="fill( x0 + 3, y1 + 2, x1 - 5, y1 + 3, ButtonFaceActive )" // bottom
  2778. }
  2779. }
  2780.  
  2781. ScrollBarButton.up:disabled
  2782. {
  2783. inset="-1 2 0 0"
  2784. image="graphics/icon_up_disabled"
  2785. render_bg
  2786. {
  2787. // background fill
  2788. 0="fill( x0 + 2, y0 + 3, x1 - 4, y1 + 2, buttonfaceDisabled )"
  2789.  
  2790. // lines around
  2791. 1="fill( x0 + 3, y0 + 2, x1 - 5, y0 + 3, ButtonFaceDisabled )" // top
  2792. 2="fill( x0 + 3, y1 + 2, x1 - 5, y1 + 3, ButtonFaceDisabled )" // bottom
  2793. }
  2794. }
  2795.  
  2796. ScrollBarButton.down
  2797. {
  2798. bgcolor=none
  2799. inset="-2 0 0 0"
  2800. image="graphics/icon_down_default"
  2801. render_bg
  2802. {
  2803. // background fill
  2804. 0="fill( x0 + 2, y0 - 1, x1 - 4, y1 - 3, buttonface )"
  2805.  
  2806. // lines around
  2807. 1="fill( x0 + 3, y0 - 2, x1 - 5, y0 - 1, buttonface )" // top
  2808. 2="fill( x0 + 3, y1 - 3, x1 - 5, y1 - 2, buttonface )" // bottom
  2809. }
  2810. }
  2811.  
  2812. ScrollBarButton.down:hover
  2813. {
  2814. inset="-2 0 0 0"
  2815. image="graphics/icon_down_hover"
  2816. render_bg
  2817. {
  2818. // background fill
  2819. 0="fill( x0 + 2, y0 - 1, x1 - 4, y1 - 3, buttonfaceActive )"
  2820.  
  2821. // lines around
  2822. 1="fill( x0 + 3, y0 - 2, x1 - 5, y0 - 1, buttonfaceActive )" // top
  2823. 2="fill( x0 + 3, y1 - 3, x1 - 5, y1 - 2, buttonfaceActive )" // bottom
  2824. }
  2825. }
  2826.  
  2827. ScrollBarButton.down:active
  2828. {
  2829. inset="-2 0 0 0"
  2830. image="graphics/icon_down_hover"
  2831. render_bg
  2832. {
  2833. // background fill
  2834. 0="fill( x0 + 2, y0 - 1, x1 - 4, y1 - 3, buttonfaceActive )"
  2835.  
  2836. // lines around
  2837. 1="fill( x0 + 3, y0 - 2, x1 - 5, y0 - 1, buttonfaceActive )" // top
  2838. 2="fill( x0 + 3, y1 - 3, x1 - 5, y1 - 2, buttonfaceActive )" // bottom
  2839. }
  2840. }
  2841.  
  2842.  
  2843. ScrollBarButton.down:disabled
  2844. {
  2845. inset="-2 0 0 0"
  2846. image="graphics/icon_down_hover"
  2847. render_bg
  2848. {
  2849. // background fill
  2850. 0="fill( x0 + 2, y0 - 1, x1 - 4, y1 - 3, buttonfaceDisabled )"
  2851.  
  2852. // lines around
  2853. 1="fill( x0 + 3, y0 - 2, x1 - 5, y0 - 1, buttonfaceDisabled )" // top
  2854. 2="fill( x0 + 3, y1 - 3, x1 - 5, y1 - 2, buttonfaceDisabled )" // bottom
  2855. }
  2856. }
  2857.  
  2858. ScrollBarButton.left
  2859. {
  2860. bgcolor=none
  2861. inset="1 3 0 0"
  2862. image="graphics/icon_left_default"
  2863. render_bg
  2864. {
  2865. // center fill
  2866. 0="fill( x0 + 2, y0 + 5, x1, y1 - 3, ButtonFace )"
  2867.  
  2868. // lines around
  2869. 1="fill( x0 + 3, y0 + 4, x1 - 1, y0 + 5, buttonface )" // top
  2870. 2="fill( x0 + 3, y1 - 3, x1 - 1, y1 - 2, buttonface )" // bottom
  2871. }
  2872. }
  2873.  
  2874. ScrollBarButton.left:hover
  2875. {
  2876.  
  2877. image="graphics/icon_left_hover"
  2878. inset="1 3 0 0"
  2879. render_bg
  2880. {
  2881. // center fill
  2882. 0="fill( x0 + 2, y0 + 5, x1, y1 - 3, ButtonFaceActive )"
  2883.  
  2884. // lines around
  2885. 1="fill( x0 + 3, y0 + 4, x1 - 1, y0 + 5, ButtonFaceActive )" // top
  2886. 2="fill( x0 + 3, y1 - 3, x1 - 1, y1 - 2, ButtonFaceActive )" // bottom
  2887. }
  2888. }
  2889.  
  2890. ScrollBarButton.right
  2891. {
  2892. bgcolor=none
  2893. image="graphics/icon_right_default"
  2894. inset="0 2 0 0"
  2895. render_bg
  2896. {
  2897. // center fill
  2898. 0="fill( x0, y0 + 5, x1, y1 - 3, ButtonFace )"
  2899.  
  2900. // lines around
  2901. 1="fill( x0 + 1, y0 + 4, x1 - 2, y0 + 5, ButtonFace )" // top
  2902. 2="fill( x0 + 1, y1 - 3, x1 - 2, y1 - 2, ButtonFace )" // bottom
  2903. }
  2904. }
  2905.  
  2906. ScrollBarButton.right:hover
  2907. {
  2908. image="graphics/icon_right_hover"
  2909. inset="0 2 0 0"
  2910. render_bg
  2911. {
  2912. // center fill
  2913. 0="fill( x0, y0 + 5, x1, y1 - 3, ButtonFaceActive )"
  2914.  
  2915. // lines around
  2916. 1="fill( x0 + 1, y0 + 4, x1 - 2, y0 + 5, ButtonFaceActive )" // top
  2917. 2="fill( x0 + 1, y1 - 3, x1 - 2, y1 - 2, ButtonFaceActive )" // bottom
  2918. }
  2919. }
  2920.  
  2921. ScrollBarHandle //vertical scrollbar thumb
  2922. {
  2923. bgcolor=none
  2924. image="graphics/icon_scroll_handle"
  2925. render_bg
  2926. {
  2927. // center fill
  2928. 0="fill( x0 + 2, y0 + 6, x1 - 4, y1 - 5, ButtonFace )"
  2929.  
  2930. // lines around
  2931. 1="fill( x0 + 3, y0 + 5, x1 - 5, y0 + 6, buttonface )" // top
  2932. 2="fill( x0 + 3, y1 - 5, x1 - 5, y1 - 4, buttonface )" // bottom
  2933. }
  2934. }
  2935.  
  2936. "ScrollBarHandle:hover"
  2937. {
  2938. image="graphics/icon_scroll_handle_over"
  2939. render_bg
  2940. {
  2941. // center fill
  2942. 0="fill( x0 + 2, y0 + 6, x1 - 4, y1 - 5, ButtonFaceActive )"
  2943.  
  2944. // lines around
  2945. 1="fill( x0 + 3, y0 + 5, x1 - 5, y0 + 6, buttonfaceActive )" // top
  2946. 2="fill( x0 + 3, y1 - 5, x1 - 5, y1 - 4, buttonfaceActive )" // bottom
  2947. }
  2948. }
  2949.  
  2950. "ScrollBarHandle:active"
  2951. {
  2952. image="graphics/icon_scroll_handle_over"
  2953. render_bg
  2954. {
  2955. // center fill
  2956. 0="fill( x0 + 2, y0 + 6, x1 - 4, y1 - 5, ButtonFaceActive )"
  2957.  
  2958. // lines around
  2959. 1="fill( x0 + 3, y0 + 5, x1 - 5, y0 + 6, buttonfaceActive )" // top
  2960. 2="fill( x0 + 3, y1 - 5, x1 - 5, y1 - 4, buttonfaceActive )" // bottom
  2961. }
  2962. }
  2963.  
  2964.  
  2965.  
  2966. "SliderHoriz" //horizontal scrollbar thumb
  2967. {
  2968.  
  2969. image="graphics/icon_scroll_handle_horiz"
  2970. render {
  2971. // center fill
  2972. 1="fill( x0 + 2, y0 + 6, x1 - 1, y1 - 3, ButtonFace )"
  2973.  
  2974. // lines around
  2975. 1="fill( x0 + 3, y0 + 5, x1 - 2, y0 + 6, buttonface )" // top
  2976. 2="fill( x0 + 3, y1 - 3, x1 - 2, y1 - 2, buttonface )" // bottom
  2977. }
  2978.  
  2979. }
  2980.  
  2981. "SliderHoriz:hover"
  2982. {
  2983.  
  2984. image="graphics/icon_scroll_handle_over_horiz"
  2985. render {
  2986. // center fill
  2987. 0="fill( x0 + 2, y0 + 6, x1 - 1, y1 - 3, ButtonFaceActive )"
  2988.  
  2989. // lines around
  2990. 1="fill( x0 + 3, y0 + 5, x1 - 2, y0 + 6, buttonfaceActive )" // top
  2991. 2="fill( x0 + 3, y1 - 3, x1 - 2, y1 - 2, buttonfaceActive )" // bottom
  2992. }
  2993.  
  2994. }
  2995.  
  2996. "SliderHoriz:active"
  2997. {
  2998.  
  2999. image="graphics/icon_scroll_handle_over_horiz"
  3000. render {
  3001. // center fill
  3002. 0="fill( x0 + 2, y0 + 6, x1 - 1, y1 - 3, ButtonFaceActive )"
  3003.  
  3004. // lines around
  3005. 1="fill( x0 + 3, y0 + 5, x1 - 2, y0 + 6, buttonfaceActive )" // top
  3006. 2="fill( x0 + 3, y1 - 3, x1 - 2, y1 - 2, buttonfaceActive )" // bottom
  3007. }
  3008. }
  3009.  
  3010. ScrollBarSlider // gutter
  3011. {
  3012. bgcolor="none"
  3013. render_bg
  3014. {
  3015.  
  3016. //lines around
  3017. 1="fill( x0 + 3, y0 + 5, x1 - 5, y0 + 6, buttonborderdisabled )" // top
  3018.  
  3019. //background fill
  3020. 2="gradient( x0 + 2, y0 + 6, x1 - 4, y0 + 200, buttonborderdisabled, none)"
  3021. }
  3022. }
  3023.  
  3024. ScrollBarSliderHoriz // gutter
  3025. {
  3026. bgcolor="none"
  3027. render_bg { }
  3028. }
  3029.  
  3030.  
  3031. "GamesPage_Details ListPanel ScrollBarSlider" // gutter in games list detail view
  3032. {
  3033. bgcolor="none"
  3034. render_bg
  3035. {
  3036. //background fill
  3037. 0="gradient( x0 + 2, y0 + 6, x1 - 4, y0 + 200, buttonborderdisabled, none)"
  3038. //lines around
  3039. 1="fill( x0 + 3, y0 + 5, x1 - 5, y0 + 6, buttonborderdisabled )" // top
  3040. }
  3041. }
  3042.  
  3043. ScrollBarSlider:disabled
  3044. {
  3045. bgcolor="none"
  3046. render_bg {}
  3047. }
  3048.  
  3049. "ScrollBar SliderHoriz" // gutter
  3050. {
  3051. bgcolor="dialogbg"
  3052. }
  3053.  
  3054. "HTML ScrollBar"
  3055. {
  3056. bgcolor="none"
  3057. render_bg {
  3058. 0="fill(x0,y0,x1 - 1,y1 - 1, almostblack)"
  3059. }
  3060. }
  3061. "HTML ScrollBar.Horizontal"
  3062. {
  3063. bgcolor="none"
  3064. render_bg {
  3065. 0="fill(x0,y0,x1+25,y1, almostblack)"
  3066. }
  3067. }
  3068.  
  3069. "HTML ScrollBarSlider.Horizontal"
  3070. {
  3071. bgcolor=none
  3072. render_bg {
  3073. //background fill
  3074. 0="gradient_horizontal( x0 + 6, y0 + 5, x0 + 200, y1 - 2, buttonborderdisabled, none)"
  3075. //lines around
  3076. 1="fill( x0 + 5, y0 + 6, x0 + 6, y1 - 3, buttonborderdisabled )" // top
  3077. }
  3078.  
  3079. }
  3080.  
  3081. "HTML SliderHoriz"
  3082. {
  3083. bgcolor=none
  3084. render_bg
  3085. {
  3086. }
  3087. }
  3088.  
  3089. SectionedListPanel
  3090. {
  3091. bgcolor="propertysheetbg"
  3092. font-family=basefont
  3093. font-size=14
  3094. font-weight=400
  3095. textcolor="Text"
  3096. selectedtextcolor="TextSelected"
  3097. selectedbgcolor="Focus"
  3098. bgcolor="none"
  3099. render_bg
  3100. {
  3101. // lines around
  3102. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  3103. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  3104. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  3105. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  3106.  
  3107. // single pixel fills in the corners
  3108. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  3109. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  3110. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  3111. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  3112. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  3113. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  3114. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  3115. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  3116. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  3117. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  3118. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  3119. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  3120. // background gradient
  3121. 0="gradient( x0 + 1, y0 + 1, x1, y0 + 1, Propertysheetbg, BackgroundStartOpaque)"
  3122. }
  3123. inset="1 -1 1 1"
  3124. }
  3125.  
  3126. "CFriendsDialog SectionedListPanel"
  3127. {
  3128. bgcolor="none"
  3129. font-family=basefont
  3130. font-size=14
  3131. font-weight=400
  3132. textcolor="Text"
  3133. selectedtextcolor="TextSelected"
  3134. selectedbgcolor="Focus"
  3135. render_bg
  3136. {
  3137. // background fill
  3138. 0="gradient( x0 + 1, y0, x1 - 1, y0 + 140, dialogbg, almostblack )"
  3139. 1="fill( x0 + 1, y0 + 140, x1 - 1, y1-1, almostblack )"
  3140.  
  3141. //lines around, special due to tabs at top
  3142. 2="gradient( x1 - 1, y0 -1, x1, y1 -1, dialogbg, ButtonBorderDisabled )" // right
  3143. 3="gradient( x0, y0, x0 + 1, y1 - 2, dialogbg, ButtonBorderDisabled )" // left
  3144. //single pixel fills
  3145. 4="fill( x0, y1-1, x0 + 1, y1, dialogbg )"
  3146. 5="fill( x1-1, y1-1, x1, y1, dialogbg )"
  3147.  
  3148.  
  3149. }
  3150. }
  3151.  
  3152. SectionedlistpanelCollapser
  3153. {
  3154. render_bg {}
  3155. bgcolor=none
  3156. image="graphics/icon_collapse"
  3157. inset="2 1 0 0"
  3158. }
  3159.  
  3160. SectionedListPanelCollapser:hover
  3161. {
  3162. image="graphics/icon_collapse_over"
  3163. }
  3164.  
  3165. SectionedListPanelCollapser:selected
  3166. {
  3167. image="graphics/icon_expand"
  3168. }
  3169.  
  3170. SectionedListPanelCollapser:selected:hover
  3171. {
  3172. image="graphics/icon_expand_over"
  3173. }
  3174.  
  3175.  
  3176.  
  3177. Slider
  3178. {
  3179. font-family=basefont
  3180. font-size=10
  3181. font-weight=400
  3182. textcolor="label"
  3183. font-style=uppercase
  3184. }
  3185.  
  3186. Slider:focus
  3187. {
  3188. textcolor="Text"
  3189. }
  3190.  
  3191. StatusLabel
  3192. {
  3193. font-family=basefont
  3194. font-size=14
  3195. font-weight=400
  3196. textcolor="labelfocus"
  3197. font-style=uppercase
  3198.  
  3199. }
  3200.  
  3201. StatusLabel:hover
  3202. {
  3203. font-family=basefont
  3204. font-size=14
  3205. font-weight=400
  3206. textcolor="white"
  3207. font-style=uppercase
  3208. }
  3209.  
  3210.  
  3211. TextEntry
  3212. {
  3213. font-family=basefont
  3214. font-size=14
  3215. textcolor="Text"
  3216. font-weight=400
  3217. bgcolor="none"
  3218. selectedtextcolor="white"
  3219. selectedbgcolor="TextSelectedBG"
  3220. shadowtextcolor="Text" // this is the cursor color
  3221.  
  3222. inset-left=4
  3223. inset-top=0
  3224. render
  3225. {
  3226. // lines around
  3227. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  3228. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  3229. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  3230. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  3231.  
  3232. // single pixel fills in the corners
  3233. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  3234. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  3235. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  3236. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  3237. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3238. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3239. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3240. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3241. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3242. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3243. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3244. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3245. }
  3246. }
  3247.  
  3248. "Page TextEntry"
  3249. {
  3250. render
  3251. {
  3252. // lines around
  3253. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderPage )" // top
  3254. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderPage )" // bottom
  3255. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderPage )" // left
  3256. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderPage )" // right
  3257.  
  3258. // single pixel fills in the corners
  3259. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderPage )"
  3260. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderPage )"
  3261. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderPage )"
  3262. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderPage )"
  3263. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3264. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3265. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3266. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3267. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3268. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3269. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3270. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3271. }
  3272. }
  3273.  
  3274. TextEntry:focus
  3275. {
  3276. textcolor="TextHover"
  3277. bgcolor=none
  3278. render
  3279. {
  3280. // lines around
  3281. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  3282. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  3283. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  3284. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  3285.  
  3286. // single pixel fills in the corners
  3287. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  3288. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  3289. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  3290. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  3291. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3292. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3293. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3294. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3295. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3296. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3297. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3298. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3299. }
  3300. }
  3301.  
  3302. "Page TextEntry:focus"
  3303. {
  3304. textcolor="TextHover"
  3305. render
  3306. {
  3307. // lines around
  3308. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  3309. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  3310. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  3311. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  3312.  
  3313. // single pixel fills in the corners
  3314. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  3315. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  3316. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  3317. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  3318. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3319. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3320. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3321. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3322. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3323. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3324. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3325. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3326.  
  3327. }
  3328. }
  3329.  
  3330.  
  3331. TextEntry:disabled
  3332. {
  3333. textcolor="TextDisabled"
  3334. bgcolor="ButtonFaceDisabled"
  3335. render
  3336. {
  3337. // lines around
  3338. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  3339. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  3340. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  3341. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  3342.  
  3343. // single pixel fills in the corners
  3344. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  3345. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  3346. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  3347. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  3348. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  3349. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  3350. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  3351. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  3352. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  3353. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  3354. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  3355. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  3356. }
  3357. }
  3358.  
  3359. // The 'empty' style is used for 'hint text' in text entry fields.
  3360. // If the text box does not have focus and does not have content, a
  3361. // hint text property will be shown with this style. This is comment
  3362. // to pre-fill to box with something like 'Search' that goes away when active
  3363. TextEntry:empty
  3364. {
  3365. font-style=italic
  3366. textcolor=LabelDisabled
  3367. }
  3368.  
  3369. TextEntryLarge
  3370. {
  3371. font-family=basefont
  3372. font-size=24
  3373. textcolor="Text"
  3374. font-weight=400
  3375. bgcolor="none"
  3376. selectedtextcolor="TextEntrySelected"
  3377. selectedbgcolor="TextSelectedBG"
  3378. shadowtextcolor="Text" // this is the cursor color
  3379.  
  3380. inset-left=4
  3381. inset-top=5
  3382. inset-bottom=5
  3383. render
  3384. {
  3385. // lines around
  3386. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  3387. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  3388. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  3389. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  3390.  
  3391. // single pixel fills in the corners
  3392. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  3393. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  3394. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  3395. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  3396. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3397. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3398. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3399. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3400. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3401. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3402. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3403. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3404. }
  3405. }
  3406.  
  3407. TextEntryLarge:focus
  3408. {
  3409. textcolor="TextHover"
  3410. render
  3411. {
  3412. // lines around
  3413. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  3414. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  3415. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  3416. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  3417.  
  3418. // single pixel fills in the corners
  3419. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  3420. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  3421. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  3422. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  3423. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3424. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3425. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3426. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3427. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3428. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3429. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3430. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3431. }
  3432. }
  3433.  
  3434. TextEntryLarge:disabled
  3435. {
  3436. textcolor="TextDisabled"
  3437. bgcolor="ButtonFaceDisabled"
  3438. render
  3439. {
  3440. // lines around
  3441. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  3442. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  3443. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  3444. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  3445.  
  3446. // single pixel fills in the corners
  3447. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  3448. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  3449. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  3450. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  3451. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  3452. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  3453. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  3454. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  3455. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  3456. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  3457. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  3458. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  3459. }
  3460. }
  3461.  
  3462. TextEntryURL
  3463. {
  3464. font-family=basefont
  3465. font-size=14
  3466. textcolor="text"
  3467. font-weight=400
  3468. bgcolor="none"
  3469. selectedtextcolor="TextEntrySelected"
  3470. selectedbgcolor="TextSelectedBG"
  3471. shadowtextcolor="Text" // this is the cursor color
  3472. inset-left=0
  3473. inset-top=-1
  3474. render { }
  3475. }
  3476.  
  3477. TextEntryURL:Hover
  3478. {
  3479. textcolor="texthover"
  3480. render
  3481. {
  3482. // lines around
  3483. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonFaceDisabled )" // top
  3484. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonFaceDisabled )" // bottom
  3485. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonFaceDisabled )" // left
  3486. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonFaceDisabled )" // right
  3487.  
  3488. // single pixel fills in the corners
  3489. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonFaceDisabled )"
  3490. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonFaceDisabled )"
  3491. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonFaceDisabled )"
  3492. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonFaceDisabled )"
  3493. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  3494. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  3495. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  3496. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  3497. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  3498. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  3499. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  3500. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  3501. }
  3502. }
  3503.  
  3504. ToggleButton
  3505. {
  3506. inset="1 0 0 0"
  3507. inset="1 3 0 0" [$OSX]
  3508. font-family=basefont
  3509. font-size=13
  3510. font-weight=400
  3511. textcolor="Text"
  3512. bgcolor=none
  3513. render_bg
  3514. {
  3515.  
  3516. // background fill
  3517. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonface2, propertysheetbg )"
  3518.  
  3519. // lines around
  3520. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  3521. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  3522. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  3523. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  3524.  
  3525. // single pixel fills in the corners
  3526. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  3527. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  3528. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  3529. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  3530. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3531. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3532. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3533. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3534. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3535. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3536. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3537. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3538. }
  3539. }
  3540.  
  3541.  
  3542. ToggleButton:focus
  3543. {
  3544. textcolor="TextHover"
  3545. bgcolor="ButtonFaceFocus"
  3546. render_bg
  3547. {
  3548. // background fill
  3549. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonface2, propertysheetbg )"
  3550.  
  3551. // lines around
  3552. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  3553. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  3554. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  3555. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  3556. // single pixel fills in the corners
  3557. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  3558. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  3559. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  3560. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  3561. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3562. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3563. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3564. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3565. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3566. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3567. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3568. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3569. }
  3570. }
  3571.  
  3572. ToggleButton:hover
  3573. {
  3574. textcolor="TextHover"
  3575. bgcolor="ButtonFaceHover"
  3576. render_bg
  3577. {
  3578.  
  3579. // background fill
  3580. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfaceactive, propertysheetbg )"
  3581.  
  3582. // lines around
  3583. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  3584. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  3585. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  3586. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  3587.  
  3588. // single pixel fills in the corners
  3589. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  3590. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  3591. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  3592. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  3593. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3594. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3595. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3596. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3597. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3598. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3599. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3600. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3601.  
  3602. }
  3603. }
  3604.  
  3605. ToggleButton:selected
  3606. {
  3607.  
  3608. textcolor="TextHover"
  3609. bgcolor="none"
  3610. render_bg
  3611. {
  3612. // background fill
  3613. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, backgroundstartopaque, propertysheetbg )"
  3614.  
  3615. // lines around
  3616. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  3617. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  3618. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  3619. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  3620.  
  3621. // single pixel fills in the corners
  3622. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  3623. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  3624. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  3625. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  3626. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3627. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3628. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3629. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3630. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3631. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3632. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3633. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3634. }
  3635. }
  3636.  
  3637.  
  3638. "Page ToggleButton"
  3639. {
  3640. font-family=basefont
  3641. font-size=13
  3642. font-weight=400
  3643. textcolor="Text"
  3644. bgcolor=none
  3645. render_bg
  3646. {
  3647.  
  3648. // background fill
  3649. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonface2, propertysheetbg )"
  3650.  
  3651. // lines around
  3652. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderPage )" // top
  3653. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderPage )" // bottom
  3654. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderPage )" // left
  3655. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderPage )" // right
  3656.  
  3657. // single pixel fills in the corners
  3658. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderPage )"
  3659. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderPage )"
  3660. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderPage )"
  3661. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderPage )"
  3662. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3663. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3664. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3665. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3666. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3667. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3668. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3669. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3670. }
  3671. }
  3672.  
  3673. "Page ToggleButton:hover"
  3674. {
  3675. textcolor="TextHover"
  3676. bgcolor="none"
  3677. render_bg
  3678. {
  3679.  
  3680. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfacehover, propertysheetbg )"
  3681. // lines around
  3682. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  3683. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  3684. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  3685. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  3686.  
  3687. // single pixel fills in the corners
  3688. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  3689. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  3690. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  3691. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  3692. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3693. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3694. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3695. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3696. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3697. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3698. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3699. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3700. }
  3701. }
  3702.  
  3703. "Page ToggleButton:focus"
  3704. {
  3705.  
  3706. textcolor="TextHover"
  3707. bgcolor="none"
  3708. render_bg
  3709. {
  3710. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfacefocus, propertysheetbg )"
  3711.  
  3712. // lines around
  3713. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  3714. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  3715. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  3716. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  3717.  
  3718. // single pixel fills in the corners
  3719. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  3720. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  3721. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  3722. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  3723. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3724. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3725. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3726. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3727. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3728. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3729. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3730. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3731. }
  3732. }
  3733.  
  3734. "Page ToggleButton:selected"
  3735. {
  3736.  
  3737. textcolor="TextHover"
  3738. bgcolor="none"
  3739. render_bg
  3740. {
  3741. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonfacefocus, propertysheetbg )"
  3742.  
  3743. // lines around
  3744. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderFocus )" // top
  3745. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderFocus )" // bottom
  3746. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderFocus )" // left
  3747. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderFocus )" // right
  3748.  
  3749. // single pixel fills in the corners
  3750. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderFocus )"
  3751. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )"
  3752. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderFocus )"
  3753. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )"
  3754. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  3755. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  3756. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  3757. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  3758. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  3759. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  3760. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  3761. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  3762. }
  3763. }
  3764.  
  3765. // the background and frame of a tooltip
  3766. TooltipWindow
  3767. {
  3768. bgcolor="MenuBG1"
  3769. }
  3770.  
  3771. // body text inside a tooltip
  3772. "TooltipWindow Label"
  3773. {
  3774. padding-left=4
  3775. textcolor="Text"
  3776. }
  3777.  
  3778. // headline text inside a tooltip
  3779. tooltip_headline
  3780. {
  3781. textcolor="TextSelected"
  3782. padding-left=4
  3783. padding-top=1
  3784. padding-bottom=0
  3785. font-weight=1000
  3786. }
  3787.  
  3788. TreeNode
  3789. {
  3790. bgcolor=none
  3791. render_bg {}
  3792. }
  3793.  
  3794. TreeNodeImage
  3795. {
  3796. bgcolor=none
  3797. }
  3798.  
  3799. TreeViewSubPanel
  3800. {
  3801. bgcolor=none
  3802.  
  3803. }
  3804.  
  3805. TreeNodeText
  3806. {
  3807. font-family=basefont
  3808. font-size=13
  3809. textcolor="Text"
  3810. selectedtextcolor="TextSelected"
  3811. selectedbgcolor="TextSelectedBG"
  3812. bgcolor=none
  3813. render {}
  3814. render_bg {}
  3815. }
  3816.  
  3817. TreeView
  3818. {
  3819. render_bg
  3820. {
  3821. -1="fill( x0 + 1, y0 + 1, x1 - 1, y1 - 1, none )"
  3822.  
  3823. // lines around
  3824. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  3825. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  3826. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  3827. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  3828.  
  3829. // single pixel fills in the corners
  3830. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  3831. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  3832. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  3833. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  3834. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  3835. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  3836. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  3837. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  3838. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  3839. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  3840. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  3841. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  3842.  
  3843. }
  3844. }
  3845.  
  3846. URLLabel
  3847. {
  3848. textcolor="label"
  3849. bgcolor="none"
  3850. font-family=basefont
  3851. font-size=14
  3852. font-weight=400
  3853. font-style=underline
  3854. }
  3855.  
  3856. URLLabel:Hover
  3857. {
  3858. textcolor="texthover"
  3859. font-size=14
  3860. }
  3861.  
  3862. URLLabelSimple
  3863. {
  3864. textcolor="labelfocus"
  3865. bgcolor="none"
  3866. font-family=basefont
  3867. font-size=14
  3868. font-weight=400
  3869. font-style=regular
  3870. }
  3871.  
  3872. URLLabelSimple [$OSX]
  3873. {
  3874. textcolor="labelfocus"
  3875. bgcolor="none"
  3876. font-family=basefont
  3877. font-size=13
  3878. font-weight=400
  3879. font-style=regular
  3880. }
  3881.  
  3882. URLLabelSimple:Hover
  3883. {
  3884. font-style=underline
  3885. textcolor="WHITE"
  3886. }
  3887.  
  3888.  
  3889. // Steam-specific styles
  3890. CConsoleHistory
  3891. {
  3892. font-family="Lucida Console"
  3893. font-size=9
  3894. font-family="Menlo" [$OSX]
  3895. font-size=14 [$OSX]
  3896. textcolor="label"
  3897. selectedtextcolor="TextSelected"
  3898. }
  3899.  
  3900. GameColumnHeaderFavorites
  3901. {
  3902. image="steam/cached/fav_remove"
  3903.  
  3904. }
  3905.  
  3906. CGamesListFavoritesToggle
  3907. {
  3908. image="steam/cached/fav_addTo"
  3909. }
  3910.  
  3911. CGamesListFavoritesToggle:hover
  3912. {
  3913. image="steam/cached/fav_addTo_ovr"
  3914. }
  3915.  
  3916. CGamesListFavoritesToggle:selected
  3917. {
  3918. image="steam/cached/fav_remove"
  3919. }
  3920.  
  3921. CGamesListFavoritesToggle:selected:hover
  3922. {
  3923. image="steam/cached/fav_remove_ovr"
  3924. }
  3925.  
  3926. WrapPanel
  3927. {
  3928. inset="0 0 0 0"
  3929. font-family=basefont
  3930. font-size=14
  3931. font-weight=400
  3932. textcolor="Text"
  3933. selectedtextcolor="TextSelected"
  3934. selectedbgcolor="Focus"
  3935. bgcolor=none
  3936. render_bg {
  3937.  
  3938. // lines around
  3939. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top
  3940. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  3941. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  3942. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  3943.  
  3944. // single pixel fills in the corners
  3945. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  3946. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  3947. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  3948. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  3949. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  3950. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  3951. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  3952. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  3953. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  3954. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  3955. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  3956. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  3957.  
  3958. // background gradient
  3959. 8="gradient( x0 + 1, y0 + 1, x1, y0 + 240, propertysheetbg, DarkDialogBG )"
  3960. 9="fill( x0, y0 + 240, x1, y1, DarkDialogBG )"
  3961. }
  3962. inset="1 -1 1 1"
  3963. }
  3964.  
  3965. BackButton
  3966. {
  3967. bgcolor=none
  3968. inset="-5 -1 0 0"
  3969. render_bg={}
  3970. image="graphics/icon_button_back"
  3971. }
  3972.  
  3973. BackButton:hover
  3974. {
  3975. bgcolor=none
  3976. render_bg={}
  3977. image="graphics/icon_button_back_over"
  3978. }
  3979.  
  3980. BackButton:active
  3981. {
  3982. bgcolor=none
  3983. render_bg={}
  3984. image="graphics/icon_button_back_down"
  3985. }
  3986.  
  3987. BackButton:disabled
  3988. {
  3989. bgcolor=none
  3990. render_bg={}
  3991. image="graphics/icon_button_back_disabled"
  3992. }
  3993.  
  3994. FullscreenButton
  3995. {
  3996. bgcolor=none
  3997. inset="-4 -3 0 0"
  3998. render_bg={}
  3999. image="graphics/icon_button_fullscreen"
  4000. }
  4001.  
  4002.  
  4003. FullscreenButton:hover
  4004. {
  4005. bgcolor=none
  4006. render_bg={}
  4007. image="graphics/icon_button_fullscreen_over"
  4008. }
  4009.  
  4010. FullscreenButton:active
  4011. {
  4012. bgcolor=none
  4013. render_bg={}
  4014. image="graphics/icon_button_fullscreen_down"
  4015. }
  4016.  
  4017. FullscreenButton:disabled
  4018. {
  4019. bgcolor=none
  4020. render_bg={}
  4021. image="graphics/icon_button_fullscreen_disabled"
  4022. }
  4023.  
  4024. ForwardButton
  4025. {
  4026. bgcolor=none
  4027. inset="-5 -1 0 0"
  4028. render_bg={}
  4029. image="graphics/icon_button_forward"
  4030. }
  4031.  
  4032. ForwardButton:hover
  4033. {
  4034. bgcolor=none
  4035. render_bg={}
  4036. image="graphics/icon_button_forward_over"
  4037. }
  4038.  
  4039. ForwardButton:active
  4040. {
  4041. bgcolor=none
  4042. render_bg={}
  4043. image="graphics/icon_button_forward_down"
  4044. }
  4045.  
  4046. ForwardButton:disabled
  4047. {
  4048. bgcolor=none
  4049. render_bg={}
  4050. image="graphics/icon_button_forward_disabled"
  4051. }
  4052.  
  4053. HomeButton
  4054. {
  4055. bgcolor=none
  4056. inset="-5 0 0 0"
  4057. render_bg={}
  4058. image="graphics/icon_button_home"
  4059. }
  4060.  
  4061. HomeButton:hover
  4062. {
  4063. bgcolor=none
  4064. render_bg={}
  4065. image="graphics/icon_button_home_over"
  4066. }
  4067.  
  4068. HomeButton:active
  4069. {
  4070. bgcolor=none
  4071. render_bg={}
  4072. image="graphics/icon_button_home_down"
  4073. }
  4074.  
  4075. HomeButton:disabled
  4076. {
  4077. bgcolor=none
  4078. render_bg={}
  4079. image="graphics/icon_button_home_disabled"
  4080. }
  4081.  
  4082. ReloadButton
  4083. {
  4084. bgcolor=none
  4085. inset="-5 0 0 0"
  4086. render_bg={}
  4087. image="graphics/icon_button_reload"
  4088. }
  4089.  
  4090. ReloadButton:hover
  4091. {
  4092. bgcolor=none
  4093. render_bg={}
  4094. image="graphics/icon_button_reload_over"
  4095. }
  4096.  
  4097. ReloadButton:active
  4098. {
  4099. bgcolor=none
  4100. render_bg={}
  4101. image="graphics/icon_button_reload_down"
  4102. }
  4103.  
  4104. ReloadButton:disabled
  4105. {
  4106. bgcolor=none
  4107. render_bg={}
  4108. image="graphics/icon_button_reload_disabled"
  4109. }
  4110.  
  4111. StopButton
  4112. {
  4113. bgcolor=none
  4114. inset="-5 0 0 0"
  4115. render_bg={}
  4116. image="graphics/icon_button_stop"
  4117. }
  4118.  
  4119. StopButton:hover
  4120. {
  4121. bgcolor=none
  4122. render_bg={}
  4123. image="graphics/icon_button_stop_over"
  4124. }
  4125.  
  4126. StopButton:active
  4127. {
  4128. bgcolor=none
  4129. render_bg={}
  4130. image="graphics/icon_button_stop_down"
  4131. }
  4132.  
  4133. StopButton:disabled
  4134. {
  4135. bgcolor=none
  4136. render_bg={}
  4137. image="graphics/icon_button_stop_disabled"
  4138. }
  4139.  
  4140.  
  4141. gamedetails-headerlabel
  4142. {
  4143. font-size="17"
  4144. font-style="normal"
  4145. font-family=basefont
  4146. font-weight=700
  4147. textcolor="Text"
  4148. font-style="uppercase;"
  4149. }
  4150.  
  4151. gamedetails-headerlabel-red
  4152. {
  4153. font-size="17"
  4154. font-style="normal"
  4155. font-family=basefont
  4156. font-weight=700
  4157. textcolor="GameDetailsRed"
  4158. font-style="uppercase;"
  4159. }
  4160.  
  4161. "html-findbar"
  4162. {
  4163. font-family=basefont
  4164. font-size=14
  4165. textcolor="text2"
  4166. font-weight=400
  4167. bgcolor="DarkClientBG"
  4168. selectedtextcolor="TextEntrySelected"
  4169. selectedbgcolor="TextSelectedBG"
  4170. shadowtextcolor="Text" // this is the cursor color
  4171. inset-left=0
  4172. inset-top=0
  4173.  
  4174. render
  4175. {
  4176. // lines around
  4177. 0="fill( x0 + 1, y0 + 2, x0 + 2, y1 + 1, ButtonBorder )"
  4178. 1="gradient_horizontal( x0 + 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder, none )"
  4179. 2="gradient_horizontal( x0 + 2, y1 + 1, x1 - 1, y1 +2, ButtonBorder, none )"
  4180. }
  4181. }
  4182.  
  4183. gamedetails-headerlabel-green
  4184. {
  4185. font-size="17"
  4186. font-style="normal"
  4187. textcolor="GameDetailsGreen"
  4188. font-family=basefont
  4189. font-weight=700
  4190. font-style="uppercase;"
  4191. }
  4192.  
  4193. gamedetails-headerlabel-blue
  4194. {
  4195. font-size="17"
  4196. font-style="normal"
  4197. textcolor="GameDetailsBlue"
  4198. font-family=basefont
  4199. font-weight=700
  4200. font-style="uppercase;"
  4201. }
  4202.  
  4203. // styles for text used in RichText controls in various places
  4204.  
  4205. console_text_error
  4206. {
  4207. textcolor="Highlight3"
  4208. font-size=14
  4209. font-family="Menlo" [$OSX]
  4210. font-size=16 [$OSX]
  4211. selectedtextcolor="TextSelected"
  4212. selectedbgcolor="Focus"
  4213. }
  4214.  
  4215. console_text
  4216. {
  4217. font-family="Lucida Console"
  4218. font-size=9
  4219. font-family="Menlo" [$OSX]
  4220. font-size=14 [$OSX]
  4221. textcolor="text"
  4222. selectedtextcolor="TextSelected"
  4223. selectedbgcolor="Focus"
  4224. }
  4225.  
  4226. friends_chat_text
  4227. {
  4228. textcolor="text"
  4229. selectedtextcolor="TextentrySelected"
  4230. SelectedBgColor="focus"
  4231. font-size=14
  4232. }
  4233.  
  4234. friends_chat_text_self
  4235. {
  4236. textcolor="ChatOwnTextColor"
  4237. selectedtextcolor="TextentrySelected"
  4238. selectedbgcolor="focus"
  4239. font-size=14
  4240. }
  4241.  
  4242. friends_chat_history
  4243. {
  4244. textcolor="ChatDialog.HistoryColor"
  4245. selectedtextcolor="TextentrySelected"
  4246. selectedbgcolor="focus"
  4247. font-size=14
  4248. }
  4249.  
  4250. friends_chat_event
  4251. {
  4252. textcolor="Text"
  4253. font-size=14
  4254. selectedtextcolor="TextentrySelected"
  4255. selectedbgcolor="focus"
  4256. }
  4257.  
  4258. friends_chat_bright_event
  4259. {
  4260. textcolor="text"
  4261. selectedtextcolor="TextentrySelected"
  4262. font-size=14
  4263. font-weight=1000
  4264. }
  4265.  
  4266. friends_chat_url
  4267. {
  4268. textcolor="text"
  4269. SelectedBgColor="focus"
  4270. font-style=underline
  4271. font-size=14
  4272. selectedtextcolor="TextentrySelected"
  4273. selectedbgcolor="focus"
  4274. }
  4275.  
  4276. friends_chat_name_ingame
  4277. {
  4278. textcolor="Friends.InGameColor"
  4279. selectedtextcolor="TextentrySelected"
  4280. selectedbgcolor="focus"
  4281. font-size=14
  4282.  
  4283. }
  4284.  
  4285. friends_chat_self
  4286. {
  4287. textcolor="Friends.OnlineColor"
  4288. selectedtextcolor="TextentrySelected"
  4289. selectedbgcolor="focus"
  4290. font-size=14
  4291. }
  4292.  
  4293. friends_chat_name
  4294. {
  4295. textcolor="Friends.OnlineColor"
  4296. selectedtextcolor="TextentrySelected"
  4297. selectedbgcolor="focus"
  4298. font-size=14
  4299. }
  4300.  
  4301. friends_chat_accountid
  4302. {
  4303. selectedtextcolor="TextentrySelected"
  4304. selectedbgcolor="focus"
  4305. textcolor="text"
  4306. font-size=14
  4307. }
  4308.  
  4309. friends_chat_securitylink
  4310. {
  4311. textcolor="text"
  4312. bgcolor="none"
  4313. font-family=basefont
  4314. font-size=14
  4315. font-weight=400
  4316. font-style=underline
  4317. selectedtextcolor="TextSelected"
  4318. selectedbgcolor="Focus"
  4319. }
  4320.  
  4321. Chat_MenuButton_withChrome
  4322. {
  4323. font-family=basefont
  4324. font-style="uppercase"
  4325. font-size="13"
  4326. font-weight=400
  4327. textcolor="text"
  4328. bgcolor="none"
  4329. render_bg
  4330. {
  4331. // background fill
  4332. 0="gradient( x0 + 1, y0 + 1, x1 - 1, y1 - 1, buttonface, propertysheetbg )"
  4333.  
  4334. // lines around
  4335. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top
  4336. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom
  4337. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left
  4338. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right
  4339.  
  4340. // single pixel fills in the corners
  4341. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorder )"
  4342. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )"
  4343. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorder )"
  4344. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )"
  4345. 9="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonFace2 )"
  4346. 10="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonFace2 )"
  4347. 11="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonFace2 )"
  4348. 12="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonFace2 )"
  4349. 13="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonFace2 )"
  4350. 14="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonFace2 )"
  4351. 15="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonFace2 )"
  4352. 16="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonFace2 )"
  4353. }
  4354. minimum-width=120
  4355. }
  4356.  
  4357. Chat_MenuButton_withChrome::disabled
  4358. {
  4359. textcolor="LabelDisabled"
  4360. render_bg
  4361. {
  4362. // background fill
  4363. 0="fill( x0 + 1, y0 + 1, x1 - 1, y1 - 1, none )"
  4364.  
  4365. // lines around
  4366. 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, buttonborderdisabled )" // top
  4367. 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom
  4368. 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left
  4369. 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right
  4370.  
  4371. // single pixel fills in the corners
  4372. 5="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ButtonBorderDisabled )"
  4373. 6="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )"
  4374. 7="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ButtonBorderDisabled )"
  4375. 8="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )"
  4376. 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )"
  4377. 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )"
  4378. 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )"
  4379. 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )"
  4380. 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )"
  4381. 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )"
  4382. 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )"
  4383. 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )"
  4384.  
  4385. }
  4386. }
  4387.  
  4388.  
  4389. // used in friends tooltip and friends list for overriding regular styles with custom colors
  4390. friends_offline
  4391. {
  4392. textcolor="Friends.OfflineColor"
  4393. }
  4394. friends_online
  4395. {
  4396. textcolor="Friends.OnlineColor"
  4397. }
  4398. friends_ingame
  4399. {
  4400. textcolor="Friends.InGameColor"
  4401. }
  4402. friends_ignored
  4403. {
  4404. textcolor="Friends.IgnoredColor"
  4405. }
  4406.  
  4407. TabPageCloseButton
  4408. {
  4409. padding-right=16
  4410. }
  4411.  
  4412. SuperNavMenu
  4413. {
  4414. padding-left=8
  4415. padding-right=8
  4416.  
  4417. render {}
  4418.  
  4419. render_bg
  4420. {
  4421. // top area and graphic
  4422. 0="image_tiled( x0, y0, x1, y0+275, graphics/dd_texture)"
  4423. 1="fill( x0, y0+0, x0+1, y1, black )"
  4424. 2="fill( x1-1, y0+0, x1, y1, black )"
  4425. 2="fill( x0, y1-1, x1, y1, black )"
  4426. }
  4427. }
  4428.  
  4429. SuperNavMenuItem
  4430. {
  4431. padding=4
  4432. font-size=14
  4433. bgcolor=none
  4434. font-style="uppercase"
  4435. }
  4436.  
  4437. SuperNavMenuItem:selected
  4438. {
  4439. textcolor="84 146 205 255"
  4440. }
  4441.  
  4442. SuperNavMenuItem:hover
  4443. {
  4444. textcolor="84 146 205 255"
  4445. }
  4446.  
  4447. "SuperNavMenuDivider"
  4448. {
  4449. textcolor="none"
  4450. render {
  4451. 0="fill( x0+6, y0, x1-6, y0+1, black )"
  4452. 1="fill( x0+6, y0+1, x1-6, y0+2, SuperDivider )"
  4453. }
  4454. }
  4455. }
  4456. }
Add Comment
Please, Sign In to add comment