@eclipse-scout/core
Version:
Eclipse Scout runtime
42 lines (37 loc) • 956 B
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
*/
.text-field-icon {
display: flex;
align-items: center;
margin: 0 @text-field-icon-margin-x;
cursor: text;
&::before {
#scout.font-icon();
font-size: @font-size-icon-small;
color: @text-field-icon-color;
border-radius: @control-border-radius;
width: @text-field-icon-size;
height: @text-field-icon-size;
display: flex;
align-items: center;
justify-content: center;
}
&.clear-icon::before {
content: @icon-remove-bold;
font-size: 14px;
}
&.action {
cursor: pointer;
&:hover::before {
color: @text-field-icon-hover-color;
background-color: @hover-background-color;
}
}
}