mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 10:51:02 +01:00
style: improved enabled quality style #164
- blue bg / border - reduced roundedness resolves #159
This commit is contained in:
@@ -26,12 +26,14 @@ const QualityItemGroup = ({
|
||||
return (
|
||||
<div
|
||||
className={`
|
||||
relative p-2.5 rounded-lg select-none cursor-grab active:cursor-grabbing
|
||||
border border-gray-200 dark:border-gray-700
|
||||
relative p-2.5 rounded-md select-none cursor-grab active:cursor-grabbing
|
||||
border ${quality.enabled ? 'border-blue-200 dark:border-blue-700' : 'border-gray-200 dark:border-gray-700'}
|
||||
transition-colors duration-200
|
||||
bg-white dark:bg-gray-800
|
||||
hover:border-gray-300 dark:hover:border-gray-600
|
||||
${isDragging ? 'opacity-50' : ''}
|
||||
${quality.enabled
|
||||
? 'bg-blue-50/30 dark:bg-blue-900/15'
|
||||
: 'bg-white dark:bg-gray-800'}
|
||||
hover:border-gray-300 dark:hover:border-gray-600
|
||||
group
|
||||
`}
|
||||
style={style}
|
||||
|
||||
@@ -50,12 +50,14 @@ const QualityItemSingle = ({
|
||||
return (
|
||||
<div
|
||||
className={`
|
||||
relative p-2.5 rounded-lg select-none cursor-grab active:cursor-grabbing
|
||||
border border-gray-200 dark:border-gray-700
|
||||
relative p-2.5 rounded-md select-none cursor-grab active:cursor-grabbing
|
||||
border ${quality.enabled ? 'border-blue-200 dark:border-blue-700' : 'border-gray-200 dark:border-gray-700'}
|
||||
transition-colors duration-200
|
||||
bg-white dark:bg-gray-800
|
||||
hover:border-gray-300 dark:hover:border-gray-600
|
||||
${isDragging ? 'opacity-50' : ''}
|
||||
${quality.enabled
|
||||
? 'bg-blue-50/30 dark:bg-blue-900/15'
|
||||
: 'bg-white dark:bg-gray-800'}
|
||||
hover:border-gray-300 dark:hover:border-gray-600
|
||||
group
|
||||
`}
|
||||
style={style}
|
||||
|
||||
Reference in New Issue
Block a user