/**
 *
 * 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';
@use '@common/styles/fonts';

.container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 65px;
	height: 100%;
	padding: 16px 0;
	color: colors.$default-foreground;
	background: colors.$activity-bar-background;
}

.icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 65px;
	font-size: fonts.$font-size-small;
	text-align: center;
	cursor: pointer;

	p {
		margin-bottom: 0;
		color: colors.$inactive-nav-item;
	}

	& path {
		fill: colors.$inactive-nav-item;
	}
}

.active,
.icon:hover:not(.disabled) {
	border-right: 4px solid transparent;
	border-left: 4px solid colors.$active-nav-item;

	& p {
		color: colors.$active-nav-item;
	}

	path {
		fill: colors.$active-nav-item;
	}
}

.disabled {
	cursor: not-allowed;
}
