@import '../common';

.oo-ui-toggleSwitchWidget {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	overflow: hidden;
	.oo-ui-box-sizing( border-box );
	.oo-ui-transform( translateZ( 0 ) );

	&.oo-ui-widget-enabled {
		cursor: pointer;
	}

	&-grip {
		position: absolute;
		display: block;
		.oo-ui-box-sizing( border-box );
	}

	.theme-oo-ui-toggleSwitchWidget();
}

@import '../common';

.oo-ui-toggleSwitchWidget {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	overflow: hidden;
	.oo-ui-box-sizing( border-box );
	.oo-ui-force-webkit-gpu();

	&.oo-ui-widget-enabled {
		cursor: pointer;
	}

	&-grip {
		position: absolute;
		display: block;
		.oo-ui-box-sizing( border-box );
	}

	.theme-oo-ui-toggleSwitchWidget();
}

Replace `transform` with dedicated mixin
Replace `transform` with dedicated mixin

Replacing `transform` with dedicated “GPU hack” mixin.

Change-Id: Iac4acb6728ad82e2d834b703fd31ffd31a324908
