Dropdown Multiselect Listbox TW theme item hover styling fixed
parent
a9b235db0a
commit
1e8e12c758
|
@ -1333,12 +1333,10 @@ export default {
|
||||||
class: [
|
class: [
|
||||||
'cursor-pointer font-normal overflow-hidden relative whitespace-nowrap',
|
'cursor-pointer font-normal overflow-hidden relative whitespace-nowrap',
|
||||||
'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
||||||
'dark:text-white/80 dark:hover:bg-gray-800',
|
|
||||||
'hover:text-gray-700 hover:bg-gray-200',
|
|
||||||
{
|
{
|
||||||
'text-gray-700': !context.focused && !context.selected,
|
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
||||||
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
|
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': context.focused && !context.selected,
|
||||||
'bg-blue-400 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
'bg-blue-100 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
||||||
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1526,12 +1524,10 @@ export default {
|
||||||
class: [
|
class: [
|
||||||
'cursor-pointer font-normal overflow-hidden relative whitespace-nowrap',
|
'cursor-pointer font-normal overflow-hidden relative whitespace-nowrap',
|
||||||
'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
||||||
'dark:text-white/80 dark:hover:bg-gray-800',
|
|
||||||
'hover:text-gray-700 hover:bg-gray-200',
|
|
||||||
{
|
{
|
||||||
'text-gray-700': !context.focused && !context.selected,
|
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
||||||
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
|
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': context.focused && !context.selected,
|
||||||
'bg-blue-400 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
'bg-blue-100 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
||||||
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1635,12 +1631,10 @@ export default {
|
||||||
class: [
|
class: [
|
||||||
'cursor-pointer font-normal overflow-hidden relative whitespace-nowrap',
|
'cursor-pointer font-normal overflow-hidden relative whitespace-nowrap',
|
||||||
'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
||||||
'dark:text-white/80 dark:hover:bg-gray-800',
|
|
||||||
'hover:text-gray-700 hover:bg-gray-200',
|
|
||||||
{
|
{
|
||||||
'text-gray-700': !context.focused && !context.selected,
|
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
||||||
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
|
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': context.focused && !context.selected,
|
||||||
'bg-blue-400 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
'bg-blue-100 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
||||||
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1772,12 +1766,10 @@ export default {
|
||||||
class: [
|
class: [
|
||||||
'cursor-pointer font-normal overflow-hidden relative whitespace-nowrap',
|
'cursor-pointer font-normal overflow-hidden relative whitespace-nowrap',
|
||||||
'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
||||||
'dark:text-white/80 dark:hover:bg-gray-800',
|
|
||||||
'hover:text-gray-700 hover:bg-gray-200',
|
|
||||||
{
|
{
|
||||||
'text-gray-700': !context.focused && !context.selected,
|
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
||||||
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
|
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': context.focused && !context.selected,
|
||||||
'bg-blue-500 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
'bg-blue-100 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
||||||
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue