2020-08-09 11:08:46 +03:00
|
|
|
import * as React from "react";
|
|
|
|
import * as Constants from "~/common/constants";
|
2020-09-05 02:15:29 +03:00
|
|
|
import * as SVG from "~/common/svg";
|
2020-08-09 11:08:46 +03:00
|
|
|
|
|
|
|
import { css } from "@emotion/react";
|
|
|
|
|
|
|
|
const STYLES_BUTTON = css`
|
2020-09-02 04:09:39 +03:00
|
|
|
background-color: ${Constants.system.white};
|
2020-08-09 11:08:46 +03:00
|
|
|
color: ${Constants.system.pitchBlack};
|
|
|
|
display: inline-flex;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
border-radius: 36px;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
transition: 100ms ease all;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
flex-shrink: 0;
|
2020-09-02 04:09:39 +03:00
|
|
|
|
|
|
|
:hover {
|
|
|
|
color: ${Constants.system.white};
|
|
|
|
background-color: ${Constants.system.brand};
|
|
|
|
}
|
2020-08-09 11:08:46 +03:00
|
|
|
`;
|
|
|
|
|
2020-08-30 23:31:09 +03:00
|
|
|
export const CircleButtonLight = (props) => {
|
2020-08-09 11:08:46 +03:00
|
|
|
return <span css={STYLES_BUTTON} {...props} />;
|
|
|
|
};
|
2020-08-30 23:31:09 +03:00
|
|
|
|
|
|
|
export default CircleButtonLight;
|