123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- import { Colors } from '../../../../theme';
- import { StyleSheet } from 'react-native';
- import { getFontSize } from '../../../../utils';
- import { widthPercentageToDP } from '../../ProfileScreen/navigation-opts';
- export const ProfileStyles = StyleSheet.create({
- badge: {
- width: 36,
- height: 14,
- borderRadius: 7,
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center'
- },
- badgesWrapper: {
- display: 'flex',
- flexDirection: 'row',
- gap: 3,
- marginLeft: 10
- },
- profileRoot: {
- alignItems: 'center',
- flexDirection: 'row',
- gap: 10,
- marginBottom: 5
- },
- profileAvatar: {
- borderRadius: 24,
- width: 48,
- height: 48
- },
- profileFirstLastName: {
- flex: 1,
- fontFamily: 'redhat-700',
- color: Colors.DARK_BLUE,
- fontSize: getFontSize(12)
- },
- profileDataRoot: {
- gap: 5,
- width: '75%'
- },
- profileDataContainer: {
- display: 'flex',
- justifyContent: 'space-between',
- flexDirection: 'row'
- },
- profileDataWrapper: {
- display: 'flex',
- flexDirection: 'row',
- gap: 10,
- alignItems: 'center'
- },
- profileAge: {
- color: Colors.DARK_BLUE,
- fontWeight: '600',
- fontSize: getFontSize(12)
- },
- countryFlag: {
- width: 20,
- height: 20,
- borderRadius: 20 / 2,
- borderWidth: 0.5,
- borderColor: 'gray'
- }
- });
- export const ScoreStyles = StyleSheet.create({
- scoreWrapper: {
- display: 'flex',
- alignItems: 'center',
- justifyContent: 'center',
- flexDirection: 'column',
- flexBasis: '18%',
- marginBottom: 10,
- width: 40
- },
- scoreHeaderText: {
- fontFamily: 'redhat-700',
- color: Colors.DARK_BLUE,
- fontSize: getFontSize(12),
- textAlign: 'center'
- },
- scoreNameText: {
- color: Colors.DARK_BLUE,
- fontWeight: '600',
- fontSize: getFontSize(11),
- textAlign: 'center'
- },
- rankText: {
- fontSize: 18,
- color: Colors.DARK_BLUE,
- fontWeight: '700',
- position: 'absolute',
- left: -20,
- top: 10
- },
- nmWrapper: {
- paddingTop: 17,
- paddingBottom: 17,
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
- marginLeft: widthPercentageToDP(6)
- },
- rankingWrapper: {
- display: 'flex',
- flexDirection: 'row',
- justifyContent: 'center',
- alignItems: 'center',
- marginBottom: 15,
- flex: 1
- },
- rankingScoresWrapper: {
- display: 'flex',
- flexDirection: 'row',
- justifyContent: 'center',
- alignItems: 'center',
- flexWrap: 'wrap',
- columnGap: 5,
- flex: 1
- },
- activeScoreRanking: {
- fontSize: 20,
- color: Colors.DARK_BLUE,
- fontWeight: '700'
- },
- activeScoreName: {
- fontSize: 14,
- color: Colors.DARK_BLUE,
- fontWeight: '500'
- }
- });
- export const TBTStyles = StyleSheet.create({
- badgeRoot: {
- display: 'flex',
- marginTop: 10
- },
- badgeWrapper: {
- display: 'flex',
- alignItems: 'center'
- }
- });
- export const HorizontalSelectStyles = StyleSheet.create({
- wrapper: {
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
- paddingLeft: 10,
- paddingRight: 10,
- borderRadius: 17,
- height: 33
- },
- text: {
- fontSize: getFontSize(12),
- fontWeight: '600'
- },
- notActiveText: {
- color: Colors.DARK_BLUE
- },
- activeText: {
- color: Colors.WHITE
- },
- notSelected: {
- backgroundColor: Colors.WHITE,
- borderColor: 'rgba(15, 63, 79, 0.3)',
- borderWidth: 1
- },
- selected: {
- backgroundColor: Colors.ORANGE
- }
- });
|