Porting changes from https://github.com/chatwoot/chatwoot/pull/10552 --------- Co-authored-by: Pranav <pranav@chatwoot.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com> Co-authored-by: Sojan <sojan@pepalo.com> Co-authored-by: iamsivin <iamsivin@gmail.com> Co-authored-by: Pranav <pranavrajs@gmail.com>
78 lines
1.4 KiB
SCSS
78 lines
1.4 KiB
SCSS
.tabs--container {
|
|
@apply flex;
|
|
}
|
|
|
|
.tabs--container--with-border {
|
|
@apply border-b border-n-weak;
|
|
}
|
|
|
|
.tabs--container--compact.tab--chat-type {
|
|
.tabs-title {
|
|
a {
|
|
@apply py-2 text-sm;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tabs {
|
|
@apply border-r-0 border-l-0 border-t-0 flex min-w-[6.25rem] py-0 px-4 list-none mb-0;
|
|
}
|
|
|
|
.tabs--with-scroll {
|
|
@apply overflow-hidden py-0 px-1;
|
|
max-width: calc(100% - 64px);
|
|
}
|
|
|
|
.tabs--scroll-button {
|
|
@apply items-center rounded-none cursor-pointer flex h-auto justify-center min-w-[2rem];
|
|
}
|
|
|
|
// Tab chat type
|
|
.tab--chat-type {
|
|
@apply flex;
|
|
|
|
.tabs-title {
|
|
a {
|
|
@apply text-base font-medium py-3;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tabs-title {
|
|
@apply flex-shrink-0 my-0 mx-2;
|
|
|
|
.badge {
|
|
@apply bg-n-alpha-black2 dark:bg-n-solid-3 rounded-md text-n-slate-11 h-5 flex items-center justify-center text-xxs font-semibold my-0 mx-1 px-1 py-0;
|
|
}
|
|
|
|
&:first-child {
|
|
@apply ml-0;
|
|
}
|
|
|
|
&:last-child {
|
|
@apply mr-0;
|
|
}
|
|
|
|
&:hover,
|
|
&:focus {
|
|
a {
|
|
@apply text-n-slate-12;
|
|
}
|
|
}
|
|
|
|
a {
|
|
@apply flex items-center flex-row border-b py-2.5 select-none cursor-pointer border-transparent text-n-slate-11 text-sm top-[1px] relative;
|
|
transition: border-color 0.15s $swift-ease-out-function;
|
|
}
|
|
|
|
&.is-active {
|
|
a {
|
|
@apply border-b border-n-brand text-n-blue-text;
|
|
}
|
|
|
|
.badge {
|
|
@apply bg-n-brand/10 dark:bg-n-brand/20 text-n-blue-text;
|
|
}
|
|
}
|
|
}
|