@openui5/sap.m
Version:
OpenUI5 UI Library sap.m
65 lines (55 loc) • 1.65 kB
text/less
/* ===================================== */
/* CSS for control sap.m/ActionListItem */
/* High Contrast Black theme */
/* ===================================== */
/* ------------------------------ */
/* ActionListItem container */
/* ------------------------------ */
.sapMLIB.sapMALI {
border-bottom: 0; /* overrides LIB style */
padding: 0 0.25rem; /* overrides LIB style */
}
.sapMList .sapMLIB.sapMALI:focus {
outline: none; /* overrides LIB style */
}
/* ------------------------------ */
/* ActionListItem content */
/* ------------------------------ */
.sapMALI > .sapMLIBContent {
height: 2.5rem;
border: 0.0625rem solid @sapUiButtonActionSelectBorderColor;
border-radius: 0.375rem;
box-sizing: border-box;
-webkit-box-align: center;
align-items: center;
}
/* active */
.sapMLIBActive.sapMLIB.sapMALI {
background: transparent;
}
.sapMLIBActive.sapMLIB.sapMALI > .sapMLIBContent {
background: @sapUiButtonActiveBackground;
}
/* focus */
.sapMList .sapMLIB.sapMALI:focus > .sapMLIBContent {
outline: 0.125rem dotted @sapUiContentFocusColor;
outline-offset: -0.125rem;
border: none;
}
/* focus in IE (outline-offset is ignored in IE) */
html[data-sap-ui-browser^="ie"] .sapMList .sapMLIB.sapMALI:focus > .sapMLIBContent {
outline: none;
border-width: 0.125rem;
border-style: dotted;
border-radius: 0;
}
/* content has the focus outline not the item */
.sapMLIBLegacyOutline.sapMALI:focus::before {
border: none;
}
/* ------------------------------ */
/* Compact size */
/* ------------------------------ */
.sapUiSizeCompact .sapMALI > .sapMLIBContent {
height: 1.625rem;
}