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

/*!
 * OpenUI5
 * (c) Copyright 2009-2026 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_horizon_dark/base.less"; /* ORIGINAL IMPORT PATH: "../../../../../sap/ui/core/themes/sap_horizon_dark/base.less" */

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

@_sap_ui_table_DeleteIcon: decline;
@_sap_ui_table_RowActionItemSize: @_sap_ui_table_BaseSizeCondensed;
@_sap_ui_table_RowActionItemSizeCozy: @_sap_ui_table_BaseSize;
@_sap_ui_table_RowActionItemSizeCondensed: calc(@_sap_ui_table_BaseSizeCondensed ~"-" 0.125rem);

/* START "Table.less" */
/* =================================== */
/* CSS for control sap.ui.table/Table  */
/* Evening Horizon theme               */
/* =================================== */

@_sap_ui_table_Table_HeaderPaddingRight: 0.5rem;
@_sap_ui_table_Table_FooterPaddingRight: 0.5rem;

.sapUiTableExt .sapMTBHeader-CTX:first-child {
    border-top-right-radius: @sapUiElementBorderCornerRadius;
    border-top-left-radius: @sapUiElementBorderCornerRadius;
}

.sapUiTableCnt {
    background-color: @sapUiListBackground;
	border: transparent;
}

.sapUiTableFtr {
	border-left: none;
	border-right: none;
	border-bottom: none;
}
/* END "Table.less" */

/* START "Cell.less" */
/* ========================== */
/* CSS for sap.ui.table/Cell  */
/* Evening Horizon theme      */
/* ========================== */

@_sap_ui_table_Cell_FocusOutlineOffset: calc(-@sapUiContentFocusWidth ~"- 0.0625rem");
@_sap_ui_table_Cell_BorderColorSelected: @sapUiListSelectionBorderColor;
@_sap_ui_table_Cell_BorderColorFixedSelected: @sapUiListSelectionBorderColor;
@_sap_ui_table_Cell_ShadowColorFixed: @sapUiListTableFixedBorder;
@_sap_ui_table_Cell_BorderBottomFocus: transparent;
@_sap_ui_table_Cell_DummyBorderColor: @sapUiListTableFixedBorder;

.sapUiTableCellDummy {
	.sapUiTableContentRow & {
		background-color: @sapUiListBackground !important;
	}
}

.sapUiTableGroupMode .sapUiTableCell.sapUiTableRowSelectionCell {
	box-shadow: none;
}

/*
 * Focus outline in Condensed mode
 */
.sapUiSizeCondensed .sapUiTableCell:focus {
	&::before {
		outline: 0.0625rem @sapUiContentFocusStyle @sapUiContentFocusColor;
		outline-offset: -1px;
	}
}
/* END "Cell.less" */

/* START "RowSelection.less" */
/* ================================== */
/* CSS for sap.ui.table/RowSelection  */
/* Evening Horizon theme              */
/* ================================== */

@_sap_ui_table_RowSelection_CheckBoxBorderWidth: 0.0625rem; /*@sapUiFieldBorderWidth;*/
@_sap_ui_table_RowSelection_CheckBoxBorderRadius: @sapUiFieldBorderCornerRadius;
@_sap_ui_table_RowSelection_CheckBoxBorderRadiusCozy: @sapUiFieldBorderCornerRadius;

.sapUiTableRowSelectionHeaderCell:not(.sapUiTableSelAll) .sapUiTableSelectAllCheckBox::after,
.sapUiTableSelModeMultiToggle .sapUiTableRowSel .sapUiTableRowSelectionCell::after {
    border-color: @sapUiContentFocusColor;
}

.sapUiTableRowSelectionHeaderCell:hover .sapUiTableSelectAllCheckBox::after,
.sapUiTableRowHvr .sapUiTableRowSelectionCell::after{
    background-color: @sapUiFieldHoverBackground;
    box-shadow: @sapUiContentInteractionShadow;
}
/* END "RowSelection.less" */

/* START "RowAction.less" */
/* ======================================= */
/* CSS for control sap.ui.table/RowAction  */
/* Evening Horizon theme                   */
/* ======================================= */

/*TBD: Adjustments for sapUiTableActionIcon might be obsolete when Icon is adjusted*/

.sapUiTableActionIcon {
	border-radius: @sapUiButtonBorderCornerRadius;
	box-sizing: border-box;
	color: @sapUiButtonLiteTextColor;
}

.sapUiTableActionIcon:hover {
	border: 1px solid @sapUiButtonHoverBorderColor;
	background: @sapUiButtonHoverBackground;
}

.sapUiTableActionIcon:active {
	color: @sapUiButtonActiveTextColor;
	border: 1px solid @sapUiButtonActiveBorderColor;
}

.sapUiTableActionIcon.sapUiIcon:focus {
	outline-width: @sapUiContentFocusWidth;
	outline-style: @sapUiContentFocusStyle;
	outline-color: @sapUiContentFocusColor;
	outline-offset: -@sapUiContentFocusWidth;
}

.sapUiTableActionIcon:active:focus {
	outline: none;
}
/* END "RowAction.less" */

/* START "Scrolling.less" */
/* ================================== */
/* CSS for sap.ui.table/Scrolling     */
/* Evening Horizon theme              */
/* ================================== */

._sap_ui_table_Scrolling_NativeScrollbarDesktop() {
	&::-webkit-scrollbar-thumb:vertical {
		border-left-width: 0.25rem !important;
		border-right-width: 0.25rem !important;
	}

	&::-webkit-scrollbar-thumb:horizontal {
		border-top-width: 0.25rem !important;
		border-bottom-width: 0.25rem !important;
	}
}
/* END "Scrolling.less" */

/* START "Grouping.less" */
/* ============================== */
/* CSS for sap.ui.table/Grouping  */
/* Evening Horizon theme          */
/* ============================== */

/*TBD: Adjustments for sapUiTableTreeIcon might be obsolete when Icon is adjusted*/

.sapUiTableTreeIcon {
    border-radius: @sapUiButtonBorderCornerRadius;
    box-sizing: border-box;
    margin-right: 2px;
}

.sapUiSizeCompact .sapUiTableTreeIcon {
    height: @_sap_ui_table_BaseSizeCondensed;
}

.sapUiTableTreeIcon:active::before {
    color: @sapUiButtonActiveTextColor;
}

.sapUiTableTreeIcon:hover {
    color: @sapUiButtonHoverTextColor;
    border: 1px solid @sapUiButtonHoverBorderColor;
    background: @sapUiButtonHoverBackground;
}

.sapUiTableTreeIcon:active {
    border: 1px solid @sapUiButtonActiveBorderColor;
}

.sapUiTableTreeIcon:active:focus {
    outline: none;
}
/* END "Grouping.less" */
