@use "~admin-stylesheets/colors";

.nelio-content-site {
	align-items: center;
	display: flex;
	flex-direction: row;
	margin-bottom: 0;
	padding: 0.8em 1.2em;

	&__current-site {
		font-weight: 700;

		&-help {
			color: colors.$layout-colors__foreground;
			margin: 0 5px;
			opacity: 0.7;
		}
	}

	&:nth-child(odd) {
		background: colors.$layout-colors__background--is-emphasized;
	}

	&:hover > * {
		visibility: visible;
	}

	&__url {
		flex-grow: 1;
	}

	&__link {
		text-decoration: none;

		&--current {
			font-weight: 700;
		}
	}

	&__label {
		background: colors.$layout-colors__background--is-emphasized;
		border: 1px solid colors.$layout-colors__border;
		border-radius: 2px;
		color: colors.$layout-colors__foreground--is-blurred;
		font-size: 10px;
		font-variant: small-caps;
		font-weight: 400;
		margin-left: 4px;
		padding: 2px 5px;
		padding-top: 0;
		position: relative;
		text-decoration: none;
		text-shadow: none;
		top: -1px;
	}

	&__unlink-button {
		visibility: hidden;
		text-decoration: none !important;
	}
}
