Created
July 28, 2011 03:12
-
-
Save sammarks/1110897 to your computer and use it in GitHub Desktop.
JSGUI Button Styling so far - Looking pretty nice and customizable.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var settings = { | |
padding: '5px', | |
backgroundBrush: { | |
type: 'gradient', | |
stops: [ | |
{ color: "#EEEEEE", percent: "0" }, | |
{ color: "#CCCCCC", percent: "100" } | |
] | |
}, | |
borderBrush: { | |
type: 'solid', | |
color: '#999999' | |
}, | |
foregroundBrush: { | |
type: 'solid', | |
color: '#000000' | |
}, | |
borderThickness: '1px', | |
fontSize: "15px", | |
cursor: "pointer", | |
hoverStyle: { | |
backgroundBrush: { | |
type: 'gradient', | |
stops: [ | |
{ color: "#EEEEEE", percent: '100' }, | |
{ color: "#CCCCCC", percent: '0' } | |
] | |
}, | |
borderBrush: { | |
type: 'solid', | |
color: "#666666" | |
} | |
}, | |
activeStyle: { | |
backgroundBrush: { | |
type: 'gradient', | |
stops: [ | |
{ color: "#DDDDDD", percent: '100' }, | |
{ color: "#BBBBBB", percent: '0' } | |
] | |
}, | |
borderBrush: { | |
type: 'solid', | |
color: '#333333' | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment