├── LICENSE.txt ├── README.md ├── docs └── screenshots │ ├── screenshot1.png │ ├── screenshot2.png │ ├── screenshot3.png │ └── screenshot4.png ├── images ├── inbox_async_game.tga ├── inbox_async_game_invite.tga ├── inbox_comment.tga ├── inbox_gift.tga ├── inbox_invite.tga ├── inbox_item.tga ├── inbox_moderatormessage.tga ├── inbox_notification.tga ├── inbox_notification_disabled.tga ├── inbox_notification_inactive.tga ├── inbox_notification_inactive_disabled.tga ├── inbox_offlinemessage.tga └── inbox_trade.tga └── resource ├── layout └── steamrootdialog.layout └── styles ├── _fonts.styles └── steam.styles /LICENSE.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | **DISCONTINUED: I GAVE UP ON THIS SKIN AND AM BACK ON WINDOWS FOR MY GAMING.** 2 | 3 | 4 | 5 | What is this? 6 | ============= 7 | 8 | This is a simple skin for Steam that gives everything a slightly larger font size. 9 | 10 | I'm using Steam on Ubuntu with a HiDPI display and the original skin really sucks with hardcoded font sizes and no way to resize everything. Steam is not using the UI scale factor that I set via Ubuntus control panel, so I had to start this theme. 11 | 12 | I'm not quite sure how portable this is, so if you find something that breaks your set up, please open an Issue here on Github. If you want to contribute, feel free to open a pull request with your changes. 13 | 14 | Installation 15 | ------------ 16 | 17 | ```` 18 | cd ~/.steam/skins 19 | git clone https://github.com/MoriTanosuke/HiDPI-Steam-Skin.git 20 | ```` 21 | 22 | Open Steam, go to Settings -> Interface and choose the new skin `HiDPI-Steam-Skin`. 23 | 24 | The exact path to the skins might be different in your installation. You might want to check `~/.local/share/Steam/skins/`, `~/.steam/skins` or `~/.steam/steam/skins`. 25 | 26 | Screenshots 27 | ----------- 28 | 29 | Here are some screenshots provided by @mcvendrell 30 | 31 | ![Screenshot #1](docs/screenshots/screenshot1.png) 32 | ![Screenshot #2](docs/screenshots/screenshot2.png) 33 | ![Screenshot #3](docs/screenshots/screenshot3.png) 34 | ![Screenshot #4](docs/screenshots/screenshot4.png) 35 | -------------------------------------------------------------------------------- /docs/screenshots/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/docs/screenshots/screenshot1.png -------------------------------------------------------------------------------- /docs/screenshots/screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/docs/screenshots/screenshot2.png -------------------------------------------------------------------------------- /docs/screenshots/screenshot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/docs/screenshots/screenshot3.png -------------------------------------------------------------------------------- /docs/screenshots/screenshot4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/docs/screenshots/screenshot4.png -------------------------------------------------------------------------------- /images/inbox_async_game.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_async_game.tga -------------------------------------------------------------------------------- /images/inbox_async_game_invite.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_async_game_invite.tga -------------------------------------------------------------------------------- /images/inbox_comment.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_comment.tga -------------------------------------------------------------------------------- /images/inbox_gift.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_gift.tga -------------------------------------------------------------------------------- /images/inbox_invite.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_invite.tga -------------------------------------------------------------------------------- /images/inbox_item.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_item.tga -------------------------------------------------------------------------------- /images/inbox_moderatormessage.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_moderatormessage.tga -------------------------------------------------------------------------------- /images/inbox_notification.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_notification.tga -------------------------------------------------------------------------------- /images/inbox_notification_disabled.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_notification_disabled.tga -------------------------------------------------------------------------------- /images/inbox_notification_inactive.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_notification_inactive.tga -------------------------------------------------------------------------------- /images/inbox_notification_inactive_disabled.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_notification_inactive_disabled.tga -------------------------------------------------------------------------------- /images/inbox_offlinemessage.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_offlinemessage.tga -------------------------------------------------------------------------------- /images/inbox_trade.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MoriTanosuke/HiDPI-Steam-Skin/91324d26e765580f12f91a07de6c63a229e8a805/images/inbox_trade.tga -------------------------------------------------------------------------------- /resource/layout/steamrootdialog.layout: -------------------------------------------------------------------------------- 1 | "resource/layout/steamrootdialog.layout" 2 | { 3 | controls 4 | { 5 | 6 | 7 | "fullscreen" 8 | { 9 | "ControlName" "Button" 10 | style="FullscreenButton" 11 | command="fullscreen" 12 | tooltiptext="#tooltip_view_fullscreen" 13 | } 14 | 15 | "startvr" 16 | { 17 | "ControlName" "Button" 18 | style="VRButton" 19 | command="startvr" 20 | tooltiptext="#tooltip_view_vr_start" 21 | } 22 | 23 | "exitvr" 24 | { 25 | "ControlName" "Button" 26 | style="VRButtonExit" 27 | command="exitvr" 28 | tooltiptext="#tooltip_view_vr_exit" 29 | } 30 | 31 | "New" 32 | { 33 | "ControlName" "URLLabel" 34 | style="new_label" 35 | "URLText" "http://store.steampowered.com/uiupdate" 36 | zpos=-2 37 | } 38 | 39 | "UINavigatorPanel" 40 | { 41 | "ControlName" "CUINavigatorPanel" 42 | zpos=-2 43 | } 44 | 45 | "UIStatusPanel" 46 | { 47 | "ControlName" "CUIStatusPanel" 48 | zpos=-2 49 | } 50 | 51 | "MenuBar" 52 | { 53 | "ControlName" "MenuBar" 54 | style=RootMenu 55 | } 56 | 57 | SupportAlert 58 | { 59 | ControlName=Button 60 | labelText="#Steam_SupportAlert" 61 | style="support_alert" 62 | textAlignment=center 63 | command="OpenSupportAlertWindow" 64 | } 65 | 66 | ParentalLockButton 67 | { 68 | ControlName=ToggleButton 69 | style="parental_lock_button" 70 | labelText="" 71 | text="" 72 | command="ParentalLock" 73 | } 74 | 75 | InboxButton 76 | { 77 | ControlName=MenuButton 78 | style="inbox_button" 79 | textAlignment=west 80 | } 81 | 82 | add_game 83 | { 84 | "ControlName" "MenuButton" 85 | labelText="#steam_client_add_game" 86 | style="AddGameButton" 87 | } 88 | 89 | frame_title 90 | { 91 | ControlName=Label 92 | 93 | style="ClientTitle" 94 | "textAlignment" "west" 95 | "textAlignment" "center" [$OSX] 96 | } 97 | 98 | account_url 99 | { 100 | "ControlName" "MenuButton" 101 | "fieldName" "account_url" 102 | "labelText" "#Steam_Account_Name" 103 | style="AccountURLStyle" 104 | } 105 | 106 | 107 | account_balance 108 | { 109 | "ControlName" "URLLabel" 110 | "fieldName" "account_balance" 111 | "labelText" "" 112 | "URLText" "steam://url/StoreWallet/" 113 | style="AccountBalanceStyle" 114 | } 115 | 116 | account_balance_seperator 117 | { 118 | "ControlName" "Label" 119 | "fieldName" "account_balance_seperator" 120 | "labelText" "|" 121 | style="AccountBalanceSeparatorStyle" 122 | } 123 | 124 | universe_label 125 | { 126 | ControlName=Label 127 | labelText=#Steam_Universe_Internal 128 | } 129 | 130 | view_friends 131 | { 132 | ControlName=URLLabel 133 | labelText="#Steam_ViewFriends" 134 | "URLText" "steam://open/friends" 135 | style="view_friends" 136 | textAlignment=east 137 | } 138 | online_friends 139 | { 140 | ControlName=Label 141 | labelText="#Steam_OnlineFriends" 142 | style="online_friends" 143 | textAlignment=east 144 | zpos=-1 145 | } 146 | } 147 | 148 | styles 149 | { 150 | 151 | AccountBalanceStyle 152 | { 153 | textcolor="labeldisabled" 154 | bgcolor="none" 155 | font-family=basefont 156 | font-size=14 157 | font-weight=400 158 | font-style=regular 159 | } 160 | 161 | AccountBalanceStyle [$OSX] 162 | { 163 | textcolor="labeldisabled" 164 | bgcolor="none" 165 | font-family=basefont 166 | font-size=13 167 | font-weight=400 168 | font-style=regular 169 | inset="0 1 0 0" 170 | } 171 | 172 | AccountBalanceStyle:Hover 173 | { 174 | textcolor="texthover" 175 | } 176 | 177 | AccountBalanceSeparatorStyle 178 | { 179 | textcolor="ScrollGlyphDisabled" 180 | font-family=basefont 181 | font-size=13 182 | font-weight=400 183 | font-style=regular 184 | inset="0 0 0 0" 185 | } 186 | 187 | 188 | new_label 189 | { 190 | bgcolor=none 191 | render_bg={} 192 | image="graphics/new_button" 193 | inset="0 0 0 0" 194 | } 195 | 196 | new_label:hover 197 | { 198 | bgcolor=none 199 | render_bg={} 200 | image="graphics/new_button_hover" 201 | inset="0 0 0 0" 202 | } 203 | 204 | new_label_german 205 | { 206 | bgcolor=none 207 | render_bg={} 208 | image="graphics/new_button_german" 209 | inset="0 0 0 0" 210 | } 211 | 212 | new_label_german:hover 213 | { 214 | bgcolor=none 215 | render_bg={} 216 | image="graphics/new_button_hover_german" 217 | inset="0 0 0 0" 218 | } 219 | 220 | new_label_french 221 | { 222 | bgcolor=none 223 | render_bg={} 224 | image="graphics/new_button_french" 225 | inset="0 0 0 0" 226 | } 227 | 228 | new_label_french:hover 229 | { 230 | bgcolor=none 231 | render_bg={} 232 | image="graphics/new_button_hover_french" 233 | inset="0 0 0 0" 234 | } 235 | 236 | new_label_italian 237 | { 238 | bgcolor=none 239 | render_bg={} 240 | image="graphics/new_button_italian" 241 | inset="0 0 0 0" 242 | } 243 | 244 | new_label_italian:hover 245 | { 246 | bgcolor=none 247 | render_bg={} 248 | image="graphics/new_button_hover_italian" 249 | inset="0 0 0 0" 250 | } 251 | 252 | new_label_spanish 253 | { 254 | bgcolor=none 255 | render_bg={} 256 | image="graphics/new_button_spanish" 257 | inset="0 0 0 0" 258 | } 259 | 260 | new_label_spanish:hover 261 | { 262 | bgcolor=none 263 | render_bg={} 264 | image="graphics/new_button_hover_spanish" 265 | inset="0 0 0 0" 266 | } 267 | 268 | new_label_danish 269 | { 270 | bgcolor=none 271 | render_bg={} 272 | image="graphics/new_button_danish" 273 | inset="0 0 0 0" 274 | } 275 | 276 | new_label_danish:hover 277 | { 278 | bgcolor=none 279 | render_bg={} 280 | image="graphics/new_button_hover_danish" 281 | inset="0 0 0 0" 282 | } 283 | 284 | new_label_norwegian 285 | { 286 | bgcolor=none 287 | render_bg={} 288 | image="graphics/new_button_norwegian" 289 | inset="0 0 0 0" 290 | } 291 | 292 | new_label_norwegian:hover 293 | { 294 | bgcolor=none 295 | render_bg={} 296 | image="graphics/new_button_hover_norwegian" 297 | inset="0 0 0 0" 298 | } 299 | 300 | new_label_swedish 301 | { 302 | bgcolor=none 303 | render_bg={} 304 | image="graphics/new_button_swedish" 305 | inset="0 0 0 0" 306 | } 307 | 308 | new_label_swedish:hover 309 | { 310 | bgcolor=none 311 | render_bg={} 312 | image="graphics/new_button_hover_swedish" 313 | inset="0 0 0 0" 314 | } 315 | 316 | RootMenu 317 | { 318 | bgcolor="none" 319 | } 320 | 321 | AddGameButton 322 | { 323 | font-size=14 324 | font-size=13 [$OSX] 325 | font-family=basefont 326 | textcolor="labelfocus" 327 | padding-right=30 328 | padding-left=17 329 | font-style=uppercase 330 | render_bg 331 | { 332 | 0="image( x0 + 2, y0 + 7, x1, y1, graphics/icon_collapse )" 333 | } 334 | } 335 | 336 | AddGameButton:hover 337 | { 338 | textcolor="white" 339 | render_bg 340 | { 341 | 0="image( x0 + 2, y0 + 7, x1, y1, graphics/icon_collapse_over )" 342 | } 343 | } 344 | 345 | 346 | 347 | CSteamRootDialog 348 | { 349 | bgcolor=none 350 | 351 | render_bg 352 | { 353 | // top area and graphic 354 | 355 | 0="gradient( x0, y0, x1, y0+175, ClientBGTop, DialogBG )" 356 | 2="image( x0, y0, x1, y0+175, graphics/clienttexture2)" 357 | 358 | 3="fill( x0, y0+175, x0+20, y1-76, DialogBG )" 359 | 4="fill( x1-20, y0+175, x1, y1-76, DialogBG )" 360 | 361 | // fill in the bottom area 362 | 5="fill( x0, y1 - 76, x1, y1, DialogBG )" 363 | } 364 | } 365 | 366 | 367 | 368 | 369 | FrameTitle 370 | { 371 | font-family=basefont 372 | font-size=15 373 | font-weight=400 374 | textcolor="Label" 375 | bgcolor="none" 376 | render_bg 377 | { 378 | 1="gradient( x0, y0 - 4, x1, y1 + 18, TitleBar, none )" 379 | 1="gradient( x0, y0, x1, y1 + 18, TitleBar, none )" [$OSX] 380 | } 381 | } 382 | 383 | FrameTitle:framefocus 384 | { 385 | font-family=basefont 386 | font-size=15 387 | font-weight=400 388 | textcolor="Label" 389 | bgcolor="none" 390 | textcolor="Text" 391 | 392 | render_bg 393 | { 394 | 1="gradient( x0, y0 - 4, x1, y1 + 18, titlebarfocus, none )" 395 | 1="gradient( x0, y0, x1, y1 + 18, titlebarfocus, none )" [$OSX] 396 | } 397 | } 398 | 399 | ClientTitle [!$OSX] 400 | { 401 | textcolor=none 402 | } 403 | 404 | ClientTitle [$OSX] 405 | { 406 | font-family=basefont 407 | font-size=15 408 | font-weight=400 409 | textcolor="textdisabled" 410 | bgcolor="none" 411 | inset="0 12 0 0" 412 | } 413 | 414 | ClientTitle:FrameFocus [$OSX] 415 | { 416 | font-family=basefont 417 | font-size=15 418 | font-weight=400 419 | textcolor="texthover" 420 | bgcolor="none" 421 | inset="0 12 0 0" 422 | } 423 | 424 | view_friends [!$OSX] 425 | { 426 | textcolor="LabelFocus" 427 | bgcolor="none" 428 | font-family=basefont 429 | font-size=14 430 | font-weight=400 431 | font-style=regular,uppercase 432 | padding-top=6 433 | padding-left=24 434 | padding-bottom=30 435 | } 436 | 437 | view_friends [$OSX] 438 | { 439 | textcolor="LabelFocus" 440 | bgcolor="none" 441 | font-family=basefont 442 | font-size=13 443 | font-weight=400 444 | font-style=regular,uppercase 445 | padding-top=6 446 | padding-left=24 447 | padding-bottom=30 448 | 449 | } 450 | 451 | view_friends:Hover 452 | { 453 | textcolor="white" 454 | } 455 | 456 | view_friends:disabled 457 | { 458 | textcolor="TextDisabled" 459 | } 460 | 461 | online_friends [!$OSX] 462 | { 463 | textcolor="label2" 464 | bgcolor="none" 465 | font-family=basefont 466 | font-size=14 467 | font-style=regular 468 | } 469 | 470 | online_friends [$OSX] 471 | { 472 | textcolor="label2" 473 | bgcolor="none" 474 | font-family=basefont 475 | font-size=13 476 | font-style=regular 477 | } 478 | 479 | online_friends:disabled 480 | { 481 | textcolor="TextDisabled" 482 | } 483 | 484 | support_alert 485 | { 486 | font-family=basefont 487 | font-size=14 488 | font-weight=1000 489 | font-style=none 490 | textcolor=white 491 | padding-left=50 492 | padding-right=50 493 | padding-top=6 494 | inset="-8 -3 8 0" 495 | render {} 496 | render_bg { 497 | 0="fill( x0, y0 + 3, x1-1, y1, parental_lock_inactive1 )" 498 | 499 | } 500 | } 501 | 502 | support_alert:hover 503 | { 504 | font-family=basefont 505 | font-size=14 506 | font-weight=1000 507 | font-style=none 508 | textcolor=white 509 | padding-left=50 510 | padding-right=50 511 | padding-top=6 512 | inset="-8 -3 8 0" 513 | render {} 514 | render_bg { 515 | 0="fill( x0, y0 + 3, x1-1, y1, parental_lock_inactive3 )" 516 | } 517 | } 518 | 519 | support_alert_ack 520 | { 521 | font-family=basefont 522 | font-size=14 523 | font-weight=1000 524 | font-style=none 525 | textcolor=white 526 | padding-left=50 527 | padding-right=50 528 | padding-top=6 529 | inset="-8 -3 8 0" 530 | render {} 531 | render_bg { 532 | 0="fill( x0, y0 + 3, x1-1, y1, support_lock_ack1 )" 533 | 534 | } 535 | } 536 | 537 | support_alert_ack:hover 538 | { 539 | font-family=basefont 540 | font-size=14 541 | font-weight=1000 542 | font-style=none 543 | textcolor=white 544 | padding-left=50 545 | padding-right=50 546 | padding-top=6 547 | inset="-8 -3 8 0" 548 | render {} 549 | render_bg { 550 | 0="fill( x0, y0 + 3, x1-1, y1, support_lock_ack2 )" 551 | } 552 | } 553 | 554 | inbox_button [!$OSX] 555 | { 556 | font-family=basefont 557 | font-size=14 558 | font-weight=800 559 | font-style=none 560 | textcolor=white 561 | padding-left=0 562 | padding-right=0 563 | padding-top=6 564 | inset="0 -3 8 0" 565 | render {} 566 | render_bg 567 | { 568 | 13="image( x1-22, y0+6, x1 -2, y1, images/inbox_notification_inactive )" 569 | } 570 | } 571 | 572 | inbox_button [$OSX] 573 | { 574 | font-family=basefont 575 | font-size=13 576 | font-weight=800 577 | font-style=none 578 | textcolor=white 579 | padding-left=0 580 | padding-right=0 581 | padding-top=6 582 | 583 | inset="0 -2 8 0" 584 | render {} 585 | render_bg 586 | { 587 | 13="image( x1-22, y0+6, x1 -2, y1, images/inbox_notification_inactive )" 588 | } 589 | } 590 | 591 | inbox_button:hover 592 | { 593 | 594 | render {} 595 | render_bg 596 | { 597 | 598 | 1="image( x1-22, y0+6, x1 -2, y1, images/inbox_notification_inactive )" 599 | } 600 | } 601 | 602 | inbox_button:selected 603 | { 604 | 605 | render {} 606 | render_bg 607 | { 608 | // background fill 609 | 610 | 0="gradient( x0 -3, y0 + 3, x1+1, y1, almostblack, none )" 611 | 1="image( x1-22, y0+6, x1 -2, y1, images/inbox_notification_inactive )" 612 | } 613 | } 614 | 615 | inbox_button:disabled 616 | { 617 | textcolor=labeldisabled 618 | padding-left=0 619 | padding-right=0 620 | padding-top=6 621 | inset="0 -3 8 0" [!$OSX] 622 | inset="0 -2 8 0" [$OSX] 623 | render {} 624 | render_bg 625 | { 626 | // background fill 627 | 1="image( x1-22, y0+5, x1 -2, y1, images/inbox_notification_inactive_disabled )" 628 | } 629 | } 630 | 631 | inbox_button_active 632 | { 633 | padding-left=3 634 | padding-right=10 635 | padding-top=6 636 | inset="0 -3 8 0" [!$OSX] 637 | inset="0 -2 8 0" [$OSX] 638 | render {} 639 | render_bg 640 | { 641 | // background fill 642 | 643 | 0="fill( x0 + 1, y0 + 3, x1+1, y1, green6 )" 644 | 1="image( x1-22, y0+6, x1 -2, y1, images/inbox_notification )" 645 | } 646 | } 647 | 648 | inbox_button_active:hover 649 | { 650 | padding-left=3 651 | padding-right=10 652 | padding-top=6 653 | inset="0 -3 8 0" [!$OSX] 654 | inset="0 -2 8 0" [$OSX] 655 | render {} 656 | render_bg 657 | { 658 | // background fill 659 | 660 | 0="fill( x0 + 1, y0 + 3, x1+1, y1, green5 )" 661 | 1="image( x1-22, y0+6, x1 -2, y1, images/inbox_notification )" 662 | } 663 | } 664 | inbox_button_active:selected 665 | { 666 | padding-left=3 667 | padding-right=10 668 | padding-top=6 669 | inset="0 -3 8 0" [!$OSX] 670 | inset="0 -2 8 0" [$OSX] 671 | render {} 672 | render_bg 673 | { 674 | // background fill 675 | 676 | 0="gradient( x0 + 1, y0 + 3, x1+1, y1, green8, green7 )" 677 | 1="image( x1-22, y0+6, x1 -2, y1, images/inbox_notification )" 678 | } 679 | } 680 | 681 | inbox_button_active:disabled 682 | { 683 | padding-left=3 684 | padding-right=10 685 | padding-top=6 686 | inset="0 -3 8 0" [!$OSX] 687 | inset="0 -2 8 0" [$OSX] 688 | render {} 689 | render_bg 690 | { 691 | // background fill 692 | 1="image( x1-22, y0+6, x1 -2, y1, images/inbox_notification_disabled )" 693 | } 694 | } 695 | 696 | Menu 697 | { 698 | bgcolor="dialogbg" 699 | padding-right=4 700 | inset="2 2 2 2" 701 | 702 | render_bg 703 | { 704 | 0="gradient( x0 + 1, y0 + 1, x1 - 1, y0+140, MenuBG1, MenuBG2 )" 705 | 1="fill( x0 + 1 , y0 + 140, x1 - 1, y1 - 1, MenuBG2 )" 706 | 707 | // lines around 708 | 2="fill( x0 + 1, y0, x1 - 1, y0 + 1, clientbg )" // top 709 | 3="fill( x0 + 1, y1 - 1, x1 - 1, y1, clientbg )" // bottom 710 | 4="fill( x0, y0 + 1, x0 + 1, y1 - 1, clientbg )" // left 711 | 5="fill( x1 - 1, y0 + 1, x1, y1 - 1, clientbg )" // right 712 | } 713 | } 714 | parental_lock_button 715 | { 716 | padding-left=3 717 | padding-right=7 718 | padding-top=-1 719 | image="resource/notfamilyview" 720 | render {} 721 | render_bg 722 | { 723 | // background fill 724 | 0="fill( x0 + 1, y0, x1 - 1, y1, parental_lock_inactive1 )" 725 | } 726 | } 727 | 728 | parental_lock_button:hover 729 | { 730 | padding-left=3 731 | padding-right=7 732 | padding-top=-1 733 | image="resource/notfamilyview" 734 | render {} 735 | render_bg 736 | { 737 | // background fill 738 | 0="fill( x0 + 1, y0, x1 - 1, y1, parental_lock_inactive3 )" 739 | } 740 | 741 | } 742 | 743 | parental_lock_button:selected 744 | { 745 | padding-left=3 746 | padding-right=7 747 | padding-top=-1 748 | image="resource/familyview" 749 | render {} 750 | render_bg 751 | { 752 | // background fill 753 | 0="fill( x0 + 1, y0, x1 - 1, y1, green6 )" 754 | } 755 | 756 | } 757 | 758 | 759 | parental_lock_button:selected:hover 760 | { 761 | padding-left=3 762 | padding-right=7 763 | padding-top=-1 764 | image="resource/familyview" 765 | render {} 766 | render_bg 767 | { 768 | // background fill 769 | 0="fill( x0 + 1, y0, x1 - 1, y1, green5 )" 770 | } 771 | 772 | } 773 | 774 | FullscreenButton [!$OSX] 775 | { 776 | padding-left=0 777 | padding-top=0 778 | padding-right=0 779 | padding-bottom=0 780 | } 781 | 782 | FullscreenButton [$OSX] 783 | { 784 | padding-left=0 785 | padding-top=3 786 | padding-right=0 787 | padding-bottom=0 788 | } 789 | 790 | VRButton [!$OSX] 791 | { 792 | padding-left=0 793 | padding-top=6 794 | padding-right=0 795 | padding-bottom=0 796 | } 797 | 798 | VRButton [$OSX] 799 | { 800 | padding-left=0 801 | padding-top=3 802 | padding-right=0 803 | padding-bottom=0 804 | } 805 | 806 | VRButtonExit [!$OSX] 807 | { 808 | padding-left=0 809 | padding-top=6 810 | padding-right=0 811 | padding-bottom=0 812 | } 813 | 814 | VRButtonExit [$OSX] 815 | { 816 | padding-left=0 817 | padding-top=3 818 | padding-right=0 819 | padding-bottom=0 820 | } 821 | 822 | inboxmenuitem 823 | { 824 | textcolor=inbox_inactive_text 825 | } 826 | 827 | inboxmenuitem_active 828 | { 829 | textcolor=label 830 | } 831 | 832 | inboxmenuitem_active:hover 833 | { 834 | textcolor=white 835 | } 836 | AccountURLStyle 837 | { 838 | textcolor=labeldisabled 839 | padding-top=-4 840 | padding-right=-14 841 | } 842 | 843 | AccountURLStyle:hover 844 | { 845 | textcolor=texthover 846 | } 847 | 848 | AccountURLStyle:selected 849 | { 850 | textcolor=white 851 | } 852 | 853 | AccountURLStyle:disabled 854 | { 855 | textcolor="TextDisabled" 856 | } 857 | 858 | 859 | //unique styles for the client main window 860 | FrameMinimizeButton 861 | { 862 | render_bg {} 863 | image="graphics/win32_win_min" 864 | inset="0 0 4 0" 865 | image="graphics/osx_win_dis"[$OSX] 866 | } 867 | 868 | FrameMinimizeButton:hover 869 | { 870 | render_bg {} 871 | bgcolor="none" 872 | inset="0 0 4 0" 873 | image="graphics/win32_win_min_hover" 874 | image="graphics/osx_min_hov" [$OSX] 875 | } 876 | 877 | FrameMinimizeButton:framefocus [$OSX] 878 | { 879 | render_bg {} 880 | inset="0 0 4 0" 881 | image="graphics/osx_min_def" 882 | } 883 | 884 | FrameMinimizeButton:framefocus:hover [$OSX] 885 | { 886 | render_bg {} 887 | inset="0 0 4 0" 888 | image="graphics/osx_min_hov" 889 | } 890 | 891 | 892 | // need the maximize button to have different styles for OSX & win32 893 | FrameMaximizeButton 894 | { 895 | render_bg {} 896 | inset="0 0 4 0" 897 | image="graphics/win32_win_max" 898 | image="graphics/osx_win_dis" [$OSX] 899 | } 900 | 901 | FrameMaximizeButton:hover 902 | { 903 | render_bg {} 904 | inset="0 0 4 0" 905 | bgcolor="none" 906 | image="graphics/win32_win_max_hover" 907 | image="graphics/osx_max_hov" [$OSX] 908 | } 909 | 910 | FrameMaximizeButton:framefocus 911 | { 912 | render_bg {} 913 | inset="0 0 4 0" 914 | bgcolor="none" 915 | image="graphics/win32_win_max" 916 | image="graphics/osx_max_def" [$OSX] 917 | } 918 | 919 | FrameMaximizeButton:framefocus:hover 920 | { 921 | render_bg {} 922 | inset="0 0 4 0" 923 | bgcolor="none" 924 | image="graphics/win32_win_max_hover" 925 | image="graphics/osx_max_hov" [$OSX] 926 | } 927 | 928 | FrameMaximizeButton:active 929 | { 930 | render_bg {} 931 | inset="0 0 4 0" 932 | bgcolor="none" 933 | image="graphics/win32_win_max_hover" 934 | image="graphics/osx_max_down" [$OSX] 935 | } 936 | 937 | // these are for when the maximize button becomes the restore button 938 | FrameRestoreButton 939 | { 940 | render_bg {} 941 | inset="0 0 4 0" 942 | image="graphics/win32_win_restore" 943 | image="graphics/osx_win_dis" [$OSX] 944 | } 945 | 946 | FrameRestoreButton:hover 947 | { 948 | render_bg {} 949 | inset="0 0 4 0" 950 | bgcolor="none" 951 | image="graphics/win32_win_restore_hover" 952 | image="graphics/osx_max_hov" [$OSX] 953 | } 954 | 955 | FrameRestoreButton:framefocus 956 | { 957 | render_bg {} 958 | inset="0 0 4 0" 959 | bgcolor="none" 960 | image="graphics/win32_win_restore" 961 | image="graphics/osx_max_def" [$OSX] 962 | } 963 | 964 | FrameRestoreButton:framefocus:hover 965 | { 966 | render_bg {} 967 | inset="0 0 4 0" 968 | bgcolor="none" 969 | image="graphics/win32_win_restore_hover" 970 | image="graphics/osx_max_hov" [$OSX] 971 | } 972 | 973 | FrameRestoreButton:active 974 | { 975 | render_bg {} 976 | inset="0 0 4 0" 977 | bgcolor="none" 978 | image="graphics/win32_win_restore_hover" 979 | image="graphics/osx_max_down" [$OSX] 980 | } 981 | 982 | FrameCloseButton 983 | { 984 | render_bg {} 985 | inset="0 0 4 0" 986 | image="graphics/win32_win_close" 987 | image="graphics/osx_win_dis" [$OSX] 988 | } 989 | 990 | FrameCloseButton:hover 991 | { 992 | render_bg {} 993 | inset="0 0 4 0" 994 | image="graphics/win32_win_close_hover" 995 | image="graphics/osx_close_hov" [$OSX] 996 | } 997 | 998 | FrameCloseButton:framefocus [$OSX] 999 | { 1000 | render_bg {} 1001 | inset="0 0 4 0" 1002 | bgcolor="none" 1003 | image="graphics/osx_close_def" 1004 | } 1005 | 1006 | FrameCloseButton:framefocus:hover [$OSX] 1007 | { 1008 | render_bg {} 1009 | bgcolor="none" 1010 | image="graphics/osx_close_hov" 1011 | } 1012 | 1013 | FrameCloseButton:active [$OSX] 1014 | { 1015 | render_bg {} 1016 | inset="0 0 4 0" 1017 | bgcolor="none" 1018 | image="graphics/osx_close_down" 1019 | } 1020 | 1021 | FrameCloseButton:disabled 1022 | { 1023 | render_bg {} 1024 | inset="0 0 4 0" 1025 | bgcolor="none" 1026 | image="graphics/win32_win_close_disabled" 1027 | image="graphics/osx_win_dis" [$OSX] 1028 | } 1029 | 1030 | } 1031 | 1032 | colors 1033 | { 1034 | support_flag_red "169 72 71 255" 1035 | 1036 | support_hover_red1 "193 94 93 255" 1037 | support_hover_red2 "156 64 63 255" 1038 | 1039 | inbox_active_text "text" 1040 | inbox_inactive_text "labeldisabled" 1041 | 1042 | backdrop "20 20 20 255" 1043 | 1044 | disabledborder "63 63 63 255" 1045 | } 1046 | 1047 | layout 1048 | { 1049 | place [!$OSX] { control="New" width=0 height=0 y=0 width=max align=right margin-right=56} 1050 | place [$OSX] { control="New" width=0 height=0 y=0 width=max align=right margin-right=-20} 1051 | 1052 | place { control="UINavigatorPanel" width=max height=max margin-right=1 margin-left=1 margin-bottom=40 margin-top=22 } 1053 | 1054 | place { control="UIStatusPanel" width=max height=40 align=bottom margin-bottom=18 } 1055 | 1056 | place [!$OSX] { control="MenuBar" align=top margin-top=5 margin-left=2 } 1057 | 1058 | place [!$OSX] { control="account_balance, account_balance_seperator, account_URL, universe_label, startvr, exitvr, fullscreen" align=right margin-top=12 margin-right=88 spacing=7 } 1059 | place [$OSX] { control="account_balance, account_balance_seperator, account_URL, universe_label, startvr, exitvr, fullscreen" align=right margin-top=12 margin-right=15 spacing=7 } 1060 | 1061 | place [!$OSX] { control="fullscreen" align=right y=7 height=20 spacing=0 margin-right=78 margin-top=1 width=30 } 1062 | place [$OSX] { control="fullscreen" align=right y=7 height=20 spacing=0 margin-right=8 margin-top=1 width=30 } 1063 | 1064 | place [!$OSX] { control="startvr" end-right="fullscreen" align=right margin-right=6 margin-top=1 } 1065 | place [$OSX] { control="startvr" end-right="fullscreen" align=right margin-right=6 margin-top=1 } 1066 | 1067 | place [!$OSX] { control="exitvr" end-right="fullscreen" align=right margin-right=6 margin-top=1 } 1068 | place [$OSX] { control="exitvr" end-right="fullscreen" align=right margin-right=6 margin-top=1 } 1069 | 1070 | place { control="InboxButton" align=right end-right="account_balance" margin-top=4 margin-right=16 height=26 } 1071 | place { control="ParentalLockButton" align=right end-right="InboxButton" margin-top=7 margin-right=10 height=23 } 1072 | place { control="SupportAlert" align=right end-right="ParentalLockButton" margin-top=4 margin-right=10 height=26 } 1073 | 1074 | place [!$OSX] { control="frame_minimize,frame_maximize,frame_close" align=right margin-top=10 margin-right=9 spacing=-5 } 1075 | place [$OSX] { control="frame_close,frame_minimize,frame_maximize" align=left margin-top=10 margin-left=4 spacing=-7 } 1076 | 1077 | region { name=bottom align=bottom width=max height=75 } 1078 | 1079 | place { control="add_game" x=14 y=16 region=bottom height=30} 1080 | 1081 | place { control="FriendPanel" height=48 width=48 region=bottom align=right margin-right=2 margin-top=16 } 1082 | place { control="view_friends" height=62 y=12 region=bottom align=right dir=right margin-right=56 } 1083 | place { control="online_friends" height=12 y=38 region=bottom align=right dir=right margin-right=56 } 1084 | 1085 | // the title bar is missing, so increase the size of the grip 1086 | place { control="frame_captiongrip" margin=2 width=max height=104 } 1087 | } 1088 | } 1089 | -------------------------------------------------------------------------------- /resource/styles/_fonts.styles: -------------------------------------------------------------------------------- 1 | "" { 2 | styles { 3 | // --- buttons ------------------------------------ 4 | Button 5 | { 6 | font-family=basefont 7 | font-size=20 8 | font-weight=400 9 | font-style=uppercase 10 | textcolor="Text" 11 | } 12 | CheckButton 13 | { 14 | font-family=basefont 15 | font-size=20 16 | font-weight=400 17 | textcolor="Label" 18 | } 19 | IndeterminateCheckButton 20 | { 21 | font-family=basefont 22 | font-size=20 23 | font-weight=400 24 | textcolor="Label" 25 | } 26 | ComboBox 27 | { 28 | textcolor="Text" 29 | font-family=basefont 30 | font-size=20 31 | selectedtextcolor="TextEntrySelected" 32 | selectedbgcolor="TextSelectedBG" 33 | } 34 | Label 35 | { 36 | textcolor="Label" 37 | selectedtextcolor="Text" 38 | font-family=basefont 39 | font-size=20 40 | font-weight=400 41 | } 42 | ListPanel 43 | { 44 | font-family=basefont 45 | font-size=20 46 | font-weight=400 47 | textcolor="text2" 48 | selectedtextcolor="TextSelected" 49 | selectedbgcolor="Focus" 50 | shadowtextcolor="TextDisabled" // the color of disabled line items 51 | } 52 | ListPanelCheckBox 53 | { 54 | font-family=basefont 55 | font-size=20 56 | font-weight=400 57 | textcolor="Label" 58 | } 59 | 60 | "ListPanelColumnheader ListPanelCheckBox" 61 | { 62 | font-family=basefont 63 | font-size=20 64 | font-weight=400 65 | textcolor="Label" 66 | } 67 | 68 | "ListPanelColumnheader ListPanelCheckBox:focus" 69 | { 70 | font-family=basefont 71 | font-size=20 72 | font-weight=400 73 | textcolor="TextHover" 74 | } 75 | 76 | ListPanelColumnHeader:hover 77 | { 78 | textcolor="Texthover" 79 | } 80 | 81 | "Csteamrootdialog ListPanelColumnheader" 82 | { 83 | font-family=basefont 84 | font-size=20 85 | font-size=18 [$OSX] 86 | font-weight=400 87 | textcolor="label" 88 | font-style="uppercase" 89 | } 90 | 91 | 92 | "Csteamrootdialog ListPanelColumnHeader:hover" 93 | { 94 | textcolor="TextHover" 95 | } 96 | 97 | ListPanelColumnheader 98 | { 99 | font-family=basefont 100 | font-size=14 101 | font-size=13 [$OSX] 102 | font-weight=400 103 | textcolor="label" 104 | font-style="uppercase" 105 | } 106 | 107 | "Page ListPanel" 108 | { 109 | font-family=basefont 110 | font-size=20 111 | font-weight=400 112 | textcolor="Text2" 113 | selectedtextcolor="TextSelected" 114 | selectedbgcolor="Focus" 115 | } 116 | "CGamesListPanel" 117 | { 118 | font-family=basefont 119 | font-size=26 120 | font-weight=400 121 | textcolor="Text" 122 | selectedtextcolor="textselected" 123 | selectedbgcolor="Focus" 124 | shadowtextcolor="TextDisabled" 125 | } 126 | "GameColumn_BigText" 127 | { 128 | font-family=basefont 129 | font-size=24 130 | font-weight=700 131 | textcolor="text" 132 | } 133 | 134 | // --- frame ------------------------------------ 135 | FrameTitle 136 | { 137 | font-family=basefont 138 | font-size=20 139 | font-weight=400 140 | textcolor="buttonborderfocus" 141 | bgcolor="none" 142 | } 143 | FrameTitle:framefocus 144 | { 145 | font-family=basefont 146 | font-size=20 147 | font-weight=400 148 | bgcolor="none" 149 | textcolor="texthover" 150 | textcolor="texthover" [$OSX] 151 | } 152 | 153 | // --- friend list ------------------------------------ 154 | CFriendsListSectionAffordance 155 | { 156 | font-size=20 157 | font-weight=400 158 | textcolor="Label" 159 | } 160 | CFriendsListSectionHeader 161 | { 162 | font-family=basefont 163 | font-size=14 164 | font-size=13 [$OSX] 165 | font-weight=400 166 | textcolor="texthover" 167 | } 168 | CFriendPanel 169 | { 170 | font-family=basefont 171 | font-size=20 172 | font-size=18 [$OSX] 173 | font-weight=400 174 | textcolor="label" 175 | } 176 | "CFriendsDialog SectionedListPanelInterior" 177 | { 178 | font-family=basefont 179 | font-size=20 180 | font-weight=400 181 | textcolor="Text" 182 | selectedtextcolor="TextSelected" 183 | selectedbgcolor="Focus" 184 | shadowtextcolor="TextDisabled" // the color of disabled line items 185 | } 186 | 187 | // --- newsitem -------------------------------------- 188 | gamedetails-headerlabel-green 189 | { 190 | font-size="24" 191 | font-style="normal" 192 | textcolor="GameDetailsGreen" 193 | font-family=basefont 194 | font-weight=700 195 | font-style="uppercase;" 196 | } 197 | 198 | gamedetails-headerlabel-blue 199 | { 200 | font-size="24" 201 | font-style="normal" 202 | textcolor="GameDetailsBlue" 203 | font-family=basefont 204 | font-weight=700 205 | font-style="uppercase;" 206 | } 207 | gamedetails-headerlabel 208 | { 209 | font-size="24" 210 | font-style="normal" 211 | font-family=basefont 212 | font-weight=700 213 | textcolor="Text" 214 | font-style="uppercase;" 215 | } 216 | 217 | gamedetails-headerlabel-red 218 | { 219 | font-size="24" 220 | font-style="normal" 221 | font-family=basefont 222 | font-weight=700 223 | textcolor="GameDetailsRed" 224 | font-style="uppercase;" 225 | } 226 | 227 | newsitem_body 228 | { 229 | font-size=20 230 | } 231 | 232 | // --- rightcolumnlink ------------------------------------ 233 | 234 | rightcolumnlink 235 | { 236 | font-size=20 237 | } 238 | 239 | 240 | // --- menu ------------------------------------ 241 | Menu 242 | { 243 | bgcolor="MenuBG2" 244 | } 245 | 246 | MenuBar 247 | { 248 | } 249 | 250 | "Page MenuBar" 251 | { 252 | } 253 | 254 | "MenuBar MenuButton" 255 | { 256 | textcolor="buttonborder" 257 | } 258 | 259 | "MenuBar MenuButton:frameFocus" 260 | { 261 | textcolor="labeldisabled" 262 | } 263 | 264 | "MenuBar MenuButton:frameFocus:hover" 265 | { 266 | textcolor="texthover" 267 | } 268 | 269 | "MenuBar MenuButton:frameFocus:selected" 270 | { 271 | textcolor="texthover" 272 | } 273 | 274 | MenuButton 275 | { 276 | font-family=basefont 277 | font-size=20 278 | font-weight=400 279 | textcolor="scrollglyph" 280 | } 281 | 282 | MenuButton:hover 283 | { 284 | textcolor="white" 285 | } 286 | 287 | MenuButton:selected 288 | { 289 | textcolor="white" 290 | } 291 | 292 | MenuItem 293 | { 294 | font-family=basefont 295 | textcolor="label" 296 | font-size=20 297 | font-weight=400 298 | } 299 | 300 | MenuItem:selected 301 | { 302 | textcolor="TextHover" 303 | } 304 | 305 | MenuItem:hover 306 | { 307 | textcolor="white" 308 | } 309 | 310 | MenuItem:disabled 311 | { 312 | textcolor="labeldisabled" 313 | shadowtextcolor=none 314 | } 315 | 316 | MenuItem:disabled:hover 317 | { 318 | textcolor="labeldisabled" 319 | shadowtextcolor=none 320 | } 321 | 322 | MenuSeparator 323 | { 324 | textcolor="divider" 325 | } 326 | 327 | } 328 | } 329 | 330 | -------------------------------------------------------------------------------- /resource/styles/steam.styles: -------------------------------------------------------------------------------- 1 | steam.styles 2 | { 3 | include "resource/styles/_fonts.styles" 4 | 5 | colors 6 | { 7 | // colors section can include colors in "R G B A" form, or references to already defined colors; 8 | // it can also include just general settings controls can pull from for extra customization 9 | 10 | black="0 0 0 255" 11 | dark="35 35 35 255" 12 | almostBlack="22 22 22 255" 13 | almostBlackTrans="22 22 22 204" 14 | white="255 255 255 255" 15 | grey="153 153 153 255" 16 | none="0 0 0 0" 17 | yellow="255 255 0 255" 18 | offwhite="164 164 164 255" 19 | dullgreen="216 222 211 255" 20 | maize="203 191 87 255" 21 | red="255 51 51 255" 22 | darkblue="39 100 130 255" 23 | blue="54 143 179 255" 24 | darkred="128 0 0 255" 25 | darkpurple="64 0 64 255" 26 | 27 | dark_blue "2 15 23 255" 28 | med_blue "13 52 82 255" 29 | bg_blue "10 36 56 255" 30 | 31 | // control colors 32 | bordercolor="102 102 102 255" 33 | darkcorner="73 73 73 255" 34 | buttontext=Text 35 | buttontextactive=Text 36 | 37 | // cool we can define font-families here as well 38 | basefont="Arial" 39 | basefont="Helvetica" [$OSX] 40 | 41 | // new control colors 42 | ButtonFace="102 102 102 200" 43 | ButtonFace2="80 80 80 255" // for use in main client list panel column header, some button states 44 | ButtonFace3="92 92 92 255" // button cornering pixels 45 | ButtonFaceDisabled="102 102 102 15" 46 | ButtonFaceHover="99 99 99 240" /// hover! 47 | ButtonFaceActive="102 102 102 240" // not sure what this state is... 48 | ButtonFaceFocus="105 105 105 240" // keyboard focus 49 | ButtonFaceActiveFocus="105 105 105 255" // this is the default choice 50 | BlueBorder="33 33 33 255" 51 | ButtonBorder="89 89 89 255" 52 | ButtonBorderSubtle="79 79 79 255" 53 | ButtonBorderPage="124 124 124 255" 54 | ButtonBorderDisabled="75 75 75 255" 55 | ButtonBorderDisabled2="65 65 65 255" //cornering pixels 56 | ButtonBorderActive="125 125 125 255" 57 | ButtonBorderFocus="137 137 137 255" 58 | ButtonBorderFocusSubtle="122 122 122 255" 59 | 60 | Text="207 207 207 255" 61 | Text2="180 180 180 255" 62 | TextDisabled="99 99 99 255" 63 | TextHover="226 226 226 255" 64 | TextSelected="239 239 239 255" 65 | TextentrySelected="237 237 237 235" // color of any selected text 66 | TextSelectedBG="37 89 148 255" // background color of any selected text 67 | TextGlowHover="124 124 124 255" 68 | TextGlowSelected="169 169 169 255" 69 | TextGlowHoverSm="123 123 123 255" 70 | TextGlowSelectedSm="142 142 142 255" 71 | 72 | NavLabel="153 153 153 255" 73 | Label="168 168 168 255" 74 | Label2="111 111 111 255" 75 | LabelDisabled="115 115 115 255" 76 | LabelFocus="196 196 196 255" 77 | 78 | SuperNav="white" 79 | SuperNavHover="white" 80 | 81 | ScrollGlyph="198 198 198 255" // the color of the scroll bar arrows 82 | ScrollGlyphDisabled="74 74 74 255" 83 | ScrollGlyphFocus="242 242 242 255" 84 | 85 | ScrollBG="54 54 54 255" // the color of the scroll bar gutter 86 | 87 | HeaderClient="53 53 53 255" // the color of the List box header in the main client window 88 | HeaderDialog="92 92 92 255" // the color of the list box header in other windows 89 | 90 | TitleBar="26 26 26 80" 91 | TitleBarFocus="14 31 56 80" 92 | MenuBG="68 68 68 255" 93 | 94 | Focus="25 55 84 255" // background color of any selected menu or list item 95 | Focus2="21 70 107 255" // background color of view buttons and anything else in focus that needs more 'punch' 96 | Focus3="82 82 82 255" // background color of highlighted friends 97 | Focus4="67 158 191 255" // bright cyan used in progress bars 98 | 99 | FocusGrid="85 117 161 240" // background color of any grid item 100 | Highlight="16 53 82 120" // same as focus 101 | 102 | Highlight1="92 193 229 255" // installing hover color 103 | Highlight2="76 159 191 255" // installing color 104 | Highlight3="173 69 71 255" // red for errors, blocked, etc. 105 | Highlight5="24 53 82 255" // blue 106 | Highlight5a="30 66 102 255" // lighter version of highlight5 107 | Highlight5b="17 42 86 255" // as highlight5 but darker, for non-focused window borders 108 | 109 | BackgroundStartSubtle="20 20 20 155" 110 | BackgroundStartSubtle="31 31 31 45" [$OSX] 111 | BackgroundStartSubtlest="22 22 22 100" 112 | BackgroundStart="22 22 22 180" 113 | BackgroundStartOpaque="35 35 35 255" 114 | 115 | ClientBG="30 30 30 255" 116 | ClientBGTop="25 32 46 255" 117 | ClientGrouper="41 42 46 255" 118 | DialogBG="38 38 38 255" 119 | DialogBGFade1="56 56 56 255" 120 | DialogBGFade2="56 56 56 0" 121 | 122 | DarkClientBG="35 35 35 255" 123 | DarkDialogBG="38 38 38 255" 124 | DarkClientBGTransparent="35 35 35 19" 125 | DarkDialogBGTransparent="55 55 55 170" 126 | 127 | GameDetailsBlueTransparent="71 148 179 60" 128 | GameDetailsGreenTransparent="71 148 179 160" 129 | GameDetailsRedTransparent="71 148 179 160" 130 | 131 | GameDetailsBlue="71 148 179 255" 132 | GameDetailsGreen="71 148 179 255" 133 | GameDetailsRed="71 148 179 255" 134 | 135 | PropertySheetBG="58 58 58 255" 136 | InteriorColor="52 52 52 255" 137 | 138 | DialogBorder="117 117 117 255" // border color around any dialog 139 | 140 | FillBG1="62 62 62 255" //gradient colors 141 | FillBG2="69 69 69 255" 142 | 143 | MenuBG1="75 75 75 255" //gradient colors 144 | MenuBG2="54 54 54 255" 145 | 146 | Divider="86 86 86 255" 147 | SuperDivider="71 71 71 255" 148 | DarkImageBorder="48 48 48 255" 149 | DarkImageOverlay="0 0 0 80" 150 | 151 | inbox_active "158 194 29 255" 152 | inbox_active2 "155 199 9 255" 153 | inbox_active4 "122 145 71 255" 154 | inbox_active5 "85 102 47 255" 155 | 156 | 157 | inbox_inactive "38 38 37 255" 158 | inbox_inactive2 "142 194 12 255" 159 | inbox_inactive4 "122 145 71 255" 160 | inbox_inactive5 "74 102 29" 161 | 162 | parental_lock_active1 "138 175 6 255" 163 | parental_lock_active2 "49 49 49 255" 164 | parental_lock_active4 "122 145 71 255" 165 | parental_lock_active5 "85 102 47 255" 166 | green5 "126 166 75 255" 167 | green6 "92 126 16 255" 168 | green7 "62 90 22 255" 169 | green8 "38 48 2 255" 170 | 171 | 172 | launch0 "119 215 250 255" 173 | launch1 "83 172 204 255" 174 | launch2 "54 125 153 255" 175 | 176 | 177 | parental_lock_inactive1 "154 49 48 255" 178 | parental_lock_inactive2 "189 79 79 255" 179 | parental_lock_inactive3 "215 90 90 255" 180 | parental_lock_inactive4 "146 72 71 255" 181 | parental_lock_inactive5 "103 48 47 255" 182 | red6="38 1 1 255" 183 | 184 | // colors pulled from steamscheme.res 185 | "ClayBG" "70 70 70 255" 186 | "ClayButtonBG" "85 85 85 255" 187 | "ClayEnabled" "88 88 88 255" 188 | "ClayKeyFocus" "92 92 92 255" 189 | "ClayMouseDown" "85 85 85 255" 190 | "ClayDisabledText" "134 134 134 255" 191 | "ClayLightGreen" "173 181 168 255" // frame button (close X) etc 192 | "ClayDimLightGreen" "166 172 162 255" // frame button and title without focus etc 193 | "LightClayBG" "104 106 101 255" // property sheet interior, active tab 194 | "LightClayButtonBG" "125 128 120 255" // buttons on property sheet interior, active tab 195 | "DarkClayBG" "47 49 45 255" // shadow 196 | "p_ClayMouseDown" "94 94 94 255" 197 | "ClaySheetBottom" "92 90 87 255" 198 | "MaizeBG" "145 134 60 255" // background color of any selected text or menu item 199 | "GreenBG" "76 88 68 255" 200 | "LightGreenBG" "90 106 80 255" // darker background color 201 | "DarkGreenBG" "62 70 55 255" // background color of text edit panes (chat, text Entries, etc.) 202 | "LightGrayBG" "121 126 121 255" 203 | "GrayBG" "73 73 73 255" 204 | "GrayBG2" "37 37 37 255" 205 | "TempGradientTop" "52 52 52 255" 206 | 207 | 208 | DragDrop.DragFrame "255 255 255 192" 209 | DragDrop.DropFrame "150 255 150 255" 210 | 211 | Frame.ClientInsetX 10 212 | Frame.ClientInsetY 35 213 | Frame.FocusTransitionEffectTime "0" // time it takes for a window to fade in/out on focus/out of focus 214 | Frame.TransitionEffectTime "0.25" // time it takes for a window to fade in/out on open/close 215 | Frame.OnDragAlphaDelayTime "0.15" // time it takes after clicking the title bar of a window before the alpha multiplier kicks in 216 | Frame.OnDragAlphaMultiplier "1.0" // multiplier applied to alpha while dragging a frame 217 | Frame.AutoSnapRange "6" 218 | Frame.UsesAlphaBlending 1 219 | FrameSystemButton.Icon "" 220 | FrameSystemButton.DisabledIcon "" 221 | 222 | Notifications.PanelPosition "BottomRight" // Can be "BottomRight", "BottomLeft", "TopRight", "TopLeft" 223 | Notifications.PanelPosition "TopRight" [$OSX] // the dock is on the bottom for OSX, so instead pop top right like other apps do 224 | Notifications.SlideDirection "Vertical" // Can be "Vertical", "Horizontal", "None" and controls slide effect 225 | Notifications.FadeInTime "0.45" // Controls the time it takes to slide/fade into view 226 | Notifications.FadeOutTime "0.45" // Controls the time it takes to slide/fade out of view 227 | Notifications.DisplayTime "6.0" // Controls the length of time at steady state after fade in and before fade out 228 | Notifications.StackSize "3" // Controls how many panels we will stack before background queuing 229 | 230 | ListPanel.TextColor Text 231 | ListPanel.BgColor none 232 | ListPanel.SelectedTextColor TextentrySelected 233 | ListPanel.SelectedBgColor TextSelectedBG 234 | ListPanel.SelectedOutOfFocusBgColor ClientBG 235 | ListPanel.DisabledTextColor TextDisabled 236 | ListPanel.DisabledSelectedTextColor ClientBG 237 | ListPanel.EmptyListInfoTextColor Label 238 | ListPanel.PerPixelScrolling 1 239 | ListPanel.PostSectionLeading 10 240 | 241 | // Default tooltip delay pops fast, but lets the mouse pass through without popping 242 | // Anchor=Cursor makes it stick to initial pop location like windows implementation. 243 | // Anchor can also be 'Float' to move with the mouse, or 'Parent' to stick just outside 244 | // the parent panel (useful for icon sized items) 245 | Tooltip.Delay=75 246 | Tooltip.Anchor=Cursor 247 | 248 | 249 | WizardPanel.HeaderBGColor HeaderDialog 250 | 251 | Menu.TextInset "6" 252 | 253 | PropertySheet.TransitionEffectTime "0" // time to change from one tab to another 254 | PropertySheet.TabGap 1 255 | PropertySheet.FlashTabColor "76 159 191 255" 256 | 257 | RichText.InsetX 8 258 | RichText.InsetY 7 259 | 260 | ScrollBar.Wide 19 261 | 262 | SectionedListPanel.CollapserWidth 16 263 | 264 | HTML.SearchInsetY 5 265 | HTML.SearchInsetX 10 266 | HTML.SearchWide 348 267 | HTML.SearchTall 38 268 | HTML.SearchAnimationTime 0.25 269 | 270 | HTML.IMEInsetY 5 271 | HTML.IMEInsetX 10 272 | HTML.IMEWide 348 273 | HTML.IMETall 38 274 | HTML.IMEAnimationTime 0.25 275 | 276 | html.secureurl "126 166 75 255" 277 | html.insecureurl "173 69 72 255" 278 | 279 | MessageBox.ButtonHeight 24 280 | 281 | TextEntry.IMEBGColor "225 225 225 255" 282 | TextEntry.IMEFGColor "black" 283 | 284 | 285 | // Friends List colors 286 | Friends.InGameColor "144 186 60 255" 287 | Friends.InGameHoverColor "182 235 76 255" 288 | Friends.OnlineColor "84 165 196 255" 289 | Friends.OnlineHoverColor "104 203 242 255" 290 | Friends.OfflineColor "127 127 127 255" 291 | Friends.OfflineHoverColor "185 185 185 255" 292 | Friends.PanelDefault "Label" 293 | Friends.PanelOver "Text" 294 | Friends.PanelSelected "ClientBG" 295 | Friends.SectionHeader "Label" 296 | Friends.NoAvatarOver "Text" 297 | Friends.IgnoredColor "White" 298 | Friends.ListHeaderFadeOut "54 54 54 0" 299 | Friends.GoldenColor "255 255 99 255" 300 | // Friends.GoldenColor "228 202 99 255" 301 | Friends.GoldenHoverColor "255 255 180 255" 302 | // Friends.GoldenHoverColor "248 218 109 255" 303 | 304 | 305 | ChatDialog.URLColor "text" 306 | ChatOwnTextColor "Label" 307 | ChatDialog.HistoryColor "124 124 124 255" 308 | ChatGradientTop "39 39 39 255" 309 | ChatGradientBottom "104 104 104 255" 310 | 311 | AchievementPopup.TitleColor "Text" 312 | AchievementPopup.DescriptionColor "180 180 180 255" 313 | 314 | GiftOnlyInfo.ImagePanelColor "GrayBG" 315 | 316 | dd_texture_bottom "16 16 16 255" 317 | } 318 | 319 | styles 320 | { 321 | downarrow 322 | { 323 | image="graphics/icon_down_default" 324 | } 325 | 326 | downarrow:hover 327 | { 328 | image="graphics/icon_down_hover" 329 | 330 | render_bg { 331 | 332 | //background 333 | 0="fill( x0 + 5, y0 + 4, x1 - 2, y1 - 4, buttonfaceactive )" 334 | //lines around 335 | 1="fill(x0 + 4, y0 + 5, x0 + 5, y1 - 5, buttonfaceactive )" //left 336 | 2="fill(x1 - 2, y0 + 5, x1 - 1, y1 - 5, buttonfaceactive )" //right 337 | } 338 | } 339 | 340 | uparrow 341 | { 342 | image="graphics/icon_up_default" 343 | } 344 | 345 | rightarrow 346 | { 347 | image="graphics/icon_right_default" 348 | } 349 | 350 | rightarrow:hover 351 | { 352 | image="graphics/icon_right_hover" 353 | } 354 | 355 | Button 356 | { 357 | textcolor="Text" 358 | bgcolor=none 359 | render_bg 360 | { 361 | // background fill 362 | 0="gradient( x0, y0, x1, y1, buttonface2, propertysheetbg )" 363 | } 364 | } 365 | 366 | "Page Button" 367 | { 368 | render_bg 369 | { 370 | // background fill 371 | 0="gradient( x0, y0, x1, y1, buttonface2, propertysheetbg )" 372 | } 373 | } 374 | 375 | Button:hover 376 | { 377 | textcolor="TextHover" 378 | render_bg 379 | { 380 | // background fill 381 | 0="gradient( x0, y0, x1, y1, buttonfaceactive, propertysheetbg )" 382 | } 383 | } 384 | 385 | "Page Button:hover" 386 | { 387 | textcolor="TextHover" 388 | render_bg 389 | { 390 | // background fill 391 | 0="gradient( x0, y0, x1, y1, buttonfaceactive, propertysheetbg )" 392 | } 393 | } 394 | 395 | Button:focus 396 | { 397 | textcolor="TextHover" 398 | render_bg 399 | { 400 | 0="gradient( x0, y0, x1, y1, buttonfacefocus, propertysheetbg )" 401 | } 402 | } 403 | 404 | "Page Button:focus" 405 | { 406 | textcolor="TextHover" 407 | render_bg 408 | { 409 | 0="gradient( x0, y0, x1, y1, buttonfacefocus, propertysheetbg )" 410 | } 411 | } 412 | 413 | Button:active // this is the left-mouse-currently-pressed state 414 | { 415 | textcolor="TextHover" 416 | render_bg 417 | { 418 | // background fill 419 | 0="gradient( x0, y0, x1, y1, DialogBG, propertysheetbg )" 420 | } 421 | } 422 | 423 | "Page Button:active" 424 | { 425 | textcolor="TextHover" 426 | render_bg 427 | { 428 | // background fill 429 | 0="gradient( x0, y0, x1, y1, DialogBG, propertysheetbg )" 430 | } 431 | } 432 | 433 | Button:selected 434 | { 435 | textcolor="TextHover" 436 | render_bg 437 | { 438 | // background fill 439 | 0="gradient( x0, y0, x1, y1, buttonfaceactivefocus, propertysheetbg )" 440 | } 441 | } 442 | 443 | "Page Button:selected" 444 | { 445 | textcolor="TextHover" 446 | render_bg 447 | { 448 | // background fill 449 | 0="gradient( x0, y0, x1, y1, buttonfaceactivefocus, propertysheetbg )" 450 | } 451 | } 452 | 453 | Button:disabled 454 | { 455 | textcolor="LabelDisabled" 456 | render_bg 457 | { 458 | // background fill 459 | 0="gradient( x0, y0, x1, y1, buttonfacedisabled, buttonfacedisabled )" 460 | } 461 | } 462 | 463 | "Page Button:disabled" 464 | { 465 | textcolor="LabelDisabled" 466 | render_bg 467 | { 468 | // background fill 469 | 0="gradient( x0, y0, x1, y1, buttonfacedisabled, buttonfacedisabled )" 470 | } 471 | } 472 | 473 | CFriendsListSectionAffordance 474 | { 475 | inset="0 0 0 0" 476 | } 477 | 478 | CFriendsListSectionHeader 479 | { 480 | bgcolor=none 481 | inset="0 2 0 0" 482 | render_bg 483 | { 484 | 0="gradient_horizontal( x0-21, y0+1, x0+230, y1+1, propertysheetbg, Friends.ListHeaderFadeOut )" 485 | } 486 | } 487 | 488 | CFriendPanel 489 | { 490 | inset="0 2 0 0" 491 | bgcolor=none 492 | } 493 | 494 | CheckButton 495 | { 496 | image="graphics/chkUnselStd" 497 | } 498 | 499 | CheckButton:selected 500 | { 501 | image="graphics/chkSelStd" 502 | } 503 | 504 | CheckButton:focus 505 | { 506 | textcolor="Text" 507 | bgcolor=none 508 | image="graphics/chkUnselFocus" 509 | } 510 | 511 | CheckButton:selected:focus 512 | { 513 | textcolor="Texthover" 514 | render_bg {} 515 | bgcolor=none 516 | image="graphics/chkSelFocus" 517 | } 518 | 519 | CheckButton:disabled 520 | { 521 | textcolor="TextDisabled" 522 | bgcolor=none 523 | image="graphics/chkUnselDis" 524 | } 525 | 526 | CheckButton:selected:disabled 527 | { 528 | textcolor="TextDisabled" 529 | bgcolor=none 530 | //!! bug - this needs to look disabled 531 | image="graphics/chkSelDis" 532 | } 533 | 534 | IndeterminateCheckButton 535 | { 536 | bgcolor=none 537 | image="graphics/chkIndeterminate" 538 | } 539 | 540 | CheckButtonList 541 | { 542 | inset="1 1 1 1" 543 | textcolor="text2" 544 | bgcolor=none 545 | render { } 546 | render_bg { 547 | // background gradient 548 | 1="gradient( x0, y0, x1, y1, dialogbg, almostblack )" 549 | } 550 | } 551 | 552 | CheckButtonList:scrollbar 553 | { 554 | inset="1 1 1 1" 555 | textcolor="text2" 556 | bgcolor=none 557 | render { } 558 | render_bg { 559 | // background gradient 560 | 1="gradient( x0, y0, x1, y1, dialogbg, almostblack )" 561 | } 562 | } 563 | 564 | "Page CheckButtonList" 565 | { 566 | inset="1 1 1 1" 567 | textcolor="text2" 568 | bgcolor=none 569 | render { } 570 | render_bg 571 | { 572 | // background fill 573 | 1="gradient( x0, y0, x1, y1, dialogbg, almostblack )" 574 | } 575 | } 576 | 577 | "Page CheckButtonList:scrollbar" 578 | { 579 | inset="1 1 1 1" 580 | textcolor="text2" 581 | bgcolor=none 582 | render { } 583 | render_bg 584 | { 585 | // background fill 586 | 1="gradient( x0+1, y0, x1-1, y1-2, dialogbg, almostblack )" 587 | } 588 | } 589 | 590 | "CheckbuttonList Checkbutton" 591 | {textcolor="label"} 592 | 593 | "CheckbuttonList Checkbutton:focus" 594 | {textcolor="texthover"} 595 | 596 | ComboBox 597 | { 598 | inset="3 0 0 0" 599 | render_bg 600 | { 601 | // background fill 602 | 0="gradient( x0, y0, x1, y1, buttonface2, propertysheetbg )" 603 | } 604 | } 605 | 606 | ComboBox:hover 607 | { 608 | selectedbgcolor="none" 609 | selectedtextcolor="Text" 610 | render_bg 611 | { 612 | // background fill 613 | 0="gradient( x0, y0, x1, y1, buttonfaceactive, propertysheetbg )" 614 | } 615 | } 616 | 617 | ComboBox:focus 618 | { 619 | selectedbgcolor="none" 620 | selectedtextcolor="Text" 621 | render_bg 622 | { 623 | // background fill 624 | 0="gradient( x0, y0, x1, y1, buttonfaceactive, propertysheetbg )" 625 | } 626 | } 627 | 628 | ComboBox:focus:hover 629 | { 630 | selectedbgcolor="none" 631 | selectedtextcolor="Text" 632 | render_bg 633 | { 634 | // background fill 635 | 0="gradient( x0, y0, x1, y1, buttonfaceactive, propertysheetbg )" 636 | } 637 | } 638 | 639 | "Page ComboBox" 640 | { 641 | render_bg 642 | { 643 | // background fill 644 | 0="gradient( x0, y0, x1, y1, buttonface2, propertysheetbg )" 645 | } 646 | } 647 | 648 | "Page ComboBox:focus" 649 | { 650 | render_bg 651 | { 652 | // background fill 653 | 0="gradient( x0, y0, x1, y1, buttonfaceactive, propertysheetbg )" 654 | } 655 | } 656 | 657 | "Page ComboBox:hover" 658 | { 659 | render_bg 660 | { 661 | // background fill 662 | 0="gradient(x0, y0, x1, y1, buttonfacehover, propertysheetbg )" 663 | } 664 | } 665 | 666 | "Page ComboBox:focus:hover" 667 | { 668 | render_bg 669 | { 670 | // background fill 671 | 0="gradient( x0, y0, x1, y1, buttonfaceactive, propertysheetbg )" 672 | } 673 | } 674 | 675 | 676 | ComboBoxButton 677 | { 678 | 679 | bgcolor=none 680 | padding-left=2 681 | image="graphics/icon_down_default" 682 | // just draw a single line to divide it from the text 683 | render_bg 684 | { 685 | 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorder )" 686 | } 687 | } 688 | 689 | ComboBoxButton:hover 690 | { 691 | image="graphics/icon_down_hover" 692 | // just draw a single line to divide it from the text 693 | render_bg 694 | { 695 | 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, label )" 696 | } 697 | } 698 | 699 | ComboBoxButton:focus 700 | { 701 | 702 | bgcolor=none 703 | image="graphics/icon_down_focus" 704 | // just draw a single line to divide it from the text 705 | render_bg 706 | { 707 | 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )" 708 | } 709 | } 710 | 711 | ComboBoxButton:focus:hover 712 | { 713 | 714 | bgcolor=none 715 | image="graphics/icon_down_default" 716 | // just draw a single line to divide it from the text 717 | render_bg 718 | { 719 | 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )" 720 | } 721 | } 722 | 723 | 724 | "Page ComboBoxButton" 725 | { 726 | bgcolor=none 727 | image="graphics/icon_down_default" 728 | // just draw a single line to divide it from the text 729 | render_bg 730 | { 731 | 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderPage )" 732 | } 733 | } 734 | 735 | "Page ComboBoxButton:hover" 736 | { 737 | image="graphics/icon_down_hover" 738 | // just draw a single line to divide it from the text 739 | render_bg 740 | { 741 | 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )" 742 | } 743 | } 744 | 745 | "Page ComboBoxButton:focus" 746 | { 747 | 748 | bgcolor=none 749 | image="graphics/icon_down_focus" 750 | // just draw a single line to divide it from the text 751 | render_bg 752 | { 753 | 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )" 754 | } 755 | } 756 | 757 | "Page ComboBoxButton:focus:hover" 758 | { 759 | bgcolor=none 760 | image="graphics/icon_down_focus" 761 | // just draw a single line to divide it from the text 762 | render_bg 763 | { 764 | 0="fill( x0, y0 + 2, x0 + 1, y1 - 4, ButtonBorderActive )" 765 | } 766 | } 767 | 768 | Divider 769 | { 770 | bgcolor="none" 771 | render 772 | { 773 | 0="gradient_horizontal( x0, y1 - 1, x1, y1, divider, propertysheetbg )" 774 | } 775 | } 776 | 777 | Frame 778 | { 779 | bgcolor="DialogBG" 780 | render 781 | { 782 | 0="gradient_horizontal( x0, y1 - 1, x1 + 1, y1, ClientBG, focus )" 783 | 1="gradient( x1 - 1, y0, x1, y1, ClientBG, focus )" 784 | 2="fill( x0, y0, x1, y0 + 1, ClientBG )" 785 | 3="fill( x0, y0, x0 + 1, y1, ClientBG )" 786 | } 787 | } 788 | 789 | Frame:FrameFocus 790 | { 791 | bgcolor="DialogBG" 792 | render 793 | { 794 | 0="gradient_horizontal( x0, y1 - 1, x1 + 1, y1, ClientBG, focus2 )" 795 | 1="gradient( x1 - 1, y0, x1, y1, ClientBG, focus2 )" 796 | 2="fill( x0, y0, x1, y0 + 1, ClientBG )" 797 | 3="fill( x0, y0, x0 + 1, y1, ClientBG )" 798 | } 799 | } 800 | 801 | FrameBRGripPanel 802 | { 803 | image=graphics/resizer 804 | } 805 | 806 | FrameBRGripPanel:hover 807 | { 808 | image=graphics/resizer_over 809 | } 810 | 811 | FrameMinimizeButton 812 | { 813 | render_bg {} 814 | image="graphics/win32_win_min" 815 | image="graphics/osx_win_dis" [$OSX] 816 | } 817 | 818 | FrameMinimizeButton:hover 819 | { 820 | render_bg {} 821 | bgcolor="none" 822 | image="graphics/win32_win_min_hover" 823 | image="graphics/osx_min_hov" [$OSX] 824 | } 825 | 826 | FrameMinimizeButton:framefocus [$OSX] 827 | { 828 | render_bg {} 829 | bgcolor="none" 830 | image="graphics/osx_min_def" 831 | } 832 | 833 | FrameMinimizeButton:framefocus:hover [$OSX] 834 | { 835 | render_bg {} 836 | bgcolor="none" 837 | image="graphics/osx_min_hov" 838 | } 839 | 840 | FrameMinimizeButton:active [$OSX] 841 | { 842 | render_bg {} 843 | bgcolor="none" 844 | image="graphics/osx_min_down" 845 | } 846 | 847 | // need the maximize button to have different styles for OSX & win32 848 | FrameMaximizeButton 849 | { 850 | render_bg {} 851 | image="graphics/win32_win_max" 852 | image="graphics/osx_win_dis" [$OSX] 853 | } 854 | 855 | FrameMaximizeButton:hover 856 | { 857 | render_bg {} 858 | bgcolor="none" 859 | image="graphics/win32_win_max_hover" 860 | image="graphics/osx_max_hov" [$OSX] 861 | } 862 | 863 | FrameMaximizeButton:framefocus 864 | { 865 | render_bg {} 866 | bgcolor="none" 867 | image="graphics/win32_win_max" 868 | image="graphics/osx_max_def" [$OSX] 869 | } 870 | 871 | FrameMaximizeButton:framefocus:hover 872 | { 873 | render_bg {} 874 | bgcolor="none" 875 | image="graphics/win32_win_max_hover" 876 | image="graphics/osx_max_hov" [$OSX] 877 | } 878 | 879 | FrameMaximizeButton:active 880 | { 881 | render_bg {} 882 | bgcolor="none" 883 | image="graphics/win32_win_max_hover" 884 | image="graphics/osx_max_down" [$OSX] 885 | } 886 | 887 | // these are for when the maximize button becomes the restore button 888 | FrameRestoreButton 889 | { 890 | render_bg {} 891 | image="graphics/win32_win_restore" 892 | image="graphics/osx_win_dis" [$OSX] 893 | } 894 | 895 | FrameRestoreButton:hover 896 | { 897 | render_bg {} 898 | bgcolor="none" 899 | image="graphics/win32_win_restore_hover" 900 | image="graphics/osx_max_hov" [$OSX] 901 | } 902 | 903 | FrameRestoreButton:framefocus 904 | { 905 | render_bg {} 906 | bgcolor="none" 907 | image="graphics/win32_win_restore" 908 | image="graphics/osx_max_def" [$OSX] 909 | } 910 | 911 | FrameRestoreButton:framefocus:hover 912 | { 913 | render_bg {} 914 | bgcolor="none" 915 | image="graphics/win32_win_restore_hover" 916 | image="graphics/osx_max_hov" [$OSX] 917 | } 918 | 919 | FrameRestoreButton:active 920 | { 921 | render_bg {} 922 | bgcolor="none" 923 | image="graphics/win32_win_restore_hover" 924 | image="graphics/osx_max_down" [$OSX] 925 | } 926 | 927 | FrameCloseButton 928 | { 929 | render_bg {} 930 | image="graphics/win32_win_close" 931 | image="graphics/osx_win_dis" [$OSX] 932 | } 933 | 934 | FrameCloseButton:hover 935 | { 936 | render_bg {} 937 | image="graphics/win32_win_close_hover" 938 | image="graphics/osx_close_hov" [$OSX] 939 | } 940 | 941 | FrameCloseButton:framefocus [$OSX] 942 | { 943 | render_bg {} 944 | bgcolor="none" 945 | image="graphics/osx_close_def" 946 | } 947 | 948 | FrameCloseButton:framefocus:hover [$OSX] 949 | { 950 | render_bg {} 951 | bgcolor="none" 952 | image="graphics/osx_close_hov" 953 | } 954 | 955 | FrameCloseButton:active [$OSX] 956 | { 957 | render_bg {} 958 | bgcolor="none" 959 | image="graphics/osx_close_down" 960 | } 961 | 962 | FrameCloseButton:disabled 963 | { 964 | render_bg {} 965 | bgcolor="none" 966 | image="graphics/win32_win_close_disabled" 967 | image="graphics/osx_win_dis" [$OSX] 968 | } 969 | 970 | FrameTitle 971 | { 972 | inset="5 2 0 0" 973 | inset="0 4 0 0" [$OSX] 974 | padding-left="0" 975 | padding-right="64" 976 | padding-right="0" [$OSX] 977 | bgcolor="none" 978 | render_bg 979 | { 980 | 1="gradient( x0, y0, x1, y0 + 48, titlebar, none )" 981 | 982 | } 983 | } 984 | 985 | 986 | FrameTitle:framefocus 987 | { 988 | inset="0 4 0 0" [$OSX] 989 | render_bg 990 | { 991 | 2="gradient( x0, y0, x1, y0 + 48, TitleBarfocus, none )" 992 | } 993 | } 994 | 995 | 996 | "CFriendsDialog SectionedListPanelInterior" 997 | { 998 | bgcolor=none 999 | inset="-6 -1 -1 -1" 1000 | render 1001 | { } 1002 | render_bg { } 1003 | } 1004 | 1005 | GraphPanel 1006 | { 1007 | textcolor=Highlight5 1008 | bgcolor=none 1009 | inset="0 -3 0 0" 1010 | render_bg { } 1011 | } 1012 | 1013 | HTML 1014 | { 1015 | bgcolor="none" 1016 | render_bg 1017 | { 1018 | 0="fill( x0, y0, x1, y1, almostblack )" // bg 1019 | } 1020 | inset="2 2 2 2" 1021 | } 1022 | 1023 | Label 1024 | { 1025 | bgcolor="none" 1026 | } 1027 | 1028 | ListPanel 1029 | { 1030 | bgcolor=none 1031 | inset="0 -1 1 1" 1032 | render 1033 | { } 1034 | render_bg 1035 | { 1036 | // background gradient 1037 | 0="gradient( x0, y0, x1, y1, dialogbg, almostblack )" 1038 | 1="gradient( x0, y0, x1, y0 + 31, backgroundstartsubtle, none )" 1039 | 1040 | } 1041 | } 1042 | 1043 | "Page ListPanel" 1044 | { 1045 | inset="0 -1 1 1" 1046 | bgcolor=none 1047 | render_bg 1048 | { 1049 | // background fill 1050 | 0="gradient( x0, y0, x1, y0 + 80, Propertysheetbg, BackgroundStartOpaque )" 1051 | 1="fill( x0, y0 + 80, x1, y1, BackgroundStartOpaque )" 1052 | 2="gradient( x0, y0, x1, y0 + 30, backgroundstartsubtle, none )" 1053 | } 1054 | } 1055 | 1056 | "CGamesListPanel" 1057 | { 1058 | bgcolor="none" 1059 | inset="0 -1 1 1" 1060 | render_bg { 1061 | // background gradient 1062 | 0="gradient( x0, y0, x1, y0 + 432, dialogbg, almostblack )" 1063 | 1="fill( x0, y0 + 432, x1, y1, almostblack )" 1064 | 2="gradient( x0, y0, x1, y0 + 31, dialogbgFade1, dialogbgFade2 )" 1065 | 1066 | } 1067 | } 1068 | 1069 | "GameItem_Uninstalled" 1070 | { 1071 | textcolor="labeldisabled" 1072 | selectedtextcolor="label" 1073 | } 1074 | "GameItem_Uninstalled:hover" 1075 | { 1076 | textcolor="label" 1077 | selectedtextcolor="label" 1078 | } 1079 | 1080 | "GameItem_Installed" 1081 | { 1082 | textcolor="text" 1083 | selectedtextcolor="white" 1084 | } 1085 | 1086 | "GameItem_Installed:hover" 1087 | { 1088 | textcolor="white" 1089 | selectedtextcolor="white" 1090 | } 1091 | 1092 | "GameItem_Shortcut" 1093 | { 1094 | textcolor="text" 1095 | selectedtextcolor="white" 1096 | } 1097 | 1098 | "GameItem_Shortcut:hover" 1099 | { 1100 | textcolor="white" 1101 | selectedtextcolor="white" 1102 | } 1103 | 1104 | "GameItem_Mod" 1105 | { 1106 | textcolor="text" 1107 | selectedtextcolor="white" 1108 | } 1109 | 1110 | "GameItem_Mod:hover" 1111 | { 1112 | textcolor="white" 1113 | selectedtextcolor="white" 1114 | } 1115 | 1116 | "GameItem_Updating" 1117 | { 1118 | textcolor="highlight2" 1119 | selectedtextcolor="highlight1" 1120 | } 1121 | 1122 | "GameItem_Updating:hover" 1123 | { 1124 | textcolor="highlight1" 1125 | selectedtextcolor="highlight1" 1126 | } 1127 | 1128 | "GameItem_Updating:selected" 1129 | { 1130 | textcolor="highlight1" 1131 | selectedtextcolor="highlight1" 1132 | } 1133 | 1134 | "GameItem_Decrypting" 1135 | { 1136 | textcolor="highlight2" 1137 | selectedtextcolor="highlight1" 1138 | } 1139 | 1140 | "GameItem_Decrypting:hover" 1141 | { 1142 | textcolor="highlight1" 1143 | selectedtextcolor="highlight1" 1144 | } 1145 | 1146 | "GameItem_Decrypting:selected" 1147 | { 1148 | textcolor="highlight1" 1149 | selectedtextcolor="highlight1" 1150 | } 1151 | 1152 | "GameItem_Syncing" 1153 | { 1154 | textcolor="highlight2" 1155 | selectedtextcolor="highlight1" 1156 | } 1157 | 1158 | "GameItem_Syncing:hover" 1159 | { 1160 | textcolor="highlight1" 1161 | selectedtextcolor="highlight1" 1162 | } 1163 | 1164 | "GameItem_Syncing:selected" 1165 | { 1166 | textcolor="highlight1" 1167 | selectedtextcolor="highlight1" 1168 | } 1169 | 1170 | "GameColumn_BigText" 1171 | { 1172 | } 1173 | 1174 | ListPanelCheckBox 1175 | { 1176 | image="graphics/chkUnselStd_Sm" 1177 | inset="0 5 0 0" 1178 | } 1179 | 1180 | ListPanelCheckBox:selected 1181 | { 1182 | image="graphics/chkSelStd_Sm" 1183 | } 1184 | 1185 | ListPanelCheckBox:focus 1186 | { 1187 | textcolor="TextSelected" 1188 | bgcolor=none 1189 | image="graphics/chkUnselFocus_Sm" 1190 | } 1191 | 1192 | ListPanelCheckBox:selected:focus 1193 | { 1194 | textcolor="TextSelected" 1195 | render_bg {} 1196 | bgcolor=none 1197 | image="graphics/chkSelFocus_Sm" 1198 | } 1199 | 1200 | ListPanelCheckBox:disabled 1201 | { 1202 | textcolor="TextDisabled" 1203 | bgcolor=none 1204 | image="graphics/chkUnselDis_Sm" 1205 | } 1206 | 1207 | ListPanelCheckBox:disabled:select 1208 | { 1209 | textcolor="TextDisabled" 1210 | bgcolor=none 1211 | //!! bug - this needs to look disabled 1212 | image="graphics/chkUnselDis" 1213 | } 1214 | 1215 | "ListPanelColumnheader ListPanelCheckBox" 1216 | { 1217 | image="graphics/chkUnSelFocus_Sm" 1218 | inset="4 0 0 0" 1219 | } 1220 | 1221 | "ListPanelColumnHeader ListPanelCheckBox:selected" 1222 | { 1223 | inset="4 0 0 0" 1224 | image="graphics/chkUnSelStd_Sm" 1225 | } 1226 | 1227 | "ListPanelColumnheader ListPanelCheckBox:focus" 1228 | { 1229 | image="graphics/chkUnSelFocus_Sm" 1230 | inset="4 0 0 0" 1231 | } 1232 | 1233 | "ListPanelColumnheader ListPanelCheckBox:selected:focus" 1234 | { 1235 | textcolor="TextHover" 1236 | render_bg {} 1237 | bgcolor=none 1238 | image="graphics/chkSelFocus_Sm" 1239 | inset="4 0 0 0" 1240 | } 1241 | 1242 | ListPanelColumnheader 1243 | { 1244 | bgcolor="none" 1245 | inset="1 3 0 0" 1246 | render_bg 1247 | { 1248 | // fill 1249 | 0="fill (x0, y0 + 1, x1, y1 + 1, propertysheetbg)" // bg fill 1250 | 1="fill (x0 + 1, y0 + 1, x1, y0 + 3, propertysheetbg)" // bg fill2 1251 | } 1252 | } 1253 | 1254 | ListPanelColumnHeader:hover 1255 | { 1256 | } 1257 | 1258 | "Csteamrootdialog ListPanelColumnheader" 1259 | { 1260 | bgcolor="none" 1261 | inset="0 0 0 0" 1262 | inset="0 1 0 0" [$OSX] 1263 | padding-top=1 1264 | render_bg 1265 | { 1266 | // fill 1267 | 0="fill (x0, y0 + 1, x1, y1, propertysheetbg )" // bg fill 1268 | } 1269 | } 1270 | 1271 | 1272 | "Csteamrootdialog ListPanelColumnHeader:hover" 1273 | { 1274 | } 1275 | 1276 | "Csteamrootdialog ListPanelSectionCollapser" 1277 | { 1278 | inset = "0 1 0 1" 1279 | bgcolor=none 1280 | render_bg 1281 | { 1282 | 1="fill( x0 , y0, x1, y1 - 1, propertysheetbg )" 1283 | } 1284 | } 1285 | 1286 | "CGamesPage_Mini ListPanelSectionCollapser" 1287 | { 1288 | inset = "0 1 0 1" 1289 | bgcolor=none 1290 | render_bg 1291 | { 1292 | 1="fill( x0 , y0, x1, y1 - 1, propertysheetbg )" 1293 | } 1294 | } 1295 | 1296 | 1297 | 1298 | ListPanelColumnSelectButton // the games list column chooser 1299 | { 1300 | inset="-3 3 0 0" 1301 | render 1302 | { 1303 | 0="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse )" 1304 | } 1305 | render_bg { 1306 | 1="fill( x0 + 1, y0, x1 - 1, y1, propertysheetbg )" 1307 | } 1308 | } 1309 | 1310 | ListPanelColumnSelectButton:hover 1311 | { 1312 | inset="-3 3 0 0" 1313 | render 1314 | { 1315 | 0="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse_over )" 1316 | } 1317 | render_bg { 1318 | 1="fill( x0 + 1, y0, x1 - 1, y1, propertysheetbg )" 1319 | } 1320 | } 1321 | ListPanelColumnSelectButton:selected 1322 | { 1323 | inset="-3 3 0 0" 1324 | render 1325 | { 1326 | 0="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse_over )" 1327 | } 1328 | render_bg { 1329 | 1="fill( x0 + 1, y0, x1 - 1, y1, propertysheetbg )" 1330 | } 1331 | } 1332 | 1333 | "CGamesListPanel ListPanelColumnSelectButton" 1334 | { 1335 | inset="-3 3 0 0" 1336 | render 1337 | { 1338 | 0="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse )" 1339 | } 1340 | render_bg { 1341 | 1="fill( x0 + 1, y0, x1 - 1, y1, propertysheetbg )" 1342 | } 1343 | } 1344 | "CGamesListPanel ListPanelColumnSelectButton:hover" 1345 | { 1346 | inset="-3 3 0 0" 1347 | render 1348 | { 1349 | 0="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse_over )" 1350 | } 1351 | render_bg { 1352 | 1="fill( x0 + 1, y0, x1 - 1, y1, propertysheetbg )" 1353 | } 1354 | } 1355 | "CGamesListPanel ListPanelColumnSelectButton:selected" 1356 | { 1357 | inset="-3 3 0 0" 1358 | render 1359 | { 1360 | 0="image( x0 + 3, y0 + 3, x1, y1, graphics/icon_collapse_over )" 1361 | } 1362 | render_bg { 1363 | 1="fill( x0 + 1, y0, x1 - 1, y1, propertysheetbg )" 1364 | } 1365 | } 1366 | 1367 | ListPanelDragger 1368 | { 1369 | bgcolor="none" 1370 | render 1371 | { 1372 | //fill makes dragger visible 1373 | 0="fill( x0, y0 + 2, x0 + 1, y1 - 3, dialogbg )" // left 1374 | 1="fill (x0, y0, x0+1, y0+3, propertysheetbg )" //dot 1375 | } 1376 | } 1377 | 1378 | ListPanelInterior 1379 | { 1380 | inset="3 1 0 0" 1381 | font-size=15 1382 | textcolor="text2" 1383 | bgcolor="none" 1384 | render 1385 | { 1386 | 1387 | } 1388 | render_bg 1389 | { 1390 | 1391 | } 1392 | } 1393 | 1394 | ListPanelInterior:scrollbar 1395 | { 1396 | bgcolor=none 1397 | inset="3 1 -1 0" 1398 | textcolor="text2" 1399 | render 1400 | { 1401 | 1402 | } 1403 | render_bg 1404 | { 1405 | 1406 | } 1407 | } 1408 | 1409 | "CSteamRootDialog ListPanel" 1410 | { 1411 | padding-left=2 1412 | padding-right=2 1413 | } 1414 | 1415 | "Csteamrootdialog ListPanelInterior" 1416 | { 1417 | inset="3 0 3 0" 1418 | bgcolor=none 1419 | 1420 | render_bg {} 1421 | } 1422 | 1423 | "Csteamrootdialog ListPanelInterior:scrollbar" 1424 | { 1425 | inset="3 0 -1 0" 1426 | bgcolor=none 1427 | render 1428 | { 1429 | 1430 | } 1431 | render_bg {} 1432 | 1433 | } 1434 | 1435 | "Page ListPanelInterior" 1436 | { 1437 | inset="3 1 -1 0" 1438 | font-size=15 1439 | bgcolor=none 1440 | render 1441 | { 1442 | 1443 | } 1444 | render_bg 1445 | { 1446 | // background gradient 1447 | 0="gradient( x0, y0, x1, y1, dialogbg, almostblack )" 1448 | } 1449 | } 1450 | 1451 | "Page ListPanelInterior:scrollbar" 1452 | { 1453 | inset="3 1 -1 0" 1454 | bgcolor=none 1455 | render_bg 1456 | { 1457 | // background gradient 1458 | 0="gradient( x0, y0, x1+16, y1, dialogbg, almostblack )" 1459 | } 1460 | } 1461 | 1462 | ListPanelSectionHeader 1463 | { 1464 | inset="2 0 0 0" 1465 | textcolor=label 1466 | font-style="uppercase" 1467 | render_bg 1468 | { 1469 | 0="gradient_horizontal( x0 - 1, y0, x0 + 250, y1 - 1, propertysheetbg, Friends.ListHeaderFadeOut )" 1470 | } 1471 | } 1472 | 1473 | ListPanelSectionHeader:hover 1474 | { 1475 | textcolor=texthover 1476 | } 1477 | 1478 | "ListPanel RichText" 1479 | { 1480 | textcolor="Text" 1481 | font-family=basefont 1482 | font-size=15 1483 | bgcolor=none 1484 | render_bg {} 1485 | } 1486 | 1487 | "ListPanel RichText url" 1488 | { 1489 | font-size=15 1490 | textcolor="Text" 1491 | font-style=underline 1492 | } 1493 | 1494 | "ListPanel RichTextInterior" 1495 | { 1496 | bgcolor=DarkDialogBG 1497 | render_bg {} 1498 | bgcolor=none 1499 | } 1500 | 1501 | ListPanelSectionCollapser [!$OSX] 1502 | { 1503 | 1504 | bgcolor=none 1505 | render_bg {} 1506 | image="graphics/icon_collapse" 1507 | inset="-4 0 0 0" 1508 | padding-top=-2 1509 | padding-bottom=-2 1510 | } 1511 | 1512 | ListPanelSectionCollapser [$OSX] 1513 | { 1514 | bgcolor=none 1515 | render_bg {} 1516 | image="graphics/icon_collapse_osx" 1517 | inset="-4 0 0 0" 1518 | padding-top=-2 1519 | padding-bottom=-2 1520 | } 1521 | 1522 | ListPanelSectionCollapser:hover [!$OSX] 1523 | { 1524 | image="graphics/icon_collapse_over" 1525 | } 1526 | 1527 | ListPanelSectionCollapser:hover [$OSX] 1528 | { 1529 | image="graphics/icon_collapse_over_osx" 1530 | } 1531 | 1532 | ListPanelSectionCollapser:selected [!$OSX] 1533 | { 1534 | image="graphics/icon_expand" 1535 | } 1536 | 1537 | ListPanelSectionCollapser:selected [$OSX] 1538 | { 1539 | image="graphics/icon_expand_osx" 1540 | } 1541 | 1542 | ListPanelSectionCollapser:selected:hover [!$OSX] 1543 | { 1544 | image="graphics/icon_expand_over" 1545 | } 1546 | 1547 | ListPanelSectionCollapser:selected:hover [$OSX] 1548 | { 1549 | image="graphics/icon_expand_over_osx" 1550 | } 1551 | 1552 | MainNav 1553 | { 1554 | textcolor="Label" 1555 | selectedtextcolor="Text" 1556 | bgcolor="none" 1557 | font-family=basefont 1558 | font-size=21 1559 | font-weight=700 1560 | font-style="uppercase" 1561 | } 1562 | 1563 | Menu 1564 | { 1565 | bgcolor="MenuBG2" 1566 | padding-right=4 1567 | inset="2 2 2 2" 1568 | 1569 | render_bg 1570 | { 1571 | 0="gradient( x0, y0, x1, y0 + 140, MenuBG1, MenuBG2 )" 1572 | 1="fill( x0, y0 + 140, x1, y1, MenuBG2 )" 1573 | 1574 | 1575 | } 1576 | 1577 | render {} 1578 | corner_rounding=1 1579 | } 1580 | 1581 | MenuBar 1582 | { 1583 | bgcolor=dialogbg 1584 | padding-right=1 1585 | padding-left=6 1586 | padding-top=2 1587 | padding-bottom=-2 1588 | } 1589 | 1590 | "Page MenuBar" 1591 | { 1592 | bgcolor=none 1593 | } 1594 | 1595 | "MenuBar MenuButton" 1596 | { 1597 | padding-right=-2 1598 | inset="-2 0 2 0" 1599 | } 1600 | 1601 | "MenuBar MenuButton:frameFocus" 1602 | { 1603 | } 1604 | 1605 | "MenuBar MenuButton:frameFocus:hover" 1606 | { 1607 | bgcolor=none 1608 | render_bg 1609 | { 1610 | } 1611 | } 1612 | 1613 | "MenuBar MenuButton:frameFocus:selected" 1614 | { 1615 | bgcolor=none 1616 | render_bg 1617 | { 1618 | } 1619 | } 1620 | 1621 | MenuButton 1622 | { 1623 | bgcolor="none" 1624 | render_bg {} 1625 | } 1626 | 1627 | MenuButton:hover 1628 | { 1629 | } 1630 | 1631 | MenuButton:selected 1632 | { 1633 | } 1634 | 1635 | MenuItem 1636 | { 1637 | inset="0 0 0 0" 1638 | padding-right=6 1639 | bgcolor="none" 1640 | render_bg {} 1641 | } 1642 | 1643 | MenuItem:selected 1644 | { 1645 | bgcolor="none" 1646 | } 1647 | 1648 | MenuItem:hover 1649 | { 1650 | bgcolor="none" 1651 | } 1652 | 1653 | MenuItem:disabled 1654 | { 1655 | } 1656 | 1657 | MenuItem:disabled:hover 1658 | { 1659 | } 1660 | 1661 | MenuSeparator 1662 | { 1663 | inset="-4 0 0 0" 1664 | bgcolor=none 1665 | } 1666 | 1667 | Notification 1668 | { 1669 | font-family=basefont 1670 | font-size=15 1671 | font-weight=400 1672 | bgcolor=none 1673 | render_bg 1674 | { 1675 | 0="gradient( x0, y0, x1, y0+80, DialogBG, ClientBG )" 1676 | 1677 | 1="gradient_horizontal( x0, y1-1, x1, y1, ClientBG, Highlight5 )" // bottom 1678 | 2="gradient( x1-1, y0, x1, y1 , ClientBG, Highlight5 )" // right 1679 | 3="fill( x0, y0, x1, y0+1, ClientBG )" // top 1680 | 4="fill( x0, y0, x0+1, y1, ClientBG )" // left 1681 | } 1682 | render {} 1683 | } 1684 | 1685 | 1686 | Page 1687 | { 1688 | bgcolor="none" 1689 | render_bg 1690 | { 1691 | // background gradient 1692 | 0="gradient( x0, y0 + 18, x1, y1, DialogBG, PropertySheetBG )" 1693 | } 1694 | } 1695 | 1696 | "CSteamRootDialog Page" 1697 | { 1698 | bgcolor="none" 1699 | render_bg {} 1700 | } 1701 | 1702 | "Page RadioButtonList" 1703 | { 1704 | bgcolor="DialogBG" 1705 | } 1706 | 1707 | PageTab 1708 | { 1709 | textcolor="Label" 1710 | font-family=basefont 1711 | font-size=16 1712 | font-style=Uppercase 1713 | font-weight=400 1714 | inset="0 -2 0 0" 1715 | render_bg 1716 | { 1717 | // background gradient 1718 | 0="fill( x0, y0 , x1, y1 - 4, PropertySheetBG )" 1719 | 1="fill(x0, y1-2, x1+3000, y1 -1, divider )" 1720 | } 1721 | } 1722 | 1723 | 1724 | PageTab:selected 1725 | { 1726 | textcolor="texthover" 1727 | font-family=basefont 1728 | font-size=16 1729 | font-style=Uppercase 1730 | font-weight=400 1731 | inset="0 -2 0 0" 1732 | bgcolor="none" 1733 | render_bg 1734 | { 1735 | // background gradient 1736 | 0="gradient( x0, y0 , x1, y1, divider, dialogbg )" 1737 | 1="fill(x1, y1-2, x1+3000, y1 - 1, divider )" 1738 | } 1739 | } 1740 | 1741 | 1742 | PageTab:hover 1743 | { 1744 | textcolor="texthover" 1745 | font-family=basefont 1746 | font-size=16 1747 | font-style=Uppercase 1748 | font-weight=400 1749 | inset="0 -2 0 0" 1750 | render_bg 1751 | { 1752 | // background gradient 1753 | 0="fill( x0, y0 , x1, y1 - 4, buttonfacehover )" 1754 | 1="fill(x0, y1-2, x1+3000, y1 -1, divider )" 1755 | } 1756 | } 1757 | 1758 | PageTab:selected:hover 1759 | { 1760 | textcolor="texthover" 1761 | font-family=basefont 1762 | font-size=16 1763 | font-style=Uppercase 1764 | font-weight=400 1765 | inset="0 -2 0 0" 1766 | bgcolor="none" 1767 | render_bg 1768 | { 1769 | // background gradient 1770 | 0="gradient( x0, y0 , x1, y1, divider, dialogbg )" 1771 | 1="fill(x1, y1-2, x1+3000, y1 - 1, divider )" 1772 | } 1773 | } 1774 | 1775 | PageTab:Focus 1776 | { 1777 | textcolor="Texthover" 1778 | } 1779 | 1780 | "PageDragFrame PageTab" 1781 | { 1782 | font-size=16 1783 | font-style="" 1784 | } 1785 | 1786 | TabCloseButton 1787 | { 1788 | render_bg {} 1789 | image="graphics/tiny_x_default" 1790 | } 1791 | 1792 | TabCloseButton:hover 1793 | { 1794 | image="graphics/tiny_x_hover" 1795 | } 1796 | 1797 | Panel 1798 | { 1799 | font-family=basefont 1800 | font-size=14 1801 | font-weight=400 1802 | textcolor="Text" 1803 | bgcolor="none" 1804 | } 1805 | 1806 | ProgressBar 1807 | { 1808 | textcolor="highlight5a" 1809 | bgcolor="none" 1810 | render 1811 | { 1812 | // lines around 1813 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )" // top 1814 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )" // bottom 1815 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorder )" // left 1816 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorder )" // right 1817 | } 1818 | } 1819 | 1820 | "Page ProgressBar" 1821 | { 1822 | textcolor="highlight5a" 1823 | bgcolor="none" 1824 | render 1825 | { 1826 | // lines around 1827 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )" // top 1828 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )" // bottom 1829 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorder )" // left 1830 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorder )" // right 1831 | } 1832 | } 1833 | 1834 | PropertyPage 1835 | { 1836 | bgcolor="PropertySheetBG" 1837 | } 1838 | 1839 | "CFriendsDialog PropertySheet" 1840 | { 1841 | bgcolor="none" 1842 | } 1843 | 1844 | RadioButton 1845 | { 1846 | font-family=basefont 1847 | font-size=14 1848 | font-weight=400 1849 | textcolor="Label" 1850 | render_bg {} 1851 | image="graphics/RadUnselStd" 1852 | bgcolor=none 1853 | } 1854 | 1855 | RadioButton:selected 1856 | { 1857 | render_bg {} 1858 | image="graphics/radSelStd" 1859 | } 1860 | 1861 | RadioButton:focus 1862 | { 1863 | textcolor="Texthover" 1864 | bgcolor=none 1865 | image="graphics/radSelDown" 1866 | } 1867 | 1868 | RadioButton:selected:focus 1869 | { 1870 | textcolor="Texthover" 1871 | bgcolor=none 1872 | image="graphics/radSelFocus" 1873 | } 1874 | 1875 | RadioButtonList 1876 | { 1877 | bgcolor="none" 1878 | inset="-2 0 0 0" 1879 | render_bg 1880 | { 1881 | 0="gradient( x0, y0, x1, y1, DialogBG, ClientBG )" 1882 | } 1883 | } 1884 | 1885 | RichText 1886 | { 1887 | textcolor="Text" 1888 | selectedtextcolor="TextSelected" 1889 | font-family=basefont 1890 | font-size=14 1891 | font-weight=400 1892 | inset="-1 -1 0 0" 1893 | render_bg 1894 | { 1895 | -1="fill( x0 + 1, y0 + 1, x1 - 1, y1 - 1, DialogBG )" 1896 | 1897 | // lines around 1898 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )" // top 1899 | 2="fill( x0 + 1, y1 - 1, x1 - 1, y1, ButtonBorder )" // bottom 1900 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorder )" // left 1901 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorder )" // right 1902 | } 1903 | } 1904 | 1905 | RichTextInterior 1906 | { 1907 | bgcolor=none 1908 | } 1909 | 1910 | // style of links in a rich text control 1911 | 1912 | "RichText url" 1913 | { 1914 | font-size=14 1915 | textcolor="label" 1916 | selectedtextcolor="label" 1917 | font-style=underline 1918 | } 1919 | 1920 | "RichText url:hover" 1921 | { 1922 | textcolor="Texthover" 1923 | } 1924 | 1925 | "CFriendPanel RichText URL" 1926 | { 1927 | textcolor="text" 1928 | font-style=underline 1929 | font-size=14 1930 | } 1931 | 1932 | // style of bold text in a rich text control 1933 | "RichText bold" 1934 | { 1935 | font-size=15 1936 | font-weight=1000 1937 | } 1938 | 1939 | "RichText emphasis" 1940 | { 1941 | font-size=15 1942 | font-style=italic 1943 | } 1944 | 1945 | ScrollBar 1946 | { 1947 | inset="0 0 0 0" 1948 | } 1949 | 1950 | ScrollBarButton.up 1951 | { 1952 | bgcolor=none 1953 | inset="-1 2 0 0" 1954 | image="graphics/icon_up_default" 1955 | render_bg 1956 | { 1957 | // background fill 1958 | 0="fill( x0 + 2, y0 + 3, x1 - 4, y1 + 2, buttonface )" 1959 | } 1960 | 1961 | } 1962 | 1963 | ScrollBarButton.up:hover 1964 | { 1965 | bgcolor=none 1966 | inset="-1 2 0 0" 1967 | image="graphics/icon_up_hover" 1968 | render_bg 1969 | { 1970 | // background fill 1971 | 0="fill( x0 + 2, y0 + 3, x1 - 4, y1 + 2, buttonfaceActive )" 1972 | } 1973 | } 1974 | 1975 | ScrollBarButton.up:active 1976 | { 1977 | inset="-1 2 0 0" 1978 | image="graphics/icon_up_hover" 1979 | render_bg 1980 | { 1981 | // background fill 1982 | 0="fill( x0 + 2, y0 + 3, x1 - 4, y1 + 2, buttonfaceActive )" 1983 | } 1984 | } 1985 | 1986 | ScrollBarButton.up:disabled 1987 | { 1988 | inset="-1 2 0 0" 1989 | image="graphics/icon_up_disabled" 1990 | render_bg 1991 | { 1992 | // background fill 1993 | 0="fill( x0 + 2, y0 + 3, x1 - 4, y1 + 2, buttonfaceDisabled )" 1994 | } 1995 | } 1996 | 1997 | ScrollBarButton.down 1998 | { 1999 | bgcolor=none 2000 | inset="-2 0 0 0" 2001 | image="graphics/icon_down_default" 2002 | render_bg 2003 | { 2004 | // background fill 2005 | 0="fill( x0 + 2, y0 - 1, x1 - 4, y1 - 3, buttonface )" 2006 | } 2007 | } 2008 | 2009 | ScrollBarButton.down:hover 2010 | { 2011 | inset="-2 0 0 0" 2012 | image="graphics/icon_down_hover" 2013 | render_bg 2014 | { 2015 | // background fill 2016 | 0="fill( x0 + 2, y0 - 1, x1 - 4, y1 - 3, buttonfaceActive )" 2017 | } 2018 | } 2019 | 2020 | ScrollBarButton.down:active 2021 | { 2022 | inset="-2 0 0 0" 2023 | image="graphics/icon_down_hover" 2024 | render_bg 2025 | { 2026 | // background fill 2027 | 0="fill( x0 + 2, y0 - 1, x1 - 4, y1 - 3, buttonfaceActive )" 2028 | } 2029 | } 2030 | 2031 | 2032 | ScrollBarButton.down:disabled 2033 | { 2034 | inset="-2 0 0 0" 2035 | image="graphics/icon_down_hover" 2036 | render_bg 2037 | { 2038 | // background fill 2039 | 0="fill( x0 + 2, y0 - 1, x1 - 4, y1 - 3, buttonfaceDisabled )" 2040 | } 2041 | } 2042 | 2043 | ScrollBarButton.left 2044 | { 2045 | bgcolor=none 2046 | inset="1 3 0 0" 2047 | image="graphics/icon_left_default" 2048 | render_bg 2049 | { 2050 | // center fill 2051 | 0="fill( x0 + 2, y0 + 5, x1, y1 - 3, ButtonFace )" 2052 | } 2053 | } 2054 | 2055 | ScrollBarButton.left:hover 2056 | { 2057 | 2058 | image="graphics/icon_left_hover" 2059 | inset="1 3 0 0" 2060 | render_bg 2061 | { 2062 | // center fill 2063 | 0="fill( x0 + 2, y0 + 5, x1, y1 - 3, ButtonFaceActive )" 2064 | } 2065 | } 2066 | 2067 | ScrollBarButton.right 2068 | { 2069 | bgcolor=none 2070 | image="graphics/icon_right_default" 2071 | inset="0 2 0 0" 2072 | render_bg 2073 | { 2074 | // center fill 2075 | 0="fill( x0, y0 + 5, x1, y1 - 3, ButtonFace )" 2076 | } 2077 | } 2078 | 2079 | ScrollBarButton.right:hover 2080 | { 2081 | image="graphics/icon_right_hover" 2082 | inset="0 2 0 0" 2083 | render_bg 2084 | { 2085 | // center fill 2086 | 0="fill( x0, y0 + 5, x1, y1 - 3, ButtonFaceActive )" 2087 | } 2088 | } 2089 | 2090 | ScrollBarHandle //vertical scrollbar thumb 2091 | { 2092 | bgcolor=none 2093 | image="graphics/icon_scroll_handle" 2094 | render_bg 2095 | { 2096 | // center fill 2097 | 0="fill( x0 + 2, y0 + 6, x1 - 4, y1 - 5, ButtonFace )" 2098 | } 2099 | } 2100 | 2101 | "ScrollBarHandle:hover" 2102 | { 2103 | image="graphics/icon_scroll_handle_over" 2104 | render_bg 2105 | { 2106 | // center fill 2107 | 0="fill( x0 + 2, y0 + 6, x1 - 4, y1 - 5, ButtonFaceActive )" 2108 | } 2109 | } 2110 | 2111 | "ScrollBarHandle:active" 2112 | { 2113 | image="graphics/icon_scroll_handle_over" 2114 | render_bg 2115 | { 2116 | // center fill 2117 | 0="fill( x0 + 2, y0 + 6, x1 - 4, y1 - 5, ButtonFaceActive )" 2118 | } 2119 | } 2120 | 2121 | 2122 | 2123 | "SliderHoriz" //horizontal scrollbar thumb 2124 | { 2125 | image="graphics/icon_scroll_handle_horiz" 2126 | render 2127 | { 2128 | // center fill 2129 | 1="fill( x0 + 2, y0 + 6, x1 - 1, y1 - 3, ButtonFace )" 2130 | } 2131 | } 2132 | 2133 | "SliderHoriz:hover" 2134 | { 2135 | 2136 | image="graphics/icon_scroll_handle_over_horiz" 2137 | render 2138 | { 2139 | // center fill 2140 | 0="fill( x0 + 2, y0 + 6, x1 - 1, y1 - 3, ButtonFaceActive )" 2141 | } 2142 | } 2143 | 2144 | "SliderHoriz:active" 2145 | { 2146 | 2147 | image="graphics/icon_scroll_handle_over_horiz" 2148 | render { 2149 | // center fill 2150 | 0="fill( x0 + 2, y0 + 6, x1 - 1, y1 - 3, ButtonFaceActive )" 2151 | } 2152 | } 2153 | 2154 | ScrollBarSlider // gutter 2155 | { 2156 | bgcolor="none" 2157 | render{ } 2158 | render_bg 2159 | { 2160 | 2161 | //background fill 2162 | 2="gradient( x0 + 2, y0 + 6, x1 - 4, y0 + 200, scrollbg, none)" 2163 | } 2164 | } 2165 | 2166 | ScrollBarSliderHoriz // gutter 2167 | { 2168 | bgcolor="none" 2169 | render{ } 2170 | render_bg { } 2171 | } 2172 | 2173 | 2174 | "GamesPage_Details ListPanel ScrollBarSlider" // gutter in games list detail view 2175 | { 2176 | bgcolor="none" 2177 | render{ } 2178 | render_bg 2179 | { 2180 | //background fill 2181 | 0="gradient( x0 + 2, y0 + 6, x1 - 4, y0 + 200, scrollbg, none)" 2182 | } 2183 | } 2184 | 2185 | ScrollBarSlider:disabled 2186 | { 2187 | bgcolor="none" 2188 | render_bg {} 2189 | } 2190 | 2191 | "ScrollBar SliderHoriz" // gutter 2192 | { 2193 | bgcolor="dialogbg" 2194 | } 2195 | 2196 | "HTML ScrollBar" 2197 | { 2198 | bgcolor="none" 2199 | render_bg { 2200 | 0="fill(x0,y0,x1, y1 - 1, almostblack)" 2201 | } 2202 | } 2203 | "HTML ScrollBar.Horizontal" 2204 | { 2205 | bgcolor="none" 2206 | render_bg { 2207 | 0="fill(x0,y0,x1+25,y1, almostblack)" 2208 | } 2209 | } 2210 | 2211 | "HTML ScrollBarSlider.Horizontal" 2212 | { 2213 | bgcolor=none 2214 | render_bg { 2215 | //background fill 2216 | 0="gradient_horizontal( x0 + 6, y0 + 5, x0 + 200, y1 - 2, dark, none)" 2217 | } 2218 | 2219 | } 2220 | 2221 | "HTML SliderHoriz" 2222 | { 2223 | bgcolor=none 2224 | render_bg 2225 | { 2226 | } 2227 | } 2228 | 2229 | SectionedListPanel 2230 | { 2231 | bgcolor="propertysheetbg" 2232 | font-family=basefont 2233 | font-size=14 2234 | font-weight=400 2235 | textcolor="Text" 2236 | selectedtextcolor="TextSelected" 2237 | selectedbgcolor="Focus" 2238 | bgcolor="none" 2239 | render 2240 | { 2241 | 2242 | } 2243 | render_bg 2244 | { 2245 | // background fill 2246 | 0="gradient( x0, y0, x1, y0 + 140, dialogbg, almostblack )" 2247 | 1="fill( x0, y0 + 140, x1, y1, almostblack )" 2248 | } 2249 | inset="1 -1 1 1" 2250 | } 2251 | 2252 | "CFriendsDialog SectionedListPanel" 2253 | { 2254 | bgcolor="none" 2255 | font-family=basefont 2256 | font-size=20 2257 | font-weight=400 2258 | textcolor="Text" 2259 | selectedtextcolor="TextSelected" 2260 | selectedbgcolor="Focus" 2261 | render { } 2262 | render_bg 2263 | { 2264 | // background fill 2265 | 0="gradient( x0, y0, x1, y0 + 140, dialogbg, almostblack )" 2266 | 1="fill( x0, y0 + 140, x1, y1, almostblack )" 2267 | } 2268 | } 2269 | 2270 | SectionedlistpanelCollapser 2271 | { 2272 | render_bg {} 2273 | bgcolor=none 2274 | image="graphics/icon_collapse" 2275 | inset="2 1 0 0" 2276 | } 2277 | 2278 | SectionedListPanelCollapser:hover 2279 | { 2280 | image="graphics/icon_collapse_over" 2281 | } 2282 | 2283 | SectionedListPanelCollapser:selected 2284 | { 2285 | image="graphics/icon_expand" 2286 | } 2287 | 2288 | SectionedListPanelCollapser:selected:hover 2289 | { 2290 | image="graphics/icon_expand_over" 2291 | } 2292 | 2293 | Slider 2294 | { 2295 | font-family=basefont 2296 | font-size=10 2297 | font-weight=400 2298 | textcolor="label" 2299 | font-style=uppercase 2300 | } 2301 | 2302 | Slider:focus 2303 | { 2304 | textcolor="Text" 2305 | } 2306 | 2307 | StatusLabel 2308 | { 2309 | font-family=basefont 2310 | font-size=14 2311 | font-weight=400 2312 | textcolor="labelfocus" 2313 | font-style=uppercase 2314 | } 2315 | 2316 | StatusLabelDim 2317 | { 2318 | font-family=basefont 2319 | font-size=14 2320 | font-weight=400 2321 | textcolor="TextDisabled" 2322 | font-style=normal 2323 | } 2324 | 2325 | StatusLabel:hover 2326 | { 2327 | font-family=basefont 2328 | font-size=14 2329 | font-weight=400 2330 | textcolor="white" 2331 | font-style=uppercase 2332 | } 2333 | 2334 | TextEntry 2335 | { 2336 | font-family=basefont 2337 | font-size=14 2338 | textcolor="Text" 2339 | font-weight=400 2340 | bgcolor="none" 2341 | selectedtextcolor="white" 2342 | selectedbgcolor="TextSelectedBG" 2343 | shadowtextcolor="text" // this is the cursor color 2344 | 2345 | inset-left=4 2346 | inset-top=0 2347 | render 2348 | { 2349 | 2350 | // lines around 2351 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )" // top 2352 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )" // bottom 2353 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorder )" // left 2354 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorder )" // right 2355 | 2356 | } 2357 | } 2358 | 2359 | "Page TextEntry" 2360 | { 2361 | render 2362 | { 2363 | 2364 | // lines around 2365 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )" // top 2366 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )" // bottom 2367 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorder )" // left 2368 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorder )" // right 2369 | } 2370 | } 2371 | 2372 | TextEntry:focus 2373 | { 2374 | textcolor="TextHover" 2375 | bgcolor=none 2376 | render 2377 | { 2378 | // lines around 2379 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )" // top 2380 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )" // bottom 2381 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorderFocus )" // left 2382 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorderFocus )" // right 2383 | } 2384 | } 2385 | 2386 | "Page TextEntry:focus" 2387 | { 2388 | textcolor="TextHover" 2389 | render 2390 | { 2391 | // lines around 2392 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )" // top 2393 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )" // bottom 2394 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorderFocus )" // left 2395 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorderFocus )" // right 2396 | } 2397 | } 2398 | 2399 | 2400 | TextEntry:disabled 2401 | { 2402 | textcolor="TextDisabled" 2403 | bgcolor="ButtonFaceDisabled" 2404 | render 2405 | { 2406 | // lines around 2407 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )" // top 2408 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )" // bottom 2409 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorderDisabled )" // left 2410 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorderDisabled )" // right 2411 | } 2412 | } 2413 | 2414 | // The 'empty' style is used for 'hint text' in text entry fields. 2415 | // If the text box does not have focus and does not have content, a 2416 | // hint text property will be shown with this style. This is comment 2417 | // to pre-fill to box with something like 'Search' that goes away when active 2418 | TextEntry:empty 2419 | { 2420 | font-style=italic 2421 | textcolor=LabelDisabled 2422 | } 2423 | 2424 | TextEntryLarge 2425 | { 2426 | font-family=basefont 2427 | font-size=18 2428 | textcolor="Text" 2429 | font-weight=400 2430 | bgcolor="none" 2431 | selectedtextcolor="TextEntrySelected" 2432 | selectedbgcolor="TextSelectedBG" 2433 | shadowtextcolor="text" // this is the cursor color 2434 | 2435 | inset-left=4 2436 | render 2437 | { 2438 | // lines around 2439 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorder )" // top 2440 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorder )" // bottom 2441 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorder )" // left 2442 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorder )" // right 2443 | } 2444 | } 2445 | 2446 | TextEntryLarge:focus 2447 | { 2448 | textcolor="TextHover" 2449 | render 2450 | { 2451 | // lines around 2452 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorderFocus )" // top 2453 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorderFocus )" // bottom 2454 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorderFocus )" // left 2455 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorderFocus )" // right 2456 | } 2457 | } 2458 | 2459 | TextEntryLarge:disabled 2460 | { 2461 | textcolor="TextDisabled" 2462 | bgcolor="ButtonFaceDisabled" 2463 | render 2464 | { 2465 | // lines around 2466 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonBorderDisabled )" // top 2467 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonBorderDisabled )" // bottom 2468 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonBorderDisabled )" // left 2469 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonBorderDisabled )" // right 2470 | } 2471 | } 2472 | 2473 | TextEntryURL 2474 | { 2475 | font-family=basefont 2476 | font-size=14 2477 | textcolor="text" 2478 | font-weight=400 2479 | bgcolor="none" 2480 | selectedtextcolor="TextEntrySelected" 2481 | selectedbgcolor="TextSelectedBG" 2482 | shadowtextcolor="Text" // this is the cursor color 2483 | inset-left=0 2484 | inset-top=-1 2485 | render { } 2486 | } 2487 | 2488 | TextEntryURL:Hover 2489 | { 2490 | textcolor="texthover" 2491 | render 2492 | { 2493 | // lines around 2494 | 1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, ButtonFaceDisabled )" // top 2495 | 2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, ButtonFaceDisabled )" // bottom 2496 | 3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, ButtonFaceDisabled )" // left 2497 | 4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, ButtonFaceDisabled )" // right 2498 | } 2499 | } 2500 | 2501 | ToggleButton 2502 | { 2503 | inset="1 0 0 0" 2504 | inset="1 3 0 0" [$OSX] 2505 | font-family=basefont 2506 | font-size=13 2507 | font-weight=400 2508 | textcolor="Text" 2509 | bgcolor=none 2510 | render_bg 2511 | { 2512 | 2513 | // background fill 2514 | 0="gradient( x0, y0, x1, y1, buttonface2, propertysheetbg )" 2515 | } 2516 | } 2517 | 2518 | ToggleButton:focus 2519 | { 2520 | textcolor="TextHover" 2521 | bgcolor="none" 2522 | render_bg 2523 | { 2524 | // background fill 2525 | 0="gradient( x0, y0, x1, y1, buttonface2, propertysheetbg )" 2526 | } 2527 | } 2528 | 2529 | ToggleButton:hover 2530 | { 2531 | textcolor="TextHover" 2532 | bgcolor="none" 2533 | render_bg 2534 | { 2535 | 2536 | // background fill 2537 | 0="gradient( x0, y0, x1, y1, buttonfaceactive, propertysheetbg )" 2538 | } 2539 | } 2540 | 2541 | ToggleButton:selected 2542 | { 2543 | 2544 | textcolor="TextHover" 2545 | bgcolor="none" 2546 | render_bg 2547 | { 2548 | // background fill 2549 | 0="gradient( x0, y0, x1, y1, backgroundstartopaque, propertysheetbg )" 2550 | } 2551 | } 2552 | 2553 | 2554 | "Page ToggleButton" 2555 | { 2556 | font-family=basefont 2557 | font-size=13 2558 | font-weight=400 2559 | textcolor="Text" 2560 | bgcolor=none 2561 | render_bg 2562 | { 2563 | // background fill 2564 | 0="gradient( x0, y0, x1, y1, buttonface2, propertysheetbg )" 2565 | } 2566 | } 2567 | 2568 | "Page ToggleButton:hover" 2569 | { 2570 | textcolor="TextHover" 2571 | bgcolor="none" 2572 | render_bg 2573 | { 2574 | 0="gradient( x0, y0, x1, y1, buttonfacehover, propertysheetbg )" 2575 | } 2576 | } 2577 | 2578 | "Page ToggleButton:focus" 2579 | { 2580 | textcolor="TextHover" 2581 | bgcolor="none" 2582 | render_bg 2583 | { 2584 | 0="gradient( x0, y0, x1, y1, buttonfacefocus, propertysheetbg )" 2585 | } 2586 | } 2587 | 2588 | "Page ToggleButton:selected" 2589 | { 2590 | textcolor="TextHover" 2591 | bgcolor="none" 2592 | render_bg 2593 | { 2594 | 0="gradient( x0, y0, x1, y1, backgroundstartopaque, propertysheetbg )" 2595 | } 2596 | } 2597 | 2598 | // the background and frame of a tooltip 2599 | TooltipWindow 2600 | { 2601 | bgcolor="MenuBG1" 2602 | } 2603 | 2604 | // body text inside a tooltip 2605 | "TooltipWindow Label" 2606 | { 2607 | padding-left=4 2608 | textcolor="Text" 2609 | } 2610 | 2611 | // headline text inside a tooltip 2612 | tooltip_headline 2613 | { 2614 | textcolor="TextSelected" 2615 | padding-left=4 2616 | padding-top=1 2617 | padding-bottom=0 2618 | font-weight=1000 2619 | } 2620 | 2621 | TreeNode 2622 | { 2623 | bgcolor=none 2624 | render_bg {} 2625 | } 2626 | 2627 | TreeNodeImage 2628 | { 2629 | bgcolor=none 2630 | } 2631 | 2632 | TreeViewSubPanel 2633 | { 2634 | bgcolor=none 2635 | } 2636 | 2637 | TreeNodeText 2638 | { 2639 | font-family=basefont 2640 | font-size=13 2641 | textcolor="Text" 2642 | selectedtextcolor="TextSelected" 2643 | selectedbgcolor="TextSelectedBG" 2644 | bgcolor=none 2645 | render {} 2646 | render_bg {} 2647 | } 2648 | 2649 | TreeView 2650 | { 2651 | render_bg 2652 | { 2653 | -1="fill( x0 + 1, y0 + 1, x1 - 1, y1 - 1, none )" 2654 | 2655 | // lines around 2656 | 1="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorder )" // top 2657 | 2="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorder )" // bottom 2658 | 3="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorder )" // left 2659 | 4="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorder )" // right 2660 | 2661 | // single pixel fills in the corners 2662 | 5="fill( x0 + 2, y0, x1 - 2, y0 + 1, ButtonBorderDisabled )" // top 2663 | 6="fill( x0 + 2, y1 - 1, x1 - 2, y1, ButtonBorderDisabled )" // bottom 2664 | 7="fill( x0, y0 + 2, x0 + 1, y1 - 2, ButtonBorderDisabled )" // left 2665 | 8="fill( x1 - 1, y0 + 2, x1, y1 - 2, ButtonBorderDisabled )" // right 2666 | 11="fill( x0, y0 + 1, x0 + 1, y0 + 2, ButtonBorderDisabled2 )" 2667 | 12="fill( x1 - 1, y0 + 1, x1, y0 + 2, ButtonBorderDisabled2 )" 2668 | 13="fill( x0, y1 - 2, x0 + 1, y1 - 1, ButtonBorderDisabled2 )" 2669 | 14="fill( x1 - 1, y1 - 2, x1, y1 - 1, ButtonBorderDisabled2 )" 2670 | 15="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled2 )" 2671 | 16="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled2 )" 2672 | 17="fill( x0 + 1, y1 - 1, x0 + 2, y1, ButtonBorderDisabled2 )" 2673 | 18="fill( x1 - 2, y1 - 1, x1 - 1, y1, ButtonBorderDisabled2 )" 2674 | } 2675 | } 2676 | 2677 | URLLabel 2678 | { 2679 | textcolor="label" 2680 | bgcolor="none" 2681 | font-family=basefont 2682 | font-size=14 2683 | font-weight=400 2684 | font-style=underline 2685 | } 2686 | 2687 | URLLabel:Hover 2688 | { 2689 | textcolor="texthover" 2690 | font-size=14 2691 | } 2692 | 2693 | URLLabelSimple 2694 | { 2695 | textcolor="labelfocus" 2696 | bgcolor="none" 2697 | font-family=basefont 2698 | font-size=14 2699 | font-weight=400 2700 | font-style=regular 2701 | } 2702 | 2703 | URLLabelSimple [$OSX] 2704 | { 2705 | textcolor="labelfocus" 2706 | bgcolor="none" 2707 | font-family=basefont 2708 | font-size=13 2709 | font-weight=400 2710 | font-style=regular 2711 | } 2712 | 2713 | URLLabelSimple:Hover 2714 | { 2715 | font-style=underline 2716 | textcolor="WHITE" 2717 | } 2718 | 2719 | URLLabelSimple2 2720 | { 2721 | textcolor="labelfocus" 2722 | bgcolor="none" 2723 | font-family=basefont 2724 | font-size=14 2725 | font-weight=400 2726 | font-style=regular 2727 | } 2728 | 2729 | URLLabelSimple2 [$OSX] 2730 | { 2731 | textcolor="labelfocus" 2732 | bgcolor="none" 2733 | font-family=basefont 2734 | font-size=13 2735 | font-weight=400 2736 | font-style=regular 2737 | } 2738 | 2739 | URLLabelSimple2:Hover 2740 | { 2741 | textcolor="WHITE" 2742 | } 2743 | 2744 | 2745 | // Steam-specific styles 2746 | CConsoleHistory 2747 | { 2748 | font-family="Lucida Console" 2749 | font-size=9 2750 | font-family="Menlo" [$OSX] 2751 | font-size=14 [$OSX] 2752 | textcolor="label" 2753 | selectedtextcolor="TextSelected" 2754 | 2755 | render 2756 | { 2757 | 2758 | } 2759 | render_bg 2760 | { 2761 | // background gradient 2762 | 1="gradient( x0, y0, x1, y1, dialogbg, almostblack )" 2763 | } 2764 | } 2765 | 2766 | GameColumnHeaderFavorites 2767 | { 2768 | image="steam/cached/fav_remove" 2769 | 2770 | } 2771 | 2772 | CGamesListFavoritesToggle 2773 | { 2774 | image="steam/cached/fav_addTo" 2775 | } 2776 | 2777 | CGamesListFavoritesToggle:hover 2778 | { 2779 | image="steam/cached/fav_addTo_ovr" 2780 | } 2781 | 2782 | CGamesListFavoritesToggle:selected 2783 | { 2784 | image="steam/cached/fav_remove" 2785 | } 2786 | 2787 | CGamesListFavoritesToggle:selected:hover 2788 | { 2789 | image="steam/cached/fav_remove_ovr" 2790 | } 2791 | 2792 | WrapPanel 2793 | { 2794 | inset="0 0 0 0" 2795 | font-family=basefont 2796 | font-size=14 2797 | font-weight=400 2798 | textcolor="Text" 2799 | selectedtextcolor="TextSelected" 2800 | selectedbgcolor="Focus" 2801 | bgcolor=none 2802 | render_bg { 2803 | // background gradient 2804 | 1="gradient( x0, y0, x1, y0 + 240, propertysheetbg, DarkDialogBG )" 2805 | 2="fill( x0, y0 + 240, x1, y1, DarkDialogBG )" 2806 | } 2807 | inset="1 -1 1 1" 2808 | } 2809 | 2810 | BackButton 2811 | { 2812 | bgcolor=none 2813 | inset="-5 -1 0 0" 2814 | render_bg={} 2815 | image="graphics/icon_button_back" 2816 | } 2817 | 2818 | BackButton:hover 2819 | { 2820 | bgcolor=none 2821 | render_bg={} 2822 | image="graphics/icon_button_back_down" 2823 | } 2824 | 2825 | BackButton:active 2826 | { 2827 | bgcolor=none 2828 | render_bg={} 2829 | image="graphics/icon_button_back_down" 2830 | } 2831 | 2832 | BackButton:disabled 2833 | { 2834 | bgcolor=none 2835 | render_bg={} 2836 | image="graphics/icon_button_back_disabled" 2837 | } 2838 | 2839 | FullscreenButton 2840 | { 2841 | bgcolor=none 2842 | render_bg={} 2843 | image="graphics/icon_controller_bpm" 2844 | } 2845 | 2846 | 2847 | FullscreenButton:hover 2848 | { 2849 | bgcolor=none 2850 | render_bg={} 2851 | image="graphics/icon_controller_bpm_over" 2852 | } 2853 | 2854 | FullscreenButton:active 2855 | { 2856 | bgcolor=none 2857 | render_bg={} 2858 | image="graphics/icon_controller_bpm_down" 2859 | } 2860 | 2861 | FullscreenButton:disabled 2862 | { 2863 | bgcolor=none 2864 | render_bg={} 2865 | image="graphics/icon_controller_bpm_disabled" 2866 | } 2867 | 2868 | ForwardButton 2869 | { 2870 | bgcolor=none 2871 | inset="-5 -1 0 0" 2872 | render_bg={} 2873 | image="graphics/icon_button_forward" 2874 | } 2875 | 2876 | ForwardButton:hover 2877 | { 2878 | bgcolor=none 2879 | render_bg={} 2880 | image="graphics/icon_button_forward_over" 2881 | } 2882 | 2883 | ForwardButton:active 2884 | { 2885 | bgcolor=none 2886 | render_bg={} 2887 | image="graphics/icon_button_forward_down" 2888 | } 2889 | 2890 | ForwardButton:disabled 2891 | { 2892 | bgcolor=none 2893 | render_bg={} 2894 | image="graphics/icon_button_forward_disabled" 2895 | } 2896 | 2897 | HomeButton 2898 | { 2899 | bgcolor=none 2900 | inset="-5 0 0 0" 2901 | render_bg={} 2902 | image="graphics/icon_button_home" 2903 | } 2904 | 2905 | HomeButton:hover 2906 | { 2907 | bgcolor=none 2908 | render_bg={} 2909 | image="graphics/icon_button_home_over" 2910 | } 2911 | 2912 | HomeButton:active 2913 | { 2914 | bgcolor=none 2915 | render_bg={} 2916 | image="graphics/icon_button_home_down" 2917 | } 2918 | 2919 | HomeButton:disabled 2920 | { 2921 | bgcolor=none 2922 | render_bg={} 2923 | image="graphics/icon_button_home_disabled" 2924 | } 2925 | 2926 | ReloadButton 2927 | { 2928 | bgcolor=none 2929 | inset="-5 0 0 0" 2930 | render_bg={} 2931 | image="graphics/icon_button_reload" 2932 | } 2933 | 2934 | ReloadButton:hover 2935 | { 2936 | bgcolor=none 2937 | render_bg={} 2938 | image="graphics/icon_button_reload_over" 2939 | } 2940 | 2941 | ReloadButton:active 2942 | { 2943 | bgcolor=none 2944 | render_bg={} 2945 | image="graphics/icon_button_reload_down" 2946 | } 2947 | 2948 | ReloadButton:disabled 2949 | { 2950 | bgcolor=none 2951 | render_bg={} 2952 | image="graphics/icon_button_reload_disabled" 2953 | } 2954 | 2955 | StopButton 2956 | { 2957 | bgcolor=none 2958 | inset="-5 0 0 0" 2959 | render_bg={} 2960 | image="graphics/icon_button_stop" 2961 | } 2962 | 2963 | StopButton:hover 2964 | { 2965 | bgcolor=none 2966 | render_bg={} 2967 | image="graphics/icon_button_stop_over" 2968 | } 2969 | 2970 | StopButton:active 2971 | { 2972 | bgcolor=none 2973 | render_bg={} 2974 | image="graphics/icon_button_stop_down" 2975 | } 2976 | 2977 | StopButton:disabled 2978 | { 2979 | bgcolor=none 2980 | render_bg={} 2981 | image="graphics/icon_button_stop_disabled" 2982 | } 2983 | 2984 | 2985 | gamedetails-headerlabel 2986 | { 2987 | } 2988 | 2989 | gamedetails-headerlabel-red 2990 | { 2991 | } 2992 | 2993 | gamedetails-headerlabel-green 2994 | { 2995 | } 2996 | 2997 | gamedetails-headerlabel-blue 2998 | { 2999 | } 3000 | 3001 | "html-findbar" 3002 | { 3003 | font-family=basefont 3004 | font-size=14 3005 | textcolor="text2" 3006 | font-weight=400 3007 | bgcolor="DarkClientBG" 3008 | selectedtextcolor="TextEntrySelected" 3009 | selectedbgcolor="TextSelectedBG" 3010 | shadowtextcolor="Text" // this is the cursor color 3011 | inset-left=0 3012 | inset-top=0 3013 | 3014 | render 3015 | { 3016 | // lines around 3017 | 0="fill( x0, y0, x0 + 1, y1, ButtonBorder )" 3018 | 1="gradient_horizontal( x0, y0, x1, y0 + 1, ButtonBorder, none )" 3019 | 2="gradient_horizontal( x0, y1 - 1, x1, y1, ButtonBorder, none )" 3020 | } 3021 | } 3022 | 3023 | "html-imebar" 3024 | { 3025 | font-family=basefont 3026 | font-size=14 3027 | textcolor="text2" 3028 | font-weight=400 3029 | bgcolor="DarkClientBG" 3030 | selectedtextcolor="TextEntrySelected" 3031 | selectedbgcolor="TextSelectedBG" 3032 | shadowtextcolor="Text" // this is the cursor color 3033 | inset-left=0 3034 | inset-top=0 3035 | 3036 | render 3037 | { 3038 | // lines around 3039 | 0="fill( x0, y0, x0 + 1, y1, ButtonBorder )" 3040 | 1="gradient_horizontal( x0, y0, x1, y0 + 1, ButtonBorder, none )" 3041 | 2="gradient_horizontal( x0, y1 - 1, x1, y1, ButtonBorder, none )" 3042 | } 3043 | } 3044 | 3045 | // styles for text used in RichText controls in various places 3046 | 3047 | console_text_error 3048 | { 3049 | textcolor="Highlight3" 3050 | font-size=14 3051 | font-family="Menlo" [$OSX] 3052 | font-size=16 [$OSX] 3053 | selectedtextcolor="TextSelected" 3054 | selectedbgcolor="Focus" 3055 | } 3056 | 3057 | console_text 3058 | { 3059 | font-family="Lucida Console" 3060 | font-size=9 3061 | font-family="Menlo" [$OSX] 3062 | font-size=14 [$OSX] 3063 | textcolor="text" 3064 | selectedtextcolor="TextSelected" 3065 | selectedbgcolor="Focus" 3066 | } 3067 | 3068 | friends_chat_text 3069 | { 3070 | textcolor="text" 3071 | selectedtextcolor="TextentrySelected" 3072 | SelectedBgColor="focus" 3073 | font-size=18 3074 | } 3075 | 3076 | friends_chat_text_self 3077 | { 3078 | textcolor="ChatOwnTextColor" 3079 | selectedtextcolor="TextentrySelected" 3080 | selectedbgcolor="focus" 3081 | font-size=18 3082 | } 3083 | 3084 | friends_chat_history 3085 | { 3086 | textcolor="ChatDialog.HistoryColor" 3087 | selectedtextcolor="TextentrySelected" 3088 | selectedbgcolor="focus" 3089 | font-size=18 3090 | } 3091 | 3092 | friends_chat_event 3093 | { 3094 | textcolor="Text" 3095 | font-size=18 3096 | selectedtextcolor="TextentrySelected" 3097 | selectedbgcolor="focus" 3098 | } 3099 | 3100 | friends_chat_bright_event 3101 | { 3102 | textcolor="text" 3103 | selectedtextcolor="TextentrySelected" 3104 | font-size=18 3105 | font-weight=1000 3106 | } 3107 | 3108 | friends_chat_url 3109 | { 3110 | textcolor="text" 3111 | SelectedBgColor="focus" 3112 | font-style=underline 3113 | font-size=18 3114 | selectedtextcolor="TextentrySelected" 3115 | selectedbgcolor="focus" 3116 | } 3117 | 3118 | friends_chat_name_ingame 3119 | { 3120 | textcolor="Friends.InGameColor" 3121 | selectedtextcolor="TextentrySelected" 3122 | selectedbgcolor="focus" 3123 | font-size=18 3124 | } 3125 | 3126 | friends_chat_name_golden 3127 | { 3128 | textcolor="Friends.GoldenColor" 3129 | selectedtextcolor="TextentrySelected" 3130 | selectedbgcolor="focus" 3131 | font-size=18 3132 | } 3133 | 3134 | 3135 | friends_chat_self 3136 | { 3137 | textcolor="Friends.OnlineColor" 3138 | selectedtextcolor="TextentrySelected" 3139 | selectedbgcolor="focus" 3140 | font-size=18 3141 | } 3142 | 3143 | friends_chat_name 3144 | { 3145 | textcolor="Friends.OnlineColor" 3146 | selectedtextcolor="TextentrySelected" 3147 | selectedbgcolor="focus" 3148 | font-size=18 3149 | } 3150 | 3151 | friends_chat_accountid 3152 | { 3153 | selectedtextcolor="TextentrySelected" 3154 | selectedbgcolor="focus" 3155 | textcolor="text" 3156 | font-size=18 3157 | } 3158 | 3159 | friends_chat_securitylink 3160 | { 3161 | textcolor="text" 3162 | bgcolor="none" 3163 | font-family=basefont 3164 | font-size=18 3165 | font-weight=400 3166 | font-style=underline 3167 | selectedtextcolor="TextSelected" 3168 | selectedbgcolor="Focus" 3169 | } 3170 | 3171 | CChatRoomDlg 3172 | { 3173 | bgcolor="none" 3174 | 3175 | render 3176 | { 3177 | 3178 | } 3179 | render_bg 3180 | { 3181 | 3182 | } 3183 | 3184 | } 3185 | 3186 | ChatListPanel 3187 | { 3188 | render {} 3189 | 3190 | render_bg 3191 | { 3192 | 0="gradient( x0, y0, x1 -16, y1, darkdialogbg, almostblack )" 3193 | } 3194 | } 3195 | 3196 | 3197 | Chat_MenuButton_withChrome 3198 | { 3199 | font-family=basefont 3200 | font-style="uppercase" 3201 | font-size=16 3202 | font-weight=400 3203 | textcolor="text" 3204 | bgcolor="none" 3205 | render_bg 3206 | { 3207 | // background fill 3208 | 0="gradient( x0, y0, x1, y1, buttonface, propertysheetbg )" 3209 | } 3210 | minimum-width=120 3211 | } 3212 | 3213 | Chat_MenuButton_withChrome:disabled 3214 | { 3215 | textcolor="LabelDisabled" 3216 | render_bg 3217 | { 3218 | // background fill 3219 | 0="fill( x0, y0, x1, y1, none )" 3220 | 3221 | } 3222 | } 3223 | 3224 | // used in friends tooltip and friends list for overriding regular styles with custom colors 3225 | friends_offline 3226 | { 3227 | textcolor="Friends.OfflineColor" 3228 | } 3229 | 3230 | friends_offline:hover 3231 | { 3232 | textcolor="Friends.OfflineHoverColor" 3233 | } 3234 | 3235 | friends_online 3236 | { 3237 | textcolor="Friends.OnlineColor" 3238 | } 3239 | 3240 | friends_online:hover 3241 | { 3242 | textcolor="Friends.OnlineHoverColor" 3243 | } 3244 | 3245 | friends_ingame 3246 | { 3247 | textcolor="Friends.InGameColor" 3248 | } 3249 | 3250 | friends_ingame:hover 3251 | { 3252 | textcolor="Friends.InGameHoverColor" 3253 | } 3254 | 3255 | friends_golden 3256 | { 3257 | textcolor="Friends.GoldenColor" 3258 | } 3259 | 3260 | friends_golden:hover 3261 | { 3262 | textcolor="Friends.GoldenHoverColor" 3263 | } 3264 | 3265 | friends_ignored 3266 | { 3267 | textcolor="Friends.IgnoredColor" 3268 | } 3269 | 3270 | 3271 | TabPageCloseButton 3272 | { 3273 | padding-right=16 3274 | } 3275 | 3276 | SuperNavMenu 3277 | { 3278 | padding-left=8 3279 | padding-right=8 3280 | 3281 | render {} 3282 | 3283 | render_bg 3284 | { 3285 | // top area and graphic 3286 | 0="fill( x0, y0, x1, y1, MenuBg )" 3287 | 1="image( x0, y0, x1, y1, graphics/clienttexture8)" 3288 | 3289 | // lines around 3290 | 2="fill( x0 + 1, y0, x1 - 1, y0 + 1, blueborder )" // top 3291 | 3="fill( x0 + 1, y1 - 1, x1 - 1, y1, blueborder )" // bottom 3292 | 4="fill( x0, y0 + 1, x0 + 1, y1 - 1, blueborder )" // left 3293 | 5="fill( x1 - 1, y0 + 1, x1, y1 - 1, blueborder )" // right 3294 | } 3295 | } 3296 | 3297 | SuperNavMenuItem 3298 | { 3299 | padding=1 3300 | font-size=14 3301 | font-weight=regular 3302 | textcolor="label" 3303 | bgcolor=none 3304 | font-style="uppercase" 3305 | } 3306 | 3307 | SuperNavMenuItem:selected 3308 | { 3309 | textcolor="SuperNav" 3310 | } 3311 | 3312 | SuperNavMenuItem:hover 3313 | { 3314 | textcolor="SuperNavHover" 3315 | } 3316 | 3317 | "SuperNavMenuDivider" 3318 | { 3319 | textcolor="none" 3320 | render { 3321 | 1="fill( x0+6, y0+1, x1-6, y0+2, SuperDivider )" 3322 | } 3323 | } 3324 | 3325 | "NotifyRemoteClientTitle" 3326 | { 3327 | textcolor="LabelDisabled" 3328 | } 3329 | 3330 | "NotifyRemoteClientInfo" 3331 | { 3332 | textcolor="176 172 165 255" 3333 | } 3334 | 3335 | } 3336 | } 3337 | --------------------------------------------------------------------------------