/**
 *
 * 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';

.dropdown {
	width: 100%;
	max-width: 192px;

	--input-height: 30;
	--font-family: #{fonts.$default-font-family};
	--dropdown-background: #{colors.$editor-widget-background};
	--foreground: #{colors.$editor-widget-foreground};
	--list-active-selection-background: #{colors.$list-active-selection-background};
	--list-active-selection-foreground: #{colors.$list-active-selection-foreground};
	--dropdown-border: #{colors.$editor-widget-border};

	&::part(control) {
		padding: 4px 8px;
	}
}

.option {
	box-sizing: border-box;
	width: 100%;
	height: 30px;
	padding: 0;
	border: 0;

	&::part(content) {
		width: 100%;
		padding: 4px 8px;
		display: flex;
		align-items: center;
	}
}
