import { css } from "emotion"; import { constants } from "../../theme"; import { colors } from "pebble-shared"; export const sidebarWrapperStyle = css({ backgroundColor: "rgba(16,23,33,0.3)", position: "fixed", top: 0, right: 0, bottom: 0, left: 0, zIndex: 99 }); export const closeStyle = css({ backgroundColor: colors.white.base, borderRadius: constants.borderRadius, height: 40, width: 40, display: "flex", alignItems: "center", justifyContent: "center", cursor: "pointer", marginLeft: -60, marginTop: 20, position: "absolute", i: { fontSize: 14, color: colors.gray.darker }, "@media (max-width: 800px)": { left: 80, marginTop: -45, borderRadius: 0, display: "flex", justifyContent: "flex-end", padding: "0 20px", i: { float: "right", color: colors.gray.dark, fontSize: 14 } } }); export const sidebarStyle = css({ backgroundColor: colors.white.base, position: "fixed", top: 0, bottom: 0, right: 0, willChange: "transform", zIndex: 99, "@media (max-width: 800px)": { width: "100%", paddingTop: 50 }, webkitOverflowScrolling: "touch" });