Commit 5fc43ffc authored by Sudhir Kumar's avatar Sudhir Kumar

fixed css

parent 58422697
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
<link href="css/Login.css" rel="stylesheet"> <link href="css/Login.css" rel="stylesheet">
<style> <style>
* {margin: 0; padding: 0; list-style: none;} * {margin: 0; padding: 0; list-style: none;}
ul li { .tree ul li {
margin-left: 15px; margin-left: 15px;
position: relative; position: relative;
padding-left: 5px; padding-left: 5px;
} }
ul li::before { .tree ul li::before {
content: " "; content: " ";
position: absolute; position: absolute;
width: 1px; width: 1px;
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
bottom: -12px; bottom: -12px;
left: -10px; left: -10px;
} }
body > ul > li:first-child::before {top: 12px;} body > .tree ul > li:first-child::before {top: 12px;}
ul li:not(:first-child):last-child::before {display: none;} .tree ul li:not(:first-child):last-child::before {display: none;}
ul li:only-child::before { .tree ul li:only-child::before {
display: list-item; display: list-item;
content: " "; content: " ";
position: absolute; position: absolute;
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
height: 7px; height: 7px;
left: -10px; left: -10px;
} }
ul li::after { .tree ul li::after {
content: " "; content: " ";
position: absolute; position: absolute;
left: -10px; left: -10px;
......
...@@ -23,7 +23,7 @@ import Data.Tuple (Tuple(..)) ...@@ -23,7 +23,7 @@ import Data.Tuple (Tuple(..))
import Network.HTTP.Affjax (AJAX, affjax, defaultRequest) import Network.HTTP.Affjax (AJAX, affjax, defaultRequest)
import Network.HTTP.RequestHeader (RequestHeader(..)) import Network.HTTP.RequestHeader (RequestHeader(..))
import Partial.Unsafe (unsafePartial) import Partial.Unsafe (unsafePartial)
import Prelude (class Eq, class Ord, class Show, Unit, bind, id, map, not, pure, show, void, ($), (*), (+), (-), (/), (<), (<$>), (<>), (==), (>), (>=), (>>=)) import Prelude (class Eq, class Ord, class Show, Unit, bind, map, not, pure, show, void, ($), (*), (+), (-), (/), (<), (<$>), (<>), (==), (>), (>=), (>>=))
import React (ReactElement) import React (ReactElement)
import React as R import React as R
import React.DOM (a, b, b', br', div, h3, i, input, li, option, select, span, table, tbody, td, text, thead, tr, ul) import React.DOM (a, b, b', br', div, h3, i, input, li, option, select, span, table, tbody, td, text, thead, tr, ul)
...@@ -126,7 +126,7 @@ spec = simpleSpec performAction render ...@@ -126,7 +126,7 @@ spec = simpleSpec performAction render
[ div [className "col-md-3"] [ div [className "col-md-3"]
[ br' [] [ br' []
, br' [] , br' []
, toHtml dispatch d.tree , div [className "tree"] [toHtml dispatch d.tree]
] ]
, div [className "col-md-9"] , div [className "col-md-9"]
[ [
......
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