aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchBox.tsx
diff options
context:
space:
mode:
authorvellichora <fangrui_tong@brown.edu>2020-03-11 15:53:41 -0400
committervellichora <fangrui_tong@brown.edu>2020-03-11 15:53:41 -0400
commitbf70d94b36cfe38be78ff9935ffecdbe354f1a28 (patch)
tree130f8e537a3abcc83e323137b9045fcc65449fe6 /src/client/views/search/SearchBox.tsx
parent0777ad8db317999a4a878a4ab91ff706426303b7 (diff)
more css
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
-rw-r--r--src/client/views/search/SearchBox.tsx9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index 1025629d5..4f0ca5709 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -391,14 +391,13 @@ export class SearchBox extends React.Component {
</div>
<div className="filter-form" style={this._filterOpen ? { display: "flex" } : { display: "none" }}>
- <div className="filter-header">
- <button className="filter-item" onClick={this.handleWordQueryChange}>Keywords</button>
- <button className="filter-item" onClick={this.handleKeyChange}>Keys</button>
- <button className="filter-item" onClick={this.handleNodeChange}>Nodes</button>
+ <div className="filter-header" style={this._filterOpen ? {} : { display: "none" }}>
+ <button className="filter-item" style={this._basicWordStatus ? { background: "#aaaaa3", } : {}} onClick={this.handleWordQueryChange}>Keywords</button>
+ <button className="filter-item" style={this._keyStatus ? { background: "#aaaaa3" } : {}} onClick={this.handleKeyChange}>Keys</button>
+ <button className="filter-item" style={this._nodeStatus ? { background: "#aaaaa3" } : {}} onClick={this.handleNodeChange}>Nodes</button>
</div>
<div className="filter-body" style={this._nodeStatus ? { display: "flex" } : { display: "none" }}>
<IconBar />
-
</div>
<div style={this._keyStatus ? { display: "flex" } : { display: "none" }}>