Last active
December 22, 2015 23:29
-
-
Save FokkeZB/6547457 to your computer and use it in GitHub Desktop.
The iOS7 bordered button (like found in AppStore) for iOS6
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
".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