Prev Previous Post   Next Post Next
Old 31st January 2016, 10:11   #1
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 440
Coloring the right-click menu

Add these lines between the <elements> ... </elements> tags of the xml/system-colors.xml file in your skin to customize the colors of its right-click menu:

PHP Code:
  <!-- Customize the colors of the right-click menu -->
color id="wasabi.popupmenu.background" value="255,255,255"/>
color id="wasabi.popupmenu.background.selected" value="0,57,148"/>
color id="wasabi.popupmenu.text" value="0,0,0"/>
color id="wasabi.popupmenu.text.selected" value="255,255,255"/>
color id="wasabi.popupmenu.text.inactive" value="172,168,153"/>
color id="wasabi.popupmenu.frame" value="172,168,153"/>
color id="wasabi.popupmenu.separator" value="172,168,153"/> 
Change the values to your taste. When assigning a value to wasabi.popupmenu.background.selected, take into consideration that Winamp will turn that color 50% transparent. If wasabi.popupmenu.background is set to black (0,0,0) and wasabi.popupmenu.background.selected is set to white (255,255,255) then, with 50% transparency, the selected item will be highlighted with a gray background.

By adding wasabi.popupmenu tags, you can fix the broken right-click menus (with black letters on a black backgound) of great old skins such as Turner Classic Movies or Hitchhiker's Guide by Petrol Designs.

Thanks, Ali Mas'ud (msdzero) and Maribel Han, for sharing this howto: Styling Winamp Popup Menu.
Attached Files
File Type: wal Turner_Classic_Movies_v1_1.wal (1.94 MB, 213 views)
File Type: wal Hitchhikers_Guide_v1_1.wal (1.12 MB, 201 views)

BREAKING NEWS: Big Bento Modern v1.1 and Quinto Black CT v2.6 released!
ariszlo is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump