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

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

/* ============================================================================ */
/* Due to deprecation of the Belize theme family with SAPUI5 version 1.120 the  */
/* inheritance of the base theme is now updated to an inheritance of a static   */
/* copy of the base theme named sap_belize_base. The respective                 */
/* control css files of base are copied to the sap_belize_base theme folder.    */
/* This decoupling of the base theme is introduced with SAPUI5 version 1.125.   */
/* ============================================================================ */


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

@import "../../../../sap/ui/core/themes/sap_belize/global.less";
/* START "global.less" */
// ==================================================
// Global CSS for 'sap_belize' theme for TNT library
// ==================================================

@_sap_tnt_InfoLabel_BackgroundColor1: lighten(@sapUiAccent1, 6);
@_sap_tnt_InfoLabel_BackgroundColor2: lighten(saturate(@sapUiAccent2, 10), 20);
@_sap_tnt_InfoLabel_BackgroundColor3: @sapUiAccent3;
@_sap_tnt_InfoLabel_BackgroundColor4: @sapUiAccent4;
@_sap_tnt_InfoLabel_BackgroundColor5: darken(@sapUiAccent5, 8);
@_sap_tnt_InfoLabel_BackgroundColor6: darken(@sapUiAccent6, 6);
@_sap_tnt_InfoLabel_BackgroundColor7: darken(@sapUiAccent7, 5);
@_sap_tnt_InfoLabel_BackgroundColor8: darken(@sapUiAccent8, 4);
@_sap_tnt_InfoLabel_BackgroundColor9: desaturate(@sapUiAccent4, 68);
/* END "global.less" */


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



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

@_sap_tnt_InfoLabel_LineHeight: 1rem;
@_sap_tnt_InfoLabel_HeightWithoutBorders: 1rem;
@_sap_tnt_InfoLabel_PaddingWhenEmpty: 0 @_sap_tnt_InfoLabel_LineHeightDisplayOnly/2;

@_sap_tnt_InfoLabel_ColorsArray:
	@_sap_tnt_InfoLabel_BackgroundColor1,
	@_sap_tnt_InfoLabel_BackgroundColor2,
	@_sap_tnt_InfoLabel_BackgroundColor3,
	@_sap_tnt_InfoLabel_BackgroundColor4,
	@_sap_tnt_InfoLabel_BackgroundColor5,
	@_sap_tnt_InfoLabel_BackgroundColor6,
	@_sap_tnt_InfoLabel_BackgroundColor7,
	@_sap_tnt_InfoLabel_BackgroundColor8,
	@_sap_tnt_InfoLabel_BackgroundColor9;

.create-classes-for-background-color(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-color(@prefix, @list) {
	.iter(length(@list));
	.iter(@i) when (@i > 0) {
		.iter(@i - 1);
		@value:  extract(@list, @i);
		.@{prefix}@{i} {
			background-color: @value;
			.sapTntInfoLabelInner {
				color: contrast(@value, @sapUiBaseText, @sapUiContentContrastTextColor, @sapUiContentContrastTextThreshold);
			}
		}

	}
}

.sapUiFormResGridCont .sapTntInfoLabel.sapTntInfoLabelWithIcon.sapTntInfoLabelDisplayOnly .sapUiIcon {
	line-height: 1rem;
}
/* END "InfoLabel.less" */

/* START "ToolHeader.less" */
/* =================================== */
/* CSS for control sap.tnt/ToolHeader  */
/* Belize theme                        */
/* =================================== */

@_sap_tnt_ToolHeader_AvatarColor: @sapUiContentContrastTextColor;

.sapTntToolHeader:not(.sapUshellShellToolHeader).sapMTB {
	background-color: darken(@sapUiPageHeaderBackground, 8);
	border: 1px solid darken(@sapUiPageHeaderBorderColor, 8);
}

.sapTntToolHeader:not(.sapUshellShellToolHeader) .sapMITH,
.sapTntToolHeaderPopover.sapMOTAPopover.sapMPopover {
	background-color: darken(@sapUiPageHeaderBackground, 8);
}

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

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

.sapTntToolHeader:not(.sapUshellShellToolHeader) .sapMMenuBtn.sapMMenuBtnRegular .sapMBtn:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnEmphasized.sapMBtnActive::after {
	color: @sapUiButtonEmphasizedTextColor;
}

.sapTntToolHeader .sapMBtnDisabled .sapMBtnTransparent > .sapMBtnIcon {
	color: @sapContent_IconColor;
}

.sapTntToolHeader span.sapMBtnInner.sapMBtnEmphasized {
	background-color: transparent;
	border-color:  transparent;
	font-weight: bold;
	.sapMBtnIcon {
		color: @sapUiShellInteractiveTextColor;
	}

}

html.sap-desktop .sapTntToolHeader .sapMBtn:focus > .sapMBtnEmphasized.sapMFocusable {
	outline-color: @_sap_tnt_ToolHeader_BorderColor;
}

.sapTntToolHeader .sapMBtn:hover > .sapMBtnHoverable.sapMBtnEmphasized:not(.sapMBtnActive):not(.sapMToggleBtnPressed) {
	background: fade(lighten(@sapPrimary1, 18%), 50%);
	border-color: transparent;
	bdi {
		color:@sapUiShellInteractiveTextColor
	}
}

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


.sapTntToolHeader:not(.sapUshellShellToolHeader) .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner.sapMBtnEmphasized::after {
	color: @sapContent_IconColor;
}

.sapTntToolHeader span.sapMBtnInner.sapMBtnEmphasized .sapMBtnIcon {
	color: @sapContent_IconColor;
}

.sapTntToolHeader:not(.sapUshellShellToolHeader) .sapMITH.sapMITBTextOnly .sapMITHEndOverflow {
	margin-top: 0;
}

.sapTntToolHeader:not(.sapUshellShellToolHeader) {
	.sapMITH {
		.sapMITHStartOverflow,
		.sapMITHEndOverflow {
			.sapMITBItem {
				background-color: transparent;
				border-color: transparent;

				&:hover {
					background: fade(lighten(@sapPrimary1, 18%), 50%);
				}

				&:active {
					background: @sapButton_Active_Background;

					.sapMITBText {
						color: @sapUiShellActiveTextColor;

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

// ==========================================================================
// sap.m.Avatar / sap.f.Avatar overriding
// ==========================================================================

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

/* ------------------------------------------------ */
/* Shell overrides                        */
/* ------------------------------------------------ */

.sapTntToolHeader.sapUshellShellToolHeader {
	.sapMITH {
		border-bottom: none;
		box-shadow: none;
	}

	height: 3.125rem;
	box-sizing: border-box;
	border-bottom: 0.125rem solid @sapUiObjectHeaderBackground;
}
/* END "ToolHeader.less" */

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

@_sap_tnt_SideNavigation_NavigationSeparatorBackgroundColor: @sapUiAccent6;
/* END "SideNavigation.less" */

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

@_sap_tnt_NavigationList_SelectedItemBorderColor: transparent;

.sapTntNLISecondLevel.sapTntNLI {
	background-color: darken(@sapUiListBackground, 3);
}

.sapTntNLMenu.sapUiMnu .sapUiMnuItmIco>.sapUiIcon {
	line-height: 3rem;
	font-size: 1.375rem;
}

/* END "NavigationList.less" */
 // keep this order, it reuses variable @_sap_tnt_SideNavigation_BoxShadow defined in SideNavigation.less