123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- import { createStyleSheet } from '../../base/styles';
-
- const NOTIFICATION_SIZE = 55;
-
- /**
- * The styles of the React {@code Component}s of the feature meeting-list i.e.
- * {@code MeetingList}.
- */
- export default createStyleSheet({
-
- /**
- * The top level container of the notification.
- */
- notificationContainer: {
- alignSelf: 'flex-start',
- flexDirection: 'row',
- justifyContent: 'center',
- overflow: 'hidden',
- position: 'absolute'
- },
-
- /**
- * Additional style for the container when the notification is displayed
- * on the side (narrow view).
- */
- notificationContainerSide: {
- top: 100
- },
-
- /**
- * Additional style for the container when the notification is displayed
- * on the top (wide view).
- */
- notificationContainerTop: {
- justifyContent: 'center',
- left: 0,
- right: 0,
- top: 0
- },
-
- /**
- * The top level container of the notification.
- */
- notificationContent: {
- alignSelf: 'flex-start',
- flexDirection: 'row',
- height: NOTIFICATION_SIZE,
- justifyContent: 'center',
- paddingHorizontal: 10
- },
-
- /**
- * Color for upcoming meeting notification.
- */
- notificationContentNext: {
- backgroundColor: '#eeb231'
- },
-
- /**
- * Color for already ongoing meeting notifications.
- */
- notificationContentPast: {
- backgroundColor: 'red'
- },
-
- /**
- * Additional style for the content when the notification is displayed
- * on the side (narrow view).
- */
- notificationContentSide: {
- borderBottomRightRadius: NOTIFICATION_SIZE,
- borderTopRightRadius: NOTIFICATION_SIZE
- },
-
- /**
- * Additional style for the content when the notification is displayed
- * on the top (wide view).
- */
- notificationContentTop: {
- borderBottomLeftRadius: NOTIFICATION_SIZE / 2,
- borderBottomRightRadius: NOTIFICATION_SIZE / 2,
- paddingHorizontal: 20
- },
-
- /**
- * The icon of the notification.
- */
- notificationIcon: {
- color: 'white',
- fontSize: 25
- },
-
- /**
- * The container that contains the icon.
- */
- notificationIconContainer: {
- alignItems: 'center',
- flexDirection: 'row',
- height: NOTIFICATION_SIZE,
- justifyContent: 'center'
- },
-
- /**
- * A single line of text of the notification.
- */
- notificationText: {
- color: 'white',
- fontSize: 13
- },
-
- /**
- * The container for all the lines if the norification.
- */
- notificationTextContainer: {
- flexDirection: 'column',
- height: NOTIFICATION_SIZE,
- justifyContent: 'center'
- },
-
- /**
- * The touchable component.
- */
- touchableView: {
- flexDirection: 'row'
- }
- });
|