/* 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.
 */

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

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

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

@_sap_ui_table_Table_FocusOutlineOffset: -3px;
@_sap_ui_table_Table_TableHeaderBorderWidth: 3px;

._sap_ui_table_Table_TitleContainer() {
	border-bottom: 3px solid var(--sapList_HeaderBorderColor);
}

._sap_ui_table_Table_ExtensionContainer() {
	border-bottom: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
	padding: 0.125rem;
}

.sapUiTableCnt {
	border: transparent;
}

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

/* START "Row.less" */
/* ================================== */
/* CSS for control sap.ui.table/Row   */
/* Horizon High Contrast White theme  */
/* ================================== */

@_sap_ui_table_Row_ColorHovered: var(--sapContent_ContrastTextColor);
@_sap_ui_table_Row_NavigationIndicatorColor: var(--sapList_SelectionBorderColor);
/* END "Row.less" */

/* START "Cell.less" */
/* ================================== */
/* CSS for control sap.ui.table/Cell  */
/* Horizon High Contrast White theme  */
/* ================================== */

@_sap_ui_table_Cell_FocusOutlineOffset: ~"calc((var(--sapContent_FocusWidth) * -1) - 0.0625rem)";
@_sap_ui_table_Cell_BorderColorSelected: var(--sapList_SelectionBorderColor);
@_sap_ui_table_Cell_DummyBorderColor: @sapUiListTableFixedBorder;

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

/*
 * Focus outline in Condensed mode
 */
.sapUiSizeCondensed .sapUiTableCell:focus {

	&::before {
		outline: 0.0625rem var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
		outline-offset: -1px;
	}
}
/* END "Cell.less" */

/* START "RowHighlight.less" */
/* ================================== */
/* CSS for sap.ui.table/RowHighlight  */
/* Horizon High Contrast White theme  */
/* ================================== */

@_sap_ui_table_RowHighlight_InformationColor: var(--sapAccentColor6);
/* END "RowHighlight.less" */

/* START "Scrolling.less" */
/* ================================== */
/* CSS for sap.ui.table/Scrolling     */
/* Horizon High Contrast White 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 "DragDrop.less" */
/* ================================== */
/* CSS for sap.ui.table/DragDrop      */
/* Horizon High Contrast White theme  */
/* ================================== */

@_sap_ui_table_DragDrop_ColumnDnDHighlightColor: var(--sapContent_DragAndDropActiveColor);
/* END "DragDrop.less" */

/* START "Grouping.less" */
/* ================================== */
/* CSS for sap.ui.table/Grouping      */
/* Horizon High Contrast White theme  */
/* ================================== */

@_sap_ui_table_Grouping_GroupIconBorderWidth: 3px;
/* END "Grouping.less" */
