/* =================================== */
/* CSS for control sap.m/ObjectStatus  */
/* Belize High Contrast White theme    */
/* =================================== */

/* HCB theme specific styles */
.sapMLIBHoverable:not(.sapMLIBSelected):hover+.sapMListTblSubRow,
.sapMListTblSubRow:hover, .sapMPopinHovered,
.sapMLIBSelected, .sapMLIBSelected+.sapMListTblSubRow, .sapMLIB:hover,
.sapUiTableRowSel, .sapUiTableRowHvr {
	.sapMObjStatusNone .sapMObjStatusText,
	.sapMObjStatusNone .sapMObjStatusIcon,
	.sapMObjStatusError .sapMObjStatusText,
	.sapMObjStatusError .sapMObjStatusIcon,
	.sapMObjStatusWarning .sapMObjStatusText,
	.sapMObjStatusWarning .sapMObjStatusIcon,
	.sapMObjStatusSuccess .sapMObjStatusText,
	.sapMObjStatusSuccess .sapMObjStatusIcon,
	.sapMObjStatusInformation .sapMObjStatusText,
	.sapMObjStatusInformation .sapMObjStatusIcon  {
		color: @sapUiListTextColor;
	}
}

.sapMObjStatusActive .sapMObjStatusIcon:only-child > .sapUiIcon,
.sapMObjStatusActive .sapMObjStatusLink .sapMObjStatusText {
	text-decoration: underline;
}

.sapMObjStatusActive:hover .sapMObjStatusIcon:only-child > .sapUiIcon,
.sapMObjStatusActive:hover .sapMObjStatusLink .sapMObjStatusText,
.sapMObjStatusActive:focus .sapMObjStatusLink .sapMObjStatusText,
.sapMObjStatusActive:focus .sapMObjStatusIcon:only-child > .sapUiIcon{
	text-decoration: none;
}

.sapMListTbl .sapMObjStatusInverted .sapMObjStatusIcon > .sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon),
.sapMObjStatusInverted .sapMObjStatusIcon > .sapUiIcon {
	font-size: 1rem;
	vertical-align: top;
}

.sapMObjStatusInverted.sapMObjStatusIndication01,
.sapMObjStatusInverted.sapMObjStatusIndication02,
.sapMObjStatusInverted.sapMObjStatusIndication03,
.sapMObjStatusInverted.sapMObjStatusIndication04,
.sapMObjStatusInverted.sapMObjStatusIndication05,
.sapMObjStatusInverted.sapMObjStatusIndication06,
.sapMObjStatusInverted.sapMObjStatusIndication07,
.sapMObjStatusInverted.sapMObjStatusIndication08,
.sapMObjStatusInverted.sapMObjStatusNone,
.sapMObjStatusInverted.sapMObjStatusError,
.sapMObjStatusInverted.sapMObjStatusWarning,
.sapMObjStatusInverted.sapMObjStatusSuccess,
.sapMObjStatusInverted.sapMObjStatusInformation {
	.sapMObjStatusText,
	.sapMObjStatusIcon {
		background: none;
		font-size: @sapMFontMediumSize;
		font-weight: normal;
		padding: 0;
	}
	.sapMObjStatusIcon {
		padding-right: .5rem;
	}
	.sapMObjStatusLink:active,
	.sapMObjStatusLink:hover {
		.sapMObjStatusText,
		.sapMObjStatusIcon {
			background: none;
		}
	}
}

.sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusText,
.sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusIcon {
	color: @sapUiNeutralText;
}

.sapMObjStatusInverted.sapMObjStatusError .sapMObjStatusText,
.sapMObjStatusInverted.sapMObjStatusError .sapMObjStatusIcon {
	color: @sapUiNegativeText;
}

.sapMObjStatusInverted.sapMObjStatusWarning .sapMObjStatusText,
.sapMObjStatusInverted.sapMObjStatusWarning .sapMObjStatusIcon {
	color: @sapUiCriticalText;
}

.sapMObjStatusInverted.sapMObjStatusSuccess .sapMObjStatusText,
.sapMObjStatusInverted.sapMObjStatusSuccess .sapMObjStatusIcon {
	color: @sapUiPositiveText;
}

.sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusText,
.sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusIcon {
	color: @sapUiInformativeText;
}

.sapMObjStatusInverted {
	&.sapMObjStatusActive .sapMObjStatusText {
		vertical-align: top;
	}

	&.sapMObjectStatusLarge .sapMObjStatusIcon {
		padding-right: 0.25rem;
	}
	&.sapMObjectStatusLarge .sapMObjStatusText,
	&.sapMObjectStatusLarge .sapMObjStatusIcon {
		font-size: 1.5rem;
		font-weight: normal;
		& > .sapUiIcon {
			font-size: 1.5rem;
			line-height: inherit;
		}
	}
}

html.sap-desktop .sapMObjStatusActive:focus .sapMObjStatusLink::after {
	outline: 2px dotted @sapContent_ContrastFocusColor;
}

html.sap-desktop .sapMObjStatusActive.sapMObjStatusInverted:focus {
	.sapMObjStatusLink::after {
		top: -1px;
		left: 1px;
		bottom: 1px;
		right: 1px;
	}
}

.sapMObjStatus.sapMObjectStatusLarge {
	vertical-align: middle;
    font-size: 2rem;
    height: 2rem;
	.sapMObjStatusIcon {
		vertical-align: baseline;
	}
	.sapMObjStatusText {
		line-height: 1.5rem;
	}
	.sapMObjStatusTitle {
		line-height: 1.5rem;
	}
	&.sapMObjStatusInverted.sapMObjStatusActive {
		.sapMObjStatusLink {
			height: 2rem;

			.sapMObjStatusIcon {
				vertical-align: inherit;
			}

			.sapMObjStatusIcon > .sapUiIcon {
				line-height: 1.75rem;
			}

			.sapMObjStatusText {
				vertical-align: middle;
			}
		}

	}
}

html.sap-desktop .sapMObjStatusActive:focus.sapMObjectStatusLarge {
	.sapMObjStatusLink::after {
		position: absolute;
		top: 1px;
		left: 2px;
		bottom: 0px;
		right: 2px;
		height: 2rem;
	}
	&.sapMObjStatusInverted .sapMObjStatusLink::after {
		top: 1px;
		left: 3px;
		bottom: 1px;
		right: 3px;
		height: 2rem;
		outline: 2px dotted @sapContent_ContrastFocusColor;
	}
}