@eclipse-scout/core
Version:
Eclipse Scout runtime
60 lines (50 loc) • 1.2 kB
text/less
/*
* Copyright (c) 2010, 2024 BSI Business Systems Integration AG
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*/
.button-field > .field {
margin-left: @mandatory-indicator-width;
.no-mandatory-indicator& {
margin-left: 0;
}
}
.button-field > .button {
// Ensure button height remains the same if fill vertical = false
min-height: @logical-grid-row-height;
& > .submenu-icon:not(.with-label) {
padding-left: 0;
}
}
.button-field > .link-button {
padding-left: 0;
padding-right: 0;
&:hover,
&:active, &.active {
background-color: transparent;
}
&:focus {
box-shadow: none;
&::after {
content: '';
position: absolute;
top: 3px;
left: -3px;
height: calc(100% - 6px);
width: calc(100% + 6px);
#scout.focus-box-shadow();
border-radius: @border-radius;
}
}
}
.button-field > .key-box {
position: absolute;
top: 4px;
}
.button-field.button-icon-large > .button > .font-icon {
font-size: @font-size-icon-large;
}