123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- import { createStyleSheet } from '../../../base/styles/functions.native';
- import BaseTheme from '../../../base/ui/components/BaseTheme.native';
-
-
- export const dialogStyles = createStyleSheet({
-
- headerContainer: {
- display: 'flex',
- flexDirection: 'row',
- justifyContent: 'space-between'
- },
-
- customContainer: {
- marginBottom: BaseTheme.spacing[3],
- marginHorizontal: BaseTheme.spacing[3],
- marginTop: BaseTheme.spacing[2]
- },
-
- questionText: {
- ...BaseTheme.typography.bodyShortBold,
- color: BaseTheme.palette.text01,
- marginLeft: BaseTheme.spacing[1]
- },
-
- questionOwnerText: {
- ...BaseTheme.typography.bodyShortBold,
- color: BaseTheme.palette.text03,
- marginBottom: BaseTheme.spacing[2],
- marginLeft: BaseTheme.spacing[1]
- },
-
- optionContainer: {
- flexDirection: 'column',
- marginTop: BaseTheme.spacing[3],
- marginHorizontal: BaseTheme.spacing[3]
- },
-
- optionRemoveButton: {
- width: 128
- },
-
- optionRemoveButtonText: {
- color: BaseTheme.palette.link01
- },
-
- field: {
- borderWidth: 1,
- borderColor: BaseTheme.palette.ui06,
- borderRadius: BaseTheme.shape.borderRadius,
- color: BaseTheme.palette.text01,
- fontSize: 14,
- paddingBottom: BaseTheme.spacing[2],
- paddingLeft: BaseTheme.spacing[3],
- paddingRight: BaseTheme.spacing[3],
- paddingTop: BaseTheme.spacing[2]
- }
- });
-
- export const resultsStyles = createStyleSheet({
-
- title: {
- fontSize: 24,
- fontWeight: 'bold'
- },
-
- barContainer: {
- backgroundColor: '#ccc',
- borderRadius: 3,
- width: '100%',
- height: 6,
- marginTop: 2
- },
-
- bar: {
- backgroundColor: BaseTheme.palette.action01,
- borderRadius: BaseTheme.shape.borderRadius,
- height: 6
- },
-
- voters: {
- backgroundColor: BaseTheme.palette.ui04,
- borderColor: BaseTheme.palette.ui03,
- borderRadius: BaseTheme.shape.borderRadius,
- borderWidth: 1,
- padding: BaseTheme.spacing[2],
- marginTop: BaseTheme.spacing[2]
- },
-
- voter: {
- color: BaseTheme.palette.text01
- },
-
- answerContainer: {
- marginHorizontal: BaseTheme.spacing[1],
- marginVertical: BaseTheme.spacing[3],
- maxWidth: '100%'
- },
-
- answerHeader: {
- flexDirection: 'row',
- justifyContent: 'space-between'
- },
-
- answer: {
- color: BaseTheme.palette.text01,
- flexShrink: 1
- },
-
- answerVoteCount: {
- paddingLeft: 10
- },
-
- chatQuestion: {
- fontWeight: 'bold'
- }
- });
-
- export const pollsStyles = createStyleSheet({
-
- noPollContent: {
- alignItems: 'center',
- justifyContent: 'center',
- position: 'absolute',
- bottom: 0,
- left: 0,
- right: 0,
- top: '25%'
- },
-
- noPollText: {
- flex: 1,
- color: BaseTheme.palette.text03,
- textAlign: 'center',
- maxWidth: '70%'
- },
-
- pollItemContainer: {
- backgroundColor: BaseTheme.palette.uiBackground,
- borderColor: BaseTheme.palette.ui06,
- borderRadius: BaseTheme.shape.borderRadius,
- boxShadow: BaseTheme.shape.boxShadow,
- borderWidth: 1,
- padding: BaseTheme.spacing[2],
- margin: BaseTheme.spacing[3]
- },
-
- pollCreateContainer: {
- flex: 1
- },
-
- pollCreateSubContainer: {
- flex: 1,
- marginTop: BaseTheme.spacing[3]
- },
-
- pollCreateButtonsContainerAndroid: {
- marginBottom: BaseTheme.spacing[8],
- marginHorizontal: BaseTheme.spacing[3]
- },
-
- pollCreateButtonsContainerIos: {
- marginBottom: BaseTheme.spacing[5],
- marginHorizontal: BaseTheme.spacing[3]
- },
-
- pollSendLabel: {
- color: BaseTheme.palette.text01,
- textTransform: 'capitalize'
- },
-
- pollSendDisabledLabel: {
- color: BaseTheme.palette.text03,
- textTransform: 'capitalize'
- },
-
- buttonRow: {
- flexDirection: 'row',
- justifyContent: 'space-between'
- },
-
- answerContent: {
- marginBottom: BaseTheme.spacing[2]
- },
-
- switchRow: {
- alignItems: 'center',
- flexDirection: 'row',
- padding: BaseTheme.spacing[2]
- },
-
- switchLabel: {
- color: BaseTheme.palette.text01,
- marginLeft: BaseTheme.spacing[2]
- },
-
- pollCreateAddButton: {
- marginHorizontal: BaseTheme.spacing[1],
- marginVertical: BaseTheme.spacing[2]
- },
-
- pollCreateButton: {
- marginHorizontal: BaseTheme.spacing[1],
- flex: 1
- },
-
- toggleText: {
- color: BaseTheme.palette.action01
- },
-
- createPollButtonIos: {
- marginHorizontal: 20,
- marginVertical: BaseTheme.spacing[5]
- },
-
- createPollButtonAndroid: {
- marginHorizontal: 20,
- marginVertical: BaseTheme.spacing[5]
- },
-
- pollPane: {
- flex: 1,
- padding: BaseTheme.spacing[2]
- },
-
- pollPaneContainer: {
- backgroundColor: BaseTheme.palette.ui01,
- flex: 1
- },
-
- bottomLinks: {
- flexDirection: 'row',
- justifyContent: 'space-between',
- marginHorizontal: BaseTheme.spacing[1]
- },
-
- fieldSeparator: {
- borderBottomWidth: 1,
- borderColor: BaseTheme.palette.ui05,
- marginTop: BaseTheme.spacing[3]
- }
- });
|