/* ======================================= */
/* CSS for control sap.ushell/ShellLayout  */
/* Quartz Dark theme                       */
/* ======================================= */

.sapUshellShellBG {
	background-color: var(--sapShell_Background);
}

.sapUshellShellBG.sapUiShellBackgroundImage {
	background-image: var(--sapShell_BackgroundImage);
	opacity: var(--sapShell_BackgroundImageOpacity);

	.sapUshellBackgroundRepeatMixin;
}

.sapUshellBackgroundRepeatMixin() when (@sapUiShellBackgroundImageRepeat) {
	background-repeat: repeat;
	background-position: left top;
	background-size: auto;
}

.sapUshellBackgroundRepeatMixin() when not (@sapUiShellBackgroundImageRepeat) {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.sapUshellShapesDisplay() when (alpha(@sapUiShellBackgroundPatternColor) = 0), (@sapUiShellBackgroundPatternColor = transparent) {
	display: none;
}

#shell-shapes {
	.sapUshellShapesDisplay;
}

/* ====================================== Unused Styles ? =========================================== */

._sapUshellShellSubHdr { /* Testpage only */
	background-color: mix(@sapUiHighlight, @sapUiShellTextColor, 10);
	color: var(--sapTile_TextColor);
}

.sapUshellShellCurtain {
	border-bottom: 1px solid @sapUiMediumBG;
	background-attachment: fixed;
	background-repeat: repeat, no-repeat;
}