/* NOTE: This file was generated as an optimized version of "library.source.less" for the Theme Designer. */

/*!
 * OpenUI5
 * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
 * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
 */

@import "../base/library.less";
@import "../../../../../Base/baseLib/sap_fiori_3/base.less"; /* ORIGINAL IMPORT PATH: "../../../../sap/ui/core/themes/sap_fiori_3/base.less" */

@import "../../../../sap/ui/core/themes/sap_fiori_3/global.less";

/* START "InfoLabel.less" */
/* ================================= */
/* CSS for control sap.tnt/InfoLabel */
/* Fiori 3 theme                     */
/* ================================= */


// ==========================================================================
// Variables and mixins
// ==========================================================================

@_sap_tnt_InfoLabel_ColorsArray:
	@sapUiLegendBackgroundColor1 @sapUiAccent1,
	@sapUiLegendBackgroundColor2 @sapUiAccent2,
	@sapUiLegendBackgroundColor3 @sapUiAccent3,
	@sapUiLegendBackgroundColor5 @sapUiAccent4,
	@sapUiLegendBackgroundColor20 @sapUiAccent5,
	@sapUiLegendBackgroundColor6 @sapUiAccent6,
	@sapUiLegendBackgroundColor7 @sapUiAccent7,
	@sapUiLegendBackgroundColor18 @sapUiLegend18,
	@sapUiLegendBackgroundColor10 @sapUiAccent10,
	@sapUiLegendBackgroundColor9 @sapUiAccent9;

.create-classes-for-background-and-border-colors(backgroundColor, @_sap_tnt_InfoLabel_ColorsArray);

// Iterate over the InfoLabel ColorsArray and create separate class for each
// color named with the passed prefix and the number of the color
.create-classes-for-background-and-border-colors(@prefix, @list) {
	.iter(length(@list));
	.iter(@i) when (@i > 0) {
		.iter(@i - 1);

		@pair: extract(@list, @i);
		@backgroundColor: extract(@pair, 1);
		@borderColor: extract(@pair, 2);

		.@{prefix}@{i} {
			border: 0.0625rem solid @borderColor;
			background-color: @backgroundColor;

			.sapTntInfoLabelInner {
				color: @sapUiBaseText;
			}
		}
	}
}
/* END "InfoLabel.less" */

/* START "SideNavigation.less" */
/* ======================================= */
/* CSS for control sap.tnt/SideNavigation  */
/* Fiori 3 theme                           */
/* ======================================= */

@_sap_tnt_SideNavigation_NavigationSeparatorBackgroundColor: @sapUiListGroupHeaderBorderColor;
@_sap_tnt_SideNavigation_NavigationSeparatorHeight: 2 * @sapUiListBorderWidth;
/* END "SideNavigation.less" */

/* START "NavigationList.less" */
/* ======================================= */
/* CSS for control sap.tnt/NavigationList  */
/* Fiori 3 theme                           */
/* ======================================= */

@_sap_tnt_NavigationList_ItemHeight: 2.75rem;
@_sap_tnt_NavigationList_NoIconsNestedItemPadding: 2rem;
@_sap_tnt_NavigationList_GroupExpandedBorderWidth: 0;
@_sap_tnt_NavigationList_Collapsed_SelectedItemBackground: ~"0 100% / 100% 0.0625rem" no-repeat linear-gradient(0deg, @sapUiListSelectionBorderColor, @sapUiListSelectionBorderColor), @sapUiListSelectionBackgroundColor;

/* END "NavigationList.less" */
 // keep this order, it reuses variable @_sap_tnt_SideNavigation_BoxShadow defined in SideNavigation.less
/* START "ToolHeader.less" */
/* =================================== */
/* CSS for control sap.tnt/ToolHeader  */
/* Fiori 3 theme                       */
/* =================================== */

@_sap_tnt_ToolHeader_Height: 2.75rem;
@_sap_tnt_ToolHeader_IconHeight: 0.75rem;
@_sap_tnt_ToolHeader_DisabledOpacity: @sapUiContentDisabledOpacity;

.sapTntToolHeader:not(.sapUshellShellToolHeader) {
	&.sapMTB {
		background-color: @sapUiShellColor;
		box-shadow: inset 0 -0.0625rem 0 0 @sapUiShellBorderColor;
	}

	&.sapMTBStandard {
		border-bottom: none;
	}
}

// ==========================================================================
// sap.m.Button overriding
// ==========================================================================

.sapTntToolHeader {
	.sapMBtn .sapMBtnTransparent,
	.sapMBtn .sapMBtnDefault,
	.sapMBtn .sapMBtnBack,
	.sapMBtn .sapMBtnUp {
		color: @sapUiShellInteractiveTextColor;
		background-color: transparent;
		border-color: transparent;

		.sapUiIcon {
			color: @sapUiShellInteractiveTextColor;
		}
	}

	.sapMBtn .sapMBtnEmphasized {
		color: @sapUiShellTextColor;
		background: transparent;
		border-color: transparent;

		.sapUiIcon {
			color: @sapUiShellInteractiveTextColor;
		}
	}

	.sapMBtn:focus .sapMBtnTransparent.sapMFocusable,
	.sapMBtn:focus .sapMBtnEmphasized.sapMFocusable,
	.sapMBtn:focus .sapMBtnDefault.sapMFocusable,
	.sapMBtn:focus .sapMBtnBack.sapMFocusable,
	.sapMBtn:focus .sapMBtnUp.sapMFocusable {
		outline-color: @_sap_tnt_ToolHeader_BorderColor;
	}

	.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnTransparent,
	.sapMBtn:hover:not(.sapMBtnDisabled):not(.sapMSBActive) > .sapMBtnHoverable:not(.sapMBtnDisabled):not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBtnTransparent).sapMBtnDefault,
	.sapMBtn:hover:not(.sapMBtnDisabled):not(.sapMSBActive) > .sapMBtnHoverable:not(.sapMBtnDisabled):not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBtnTransparent).sapMBtnBack,
	.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnUp {
		background: @sapUiShellHoverBackground;
		border-color: transparent;
	}

	.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnEmphasized {
		color: @sapUiShellTextColor;
		background: @sapUiShellHoverBackground;
		border-color: transparent;
		.sapUiIcon {
			color: @sapUiShellInteractiveTextColor;
		}
	}

	.sapMBtn:not(.sapMBtnDisabled) .sapMBtnEmphasized.sapMBtnActive,
	.sapMBtn:not(.sapMBtnDisabled) .sapMToggleBtnPressed {
		background: @sapUiShellActiveBackground;
		color: @sapUiShellActiveTextColor;
		border-color: transparent;

		&::after {
			color: @sapUiShellActiveTextColor;
			background: @sapUiShellActiveBackground;
		}

		.sapUiIcon {
			color: @sapUiShellInteractiveTextColor;
		}
	}

	.sapMBtn:not(.sapMBtnDisabled) .sapMBtnIconFirst.sapMBtnTransparent.sapMBtnActive,
	.sapMBtn:not(.sapMBtnDisabled) .sapMBtnIconFirst.sapMBtnDefault.sapMBtnActive,
	.sapMBtn:not(.sapMBtnDisabled) .sapMBtnIconFirst.sapMBtnBack.sapMBtnActive,
	.sapMBtn:not(.sapMBtnDisabled) .sapMBtnIconFirst.sapMBtnUp.sapMBtnActive {
		background: @sapUiShellActiveBackground;
		color: @sapUiShellInteractiveTextColor;
		border-color: transparent;

		&::after {
			color: @sapUiShellInteractiveTextColor;
			background: @sapUiShellActiveBackground;
		}

		.sapUiIcon {
			color: @sapUiShellInteractiveTextColor
		}
	}

	.sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnTransparent.sapMBtnActive,
	.sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnEmphasized.sapMBtnActive,
	.sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnDefault.sapMBtnActive,
	.sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnBack.sapMBtnActive,
	.sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnUp.sapMBtnActive {
		outline-color: @_sap_tnt_ToolHeader_BorderColor;
		background: @sapUiShellActiveBackground;
	}

	.sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnTransparent:not(.sapMBtnActive):focus,
	.sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnEmphasized:not(.sapMBtnActive):focus,
	.sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnDefault:not(.sapMBtnActive):focus,
	.sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnBack:not(.sapMBtnActive):focus,
	.sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnUp:not(.sapMBtnActive):focus {
		outline-color: @_sap_tnt_ToolHeader_BorderColor;
	}

	.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnTransparent:not(.sapMBtnActive):not(.sapMToggleBtnPressed),
	.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnDefault:not(.sapMBtnActive):not(.sapMToggleBtnPressed),
	.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnBack:not(.sapMBtnActive):not(.sapMToggleBtnPressed),
	.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnUp:not(.sapMBtnActive):not(.sapMToggleBtnPressed) {
		background: @sapUiShellHoverBackground;
		border-color: transparent;
		bdi {
			color:@sapUiShellInteractiveTextColor
		}
	}

	.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnEmphasized:not(.sapMBtnActive):not(.sapMToggleBtnPressed) {
		background: @sapUiShellHoverBackground;
		border-color: transparent;
		bdi {
			color: @sapUiShellTextColor;
		}
	}

	.sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnTransparent:not(.sapMBtnActive):not(.sapMToggleBtnPressed) > .sapMBtnIcon,
	.sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnEmphasized:not(.sapMBtnActive):not(.sapMToggleBtnPressed) > .sapMBtnIcon,
	.sapMBtn:hover:not(.sapMBtnDisabled):not(.sapMSBActive) > .sapMBtnHoverable:not(.sapMBtnDisabled):not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBtnTransparent).sapMBtnDefault > .sapMBtnIcon,
	.sapMBtn:hover:not(.sapMBtnDisabled):not(.sapMSBActive) > .sapMBtnHoverable:not(.sapMBtnDisabled):not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBtnTransparent).sapMBtnBack > .sapMBtnIcon,
	.sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnUp:not(.sapMBtnActive):not(.sapMToggleBtnPressed) > .sapMBtnIcon {
		color: @sapUiShellInteractiveTextColor;
		border-color: transparent;
	}

	.sapMBtn.sapMBtnDisabled {
		opacity: @_sap_tnt_ToolHeader_DisabledOpacity;
	}

	.sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnTransparent:not(.sapMToggleBtnPressed),
	.sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnEmphasized:not(.sapMToggleBtnPressed),
	.sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnDefault:not(.sapMToggleBtnPressed),
	.sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnBack:not(.sapMToggleBtnPressed),
	.sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnUp:not(.sapMToggleBtnPressed) {
		border-color: transparent;
	}
 }

html.sap-desktop .sapTntToolHeader .sapMFooter-CTX .sapMBtn:focus .sapMBtnFocusDiv,
.sapTntToolHeader .sapMBtn:focus .sapMBtnFocusDiv {
	border-color: @_sap_tnt_ToolHeader_BorderColor;
}

html.sap-desktop .sapTntToolHeader .sapMFooter-CTX .sapMBtn:focus > .sapMBtnEmphasized.sapMBtnActive > .sapMBtnFocusDiv,
 html.sap-desktop .sapTntToolHeader .sapMBtn:focus > .sapMBtnEmphasized > .sapMBtnFocusDiv {
	border-color: @_sap_tnt_ToolHeader_BorderColor;
}

// ==========================================================================
// sap.m.MenuButton overriding
// ==========================================================================

.sapTntToolHeader {
	.sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner::after {
		color: @sapUiShellInteractiveTextColor;
	}

	.sapMSB:focus .sapMSBInner::after {
		border-color: @_sap_tnt_ToolHeader_BorderColor;
	}

	.sapMMenuBtn.sapMMenuBtnRegular .sapMBtn:not(.sapMBtnDisabled)  .sapMBtnInner.sapMBtnActive {
		background: @sapUiShellActiveBackground;
	}

	.sapMMenuBtn.sapMMenuBtnRegular .sapMBtn:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnActive::after {
		color: @sapUiShellInteractiveTextColor;
		background-color: transparent;
	}

	.sapMMenuBtn .sapMBtn:hover > .sapMBtnHoverable.sapMBtnEmphasized, .sapMMenuBtn span.sapMBtnInner.sapMBtnEmphasized {
		border-left: transparent;
	}

	.sapMMenuBtn.sapMMenuBtnRegular .sapMBtnActive.sapMBtnInner::after {
		height: auto;
	}
}

// ==========================================================================
// sap.m.Text, sap.m.Title and sap.m.Label overriding
// ==========================================================================

.sapTntToolHeader {
	.sapMText,
	.sapMTitle,
	.sapMLabel {
		color: @sapUiShellTextColor;
	}

	.sapMTitle {
		text-shadow: none;
	}
}

// ==========================================================================
// sap.ui.core.Icon overriding
// ==========================================================================

.sapTntToolHeader {
	.sapUiIcon:not(.sapMITBInlineIcon) {
		color: @sapUiShellTextColor;
		outline-color: transparent;

		&.sapUiIconPointer:focus {
			outline-color: @sapUiContentContrastFocusColor;
		}
	}

	// no backgrounds
	.sapUiIcon:not(.sapMITBInlineIcon) {
		&.sapUiIconColorCritical {
			color: lighten(saturate(spin(@sapUiCriticalText, 8), 4), 21);
		}

		&.sapUiIconColorNegative {
			color: lighten(@sapUiNegativeText, 40);
		}

		&.sapUiIconColorPositive {
			color: lighten(desaturate(spin(@sapUiPositiveText, 335), 28), 50);
		}

		&.sapUiIconColorNeutral {
			color: lighten(saturate(spin(@sapUiNeutralText, 350), 4), 41);
		}
	}

	// backgrounds
	.sapUiIcon:not(.sapMITBInlineIcon) {
		&.sapUiIconBGColorContrast {
			color: @sapUiShellTextColor;
			background: transparent;
		}

		&.sapUiIconBGColorCritical {
			color: @sapUiBaseText;
			background: lighten(saturate(spin(@sapUiCriticalElement, 8), 4), 21);
		}

		&.sapUiIconBGColorNegative {
			color: @sapUiBaseText;
			background: lighten(@sapUiNegativeElement, 40);
		}

		&.sapUiIconBGColorNeutral {
			color: @sapUiBaseText;
			background: lighten(saturate(spin(@sapUiNeutralElement, 350), 4), 41);
		}

		&.sapUiIconBGColorPositive {
			color: @sapUiBaseText;
			background: lighten(desaturate(spin(@sapUiPositiveElement, 335), 28), 50);
		}
	}
}

// ==========================================================================
// sap.m.Select overriding
// ==========================================================================

.sapTntToolHeader {
	.sapMSlt,
	.sapMSlt:hover {
		background: transparent;
		border-color: lighten(@sapUiShellBorderColor,30);
		color: @sapUiShellTextColor;
	}

	.sapMSlt.sapMSltExpanded {
		border-color: lighten(@sapUiShellBorderColor,30);
	}

	.sapMSltHoverable:not(.sapMSltPressed):hover > .sapMSltArrow {
		background-color: transparent;
		border-color: lighten(@sapUiShellBorderColor,30);
	}

	.sapMSltHoverable:not(.sapMSltState):not(.sapMSltIconOnly):hover {
		background: @sapUiShellHoverBackground;
		border-color: lighten(@sapUiShellInteractiveBorderColor, 10);
	}
}
html.sap-desktop .sapTntToolHeader .sapMSlt:not(.sapMSltExpanded):not(.sapMSltDisabled):not(.sapMSltState):focus {
	outline-color: @_sap_tnt_ToolHeader_BorderColor;
}

html.sap-desktop .sapTntToolHeader .sapMSlt:not(.sapMSltExpanded):not(.sapMSltDisabled):not(.sapMSltState):focus::before {
	outline-color: @_sap_tnt_ToolHeader_BorderColor;
}

.sapTntToolHeader {
	.sapMSlt .sapUiIcon,
	.sapMSlt .sapMSelectListItemText,
	.sapMSlt .sapMSltArrow {
		color: @sapUiShellTextColor;
	}

	.sapMSltPressed > .sapMSltArrow {
		background: transparent;
	}

	.sapMSlt.sapMSltPressed:not(.sapMSltDisabled) {
		background-color: @sapUiShellActiveBackground;

		&.sapMSltExpanded {
			background-color: @sapUiShellActiveBackground;
		}
	}

	.sapMSltDisabled {
		opacity: @_sap_tnt_ToolHeader_DisabledOpacity;
	}
}

/* IconOnly */

.sapTntToolHeader {
	.sapMSltIconOnly.sapMSltHoverable:hover:not(.sapMSltState) {
		background-color:  @sapUiShellHoverBackground;
		border-color: transparent;
	}

	.sapMSltIconOnly.sapMSltExpanded.sapMSltPressed.sapMSltHoverable:hover {
		background-color:  @sapUiShellHoverBackground;
		border-color: transparent;
	}

	.sapMSltIconOnly.sapMSltHoverable .sapUiIcon {
		color: @sapUiShellInteractiveTextColor;
	}

	.sapMSltIconOnly.sapMSltHoverable:active .sapUiIcon {
		color: @sapUiShellActiveTextColor;
	}

	.sapMSltIconOnly.sapMSltExpanded.sapMSltPressed:not(.sapMSltDisabled) {
		background-color: @sapUiShellActiveBackground;
		.sapUiIcon {
			color: @sapUiShellActiveTextColor;
		}
	}

	.sapMSltIconOnly.sapMSltPressed.sapMSltHoverable:not(.sapMSltState):hover {
		background-color: @sapUiShellActiveBackground;
	}

	.sapMSltPressed.sapMSltIconOnly:not(.sapMSltDisabled) {
		background-color: @sapUiShellActiveBackground;
		border-color: transparent;
	}
}

// ==========================================================================
// sap.m.SearchField overriding
// ==========================================================================

.sapTntToolHeader {
	.sapMSF .sapMSFF {
		background: transparent;
		border-color: lighten(@sapUiShellBorderColor,30);
		color: @sapUiShellInteractiveTextColor;
	}

	.sapMSFDisabled {
		opacity: @_sap_tnt_ToolHeader_DisabledOpacity;
	}

	.sapMSF:not(.sapMSFDisabled) .sapMSFF:hover {
		border-color: lighten(@sapUiShellInteractiveBorderColor, 10);
	}

	.sapMSFF>.sapMSFB,
	.sapMSF.sapMFocus>.sapMSFF>.sapMSFB,
	.sapMSFI::placeholder {
		color: @sapUiShellInteractiveTextColor;
	}

	.sapMSFI,
	.sapMSFB {
		color: @sapUiShellTextColor;
	}

	.sapMSFB:hover {
		background-color: @sapUiShellHoverBackground;
	}

	.sapMSFF>.sapMSFB:not(.sapMSFBF):active,
	.sapMSFF>.sapMSFB.sapMSFBA {
		background-color: @sapUiButtonLiteActiveBackground;
		color: @sapUiShellInteractiveTextColor;
	}

	.sapMSFF > .sapMSFB:not(.sapMSFBF):active,
	.sapMSFF > .sapMSFB.sapMSFBA {
		background-color: @sapUiShellActiveBackground;
		color: @sapUiShellActiveTextColor;
	}

	.sapMFocus > .sapMSFF > .sapMSFB {
		color: @sapUiShellInteractiveTextColor;
	}
}

html.sap-desktop .sapTntToolHeader .sapMFocus > .sapMSFF::before {
	border-color: @sapUiContentContrastFocusColor;
}

// ==========================================================================
// sap.m.IconTabHeader overriding
// ==========================================================================

.sapTntToolHeader:not(.sapUshellShellToolHeader) {
	.sapMITH {
		height: 2.75rem;
		background-color: transparent;
	}

	.sapMITH .sapMITBSelected .sapMITBFilterWrapper > .sapMITBText {
		color: @sapUiShellInteractiveTextColor;
		text-shadow: none;
	}

	.sapMITH .sapMITBSelected .sapMITBContentArrow::after {
		background: @sapUiShellInteractiveTextColor;
		box-shadow: 0 0.125rem @sapUiShellInteractiveTextColor;
	}

	.sapMITH .sapMITBText {
		color: @sapUiShellActiveTextColor;
		text-shadow: none;
	}

	.sapMITH .sapMITBFilter:hover .sapMITBText {
		color: @sapUiShellActiveTextColor;
	}

	.sapMITH .sapMITBSelected.sapMITBFilter:hover .sapMITBText {
		color: @sapUiShellInteractiveTextColor;
	}

	.sapMITH .sapMITBDisabled {
		opacity: @_sap_tnt_ToolHeader_DisabledOpacity;
	}

	.sapMITH {
		border-color: transparent;
	}

	.sapMITH {
		.sapMITHStartOverflow,
		.sapMITHEndOverflow {
			.sapMITBItem {
				background-color: transparent;
				border: none;

				&:hover {
					background: @sapUiShellHoverBackground;
				}

				&:active {
					background: @sapUiShellActiveBackground;
					color: @sapUiShellActiveTextColor;
				}

				.sapMITBText {
					color: @sapUiShellInteractiveTextColor;

					.sapMITHShowSubItemsIcon .sapUiIcon {
						color: @sapUiShellInteractiveTextColor;
					}
				}
			}
		}
	}

	.sapMITBHead .sapMITBFilter .sapMITBText + .sapMITBContentArrow {
		height: 0.875rem;
	}

	.sapMITBFilter .sapMITBFilterExpandBtn:hover .sapMITBFilterExpandIcon {
		background: @sapUiShellHoverBackground;
		color: @sapUiShellInteractiveTextColor;
		border-color: transparent;
	}
}

/* Focus Colors*/

html.sap-desktop .sapTntToolHeader {

	/* Custom focus outline */
	.sapMITBTextOnly .sapMITBItem:not(.sapUiDnDDragging):focus .sapMITBText,
	.sapMITBItem:not(.sapUiDnDDragging):focus.sapMITBAll {
		&::after {
			border-color: @_sap_tnt_ToolHeader_BorderColor;
		}
	}

	.sapMITHStartOverflow,
	.sapMITHEndOverflow {
		.sapMITBItem:not(.sapUiDnDDragging) {
			&:focus::after {
				border-color: @_sap_tnt_ToolHeader_BorderColor;
			}
		}
	}
}

// ==========================================================================
// sap.m.ObjectStatus overriding
// ==========================================================================

.sapTntToolHeader {
	.sapMObjStatus {
		.sapMObjStatusText,
		.sapMObjStatusIcon {
			text-shadow: none;
		}
	}

	.sapMObjStatus.sapMObjStatusError {
		.sapMObjStatusText,
		.sapMObjStatusIcon .sapUiIcon {
			color: lighten(@sapUiNegativeText, 40);
		}
	}

	.sapMObjStatus.sapMObjStatusInformation {
		.sapMObjStatusText,
		.sapMObjStatusIcon .sapUiIcon {
			color: lighten(desaturate(spin(@sapUiInformativeElement, 357), 6), 34);
		}
	}

	.sapMObjStatus.sapMObjStatusNone {
		.sapMObjStatusText,
		.sapMObjStatusIcon .sapUiIcon {
			color: lighten(saturate(spin(@sapUiNeutralText, 350), 4), 41);
		}
	}

	.sapMObjStatus.sapMObjStatusSuccess {
		.sapMObjStatusText,
		.sapMObjStatusIcon .sapUiIcon {
			color: lighten(desaturate(spin(@sapUiPositiveText, 335), 28), 50);
		}
	}

	.sapMObjStatus.sapMObjStatusWarning {
		.sapMObjStatusText,
		.sapMObjStatusIcon .sapUiIcon {
			color: lighten(saturate(spin(@sapUiCriticalText, 8), 4), 21);
		}
	}

	//Inverted

	.sapMObjStatus.sapMObjStatusInverted.sapMObjStatusError {
		.sapMObjStatusText,
		.sapMObjStatusIcon,
		.sapMObjStatusIcon .sapUiIcon {
			background-color: lighten(@sapUiNegativeElement, 40);
		}
	}

	.sapMObjStatus.sapMObjStatusInverted.sapMObjStatusInformation {
		.sapMObjStatusText,
		.sapMObjStatusIcon,
		.sapMObjStatusIcon .sapUiIcon {
			background-color: lighten(desaturate(spin(@sapUiInformativeElement, 357), 6), 34);
		}
	}

	.sapMObjStatus.sapMObjStatusInverted.sapMObjStatusNone {
		.sapMObjStatusText,
		.sapMObjStatusIcon,
		.sapMObjStatusIcon .sapUiIcon {
			background-color: lighten(saturate(spin(@sapUiNeutralElement, 350), 4), 41);
		}
	}

	.sapMObjStatus.sapMObjStatusInverted.sapMObjStatusSuccess {
		.sapMObjStatusText,
		.sapMObjStatusIcon,
		.sapMObjStatusIcon .sapUiIcon {
			background-color: lighten(desaturate(spin(@sapUiPositiveElement, 335), 28), 50);
		}
	}

	.sapMObjStatus.sapMObjStatusInverted.sapMObjStatusWarning {
		.sapMObjStatusText,
		.sapMObjStatusIcon,
		.sapMObjStatusIcon .sapUiIcon {
			background-color: lighten(saturate(spin(@sapUiCriticalElement, 8), 4), 21);
		}
	}

	.sapMObjStatus.sapMObjStatusInverted {
		.sapMObjStatusIcon .sapUiIcon {
			height: @_sap_tnt_ToolHeader_IconHeight;
			vertical-align: text-top;
		}
		.sapMObjStatusText,
		.sapMObjStatusIcon .sapUiIcon{

			color: @sapUiBaseText;
		}
	}

	.sapMObjStatus .sapMObjStatusTitle {
		color: @sapUiShellActiveTextColor;
	}
}

html.sap-desktop .sapTntToolHeader .sapMObjStatusActive:focus .sapMObjStatusLink::after {
	outline-color: @_sap_tnt_ToolHeader_BorderColor;
}

// ==========================================================================
// sap.m.Avatar / sap.f.Avatar overriding
// ==========================================================================
.sapTntToolHeader .sapFAvatarFocusable:focus {
	outline-color: @sapUiContentContrastFocusColor;
}

.sapTntToolHeader .sapFAvatar {
	background-color: @_sap_tnt_ToolHeader_AvatarBackground;
	.sapFAvatarInitialsHolder,
	.sapUiIcon.sapFAvatarTypeIcon  {
		color: @_sap_tnt_ToolHeader_AvatarColor;
	}
}

// ==========================================================================
// sap.m.Image overriding
// ==========================================================================
.sapTntToolHeader .sapMImgFocusable:focus {
	outline-color: @sapUiContentContrastFocusColor;
}

// ==========================================================================
// sap.f.Breadcrumbs overriding
// ==========================================================================
.sapTntToolHeader .sapMBreadcrumbs {
	.sapMBreadcrumbsItem,
	.sapMLnk,
	.sapMSltIcon:before{
		color: @sapUiShellInteractiveTextColor;
	}

	.sapMBreadcrumbsSeparator {
		color: @sapUiShellTextColor;
	}
}
/* END "ToolHeader.less" */
