/* =================================== */
/* CSS for the layout of the ShellView */
/* =================================== */

.sapUshellShellBG {
  background-color: @sapUiShellBackground;
}

.sapUshellShellBG.sapUiShellBackgroundImage {
  background-image: @sapUiShellBackgroundImage;
  opacity: @sapUiShellBackgroundImageOpacity;
  .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: @sapUiTileTextColor;
}

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