Commit 59b1f7a1 authored by Abinaya Sudhir's avatar Abinaya Sudhir

Layout fixed

parent 387aceb0
......@@ -17,6 +17,7 @@
position: relative;
padding-left: 5px;
}
.tree { margin-top : 125px;}
.tree ul li::before {
content: " ";
position: absolute;
......
......@@ -142,8 +142,8 @@ layoutAddcorpus = simpleSpec performAction render
render :: Render State props Action
render dispatch _ state _ =
[
div [className "container"] []
, div [className "container"]
div [className "container1"] []
, div [className "container1"]
[
div [className "jumbotron"]
[ div [className "row"]
......
......@@ -45,7 +45,7 @@ docview = simpleSpec performAction render
render :: Render State _ Action
render dispatch _ state _ =
[
div [className "container"]
div [className "container1"]
[
div [className "row"]
[
......
......@@ -102,7 +102,7 @@ layoutDocview = simpleSpec performAction render
where
render :: Render State _ Action
render dispatch _ state@(TableData d) _ =
[ div [className "container"]
[ div [className "container1"]
[ div [className "row"]
[ div [className "col-md-3"]
[ br' []
......
......@@ -82,9 +82,9 @@ layoutLanding' hd = simpleSpec performAction render
where
render :: Render State props Action
render dispatch _ state _ =
[ div [ className "container" ] [ jumboTitle hd false ]
, div [ className "container" ] [ imageEnter hd (onClick \_ -> dispatch $ Enter)]
, div [ className "container" ] [ blocksRandomText' hd ]
[ div [ className "container1" ] [ jumboTitle hd false ]
, div [ className "container1" ] [ imageEnter hd (onClick \_ -> dispatch $ Enter)]
, div [ className "container1" ] [ blocksRandomText' hd ]
]
------------------------------------------------------------------------
......
......@@ -211,7 +211,7 @@ layout0 layout =
, rs b
]
ls = over _render \render d p s c ->
[div [className "col-md-4"] (render d p s c)]
[div [className "col-md-3"] (render d p s c)]
rs = over _render \render d p s c ->
[ div [className "col-md-8"] (render d p s c) ]
cont = over _render \render d p s c ->
......@@ -240,7 +240,7 @@ layoutSidebar = simpleSpec performAction render
[ div [ _id "dafixedtop"
, className "navbar navbar-inverse navbar-fixed-top"
, role "navigation"
] [ div [className "container"]
] [ div [className "container1"]
[ div [ className "navbar-inner" ]
[ divLogo
, div [ className "collapse navbar-collapse"]
......@@ -384,13 +384,13 @@ divSearchBar = simpleSpec performAction render
render dispatch _ state _ = [div [ className "" ] [ searchbar']]
where
searchbar' = ul [ className "nav navbar-nav"
, style { "margin-left" : "79px"}
, style { "margin-left" : "0px"}
] [ div [className "navbar-form"]
[ input [ className "search-query"
, placeholder "Query, URL or FILE (works with Firefox or Chromium browsers)"
, _type "text"
, style { height: "35px"
, width : "450px"
-- , color: "white"
-- , background : "#A1C2D8"
}
......@@ -431,7 +431,7 @@ layoutFooter :: forall props eff. Spec (dom :: DOM |eff) AppState props Action
layoutFooter = simpleSpec performAction render
where
render :: Render AppState props Action
render dispatch _ state _ = [div [ className "container" ] [ hr [] [], footerLegalInfo']]
render dispatch _ state _ = [div [ className "container1" ] [ hr [] [], footerLegalInfo']]
where
footerLegalInfo' = footer [] [ p [] [ text "Gargantext "
, span [className "glyphicon glyphicon-registration-mark" ] []
......
......@@ -58,8 +58,8 @@ searchSpec = simpleSpec performAction render
where
render :: Render State props Action
render dispatch _ state _ =
[ div [className "container"] []
, div [className "container"]
[ div [className "container1"] []
, div [className "container1"]
[ div [className "jumbotron" ]
[ div [className "row" ]
[ div [className "col-md-10" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment