123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- // @flow
-
- import { ColorPalette, createStyleSheet } from '../../../base/styles';
- import BaseTheme from '../../../base/ui/components/BaseTheme';
-
- export const answerStyles = createStyleSheet({
- question: {
- fontSize: 24,
- fontWeight: 'bold',
- marginBottom: 6
- },
- answer: {
- flexDirection: 'row',
- alignItems: 'center',
- marginBottom: 3
- },
- option: {
- flexShrink: 1
- }
- });
-
- export const dialogStyles = createStyleSheet({
- question: {
- fontSize: 16,
- fontWeight: 'bold',
- marginVertical: 4
- },
-
- optionContainer: {
- flexDirection: 'row'
- },
-
- field: {
- borderBottomWidth: 1,
- borderColor: ColorPalette.blue,
- fontSize: 14,
- flexGrow: 1,
- paddingBottom: 0,
- flexShrink: 1
- },
-
- buttonContainer: {
- justifyContent: 'flex-end',
- alignItems: 'center'
- },
-
- icon: {
- color: ColorPalette.white,
- backgroundColor: ColorPalette.blue,
- borderRadius: 5,
- margin: 0
- },
-
- plusButton: {
- marginTop: 8
- }
- });
-
- export const resultsStyles = createStyleSheet({
- title: {
- fontSize: 24,
- fontWeight: 'bold'
- },
-
- barContainer: {
- backgroundColor: '#ccc',
- borderRadius: 3,
- width: '100%',
- height: 6,
- marginTop: 2
- },
-
- bar: {
- backgroundColor: ColorPalette.blue,
- borderRadius: 3,
- height: 6
- },
-
- voters: {
- borderRadius: 3,
- borderWidth: 1,
- borderColor: 'gray',
- padding: 2,
- marginHorizontal: 8,
- marginVertical: 4
- },
-
- answerContainer: {
- marginVertical: 2,
- maxWidth: '100%'
- },
-
- answerHeader: {
- flexDirection: 'row',
- justifyContent: 'space-between'
- },
-
- answer: {
- flexShrink: 1
- },
-
- answerVoteCount: {
- paddingLeft: 10
- },
-
- chatQuestion: {
- fontWeight: 'bold'
- }
- });
-
- export const chatStyles = createStyleSheet({
- messageFooter: {
- flex: 1,
- flexDirection: 'row',
- justifyContent: 'space-between',
- alignItems: 'center',
- fontSize: 11,
- marginTop: 6
- },
-
- showDetails: {
- fontWeight: 'bold'
- },
-
- noPollText: {
- flex: 1,
- color: BaseTheme.palette.ui05,
- textAlign: 'center',
- paddingTop: '8%'
- },
-
- pollItemContainer: {
- borderRadius: 4,
- borderColor: '#2183ad',
- borderWidth: 2,
- padding: 16,
- marginBottom: 8
- },
-
- pollCreateContainer: {
- flex: 1,
- justifyContent: 'space-between'
- },
-
- pollCreateSubContainer: {
- flex: 1
- },
-
- pollCreateButton: {
- flex: 1,
- marginHorizontal: 8
- },
-
- buttonRow: {
- flexDirection: 'row'
- },
-
- answerContent: {
- paddingBottom: 8
- },
-
- switchRow: {
- alignItems: 'center',
- flexDirection: 'row',
- padding: 6
- },
-
- pollCreateAddButton: {
- margin: BaseTheme.spacing[2]
- },
-
- toggleText: {
- color: ColorPalette.blue,
- paddingTop: BaseTheme.spacing[3]
- },
-
- createPollButton: {
- padding: 8,
- margin: BaseTheme.spacing[2]
- },
-
- PollPane: {
- flex: 1,
- padding: 8
- },
-
- PollPaneContainer: {
- flex: 1
- },
-
- PollPaneContent: {
- justifyContent: 'space-between',
- padding: BaseTheme.spacing[3],
- flex: 1
- },
-
- bottomLinks: {
- flexDirection: 'row',
- justifyContent: 'space-between'
- }
- });
|