UNPKG

@openui5/sap.m

Version:

OpenUI5 UI Library sap.m

67 lines (56 loc) 1.41 kB
/* =================================== */ /* CSS for control sap.m/TreeItemBase */ /* Base theme */ /* =================================== */ .sapMTreeItemBase { min-height: var(--sapElement_Height); font-family: var(--sapFontFamily); font-size: @sapMFontMediumSize; padding-left: 0; color: var(--sapList_TextColor); padding-top: 0.25rem; padding-bottom: 0.25rem; } .sapMTreeItemBaseExpander { width: var(--sapElement_LineHeight); height: var(--sapElement_Height); line-height: var(--sapElement_Height); font-size: 1rem; color: var(--sapContent_IconColor); flex-shrink: 0; } .sapMTreeItemBaseLeaf > .sapMTreeItemBaseExpander { opacity: 0; pointer-events: none; } .sapMLIBActive .sapMTreeItemBaseExpander { color: var(--sapList_Active_TextColor); } .sapMListHighlight .sapMTreeItemBaseExpander { margin-left: 0.375rem; } .sapMTreeItemBaseChildren { background-color: var(--sapList_AlternatingBackground); border-bottom-color: transparent; } .sapMTIBWrapTitle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sapMTreeItemBase > .sapMLIBContent { display: flex; align-items: center; } .sapUiSizeCompact .sapMTreeItemBase { min-height: 1.5rem; } .sapUiSizeCompact .sapMTreeItemBaseWrapping { min-height: 1.5rem; } .sapUiSizeCompact .sapMTreeItemBaseExpander { font-size: 0.75rem; width: 2rem; height: 1.5rem; line-height: 1.5rem; }