/*!
 * VisualEditor UserInterface Table Context styles.
 *
 * @copyright 2011-2015 VisualEditor Team and others; see http://ve.mit-license.org
 */

.ve-ui-tableContext {
	position: absolute;
}

.ve-ui-tableContext-indicator {
	display: block;
	background-color: #d3e5fd;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	cursor: pointer;
	margin: 0;
}

.ve-ui-tableContext-colContext .ve-ui-tableContext-indicator {
	width: 100%;
	height: 1em;
	/* Context height + 0.2em gap */
	margin-top: -1.2em;
	border-bottom: 0;
}

.ve-ui-tableContext-rowContext .ve-ui-tableContext-indicator {
	width: 1em;
	/* Context width + 0.2em gap */
	margin-left: -1.2em;
	border-right: 0;
}

/* Position the row context menu popup anchor below the center of the indicator */
.ve-ui-tableContext-rowContext .oo-ui-popupWidget {
	/* Gap + half context width: 0.2em + 1em/2 */
	left: -0.7em;
	top: 0.4em;
}
