Advertisement
Guest User

Transparent Steam In-Game Notifications

a guest
Sep 1st, 2012
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. gameoverlay.styles
  2. {
  3. include "resource/styles/steam.styles"
  4.  
  5. colors
  6. {
  7. mostly_black "0 0 0 240"
  8. semi_black "0 0 0 240"
  9. semi_gray "32 32 32 240"
  10. ClientBGTrans="0 0 0 80"
  11. DialogBGTrans="56 54 53 80"
  12. Notifications.PanelPosition "BottomRight" // osx has toast in the upper right, but in-overlay should not.
  13. }
  14.  
  15. styles
  16. {
  17. detailsbox
  18. {
  19. render_bg
  20. {
  21. 0="gradient( x0, y0, x1, y1, mostly_black, semi_gray)"
  22. }
  23. }
  24.  
  25. detailsboxtitle
  26. {
  27. font-size=28
  28. font-style=uppercase
  29. }
  30. Notification
  31. {
  32. font-family=basefont
  33. font-size=15
  34. font-weight=400
  35. bgcolor=none
  36. render_bg
  37. {
  38. 0="gradient( x0+1, y0, x1-1, y0+80, DialogBGTrans, ClientBGTrans )"
  39.  
  40. 0="gradient_horizontal( x0 + 1, y1 - 1, x1 -1, y1, ClientBGTrans, Highlight5 )" // bottom
  41. 1="gradient( x1 - 1, y0 + 1, x1, y1 - 1, ClientBGTrans, Highlight5 )" // right
  42. 2="fill( x0 + 1, y0, x1 - 1, y0 + 1, ClientBGTrans )" // top
  43. 3="fill( x0, y0 + 1, x0 + 1, y1 - 1, ClientBGTrans )" // left
  44.  
  45. // single pixel fills in the corners
  46. 4="fill( x0 + 1, y0 + 1, x0 + 2, y0 + 2, ClientBGTrans )"
  47. 5="fill( x1 - 2, y0 + 1, x1 - 1, y0 + 2, ClientBGTrans )"
  48. 6="fill( x0 + 1, y1 - 2, x0 + 2, y1 - 1, ClientBGTrans )"
  49. 7="fill( x1 - 2, y1 - 2, x1 - 1, y1 - 1, Highlight5a )"
  50. }
  51. render {}
  52. corner_rounding=1
  53. }
  54. }
  55.  
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement