@import
	'../../mixins',
	'../../variables';


//	Justified listviews
@if ( $mm_opt_listview_justify )
{
	.mm-menu_listview-justify .mm-panels > .mm-panel,
	.mm-panels > .mm-panel_listview-justify
	{
		&:before,
		&:after
		{
			content: none;
			display: none;
		}

		.mm-listview
		{
			display: flex;
			flex-direction: column;

			height: 100%;
			margin-top: 0;
			margin-bottom: 0;
		}
		.mm-listitem
		{
			flex: 1 0 auto;
			min-height: $mm_btnSize; /* for Safari :( */

			&:not( .mm-listitem_divider )
			{
				display: flex;
				flex-direction: column;
			}
		}
		.mm-listitem__text
		{
			box-sizing: border-box;
			flex: 1 0 auto;
			display: flex;
			align-items: center;
		}
	}
}

//	Inset lists
@if ( $mm_opt_listview_inset )
{
	.mm-listview_inset
	{
		list-style: inside disc;
		width: 100%;
		padding: 0 ( $mm_padding + $mm_listitemIndent ) ( $mm_padding * 1.5 ) ( $mm_padding + $mm_listitemIndent );
		margin: 0;

		.mm-listitem
		{
			padding: ( $mm_padding * .5 ) 0;
		}
	}
}

