/* ====================================== */
/* CSS for control sap.ushell/SysInfoBar  */
/* Base theme                             */
/* ====================================== */

.sapUiSizeCompact .sapUshellSysInfoBar {
	height: 1.625rem;

	.sapMBar {
		box-shadow: none;
	}

	.sapMBarLeft,
	.sapMBarRight,
	.sapMBarPH {
		height: 1.625rem;
	}
}

.sapUshellSysInfoBar {
	height: 2.25rem;

	.sapMBar {
		box-shadow: none;
	}

	.sapMBar:not(.sapUshellSysInfoBarOrange, .sapUshellSysInfoBarRed, .sapUshellSysInfoBarPink, .sapUshellSysInfoBarPink, .sapUshellSysInfoBarViolet, .sapUshellSysInfoBarViolet, .sapUshellSysInfoBarBlue, .sapUshellSysInfoBarGreen, .sapUshellSysInfoBarGrey, .sapUshellSysInfoBarPink2, .sapUshellSysInfoBarViolet2, .sapUshellSysInfoBarBlue2, .sapUshellSysInfoBarGreen2, .sapUshellSysInfoBarGrey2) {
		background-color: transparent;
	}

	.sapUshellSysInfoBarText:not(.sapUshellSysInfoBarOrange, .sapUshellSysInfoBarRed, .sapUshellSysInfoBarPink, .sapUshellSysInfoBarPink, .sapUshellSysInfoBarViolet, .sapUshellSysInfoBarViolet, .sapUshellSysInfoBarBlue, .sapUshellSysInfoBarGreen, .sapUshellSysInfoBarGrey, .sapUshellSysInfoBarPink2, .sapUshellSysInfoBarViolet2, .sapUshellSysInfoBarBlue2, .sapUshellSysInfoBarGreen2, .sapUshellSysInfoBarGrey2),
	.sapMLabelTextWrapper {
		text-shadow: none;
	}

	.sapMBarLeft,
	.sapMBarRight,
	.sapMBarPH {
		height: 2.25rem;
	}
}

/*
If a custom color is used, the labels should have the same color as the icon.
*/
.sapUshellSysInfoBarCustom {

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapContent_IconColor);
	}
}

.sapUshellSysInfoBarOrange {
	background-color: var(--sapShell_Category_3_Background);
	border-color: var(--sapShell_Category_3_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_3_TextColor);
		text-shadow: var(--sapShell_Category_3_TextShadow);
	}
}

.sapUshellSysInfoBarRed {
	background-color: var(--sapShell_Category_11_Background);
	border-color: var(--sapShell_Category_11_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_11_TextColor);
		text-shadow: var(--sapShell_Category_11_TextShadow);
	}
}

.sapUshellSysInfoBarPink {
	background-color: var(--sapShell_Category_13_Background);
	border-color: var(--sapShell_Category_13_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_13_TextColor);
		text-shadow: var(--sapShell_Category_13_TextShadow);
	}
}

.sapUshellSysInfoBarViolet {
	background-color: var(--sapShell_Category_12_Background);
	border-color: var(--sapShell_Category_12_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_12_TextColor);
		text-shadow: var(--sapShell_Category_12_TextShadow);
	}
}

.sapUshellSysInfoBarBlue {
	background-color: var(--sapShell_Category_9_Background);
	border-color: var(--sapShell_Category_9_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_9_TextColor);
		text-shadow: var(--sapShell_Category_9_TextShadow);
	}
}

.sapUshellSysInfoBarGreen {
	background-color: var(--sapShell_Category_16_Background);
	border-color: var(--sapShell_Category_16_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_16_TextColor);
		text-shadow: var(--sapShell_Category_16_TextShadow);
	}
}

.sapUshellSysInfoBarGrey {
	background-color: var(--sapShell_Category_15_Background);
	border-color: var(--sapShell_Category_15_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_15_TextColor);
		text-shadow: var(--sapShell_Category_15_TextShadow);
	}
}

.sapUshellSysInfoBarPink2 {
	background-color: var(--sapShell_Category_7_Background);
	border-color: var(--sapShell_Category_7_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_7_TextColor);
		text-shadow: var(--sapShell_Category_7_TextShadow);
	}
}

.sapUshellSysInfoBarViolet2 {
	background-color: var(--sapShell_Category_4_Background);
	border-color: var(--sapShell_Category_4_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_4_TextColor);
		text-shadow: var(--sapShell_Category_4_TextShadow);
	}
}

.sapUshellSysInfoBarBlue2 {
	background-color: var(--sapShell_Category_1_Background);
	border-color: var(--sapShell_Category_1_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_1_TextColor);
		text-shadow: var(--sapShell_Category_1_TextShadow);
	}
}

.sapUshellSysInfoBarGreen2 {
	background-color: var(--sapShell_Category_8_Background);
	border-color: var(--sapShell_Category_8_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_8_TextColor);
		text-shadow: var(--sapShell_Category_8_TextShadow);
	}
}

.sapUshellSysInfoBarGrey2 {
	background-color: var(--sapShell_Category_10_Background);
	border-color: var(--sapShell_Category_10_BorderColor);

	.sapUshellSysInfoBarText,
	.sapMLabelTextWrapper {
		color: var(--sapShell_Category_10_TextColor);
		text-shadow: var(--sapShell_Category_10_TextShadow);
	}
}