diff --git a/client/src/index.css b/client/src/index.css index 9765a836c2..17504cafbd 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -298,11 +298,10 @@ button.home-tile.btn { font-weight: 900; } -.home-tile:hover { +.home-tile-col:hover { background: #dae3ee; } -.home-tile:hover, -.home-tile:focus { +.home-tile-col:focus { text-decoration: none; } @@ -1077,6 +1076,10 @@ header.searchPagination { transform: translate(0, 150px); } +.fade.in.modal { + opacity: 1; +} + @page { margin: 0; } diff --git a/client/src/pages/Home.js b/client/src/pages/Home.js index 7ec16931c0..80d1ace5e9 100644 --- a/client/src/pages/Home.js +++ b/client/src/pages/Home.js @@ -25,14 +25,7 @@ import { Person, Report } from "models" import { superUserTour, userTour } from "pages/HopscotchTour" import PropTypes from "prop-types" import React, { useContext, useState } from "react" -import { - Button, - ControlLabel, - FormControl, - FormGroup, - Grid, - Row -} from "react-bootstrap" +import { Button, Col, Container, Form, Row } from "react-bootstrap" import { connect } from "react-redux" import { useHistory, useLocation } from "react-router-dom" import { RECURSE_STRATEGY } from "searchUtils" @@ -129,12 +122,13 @@ const HomeTiles = ({ currentUser, setSearchQuery, pageDispatchers }) => { {queries .filter(q => q.query !== null) .map((query, index) => ( - + + + ))} @@ -329,33 +323,41 @@ const SavedSearches = ({ setSearchQuery, pageDispatchers }) => { return ( <> - - Select a saved search - - {savedSearches && - savedSearches.map(savedSearch => ( - - ))} - - + + + Select a saved search + + + + {savedSearches && + savedSearches.map(savedSearch => ( + + ))} + + + {selectedSearch && (
-
- - -
- + + + + + + + + +
)} @@ -417,7 +419,7 @@ const Home = ({ setSearchQuery, pageDispatchers }) => { return (
-
+