Style improvements (#79)

This commit is contained in:
Maciej Hirsz
2018-10-09 14:31:30 +02:00
committed by GitHub
parent 85b3eaa3a8
commit 56f0630558
3 changed files with 17 additions and 2 deletions
@@ -6,7 +6,7 @@
width: 400px;
font-size: 30px;
margin-left: -210px;
padding: 10px;
padding: 10px 10px 10px 60px;
border-radius: 4px;
background: #111;
color: #fff;
@@ -18,10 +18,17 @@
margin: 0;
border: none;
outline: none;
width: 400px;
width: 350px;
font-size: 30px;
background: #111;
color: #fff;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-weight: 300;
}
.Chain-Filter .Icon {
position: absolute;
left: 13px;
top: 17px;
font-size: 30px;
}
@@ -1,4 +1,7 @@
import * as React from 'react';
import { Icon } from '../';
import searchIcon from '../../icons/search.svg';
import './Filter.css';
@@ -21,6 +24,7 @@ export class Filter extends React.Component<Filter.Props, {}> {
return (
<div className="Chain-Filter">
<Icon src={searchIcon} />
<input ref={this.onRef} value={value} onChange={this.onChange} />
</div>
);
@@ -46,6 +46,10 @@
color: #d64ca8;
}
.Node-Row:hover {
background-color: #161616;
}
.Node-Row-validator {
display: block;
width: 16px;