Skip to content

Instantly share code, notes, and snippets.

@FokkeZB
Last active December 22, 2015 23:29
Show Gist options
  • Save FokkeZB/6547457 to your computer and use it in GitHub Desktop.
Save FokkeZB/6547457 to your computer and use it in GitHub Desktop.
The iOS7 bordered button (like found in AppStore) for iOS6
".btn": {
borderSize: 1,
borderColor: '#1881f9',
borderRadius: 3,
color: '#1881f9',
selectedColor: '#1881f9',
height: 26,
style: Ti.UI.iPhone.SystemButtonStyle.PLAIN,
font: {
fontSize: 15,
fontFamily: 'HelveticaNeue'
}
}
// Add and remove this class on touchstart and touchend
".pressed": {
backgroundColor: '#1881f9',
color: '#fff',
font: {
fontSize: 15,
fontFamily: 'HelveticaNeue-Medium',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment