Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
ui
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cokoapps
ui
Merge requests
!8
Navigation bar
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Navigation bar
NavigationBar
into
master
Overview
5
Commits
82
Pipelines
0
Changes
8
3 unresolved threads
Hide all comments
Closed
Danjela Shehi
requested to merge
NavigationBar
into
master
5 years ago
Overview
5
Commits
82
Pipelines
0
Changes
4
3 unresolved threads
Hide all comments
Expand
0
0
Merge request reports
Compare
version 4
version 6
e3138c5d
5 years ago
version 5
15aba1c8
5 years ago
version 4
7b3fbb9f
5 years ago
version 3
43007d3c
5 years ago
version 2
dddc86a7
5 years ago
version 1
8e10eca3
5 years ago
master (base)
and
version 5
latest version
2bbdb686
82 commits,
5 years ago
version 6
e3138c5d
81 commits,
5 years ago
version 5
15aba1c8
80 commits,
5 years ago
version 4
7b3fbb9f
79 commits,
5 years ago
version 3
43007d3c
70 commits,
5 years ago
version 2
dddc86a7
69 commits,
5 years ago
version 1
8e10eca3
64 commits,
5 years ago
Show latest version
4 files
+
59
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/__test__/__snapshots__/NavigationBar.test.js.snap
0 → 100644
+
231
−
0
Options
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`NavigationBar renders correctly 1`] = `
.c6 {
color: #0B65CB;
cursor: pointer;
color: #0B65CB;
font: 'Fira Sans Condensed';
font-size: 16px;
font-weight: normal;
-webkit-text-decoration: none;
text-decoration: none;
text-transform: none;
-webkit-transition: 0.2s ease;
transition: 0.2s ease;
position: relative;
}
.c6:hover,
.c6:focus,
.c6:active {
background: none;
color: #0B65CB;
-webkit-text-decoration: underline;
text-decoration: underline;
}
.c6:hover,
.c6:focus,
.c6:active {
-webkit-text-decoration: none;
text-decoration: none;
}
.c6:before {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: 0;
left: 0;
background-color: #0B65CB;
visibility: hidden;
}
.c6:hover:before {
visibility: visible;
}
.c6:before {
-webkit-transition: 0.2s ease;
transition: 0.2s ease;
opacity: 0;
}
.c6:hover:before {
opacity: 1;
}
.c2 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
min-height: calc(8px * 6);
box-shadow: 0 0 1px #0B65CB;
margin-bottom: 1px;
}
.c4 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c5 {
margin: calc(8px * 2) 1rem calc(8px * 2) 1rem;
}
.c7 > * {
height: calc(8px * 6);
}
.c7:hover:before {
visibility: hidden;
}
.c9 {
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
margin: calc(8px * 3) 1rem calc(8px * 3) 0;
}
.c0 {
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
background-color: #cccccc;
font-family: 'Fira Sans Condensed';
}
.c1 {
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c10 {
color: #FFF;
margin: 0;
}
.c3 {
box-shadow: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.c8 {
color: #FFF;
}
<div
className="c0"
>
<div
className="c1"
>
<nav
className="c2 c3"
>
<div
className="c4"
>
<span
className="c5"
>
<a
className="c6 c7"
href="/"
onClick={[Function]}
>
<span
className="c8"
>
NCBI
</span>
</a>
</span>
<span>
<span
className="c9"
>
<a
className="c6 c10"
data-testid="navigationBarLinkId"
href="/"
onClick={[Function]}
>
Item1
</a>
</span>
</span>
<span>
<span
className="c9"
>
<a
className="c6 c10"
data-testid="navigationBarLinkId"
href="/"
onClick={[Function]}
>
Item2
</a>
</span>
</span>
</div>
<div
className="c4"
>
<span
className="c9"
>
<a
className="c6"
href="/login"
onClick={[Function]}
>
Login
</a>
</span>
</div>
</nav>
</div>
</div>
`;