Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-gargantext
Commits
19f5fc3d
Commit
19f5fc3d
authored
Sep 08, 2020
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[tree] fixes to subtree css
parent
dd211c20
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
18 deletions
+34
-18
Tree.css
dist/styles/Tree.css
+7
-0
Tree.sass
dist/styles/Tree.sass
+8
-0
SubTree.purs
...Gargantext/Components/Forest/Tree/Node/Tools/SubTree.purs
+19
-18
No files found.
dist/styles/Tree.css
View file @
19f5fc3d
...
...
@@ -63,4 +63,11 @@
opacity
:
var
(
--over50
,
0
);
}
#node-popup-tooltip
.tree
.node
{
margin-top
:
5px
;
}
#node-popup-tooltip
.tree
.children
.node
{
padding-left
:
15px
;
}
/*# sourceMappingURL=Tree.css.map */
dist/styles/Tree.sass
View file @
19f5fc3d
...
...
@@ -60,3 +60,11 @@
&
:after
opacity
:
var
(
--
over50
,
0
)
#node-popup-tooltip
.tree
.node
margin-top
:
5px
.children
.node
padding-left
:
15px
src/Gargantext/Components/Forest/Tree/Node/Tools/SubTree.purs
View file @
19f5fc3d
...
...
@@ -118,24 +118,25 @@ subTreeTreeViewCpt = R2.hooksComponent thisModule "subTreeTreeViewCpt" cpt
GT.LeftHanded -> A.reverse
GT.RightHanded -> identity
pure $ H.div {} $ (ordering [ H.div { className: "node " <> GT.fldr nodeType true} []
, H.span { style : if validNodeType
then { color : "blue"
, "text-decoration": "underline"
}
else { color : ""
, "text-decoration": "none"
}
, on: { click: onClick }
}
[ nodeText { isSelected: isSelected targetId valAction
, name: " " <> name
, handed
}
]
]
)
<> children
pure $ H.div {} $ ordering [
H.div { className: "node " <> GT.fldr nodeType true} [
H.span { style : if validNodeType then
{ color : "blue"
, "text-decoration": "underline"
}
else { color : ""
, "text-decoration": "none"
}
, on: { click: onClick }
} [
nodeText { isSelected: isSelected targetId valAction
, name: " " <> name
, handed
}
, H.span { className: "children" } children
]
]
]
where
SubTreeParams { valitypes } = subTreeParams
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment