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
28871fe2
Commit
28871fe2
authored
Oct 22, 2022
by
arturo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[docs] Resolve annotation tooltip position
* #456
parent
09a5846c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
20 deletions
+38
-20
bootstrap-darkster.css
dist/styles/bootstrap-darkster.css
+4
-0
bootstrap-default.css
dist/styles/bootstrap-default.css
+8
-15
bootstrap-greyson.css
dist/styles/bootstrap-greyson.css
+4
-0
bootstrap-herbie.css
dist/styles/bootstrap-herbie.css
+4
-0
bootstrap-monotony.css
dist/styles/bootstrap-monotony.css
+4
-0
ContextMenu.purs
src/Gargantext/Components/Bootstrap/Floaty/ContextMenu.purs
+6
-5
_tree.sass
src/sass/_legacy/_tree.sass
+8
-0
No files found.
dist/styles/bootstrap-darkster.css
View file @
28871fe2
...
...
@@ -9509,6 +9509,10 @@ a:focus, a:hover {
right
:
-4px
;
z-index
:
2
;
}
.mainleaf__version-badge
.b-icon-button__inner
{
top
:
-3px
;
left
:
1px
;
}
.mainleaf__version-badge--matched.b-icon-button
,
.mainleaf__version-badge--matched.b-icon-button
:hover
{
color
:
#015668
;
}
...
...
dist/styles/bootstrap-default.css
View file @
28871fe2
...
...
@@ -9462,6 +9462,10 @@ a:focus, a:hover {
right
:
-4px
;
z-index
:
2
;
}
.mainleaf__version-badge
.b-icon-button__inner
{
top
:
-3px
;
left
:
1px
;
}
.mainleaf__version-badge--matched.b-icon-button
,
.mainleaf__version-badge--matched.b-icon-button
:hover
{
color
:
#28a745
;
}
...
...
@@ -10328,21 +10332,10 @@ select.form-control {
flex-grow
:
1
;
margin-left
:
32px
;
}
.table-header-rename__cache
{
margin-top
:
16px
;
}
.table-header-rename__cache--on
{
font-weight
:
bold
;
}
.table-header-rename__cache__button
{
margin-left
:
16px
;
color
:
#007bff
;
}
.table-header-rename__cache__text
{
cursor
:
pointer
;
}
.table-header-rename__cache__text
:focus
{
outline
:
0
;
.table-header-rename__cache-toolbar
{
width
:
136px
;
margin-left
:
4px
;
margin-right
:
4px
;
}
.table-header-rename__calendar__icon
{
margin-right
:
4px
;
...
...
dist/styles/bootstrap-greyson.css
View file @
28871fe2
...
...
@@ -9218,6 +9218,10 @@ a:focus, a:hover {
right
:
-4px
;
z-index
:
2
;
}
.mainleaf__version-badge
.b-icon-button__inner
{
top
:
-3px
;
left
:
1px
;
}
.mainleaf__version-badge--matched.b-icon-button
,
.mainleaf__version-badge--matched.b-icon-button
:hover
{
color
:
#3e4d59
;
}
...
...
dist/styles/bootstrap-herbie.css
View file @
28871fe2
...
...
@@ -9466,6 +9466,10 @@ a:focus, a:hover {
right
:
-4px
;
z-index
:
2
;
}
.mainleaf__version-badge
.b-icon-button__inner
{
top
:
-3px
;
left
:
1px
;
}
.mainleaf__version-badge--matched.b-icon-button
,
.mainleaf__version-badge--matched.b-icon-button
:hover
{
color
:
#0074E4
;
}
...
...
dist/styles/bootstrap-monotony.css
View file @
28871fe2
...
...
@@ -9467,6 +9467,10 @@ a:focus, a:hover {
right
:
-4px
;
z-index
:
2
;
}
.mainleaf__version-badge
.b-icon-button__inner
{
top
:
-3px
;
left
:
1px
;
}
.mainleaf__version-badge--matched.b-icon-button
,
.mainleaf__version-badge--matched.b-icon-button
:hover
{
color
:
#333333
;
}
...
...
src/Gargantext/Components/Bootstrap/Floaty/ContextMenu.purs
View file @
28871fe2
...
...
@@ -64,12 +64,13 @@ component = R.hooksComponent componentName cpt where
R.useLayoutEffect1 (R.readRef ref) do
for_ (toMaybe $ R.readRef ref) \el -> do
let rect = Element.boundingRect el
let pos = position { x, y } rect
let style = el .. "style"
let rect = Element.boundingRect el
let pos = position { x, y } rect
let style = el .. "style"
let toPixels = show >>> (_ <> "px")
void $ pure $ setProperty' style "left" [
show pos.left
]
void $ pure $ setProperty' style "top" [
show pos.top
]
void $ pure $ setProperty' style "left" [
pos.left # toPixels
]
void $ pure $ setProperty' style "top" [
pos.top # toPixels
]
R.nothing # R.thenNothing
...
...
src/sass/_legacy/_tree.sass
View file @
28871fe2
...
...
@@ -157,6 +157,14 @@ $node-popup-width: 544px
right
:
$offset-x
z-index
:
z-index
(
"tree"
,
"badge"
)
// (?) unknown regresion: empirical offset re-alignement
.b-icon-button__inner
$offset-y
:
-3px
$offset-x
:
1px
top
:
$offset-y
left
:
$offset-x
// (remove hover effect to maintain continuity with folder + node icon
// lack of hover effect)
&
--matched
...
...
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