/**
 *
 * Copyright (c) 2024 Analog Devices, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
@use '@common/styles/colors';

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	box-sizing: border-box;
	padding: 4px;
	color: colors.$icon-foreground;
	background: colors.$navigation-background;
	border: 1px solid colors.$default-border;
	border-radius: 4px;
	cursor: pointer;

	path {
		fill: colors.$icon-foreground;
	}

	&:hover {
		color: color-mix(
			in srgb,
			var(--vscode-icon-foreground),
			transparent 0%
		);
		border-color: color-mix(
			in srgb,
			var(--vscode-icon-foreground),
			transparent 0%
		);
	}
}
