Browse Source

empty state no cursor, circle icon check update

master
Anastasia Poupeney 7 years ago
parent
commit
1fe955118c
  1. 1
      src/components/base/SideBar/SideBarListItem.js
  2. 4
      src/icons/CheckCircle.js

1
src/components/base/SideBar/SideBarListItem.js

@ -63,6 +63,7 @@ const Container = styled(Tabbable).attrs({
py: 2,
})`
cursor: ${p => (p.disabled || p.isActive ? 'default' : 'pointer')};
pointer-events: ${p => (p.isDisabled ? 'none' : 'auto')};
color: ${p => (p.isActive ? p.theme.colors.dark : p.theme.colors.smoke)};
background: ${p => (p.isActive ? p.theme.colors.lightGrey : '')};
opacity: ${p => (p.disabled ? 0.5 : 1)};

4
src/icons/CheckCircle.js

@ -5,11 +5,11 @@ import React from 'react'
const path = (
<path
fill="currentColor"
d="M12 .375C5.58.375.375 5.58.375 12S5.58 23.625 12 23.625 23.625 18.42 23.625 12 18.42.375 12 .375zm0 21.75C6.438 22.125 1.875 17.622 1.875 12 1.875 6.438 6.378 1.875 12 1.875c5.562 0 10.125 4.503 10.125 10.125 0 5.562-4.503 10.125-10.125 10.125zm6.639-12.889l-8.46 8.392a.562.562 0 0 1-.796-.003l-4.025-4.058a.562.562 0 0 1 .003-.795l.4-.397a.562.562 0 0 1 .795.004l3.233 3.259 7.661-7.6a.562.562 0 0 1 .796.003l.396.4a.562.562 0 0 1-.003.795z"
d="M13.917 7.387a.75.75 0 1 1 1.5 0V8a7.417 7.417 0 1 1-4.398-6.778.75.75 0 1 1-.61 1.37A5.917 5.917 0 1 0 13.916 8v-.613zm.22-5.25a.75.75 0 0 1 1.06 1.06L8.531 9.87a.75.75 0 0 1-1.061 0l-2-2a.75.75 0 0 1 1.06-1.06L8 8.28l6.136-6.143z"
/>
)
export default ({ size, ...p }: { size: number }) => (
<svg viewBox="0 0 24 24" height={size} width={size} {...p}>
<svg viewBox="0 0 16 16" height={size} width={size} {...p}>
{path}
</svg>
)

Loading…
Cancel
Save