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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Grégoire Locqueville
purescript-gargantext
Commits
39031e0a
Commit
39031e0a
authored
Jul 02, 2020
by
Peter Corlett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[UI] #184 Tweaked layout of hide/show tree/control/sidebar buttons.
parent
fbeac876
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
13 deletions
+40
-13
Graph.css
dist/styles/Graph.css
+16
-2
Graph.sass
dist/styles/Graph.sass
+16
-2
GraphExplorer.purs
src/Gargantext/Components/GraphExplorer.purs
+7
-8
Controls.purs
src/Gargantext/Components/GraphExplorer/Controls.purs
+1
-1
No files found.
dist/styles/Graph.css
View file @
39031e0a
...
...
@@ -5,13 +5,27 @@
#graph-explorer
#toolbar
ul
{
display
:
flex
;
flex-direction
:
row
;
margin
:
0
;
}
#graph-explorer
#toolbar
ul
li
{
display
:
flex
;
max-width
:
200px
;
}
#graph-explorer
.row.controls
{
height
:
79px
;
#graph-explorer
#toggle-container
{
position
:
absolute
;
z-index
:
999
;
right
:
15px
;
top
:
10px
;
width
:
70%
;
}
#graph-explorer
#controls-container
{
position
:
absolute
;
z-index
:
999
;
backdrop-filter
:
blur
(
4px
);
background
:
rgba
(
255
,
255
,
255
,
0.75
);
overflow
:
auto
;
left
:
0
;
right
:
0
;
}
#graph-explorer
.graph-tree
{
position
:
absolute
;
...
...
dist/styles/Graph.sass
View file @
39031e0a
...
...
@@ -13,12 +13,26 @@
ul
display
:
flex
flex-direction
:
row
margin
:
0
li
display
:
flex
max-width
:
200px
.row.controls
height
:
79px
#toggle-container
position
:
absolute
z-index
:
999
//
needs
to
appear
above
solid
menu
bar
right
:
15px
top
:
10px
width
:
70%
#controls-container
position
:
absolute
z-index
:
999
//
needs
to
appear
above
graph
elements
backdrop-filter
:
blur
(
4px
)
background
:
rgba
(
255
,
255
,
255
,
75%
)
overflow
:
auto
left
:
0
right
:
0
.graph-tree
@include
sidePanelCommon
...
...
src/Gargantext/Components/GraphExplorer.purs
View file @
39031e0a
...
...
@@ -115,15 +115,14 @@ explorerCpt = R.hooksComponent "G.C.GraphExplorer.explorer" cpt
pure $
RH.div
{ id: "graph-explorer" }
[ R2.row
[ outer
[ inner
[ row1
[ rowToggle
[ col [ pullLeft [ Toggle.treeToggleButton controls.showTree ] ]
, col [ Toggle.controlsToggleButton controls.showControls ]
, col [ pullRight [ Toggle.sidebarToggleButton controls.showSidePanel ] ]
]
, rowControls [ Controls.controls controls ]
], R2.row
[ outer
[ inner
[ rowControls [ Controls.controls controls ]
, R2.row [
tree { frontends
, mCurrentRoute
...
...
@@ -156,8 +155,8 @@ explorerCpt = R.hooksComponent "G.C.GraphExplorer.explorer" cpt
outer = RH.div { className: "col-md-12" }
inner = RH.div { className: "container-fluid", style: { paddingTop: "90px" } }
row
1 = RH.div { className: "row", style: { paddingBottom: "10px", marginTop: "-24px" }
}
rowControls = RH.div {
className: "row controls
" }
row
Toggle = RH.div { id: "toggle-container"
}
rowControls = RH.div {
id: "controls-container
" }
col = RH.div { className: "col-md-4" }
pullLeft = RH.div { className: "pull-left" }
pullRight = RH.div { className: "pull-right" }
...
...
src/Gargantext/Components/GraphExplorer/Controls.purs
View file @
39031e0a
...
...
@@ -134,7 +134,7 @@ controlsCpt = R.hooksComponent "GraphControls" cpt
pure $ case getShowControls props of
false -> RH.div {} []
true -> RH.div {
className: "col-md-12", style: { paddingBottom: "10px" }
}
true -> RH.div {}
[ R2.menu { id: "toolbar" }
[ RH.ul {}
[ -- change type button (?)
...
...
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