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
314cfc39
Commit
314cfc39
authored
Sep 28, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes
parent
af86b5de
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
130 additions
and
129 deletions
+130
-129
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+0
-94
app/assets/stylesheets/framework/nav.scss
app/assets/stylesheets/framework/nav.scss
+0
-35
app/assets/stylesheets/framework/new-nav.scss
app/assets/stylesheets/framework/new-nav.scss
+92
-0
app/assets/stylesheets/framework/secondary-navigation-elements.scss
.../stylesheets/framework/secondary-navigation-elements.scss
+37
-0
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+1
-0
No files found.
app/assets/stylesheets/framework/header.scss
View file @
314cfc39
...
@@ -6,8 +6,6 @@
...
@@ -6,8 +6,6 @@
header
{
header
{
@include
new-style-dropdown
;
@include
new-style-dropdown
;
transition
:
padding
$sidebar-transition-duration
;
&
.navbar-empty
{
&
.navbar-empty
{
height
:
$header-height
;
height
:
$header-height
;
background
:
$white-light
;
background
:
$white-light
;
...
@@ -313,95 +311,3 @@ header {
...
@@ -313,95 +311,3 @@ header {
color
:
$red-500
;
color
:
$red-500
;
}
}
}
}
.with-performance-bar
header
.navbar-gitlab
{
top
:
$performance-bar-height
;
}
.navbar-nav
{
li
{
.badge
{
position
:
inherit
;
font-weight
:
$gl-font-weight-normal
;
margin-left
:
-6px
;
font-size
:
11px
;
color
:
$white-light
;
padding
:
0
5px
;
line-height
:
12px
;
border-radius
:
7px
;
box-shadow
:
0
1px
0
rgba
(
$gl-header-color
,
.2
);
&
.issues-count
{
background-color
:
$green-500
;
}
&
.merge-requests-count
{
background-color
:
$orange-600
;
}
&
.todos-count
{
background-color
:
$blue-500
;
}
}
}
}
@media
(
max-width
:
$screen-xs-max
)
{
header
.container-fluid
{
font-size
:
18px
;
.navbar-nav
{
display
:
table
;
table-layout
:
fixed
;
width
:
100%
;
margin
:
0
;
text-align
:
right
;
}
.navbar-collapse
{
padding-left
:
5px
;
.nav
>
li
:not
(
.hidden-xs
)
{
display
:
table-cell
!
important
;
width
:
25%
;
a
{
margin-right
:
8px
;
}
}
}
}
.header-user-dropdown-toggle
{
text-align
:
center
;
}
.header-user-avatar
{
float
:
none
;
}
}
.header-user
{
.dropdown-menu-nav
{
width
:
auto
;
min-width
:
140px
;
margin-top
:
-5px
;
color
:
$gl-text-color
;
left
:
auto
;
.current-user
{
padding
:
5px
18px
;
.user-name
{
display
:
block
;
}
}
}
}
.header-user-avatar
{
float
:
left
;
margin-right
:
5px
;
border-radius
:
50%
;
border
:
1px
solid
$avatar-border
;
}
app/assets/stylesheets/framework/nav.scss
View file @
314cfc39
.project-item-select-holder.btn-group
{
display
:
flex
;
max-width
:
350px
;
overflow
:
hidden
;
float
:
right
;
.new-project-item-link
{
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.new-project-item-select-button
{
width
:
32px
;
}
}
.empty-state
.project-item-select-holder.btn-group
{
float
:
none
;
display
:
inline-block
;
.btn
{
// overrides styles applied to plain `.empty-state .btn`
margin
:
10px
0
;
max-width
:
300px
;
width
:
auto
;
@media
(
max-width
:
$screen-xs-max
)
{
max-width
:
250px
;
}
}
}
.new-project-item-select-button
.fa-caret-down
{
margin-left
:
2px
;
}
app/assets/stylesheets/framework/new-nav.scss
View file @
314cfc39
...
@@ -397,3 +397,95 @@ header.navbar-gitlab-new {
...
@@ -397,3 +397,95 @@ header.navbar-gitlab-new {
background-color
:
$white-light
;
background-color
:
$white-light
;
}
}
}
}
.navbar-nav
{
li
{
.badge
{
position
:
inherit
;
font-weight
:
$gl-font-weight-normal
;
margin-left
:
-6px
;
font-size
:
11px
;
color
:
$white-light
;
padding
:
0
5px
;
line-height
:
12px
;
border-radius
:
7px
;
box-shadow
:
0
1px
0
rgba
(
$gl-header-color
,
.2
);
&
.issues-count
{
background-color
:
$green-500
;
}
&
.merge-requests-count
{
background-color
:
$orange-600
;
}
&
.todos-count
{
background-color
:
$blue-500
;
}
}
}
}
@media
(
max-width
:
$screen-xs-max
)
{
header
.container-fluid
{
font-size
:
18px
;
.navbar-nav
{
display
:
table
;
table-layout
:
fixed
;
width
:
100%
;
margin
:
0
;
text-align
:
right
;
}
.navbar-collapse
{
padding-left
:
5px
;
.nav
>
li
:not
(
.hidden-xs
)
{
display
:
table-cell
!
important
;
width
:
25%
;
a
{
margin-right
:
8px
;
}
}
}
}
.header-user-dropdown-toggle
{
text-align
:
center
;
}
.header-user-avatar
{
float
:
none
;
}
}
.header-user
{
.dropdown-menu-nav
{
width
:
auto
;
min-width
:
140px
;
margin-top
:
-5px
;
color
:
$gl-text-color
;
left
:
auto
;
.current-user
{
padding
:
5px
18px
;
.user-name
{
display
:
block
;
}
}
}
}
.header-user-avatar
{
float
:
left
;
margin-right
:
5px
;
border-radius
:
50%
;
border
:
1px
solid
$avatar-border
;
}
.with-performance-bar
header
.navbar-gitlab
{
top
:
$performance-bar-height
;
}
app/assets/stylesheets/framework/secondary-navigation-elements.scss
View file @
314cfc39
...
@@ -337,3 +337,40 @@
...
@@ -337,3 +337,40 @@
}
}
}
}
}
}
.project-item-select-holder.btn-group
{
display
:
flex
;
max-width
:
350px
;
overflow
:
hidden
;
float
:
right
;
.new-project-item-link
{
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.new-project-item-select-button
{
width
:
32px
;
}
}
.empty-state
.project-item-select-holder.btn-group
{
float
:
none
;
display
:
inline-block
;
.btn
{
// overrides styles applied to plain `.empty-state .btn`
margin
:
10px
0
;
max-width
:
300px
;
width
:
auto
;
@media
(
max-width
:
$screen-xs-max
)
{
max-width
:
250px
;
}
}
}
.new-project-item-select-button
.fa-caret-down
{
margin-left
:
2px
;
}
app/assets/stylesheets/pages/search.scss
View file @
314cfc39
...
@@ -47,6 +47,7 @@ input[type="checkbox"]:hover {
...
@@ -47,6 +47,7 @@ input[type="checkbox"]:hover {
}
}
.location-badge
{
.location-badge
{
height
:
32px
;
font-size
:
12px
;
font-size
:
12px
;
margin
:
-4px
4px
-4px
-4px
;
margin
:
-4px
4px
-4px
-4px
;
line-height
:
25px
;
line-height
:
25px
;
...
...
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