@eclipse-scout/core
Version:
Eclipse Scout runtime
52 lines (45 loc) • 1.26 kB
text/less
/*
* Copyright (c) 2010, 2023 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
*/
.table-control {
position: relative;
color: @table-control-color;
cursor: pointer;
border-radius: @border-radius-medium;
margin-right: 8px;
display: flex;
justify-content: center;
align-items: center;
width: @table-control-size;
height: @table-control-size;
& > .font-icon {
font-size: 22px;
}
&:hover {
color: @table-control-hover-color;
background-color: @hover-background-color;
}
&:active {
color: @table-control-active-color;
background-color: @active-background-color;
}
&.selected {
color: @table-control-selected-color;
background-color: @table-control-selected-background-color;
}
&.disabled {
cursor: default;
color: @table-control-disabled-color;
background-color: transparent;
}
}
.tooltip.table-control-tooltip {
/* move tooltip a little down, make sure it is on the same height as other table footer tooltips (table-info, table-status) */
margin-top: 8px;
}