Refector sass

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-12-19 10:28:41 +05:30
parent 85c3240b54
commit ce9f140ddf
46 changed files with 407 additions and 703 deletions

View file

@ -1,8 +1,6 @@
.overflow-ellipsis {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
@use '../../partials/flex';
@use '../../partials/text';
@use '../../partials/dir';
.cmd-bar {
--cmd-bar-height: 28px;
@ -12,18 +10,15 @@
&__info {
display: flex;
width: 40px;
margin: 0 10px 0 14px;
[dir=rtl] & {
margin: 0 14px 0 10px;
}
@include dir.side(margin, 10px, 14px);
& > * {
margin: auto;
}
}
&__content {
min-width: 0;
flex: 1;
@extend .cp-fx__item-one;
display: flex;
&-suggestions {
@ -33,7 +28,7 @@
align-items: center;
& > .text {
@extend .overflow-ellipsis;
@extend .cp-txt__ellipsis;
}
}
}
@ -44,7 +39,7 @@
display: inline-flex;
align-items: center;
margin-right: var(--sp-extra-tight);
@include dir.side(margin, 0, var(--sp-extra-tight));
padding: 0 var(--sp-extra-tight);
height: 100%;
border-radius: var(--bo-radius) var(--bo-radius) 0 0;
@ -53,7 +48,7 @@
& .emoji {
width: 20px;
height: 20px;
margin-right: var(--sp-ultra-tight);
@include dir.side(margin, 0, var(--sp-ultra-tight));
}
&:hover {
@ -65,13 +60,4 @@
border-bottom: 2px solid transparent;
outline: none;
}
[dir=rtl] & {
margin-right: 0;
margin-left: var(--sp-extra-tight);
& .emoji {
margin-right: 0;
margin-left: var(--sp-ultra-tight);
}
}
}