{"size": 1850, "ext": "js", "max_stars_repo_path": "packages/components/src/ComponentDesignTool/ComponentDesignTool.styles.js", "max_stars_repo_name": "jorgefilipecosta/g2", "max_stars_repo_stars_event_min_datetime": "2020-07-02T21:11:39.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-26T14:20:27.000Z", "max_issues_repo_path": "packages/components/src/ComponentDesignTool/ComponentDesignTool.styles.js", "max_issues_repo_name": "jorgefilipecosta/g2", "max_issues_repo_issues_event_min_datetime": "2020-07-18T16:08:55.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-15T20:37:07.000Z", "max_forks_repo_path": "packages/components/src/ComponentDesignTool/ComponentDesignTool.styles.js", "max_forks_repo_name": "jorgefilipecosta/g2", "max_forks_repo_forks_event_min_datetime": "2020-08-06T04:57:01.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-04T11:15:27.000Z"}
{"max_stars_count": 105, "max_issues_count": 315, "max_forks_count": 11, "avg_line_length": 15.2892561983, "max_line_length": 40, "alphanum_fraction": 0.6610810811}
import { css } from '@wp-g2/styles';

export const ElementOutline = css`
	display: none;
	outline: 1px solid orangered;
	pointer-events: none;
	position: fixed;
	z-index: 9999999;
`;

export const ParentElementOutline = css`
	${ElementOutline}
	outline: 1px solid #7b62ff;
	z-index: 999999;
`;

export const RulerX = css`
	border-top: 1px solid orangered;
	height: 0;
	opacity: 0.5;
	position: absolute;
	top: 50%;
`;

export const RulerY = css`
	border-left: 1px solid orangered;
	left: 50%;
	opacity: 0.5;
	position: absolute;
	width: 0;
`;

export const RulerL = css`
	${RulerX};
`;

export const RulerR = css`
	${RulerX};
`;

export const RulerT = css`
	${RulerY};
`;

export const RulerB = css`
	${RulerY};
`;

export const BaseLabel = css`
	background: orangered;
	border-radius: 2px;
	color: white;
	display: block;
	font-size: 7px;
	font-weight: bold;
	line-height: 1;
	margin: 0;
	padding: 1px 2px;
	position: absolute;
`;

export const Label = css`
	${BaseLabel};
	background: orangered;
`;

export const LabelT = css`
	${Label};
	left: 50%;
	top: 0;
	transform: translate(-50%, -120%);
`;

export const LabelB = css`
	${Label};
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 120%);
`;

export const LabelL = css`
	${Label};
	left: 0;
	top: 50%;
	transform: translate(-120%, -50%);
`;

export const LabelR = css`
	${Label};
	right: 0;
	top: 50%;
	transform: translate(120%, -50%);
`;

export const ParentSizeLabel = css`
	${BaseLabel};
	background: #7b62ff;
	bottom: 0;
	right: 0;
	transform: translateY(120%);
	white-space: nowrap;
`;

export const SizeLabel = css`
	${BaseLabel};
	background: orangered;
	left: 0;
	top: 0;
	transform: translate(0, -120%);
	white-space: nowrap;
	z-index: 2;
`;

export const Resizer = css`
	cursor: pointer;
	outline: 1px solid #7b62ff;
	pointer-events: none;
	position: fixed;
	z-index: 9999999;
`;
