Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Knowledge Space WP Plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alg
Knowledge Space WP Plugin
Commits
d908faf3
Commit
d908faf3
authored
3 years ago
by
Matthias Konitzny
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up old CSS classes.
Added fancy-scrollbar to the bottom-container
parent
1dbf55ec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
display/display.css
+4
-43
4 additions, 43 deletions
display/display.css
display/overlays/neighbors.js
+2
-1
2 additions, 1 deletion
display/overlays/neighbors.js
display/overlays/nodeinfo.js
+1
-0
1 addition, 0 deletions
display/overlays/nodeinfo.js
with
7 additions
and
44 deletions
display/display.css
+
4
−
43
View file @
d908faf3
...
@@ -2,32 +2,17 @@
...
@@ -2,32 +2,17 @@
display
:
flex
;
display
:
flex
;
}
}
.
detail-view-info-area
::-webkit-scrollbar
{
.
fancy-scrollbar
::-webkit-scrollbar
{
width
:
6px
;
width
:
6px
;
background-color
:
#f5f5f5
;
background-color
:
#f5f5f5
;
}
}
.
detail-view-info-area
::-webkit-scrollbar-track
{
.
fancy-scrollbar
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
background-color
:
#f5f5f5
;
background-color
:
#f5f5f5
;
}
}
.detail-view-info-area
::-webkit-scrollbar-thumb
{
.fancy-scrollbar
::-webkit-scrollbar-thumb
{
background-color
:
darkgray
;
}
.bottom-container-tab-content
::-webkit-scrollbar
{
width
:
6px
;
height
:
8px
;
background-color
:
#f5f5f5
;
}
.bottom-container-tab-content
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
background-color
:
#f5f5f5
;
}
.bottom-container-tab-content
::-webkit-scrollbar-thumb
{
background-color
:
darkgray
;
background-color
:
darkgray
;
}
}
...
@@ -196,31 +181,7 @@
...
@@ -196,31 +181,7 @@
width
:
78px
;
width
:
78px
;
}
}
.bottom-container-tab-content
{
.neighbor-container
{
display
:
none
;
/*padding: 6px 0px;*/
/*border-top: none;*/
overflow-x
:
auto
;
/*height: 100px;*/
height
:
100%
;
width
:
100%
;
}
.active-tab-nav
{
color
:
black
;
font-weight
:
bold
;
}
.active-tab-content
{
display
:
flex
;
align-items
:
center
;
}
.hidden-tab
{
display
:
none
;
}
.bottom-container
{
position
:
absolute
;
position
:
absolute
;
bottom
:
0
;
bottom
:
0
;
left
:
0
;
left
:
0
;
...
...
This diff is collapsed.
Click to expand it.
display/overlays/neighbors.js
+
2
−
1
View file @
d908faf3
...
@@ -26,9 +26,10 @@ class NodeNeighborOverlay {
...
@@ -26,9 +26,10 @@ class NodeNeighborOverlay {
*/
*/
create
()
{
create
()
{
const
bottomContainerDiv
=
Helpers
.
createDiv
(
const
bottomContainerDiv
=
Helpers
.
createDiv
(
"
bottom
-container
"
,
"
neighbor
-container
"
,
this
.
parentNode
this
.
parentNode
);
);
bottomContainerDiv
.
classList
.
add
(
"
fancy-scrollbar
"
);
// Create the collapsible of the entire menu
// Create the collapsible of the entire menu
const
coll
=
Helpers
.
createDiv
(
"
button
"
,
bottomContainerDiv
);
const
coll
=
Helpers
.
createDiv
(
"
button
"
,
bottomContainerDiv
);
coll
.
className
=
"
neighbor-collapsible-title
"
;
coll
.
className
=
"
neighbor-collapsible-title
"
;
...
...
This diff is collapsed.
Click to expand it.
display/overlays/nodeinfo.js
+
1
−
0
View file @
d908faf3
...
@@ -59,6 +59,7 @@ class NodeInfoOverlay {
...
@@ -59,6 +59,7 @@ class NodeInfoOverlay {
"
detail-view-info-area
"
,
"
detail-view-info-area
"
,
overlayNode
overlayNode
);
);
infoArea
.
classList
.
add
(
"
fancy-scrollbar
"
);
const
topArea
=
Helpers
.
createDiv
(
"
detail-view-top-area
"
,
infoArea
);
const
topArea
=
Helpers
.
createDiv
(
"
detail-view-top-area
"
,
infoArea
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment