@eclipse-scout/core
Version:
Eclipse Scout runtime
75 lines (63 loc) • 1.41 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
*/
.collapse-handle {
position: absolute;
display: table;
z-index: 10;
bottom: 0;
margin-bottom: 15px;
&.right-aligned {
right: 0;
}
&.left-aligned {
left: 0;
}
}
.collapse-handle-body {
position: relative;
display: table-cell;
padding: 7px 8px;
background-color: @collapse-handle-background-color;
color: @collapse-handle-color;
border: 1px solid @collapse-handle-border-color;
border-radius: @collapse-handle-border-radius;
cursor: pointer;
&::before {
#scout.font-icon();
display: block;
font-size: 16px;
}
&.left {
&.both-visible {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
&::before {
content: @icon-angle-left;
}
}
&.right {
&.both-visible {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-left: none;
}
&::before {
content: @icon-angle-right;
}
}
&:hover {
background-color: @collapse-handle-hover-background-color;
}
&:active,
&.active {
background-color: @collapse-handle-active-background-color;
}
}