2021-08-08 19:26:34 +03:00
|
|
|
.overflow-ellipsis {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cmd-bar {
|
2021-08-04 12:52:59 +03:00
|
|
|
--cmd-bar-height: 28px;
|
|
|
|
min-height: var(--cmd-bar-height);
|
2021-08-08 19:26:34 +03:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&__info {
|
|
|
|
display: flex;
|
2021-12-12 08:01:52 +02:00
|
|
|
width: 40px;
|
|
|
|
margin: 0 10px 0 14px;
|
2021-08-08 19:26:34 +03:00
|
|
|
[dir=rtl] & {
|
2021-12-12 08:01:52 +02:00
|
|
|
margin: 0 14px 0 10px;
|
2021-08-08 19:26:34 +03:00
|
|
|
}
|
|
|
|
& > * {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
min-width: 0;
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
|
2021-12-12 08:01:52 +02:00
|
|
|
&-suggestions {
|
2021-08-08 19:26:34 +03:00
|
|
|
height: 100%;
|
|
|
|
white-space: nowrap;
|
2021-12-12 08:01:52 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-08-04 12:52:59 +03:00
|
|
|
|
|
|
|
& > .text {
|
2021-08-08 19:26:34 +03:00
|
|
|
@extend .overflow-ellipsis;
|
2021-08-04 12:52:59 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-08-08 19:26:34 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.cmd-item {
|
|
|
|
--cmd-item-bar: inset 0 -2px 0 0 var(--bg-caution);
|
|
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: var(--sp-extra-tight);
|
|
|
|
padding: 0 var(--sp-extra-tight);
|
|
|
|
height: 100%;
|
|
|
|
border-radius: var(--bo-radius) var(--bo-radius) 0 0;
|
|
|
|
cursor: pointer;
|
|
|
|
|
2021-08-09 12:13:43 +03:00
|
|
|
& .emoji {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2021-08-24 13:01:20 +03:00
|
|
|
margin-right: var(--sp-ultra-tight);
|
2021-08-09 12:13:43 +03:00
|
|
|
}
|
|
|
|
|
2021-08-08 19:26:34 +03:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--bg-caution-hover);
|
|
|
|
}
|
|
|
|
&:focus {
|
2021-08-09 12:13:43 +03:00
|
|
|
background-color: var(--bg-caution-active);
|
2021-08-08 19:26:34 +03:00
|
|
|
box-shadow: var(--cmd-item-bar);
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
outline: none;
|
|
|
|
}
|
2021-08-24 13:01:20 +03:00
|
|
|
|
|
|
|
[dir=rtl] & {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: var(--sp-extra-tight);
|
|
|
|
& .emoji {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: var(--sp-ultra-tight);
|
|
|
|
}
|
|
|
|
}
|
2021-08-04 12:52:59 +03:00
|
|
|
}
|