/*!
 * VisualEditor Standalone Platform styles.
 *
 * @copyright See AUTHORS.txt
 */

.ve-init-notifications {
	position: fixed;
	top: 1em;
	right: 1em;
	width: 20em;
	z-index: 2;
}

.ve-init-notification {
	cursor: pointer;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 2px;
	box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
	padding: 0.75em 1.5em;
	margin-bottom: 1em;

	&-wrapper {
		opacity: 0;
		-webkit-transform: translateX( 50% );
		transform: translateX( 50% );
		overflow: hidden;
		transition: opacity 250ms ease, transform 250ms ease, height 250ms ease;
	}

	&-title {
		font-weight: bold;
	}

	&-open {
		opacity: 1;
		-webkit-transform: translateX( 0 );
		transform: translateX( 0 );
	}

	&-collapse {
		/* stylelint-disable-next-line declaration-no-important */
		height: 0 !important;
	}
}
