* feat: Remove foundation * chore: Minor fix * Minor fix * Update _forms.scss * chore: More changes * chore: Minor fix * chore: Clean up * fix: font-weight * chore: More changes * chore: Setting page * chore: Editor fix * chore: Reports page * chore: More changes * chore: Minor changes * chore: More fixes * chore: More changes * chore: More changes * chore: More changes * chore: Minor fix * chore: More changes * chore: More changes * chore: More changes * chore: More changes * chore: Clean up * chore: Minor fix * chore: Clean ups * chore: Rename basic file * chore: Remove unused files * chore: Fix expanded input * Fix campaign rendering * chore: Clean up * chore: More changes * chore: Remove unused files * fix: Overflow issue * chore: Minor fix * chore: Clean up * chore: Minor fix * chore: Remove unused files * chore: Minor fix * chore: Minor fix * fix: autoprefixer start/end value has mixed support * chore: Minor fix * chore: Remove unused files * chore: Minor fix * chore: Minor fix * chore: Minor fix * Add responsive design to label settings * fix inbox view * chore: Minor fix * w-60% to w-2/3 * chore: Fix team * chore: Fix button * w-[34%] to w-1/3 * chore: Fix border * Add support mobile views in team page * chore: fix snackbar * chore: clean up * chore: Clean up * fix: loading state alignment * fix: alert styles * chore: Minor fix * fix: spacing for agent bot row * fix: layout * fix: layout for SLA * fix: checkbox * fix: SLA checkbox spacing * Update inbox settings pages * fix macros listing page layout * fix canned responses * chore: Fix bot page * chore: fix automation page * chore: fix agents page * chore: fix canned response editor * chore: Fix settings table * chore: fix settings layout * chore: Minor fix * fix: canned response table layou * fix: layout for table header for webhooks * fix: webhook row layout * fix: dashboard app modal layout * fix: add title to canned response truncated shortcode * fix: dashboard apps row layuot * fix: layouts hooks * fix: body color * fix: delete action color in portal locales * fix: text color for campagin title * fix: success button color --------- Co-authored-by: Pranav <pranav@chatwoot.com> Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com> Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
225 lines
4.8 KiB
SCSS
225 lines
4.8 KiB
SCSS
@mixin label-multiselect-hover {
|
|
&::after {
|
|
@apply text-woot-600 dark:text-woot-600;
|
|
}
|
|
|
|
&:hover {
|
|
@apply bg-slate-50 dark:bg-slate-700;
|
|
|
|
&::after {
|
|
@apply text-woot-500 dark:text-woot-500;
|
|
}
|
|
}
|
|
}
|
|
|
|
.multiselect {
|
|
&:not(.no-margin) {
|
|
@apply mb-4;
|
|
}
|
|
|
|
&.multiselect--disabled {
|
|
@apply opacity-50 border border-slate-200 dark:border-slate-600 rounded-md cursor-not-allowed;
|
|
|
|
.multiselect__select {
|
|
@apply cursor-not-allowed bg-white dark:bg-slate-900 rounded-md;
|
|
}
|
|
|
|
.multiselect__tags {
|
|
@apply border-0;
|
|
}
|
|
}
|
|
|
|
.multiselect--active {
|
|
> .multiselect__tags {
|
|
@apply border-woot-500 dark:border-woot-500;
|
|
}
|
|
}
|
|
|
|
.multiselect__select {
|
|
@apply min-h-[2.875rem] p-0 right-0 top-0;
|
|
|
|
&::before {
|
|
@apply right-0;
|
|
}
|
|
}
|
|
|
|
.multiselect__content-wrapper {
|
|
@apply bg-white dark:bg-slate-900 border border-solid border-slate-200 dark:border-slate-600 text-slate-800 dark:text-slate-100;
|
|
}
|
|
|
|
.multiselect__content {
|
|
@apply max-w-full;
|
|
|
|
.multiselect__option {
|
|
@apply text-sm font-normal;
|
|
|
|
span {
|
|
@apply inline-block overflow-hidden text-ellipsis whitespace-nowrap w-fit;
|
|
}
|
|
|
|
p {
|
|
@apply mb-0;
|
|
}
|
|
|
|
&.multiselect__option--highlight {
|
|
@apply bg-white dark:bg-slate-800 text-slate-800 dark:text-slate-100;
|
|
}
|
|
|
|
&.multiselect__option--highlight:hover {
|
|
@apply bg-woot-50 dark:bg-woot-600 text-slate-800 dark:text-slate-100;
|
|
|
|
&::after {
|
|
@apply bg-woot-50 dark:bg-woot-600 text-slate-600 dark:text-slate-200;
|
|
}
|
|
}
|
|
|
|
&.multiselect__option--highlight::after {
|
|
@apply bg-transparent;
|
|
}
|
|
|
|
&.multiselect__option--selected {
|
|
@apply bg-woot-50 dark:bg-woot-600 text-slate-800 dark:text-slate-100;
|
|
|
|
&.multiselect__option--highlight:hover {
|
|
@apply bg-woot-75 dark:bg-woot-600;
|
|
|
|
&::after {
|
|
@apply bg-transparent;
|
|
}
|
|
|
|
&::after:hover {
|
|
@apply text-slate-800 dark:text-slate-100;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.multiselect__tags {
|
|
@apply bg-white dark:bg-slate-900 border border-solid border-slate-200 dark:border-slate-600 m-0 min-h-[2.875rem] pt-0;
|
|
|
|
input {
|
|
@apply border-0 border-none;
|
|
}
|
|
}
|
|
|
|
.multiselect__tags-wrap {
|
|
@apply inline-block leading-none mt-1;
|
|
}
|
|
|
|
.multiselect__placeholder {
|
|
@apply text-slate-400 dark:text-slate-400 font-normal pt-3;
|
|
}
|
|
|
|
.multiselect__tag {
|
|
@apply bg-slate-50 dark:bg-slate-800 mt-1 text-slate-800 dark:text-slate-100 pr-6 pl-2.5 py-1.5;
|
|
}
|
|
|
|
.multiselect__tag-icon {
|
|
@include label-multiselect-hover;
|
|
}
|
|
|
|
.multiselect__input {
|
|
@include ghost-input;
|
|
@apply text-sm h-[2.875rem] mb-0 p-0;
|
|
}
|
|
|
|
.multiselect__single {
|
|
@apply bg-white dark:bg-slate-900 text-slate-800 dark:text-slate-100 inline-block mb-0 py-3 px-2.5 overflow-hidden whitespace-nowrap text-ellipsis;
|
|
}
|
|
}
|
|
|
|
.sidebar-labels-wrap {
|
|
&.has-edited,
|
|
&:hover {
|
|
.multiselect {
|
|
@apply cursor-pointer;
|
|
}
|
|
}
|
|
|
|
.multiselect {
|
|
> .multiselect__select {
|
|
@apply invisible;
|
|
}
|
|
|
|
> .multiselect__tags {
|
|
@apply border-transparent;
|
|
}
|
|
|
|
&.multiselect--active > .multiselect__tags {
|
|
@apply border-woot-500 dark:border-woot-500;
|
|
}
|
|
}
|
|
}
|
|
|
|
.multiselect-wrap--small {
|
|
.multiselect__tags,
|
|
.multiselect__input,
|
|
.multiselect {
|
|
@apply bg-white dark:bg-slate-900 text-slate-800 dark:text-slate-100 rounded-[5px] text-sm min-h-[2.5rem];
|
|
}
|
|
|
|
.multiselect__input {
|
|
@apply h-[2.375rem] min-h-[2.375rem];
|
|
}
|
|
|
|
.multiselect__single {
|
|
@apply items-center flex m-0 text-sm max-h-[2.375rem] text-slate-800 dark:text-slate-100 bg-white dark:bg-slate-900 py-3 px-0.5;
|
|
}
|
|
|
|
.multiselect__placeholder {
|
|
@apply m-0 py-2 px-0.5;
|
|
}
|
|
|
|
.multiselect__tag {
|
|
@apply py-[6px] my-[1px];
|
|
}
|
|
|
|
.multiselect__select {
|
|
@apply min-h-[2.5rem];
|
|
}
|
|
|
|
.multiselect--disabled .multiselect__current,
|
|
.multiselect--disabled .multiselect__select {
|
|
@apply bg-transparent;
|
|
}
|
|
}
|
|
|
|
.multiselect-wrap--medium {
|
|
.multiselect__tags,
|
|
.multiselect__input {
|
|
@apply items-center flex;
|
|
}
|
|
|
|
.multiselect__tags,
|
|
.multiselect__input,
|
|
.multiselect {
|
|
@apply bg-white dark:bg-slate-900 text-slate-800 dark:text-slate-100 text-sm h-12 min-h-[3rem];
|
|
}
|
|
|
|
.multiselect__input {
|
|
@apply h-[2.875rem] min-h-[2.875rem];
|
|
}
|
|
|
|
.multiselect__single {
|
|
@apply items-center flex m-0 text-sm py-1 px-0.5 text-slate-800 dark:text-slate-100 bg-white dark:bg-slate-900;
|
|
}
|
|
|
|
.multiselect__placeholder {
|
|
@apply m-0 py-1 px-0.5;
|
|
}
|
|
|
|
.multiselect__select {
|
|
@apply min-h-[3rem];
|
|
}
|
|
|
|
.multiselect--disabled .multiselect__current,
|
|
.multiselect--disabled .multiselect__select {
|
|
@apply bg-transparent;
|
|
}
|
|
|
|
.multiselect__tags-wrap {
|
|
@apply flex-shrink-0;
|
|
}
|
|
}
|