Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
1c2547d2
Commit
1c2547d2
authored
7 years ago
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
color changes to navigation
parent
2dfc8d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
19 deletions
+38
-19
app/assets/stylesheets/new_nav.scss
app/assets/stylesheets/new_nav.scss
+38
-19
No files found.
app/assets/stylesheets/new_nav.scss
View file @
1c2547d2
...
...
@@ -2,7 +2,7 @@
@import
'framework/tw_bootstrap_variables'
;
@import
"bootstrap/variables"
;
$new-navbar-bg
:
#
2d2d2d
;
$new-navbar-bg
:
#
380D75
;
header
.navbar-gitlab-new
{
color
:
$gray-normal
;
...
...
@@ -36,7 +36,7 @@ header.navbar-gitlab-new {
.dropdown.open
{
>
a
{
border-bottom-color
:
$
blue-400
;
border-bottom-color
:
$
white-light
;
}
}
...
...
@@ -52,7 +52,7 @@ header.navbar-gitlab-new {
}
.navbar-collapse
{
color
:
$
gray-dark
;
color
:
$
white-light
;
}
.container-fluid
{
...
...
@@ -79,12 +79,18 @@ header.navbar-gitlab-new {
}
}
.nav
>
li
>
a
{
opacity
:
.9
;
will-change
:
opacity
;
}
.nav
>
li
>
a
:hover
,
.nav
>
li
>
a
:focus
{
color
:
$gray-normal
;
color
:
$white-light
;
opacity
:
1
;
>
svg
{
fill
:
$
gray-normal
;
fill
:
$
white-light
;
}
}
}
...
...
@@ -93,11 +99,16 @@ header.navbar-gitlab-new {
.navbar-sub-nav
{
display
:
flex
;
margin-bottom
:
0
;
color
:
$
gray-dark
;
color
:
$
white-light
;
>
li
{
&
.active
>
a
{
border-bottom-color
:
$blue-400
;
&
.active
>
a
,
a
:hover
,
a
:focus
{
border-bottom-color
:
$white-light
;
text-decoration
:
none
;
outline
:
0
;
opacity
:
1
;
}
>
a
{
...
...
@@ -106,17 +117,13 @@ header.navbar-gitlab-new {
font-size
:
13px
;
color
:
currentColor
;
border-bottom
:
3px
solid
transparent
;
opacity
:
.9
;
will-change
:
opacity
;
@media
(
min-width
:
$screen-sm-min
)
{
padding
:
15px
15px
12px
;
font-size
:
14px
;
}
&
:hover
,
&
:focus
{
color
:
$gray-normal
;
text-decoration
:
none
;
}
}
}
...
...
@@ -126,28 +133,40 @@ header.navbar-gitlab-new {
}
.search
{
form
{
border-color
:
#2D0573
;
&
:hover
{
border-color
:
rgba
(
$white-light
,
.5
);
}
}
&
.search-active
form
{
border-color
:
$white-light
;
}
form
,
.search-input
{
background-color
:
$gl-gray-light
;
background-color
:
#451C7F
;
}
.search-input
{
color
:
$
gray-normal
;
color
:
$
white-light
;
}
.
search-input
:
:
placeholder
{
color
:
$
gray-dark
;
color
:
$
white-light
;
}
.location-badge
{
color
:
$
gray-normal
;
color
:
$
white-light
;
background-color
:
$new-navbar-bg
;
}
&
.search-active
{
.search-input-wrap
{
i
{
color
:
$
gray-normal
;
color
:
$
white-light
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
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