Skip to content

Commit

Permalink
12 #21 styled the searchbar
Browse files Browse the repository at this point in the history
  • Loading branch information
rebecacalvoquintero committed Dec 13, 2017
1 parent 83ce052 commit 296d836
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/css/_custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ button {
.h6 {
height:25rem;
}

.b-input {
border: solid 2px var(--blue);
border-radius: 0.25rem;
}
/*finish*/
6 changes: 3 additions & 3 deletions src/elm/Routes/PreviousOverviewPage.elm
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import Types exposing (..)
previousOverviewPage : Model -> Html Msg
previousOverviewPage model =
div [ class "w-60-ns center" ]
[ h2 [ class "center f3" ] [ text "CG Interactions" ]
, p [] [ text "search by name, tags or organisation" ]
, input [ class "pa2 ma2", onInput SetSearchInput, value model.searchInput ] []
[ h2 [ class "blue center f3 db tc" ] [ text "CG Interactions" ]
, p [ class "blue center db tc" ] [ text "search by name, tags or organisation" ]
, input [ class "center db b-input pa2 ma2", onInput SetSearchInput, value model.searchInput, placeholder "search" ] []
, section
[]
(interactionContent
Expand Down

0 comments on commit 296d836

Please sign in to comment.