/**
 * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md.
 */

.ck-mentions {
	& li.ck-list__item {
		border-bottom: 1px solid var(--borderColor-muted) !important;

		&:last-child {
			border-bottom: 0 !important;
		}
	}

	& button.ck-button {
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
		vertical-align: initial;

		&:hover,
		&.ck-on {
			background: var(--fgColor-accent) !important;
			color: var(--fgColor-on-emphasis) !important;

			& > small {
				color: #fff !important;
			}
		}

		& small {
			font-weight: 400;
			line-height: 21px;
			color: var(--fgColor-muted);
			vertical-align: inherit;
			cursor: inherit;
		}

		& g-emoji {
			font-size: 18px;
			font-weight: 400;
			margin-right: 3px;
			display: inline-block;
			height: 20px;
			vertical-align: middle;
			font-style: normal;
			line-height: 20px;
		}

		& g-emoji.emoji-result img {
			height: 20px;
			margin-right: 1px;
		}

		& img.emoji-result {
			height: 20px;
			margin-right: 4px;
		}
	}
}
