Skip to content

Commit

Permalink
style: Add color on row when is selected or hover 🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
kosssi committed May 11, 2017
1 parent 167ff3b commit 25d6bc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/File.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class File extends Component {
style={style}
className={classNames(
styles['fil-content-row'],
selected ? styles['fil-content-row-selected'] : '',
{ [styles['fil-content-row--selectable']]: selectionModeActive }
)}
{...rowListeners}
Expand Down
7 changes: 6 additions & 1 deletion src/styles/table.styl
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,13 @@
max-width 'calc(100vw - %s)' % em(220px)
border-bottom 1px solid grey-09

.fil-content-body &:hover
&:hover
background-color grey-10
&.fil-content-head:hover
background-color white

.fil-content-row-selected
background-color rgba(24, 122, 255, 0.1)

.fil-content-cell.fil-content-file
color grey-08
Expand Down

0 comments on commit 25d6bc6

Please sign in to comment.