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
7e393a3e
Commit
7e393a3e
authored
Jan 22, 2021
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into dev-ngrams-table-online
parents
eb395150
a1ec6b6d
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
91 additions
and
14 deletions
+91
-14
sass.css
dist/styles/sass.css
+8
-1
sass.css.map
dist/styles/sass.css.map
+1
-1
package.json
package.json
+1
-1
Settings.purs
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
+1
-0
ToggleButton.purs
src/Gargantext/Components/GraphExplorer/ToggleButton.purs
+11
-6
Home.purs
src/Gargantext/Components/Nodes/Home.purs
+3
-3
Tabs.purs
src/Gargantext/Components/Nodes/Lists/Tabs.purs
+1
-1
_annotation.sass
src/sass/_annotation.sass
+58
-0
_styles.sass
src/sass/_styles.sass
+6
-0
_tree.sass
src/sass/_tree.sass
+1
-1
No files found.
dist/styles/sass.css
View file @
7e393a3e
...
@@ -362,6 +362,7 @@ body > .tree ul > li:first-child::before {
...
@@ -362,6 +362,7 @@ body > .tree ul > li:first-child::before {
li
.leaf
{
li
.leaf
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
color
:
#005a9a
ff
;
}
}
li
.leaf
.folder-icon
{
li
.leaf
.folder-icon
{
padding
:
0
2
0
2
;
padding
:
0
2
0
2
;
...
@@ -474,7 +475,6 @@ li .leaf:hover a.settings {
...
@@ -474,7 +475,6 @@ li .leaf:hover a.settings {
margin-top
:
1px
;
margin-top
:
1px
;
}
}
.tree
.node.node-type-valid
.text
{
.tree
.node.node-type-valid
.text
{
color
:
blue
;
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
...
@@ -690,6 +690,9 @@ li .leaf:hover a.settings {
...
@@ -690,6 +690,9 @@ li .leaf:hover a.settings {
top
:
50%
;
top
:
50%
;
}
}
.table
tr
td
{
color
:
#005a9a
ff
;
}
.table
tr
td
.active
{
.table
tr
td
.active
{
font-weight
:
bold
;
font-weight
:
bold
;
text-decoration
:
underline
;
text-decoration
:
underline
;
...
@@ -716,6 +719,10 @@ li .leaf:hover a.settings {
...
@@ -716,6 +719,10 @@ li .leaf:hover a.settings {
margin
:
10px
;
margin
:
10px
;
}
}
.body
ul
li
{
color
:
#005a9a
ff
;
}
.range
{
.range
{
width
:
400px
;
width
:
400px
;
/* some space for the right knob */
/* some space for the right knob */
...
...
dist/styles/sass.css.map
View file @
7e393a3e
{"version":3,"sourceRoot":"","sources":["../../src/sass/_menu.sass","../../src/sass/_context_menu.sass","../../src/sass/_graph.sass","../../src/sass/_login.sass","../../src/sass/_tree.sass","../../src/sass/_code_editor.sass","../../src/sass/_styles.sass","../../src/sass/_range_slider.sass"],"names":[],"mappings":"AAAA;AAEA;AACA;AACA;AACA;AACA;AAEA;EACI;EACA;;;AAEJ;EACI;EACA;EACA;EACA;;;AAEJ;EACE;;;AAEF;AACI;EACA;;;AAEJ;AACI;EACA;;;AAGJ;AACA;EACI;;;AAEJ;EACI;EACA;EACA;EACA;;;AAEJ;EACE;EACA;;;AAEF;EACE;;;AC7CF;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;;;AClBF;EACE;EACA;EACA;;;AAEF;AAkCE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAxCA;EAZA;EACA;EAEA;EAWE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEF;EACE;EACA;;AAGA;EACE;EACA;;AACN;EACE;;AACF;EACE;;AAEF;EApCA;EACA;EAEA;EAmCE;EACA;;AACF;EACE;;AACF;EACE;;AAWF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEJ;EACE;;AAEA;EACE;;AAEJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;ACpFJ;EACE;;;AAOF;EACE;;AACA;EACE;EACA;;;AAEJ;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAGF;EACE;;AAEE;EACE;EACA;;AACA;EACE;;;AAIJ;EACE;EACA;EACA;EACA;;;AAKJ;EACE;EACA;EACA;;;AAGJ;EACE;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;;AACF;EACE;EACA;;AACA;EACE;EACA;EACA;EACA;;AACA;EACE;;AACF;EACE;EACA;EACA;EACA;;AACA;EACE;;AACN;EACE;EACA;EACA;EACA;;;AAGN;EACE;EACA;EACA;EACA;EACA;;AAGE;EACE;;;AAEN;EACE;EACA;EACA;EACA;EACA;;AAGE;EACE;;;AAEN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;;AAEJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;;AACA;EACE;EACA;;;AAGF;EACE;;;AAEJ;EACI;EACA;;;AAGF;EACE;;;AAEJ;EACE;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;;;ACvKF;EACE;;;AAGA;EACE;EACA;;AAEA;EACE;EACA;;AAEF;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAER;EACE;;AAEE;EACE;;AACA;EACE;EACA;EACA;EACA;;AACF;EACE;EACA;EACA;EACA;EACA;;AACF;EACE;;AACF;EACE;EACA;EACA;EAEA;EACA;EACA;;AAEA;EACE;;AACF;EACE;;AAGN;EACE;;AACF;EACE;;AACA;EACE;EACA;;AAEE;EACE;EACA;;AACF;EACE;EACA;;AAIR;EACE;;AACF;EACE;;AACA;EACE;EACA;;AAEE;EACE;EACA;;AACF;EACE;EACA;;AACF;EACE;EACA;;AAEV;EACE;;AACF;EACE;;AAEE;EACE;;AACF;EACE;;AACN;EACE;;AAEE;EACE;EACA;;;AAGR;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAEE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAEF;EACE;;;AAIF;EACE;;AAEA;EACE;;;AAGN;EACE;;AACF;EACE;;AACF;EACE;;;AC7IJ;EACE;;AAEA;EACE;;AACA;EACE;;AACJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;;AACF;EACE;EACA;;AACA;EACE;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EArDR;EACA;EACA;EACA;EACA;EACA;EACA;EAlBA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AA2DM;EACE;EACA;EACA;EACA;EACA;EA7DR;EACA;EACA;EACA;EACA;EACA;EACA;EAlBA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAmEE;EACE;EACA;EACA;EACA;EACA;EACA;;AACF;EACE;EACA;EACA;;AACA;EACE;EACA;;AACF;EACE;EACA;;AACF;EACE;EACA;;AAGE;EACE;;AAEF;EACE;;;ACtGV;EACE;;AACF;EACE;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;;AAGE;EACE;EACA;;AAEF;EACE;EACA;;;AAEV;EACE;;AACA;EACE;EACA;EACA;;;AAKE;EACE;EACA;;AACF;EACE;;AACA;EACE;;AACJ;EACE;;;AAER;EACE;;;AAEF;EACE;;;AAEF;EACE;;;ACjDF;EACE;AACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EAEA;EAEA;;AAEA;EACE;EAEA;EACA;EACA;;;AAGN;EACE","file":"sass.css"}
{"version":3,"sourceRoot":"","sources":["../../src/sass/_menu.sass","../../src/sass/_context_menu.sass","../../src/sass/_graph.sass","../../src/sass/_login.sass","../../src/sass/_tree.sass","../../src/sass/_code_editor.sass","../../src/sass/_styles.sass","../../src/sass/_range_slider.sass"],"names":[],"mappings":"AAAA;AAEA;AACA;AACA;AACA;AACA;AAEA;EACI;EACA;;;AAEJ;EACI;EACA;EACA;EACA;;;AAEJ;EACE;;;AAEF;AACI;EACA;;;AAEJ;AACI;EACA;;;AAGJ;AACA;EACI;;;AAEJ;EACI;EACA;EACA;EACA;;;AAEJ;EACE;EACA;;;AAEF;EACE;;;AC7CF;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;;;AClBF;EACE;EACA;EACA;;;AAEF;AAkCE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAxCA;EAZA;EACA;EAEA;EAWE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEF;EACE;EACA;;AAGA;EACE;EACA;;AACN;EACE;;AACF;EACE;;AAEF;EApCA;EACA;EAEA;EAmCE;EACA;;AACF;EACE;;AACF;EACE;;AAWF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEJ;EACE;;AAEA;EACE;;AAEJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;ACpFJ;EACE;;;AAOF;EACE;;AACA;EACE;EACA;;;AAEJ;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAGF;EACE;;AAEE;EACE;EACA;;AACA;EACE;;;AAIJ;EACE;EACA;EACA;EACA;;;AAKJ;EACE;EACA;EACA;;;AAGJ;EACE;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;;AACF;EACE;EACA;;AACA;EACE;EACA;EACA;EACA;;AACA;EACE;;AACF;EACE;EACA;EACA;EACA;;AACA;EACE;;AACN;EACE;EACA;EACA;EACA;;;AAGN;EACE;EACA;EACA;EACA;EACA;;AAGE;EACE;;;AAEN;EACE;EACA;EACA;EACA;EACA;;AAGE;EACE;;;AAEN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;;AAEJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;;AACA;EACE;EACA;;;AAGF;EACE;;;AAEJ;EACI;EACA;;;AAGF;EACE;;;AAEJ;EACE;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;;;ACvKF;EACE;;;AAGA;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAEF;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAER;EACE;;AAEE;EACE;;AACA;EACE;EACA;EACA;EACA;;AACF;EACE;EACA;EACA;EACA;EACA;;AACF;EACE;;AACF;EACE;EACA;EACA;EAEA;EACA;EACA;;AAEA;EACE;;AACF;EACE;;AAGN;EACE;;AACF;EACE;;AACA;EACE;EACA;;AAEE;EACE;EACA;;AACF;EACE;EACA;;AAIR;EACE;;AACF;EACE;;AACA;EACE;EACA;;AAEE;EACE;EACA;;AACF;EACE;EACA;;AACF;EACE;EACA;;AAEV;EACE;;AACF;EACE;;AAEE;EACE;;AACF;EACE;;AACN;EACE;;AAEE;EACE;;;AAGR;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAEE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAEF;EACE;;;AAIF;EACE;;AAEA;EACE;;;AAGN;EACE;;AACF;EACE;;AACF;EACE;;;AC7IJ;EACE;;AAEA;EACE;;AACA;EACE;;AACJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;;AACF;EACE;EACA;;AACA;EACE;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EArDR;EACA;EACA;EACA;EACA;EACA;EACA;EAlBA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AA2DM;EACE;EACA;EACA;EACA;EACA;EA7DR;EACA;EACA;EACA;EACA;EACA;EACA;EAlBA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAmEE;EACE;EACA;EACA;EACA;EACA;EACA;;AACF;EACE;EACA;EACA;;AACA;EACE;EACA;;AACF;EACE;EACA;;AACF;EACE;EACA;;AAGE;EACE;;AAEF;EACE;;;ACtGV;EACE;;AACF;EACE;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;;AAGE;EACE;EACA;;AAEF;EACE;EACA;;;AAEV;EACE;;AACA;EACE;EACA;EACA;;;AAIA;EACE;;AACA;EACE;EACA;;AACF;EACE;;AACA;EACE;;AACJ;EACE;;;AAER;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAIE;EACE;;;ACvDN;EACE;AACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EAEA;EAEA;;AAEA;EACE;EAEA;EACA;EACA;;;AAGN;EACE","file":"sass.css"}
\ No newline at end of file
\ No newline at end of file
package.json
View file @
7e393a3e
{
{
"name"
:
"Gargantext"
,
"name"
:
"Gargantext"
,
"version"
:
"0.0.2.
5
"
,
"version"
:
"0.0.2.
6
"
,
"scripts"
:
{
"scripts"
:
{
"rebase-set"
:
"spago package-set-upgrade && spago psc-package-insdhall"
,
"rebase-set"
:
"spago package-set-upgrade && spago psc-package-insdhall"
,
"rebuild-set"
:
"spago psc-package-insdhall"
,
"rebuild-set"
:
"spago psc-package-insdhall"
,
...
...
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
View file @
7e393a3e
...
@@ -132,6 +132,7 @@ settingsBox Team =
...
@@ -132,6 +132,7 @@ settingsBox Team =
, NodeFrameCalc
, NodeFrameCalc
, NodeFrameNotebook
, NodeFrameNotebook
, Team
, Team
, FolderShared
]
]
, Share
, Share
, Delete
, Delete
...
...
src/Gargantext/Components/GraphExplorer/ToggleButton.purs
View file @
7e393a3e
...
@@ -28,6 +28,7 @@ type Props = (
...
@@ -28,6 +28,7 @@ type Props = (
state :: R.State Boolean
state :: R.State Boolean
, onMessage :: String
, onMessage :: String
, offMessage :: String
, offMessage :: String
, style :: String
, onClick :: forall e. e -> Effect Unit
, onClick :: forall e. e -> Effect Unit
)
)
...
@@ -37,10 +38,10 @@ toggleButton props = R.createElement toggleButtonCpt props []
...
@@ -37,10 +38,10 @@ toggleButton props = R.createElement toggleButtonCpt props []
toggleButtonCpt :: R.Component Props
toggleButtonCpt :: R.Component Props
toggleButtonCpt = R.hooksComponentWithModule thisModule "toggleButton" cpt
toggleButtonCpt = R.hooksComponentWithModule thisModule "toggleButton" cpt
where
where
cpt {state, onMessage, offMessage, onClick} _ = do
cpt {state, onMessage, offMessage, onClick
, style
} _ = do
let (toggled /\ _) = state
let (toggled /\ _) = state
pure $ H.button { className: "btn btn-outline-
light
" <> cls toggled
pure $ H.button { className: "btn btn-outline-
" <> style <> "
" <> cls toggled
, on: {click: onClick}
, on: {click: onClick}
} [ R2.small {} [ H.text (text onMessage offMessage toggled) ] ]
} [ R2.small {} [ H.text (text onMessage offMessage toggled) ] ]
...
@@ -56,6 +57,7 @@ controlsToggleButton state =
...
@@ -56,6 +57,7 @@ controlsToggleButton state =
, onMessage: "Hide Controls"
, onMessage: "Hide Controls"
, offMessage: "Show Controls"
, offMessage: "Show Controls"
, onClick: \_ -> snd state not
, onClick: \_ -> snd state not
, style: "light"
}
}
type EdgesButtonProps = (
type EdgesButtonProps = (
...
@@ -69,14 +71,14 @@ edgesToggleButtonCpt :: R.Component EdgesButtonProps
...
@@ -69,14 +71,14 @@ edgesToggleButtonCpt :: R.Component EdgesButtonProps
edgesToggleButtonCpt = R.hooksComponentWithModule thisModule "edgesToggleButton" cpt
edgesToggleButtonCpt = R.hooksComponentWithModule thisModule "edgesToggleButton" cpt
where
where
cpt {state: (state /\ setState)} _ = do
cpt {state: (state /\ setState)} _ = do
pure $ H.button { className: "btn btn-outline-
light
" <> cls state
pure $ H.button { className: "btn btn-outline-
primary
" <> cls state
, on: { click: onClick setState }
, on: { click: onClick setState }
} [ R2.small {} [ H.text (text state) ] ]
} [ R2.small {} [ H.text (text state) ] ]
text s = if SigmaxTypes.edgeStateHidden s then "Show edges" else "Hide edges"
text s = if SigmaxTypes.edgeStateHidden s then "Show edges" else "Hide edges"
cls SigmaxTypes.EShow = "
active
"
cls SigmaxTypes.EShow = ""
cls _ = ""
cls _ = "
active
"
-- TODO: Move this to Graph.purs to the R.useEffect handler which renders nodes/edges
-- TODO: Move this to Graph.purs to the R.useEffect handler which renders nodes/edges
onClick setState _ = setState SigmaxTypes.toggleShowEdgesState
onClick setState _ = setState SigmaxTypes.toggleShowEdgesState
...
@@ -88,6 +90,7 @@ louvainToggleButton state =
...
@@ -88,6 +90,7 @@ louvainToggleButton state =
, onMessage: "Louvain off"
, onMessage: "Louvain off"
, offMessage: "Louvain on"
, offMessage: "Louvain on"
, onClick: \_ -> snd state not
, onClick: \_ -> snd state not
, style: "primary"
}
}
multiSelectEnabledButton :: R.State Boolean -> R.Element
multiSelectEnabledButton :: R.State Boolean -> R.Element
...
@@ -97,6 +100,7 @@ multiSelectEnabledButton state =
...
@@ -97,6 +100,7 @@ multiSelectEnabledButton state =
, onMessage: "Single-node"
, onMessage: "Single-node"
, offMessage: "Multi-node"
, offMessage: "Multi-node"
, onClick: \_ -> snd state not
, onClick: \_ -> snd state not
, style : "primary"
}
}
type ForceAtlasProps = (
type ForceAtlasProps = (
...
@@ -110,7 +114,7 @@ pauseForceAtlasButtonCpt :: R.Component ForceAtlasProps
...
@@ -110,7 +114,7 @@ pauseForceAtlasButtonCpt :: R.Component ForceAtlasProps
pauseForceAtlasButtonCpt = R.hooksComponentWithModule thisModule "forceAtlasToggleButton" cpt
pauseForceAtlasButtonCpt = R.hooksComponentWithModule thisModule "forceAtlasToggleButton" cpt
where
where
cpt {state: (state /\ setState)} _ = do
cpt {state: (state /\ setState)} _ = do
pure $ H.button { className: "btn btn-outline-
light
" <> cls state
pure $ H.button { className: "btn btn-outline-
primary
" <> cls state
, on: { click: onClick setState }
, on: { click: onClick setState }
} [ R2.small {} [ H.text (text state) ] ]
} [ R2.small {} [ H.text (text state) ] ]
...
@@ -132,6 +136,7 @@ treeToggleButton state =
...
@@ -132,6 +136,7 @@ treeToggleButton state =
, onMessage: "Hide Tree"
, onMessage: "Hide Tree"
, offMessage: "Show Tree"
, offMessage: "Show Tree"
, onClick: \_ -> snd state not
, onClick: \_ -> snd state not
, style: "light"
}
}
sidebarToggleButton :: R.State GET.SidePanelState -> R.Element
sidebarToggleButton :: R.State GET.SidePanelState -> R.Element
...
...
src/Gargantext/Components/Nodes/Home.purs
View file @
7e393a3e
...
@@ -84,7 +84,7 @@ homeLayoutCpt = R.hooksComponentWithModule thisModule "homeLayout" cpt
...
@@ -84,7 +84,7 @@ homeLayoutCpt = R.hooksComponentWithModule thisModule "homeLayout" cpt
}
}
]
]
, H.div {className:"center"}
, H.div {className:"c
ol-12 d-flex justify-content-c
enter"}
[ H.h1 {} [ -- H.span {className: "fa fa-star-o"} []
[ H.h1 {} [ -- H.span {className: "fa fa-star-o"} []
H.text ""
H.text ""
]
]
...
@@ -281,7 +281,7 @@ homeLayoutCpt = R.hooksComponentWithModule thisModule "homeLayout" cpt
...
@@ -281,7 +281,7 @@ homeLayoutCpt = R.hooksComponentWithModule thisModule "homeLayout" cpt
--}
--}
video fileDuration = H.div {className:"center"}
video fileDuration = H.div {className:"c
ol-12 d-flex justify-content-c
enter"}
[ H.video { src: "http://dl.gargantext.org/" <> fileDuration
[ H.video { src: "http://dl.gargantext.org/" <> fileDuration
, title: "tutorial video here"
, title: "tutorial video here"
, id: "source_" <> fileDuration
, id: "source_" <> fileDuration
...
@@ -292,7 +292,7 @@ homeLayoutCpt = R.hooksComponentWithModule thisModule "homeLayout" cpt
...
@@ -292,7 +292,7 @@ homeLayoutCpt = R.hooksComponentWithModule thisModule "homeLayout" cpt
} [H.text "Sorry your browser is not compatible: use Firefox or Chromium instead."]
} [H.text "Sorry your browser is not compatible: use Firefox or Chromium instead."]
]
]
joinButton = H.div { className:"flex-space-around center"
joinButton = H.div { className:"flex-space-around
d-flex justify-content-
center"
, paddingTop: "100px"
, paddingTop: "100px"
, paddingBottom: "100px"
, paddingBottom: "100px"
}
}
...
...
src/Gargantext/Components/Nodes/Lists/Tabs.purs
View file @
7e393a3e
...
@@ -156,7 +156,7 @@ ngramsViewCpt = R.hooksComponentWithModule thisModule "ngramsView" cpt
...
@@ -156,7 +156,7 @@ ngramsViewCpt = R.hooksComponentWithModule thisModule "ngramsView" cpt
charts params CTabTerms (chartType /\ setChartType) _ = [
charts params CTabTerms (chartType /\ setChartType) _ = [
H.div {className: "row"}
H.div {className: "row"}
[ H.div {className: "col-
6 ml-auto mr-auto
"}
[ H.div {className: "col-
12 d-flex justify-content-center
"}
[ H.img { src: "images/Gargantextuel-212x300.jpg"
[ H.img { src: "images/Gargantextuel-212x300.jpg"
, id: "funnyimg"
, id: "funnyimg"
}
}
...
...
src/sass/_annotation.sass
0 → 100644
View file @
7e393a3e
// $annotation-candidate-color: #aaa
// $annotation-graph-color: #0f0
// $annotation-stop-color: #f00
// Copied from bootstrap's bg-warning, bg-success, bg-danger:
$annotation-candidate-color
:
#FF9800
$annotation-graph-color
:
#43A047
$annotation-stop-color
:
#E53935
@mixin
lg2
(
$color1
,
$color2
)
background-image
:
linear-gradient
(
rgba
(
$color1
,
0
.5
)
,
rgba
(
$color1
,
0
.5
))
,
linear-gradient
(
rgba
(
$color2
,
0
.5
)
,
rgba
(
$color2
,
0
.5
))
@mixin
lg3
(
$color1
,
$color2
,
$color3
)
background-image
:
linear-gradient
(
rgba
(
$color1
,
0
.34
)
,
rgba
(
$color1
,
0
.34
))
,
linear-gradient
(
rgba
(
$color2
,
0
.33
)
,
rgba
(
$color2
,
0
.33
))
,
linear-gradient
(
rgba
(
$color3
,
0
.33
)
,
rgba
(
$color3
,
0
.33
))
.annotation-run
cursor
:
pointer
&
.candidate-term.graph-term.stop-term
color
:
#000
@include
lg3
(
$annotation-candidate-color
,
$annotation-graph-color
,
$annotation-stop-color
)
&
.candidate-term.graph-term
color
:
#000
@include
lg2
(
$annotation-candidate-color
,
$annotation-graph-color
)
&
.candidate-term.stop-term
color
:
#000
@include
lg2
(
$annotation-candidate-color
,
$annotation-stop-color
)
&
.graph-term.stop-term
color
:
#000
@include
lg2
(
$annotation-graph-color
,
$annotation-stop-color
)
&
.candidate-term
color
:
#000
background-color
:
$annotation-candidate-color
&
.graph-term
color
:
#000
background-color
:
$annotation-graph-color
&
.stop-term
color
:
#000
background-color
:
$annotation-stop-color
.context-menu
.candidate-term
color
:
#000
background-color
:
$annotation-candidate-color
.graph-term
color
:
#000
background-color
:
$annotation-graph-color
.stop-term
color
:
#000
background-color
:
$annotation-stop-color
src/sass/_styles.sass
View file @
7e393a3e
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
.table
.table
tr
tr
td
td
color
:
#005a9a
ff
.active
.active
font-weight
:
bold
font-weight
:
bold
text-decoration
:
underline
text-decoration
:
underline
...
@@ -48,3 +49,8 @@
...
@@ -48,3 +49,8 @@
.search-bar
.search-bar
margin
:
10px
margin
:
10px
.body
ul
li
color
:
#005a9a
ff
src/sass/_tree.sass
View file @
7e393a3e
...
@@ -5,6 +5,7 @@ li
...
@@ -5,6 +5,7 @@ li
.leaf
.leaf
display
:
flex
display
:
flex
flex-direction
:
row
flex-direction
:
row
color
:
#005a9a
ff
.folder-icon
.folder-icon
padding
:
0
2
0
2
padding
:
0
2
0
2
...
@@ -105,7 +106,6 @@ li
...
@@ -105,7 +106,6 @@ li
margin-top
:
1px
margin-top
:
1px
&
.node-type-valid
&
.node-type-valid
.text
.text
color
:
blue
text-decoration
:
underline
text-decoration
:
underline
// based on https://codeburst.io/how-to-pure-css-pie-charts-w-css-variables-38287aea161e
// based on https://codeburst.io/how-to-pure-css-pie-charts-w-css-variables-38287aea161e
...
...
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