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
cc25e2ba
Commit
cc25e2ba
authored
Jul 28, 2017
by
Takuya Noguchi
Committed by
Phil Hughes
Jul 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Global nav (9.0) UI improvement
parent
ba81e6de
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+5
-7
app/assets/stylesheets/framework/filters.scss
app/assets/stylesheets/framework/filters.scss
+2
-1
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+1
-0
changelogs/unreleased/34921-global-dropdown-ui-improvement.yml
...elogs/unreleased/34921-global-dropdown-ui-improvement.yml
+4
-0
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
cc25e2ba
...
@@ -148,7 +148,6 @@
...
@@ -148,7 +148,6 @@
padding
:
5px
8px
;
padding
:
5px
8px
;
color
:
$gl-text-color
;
color
:
$gl-text-color
;
line-height
:
initial
;
line-height
:
initial
;
text-overflow
:
ellipsis
;
border-radius
:
2px
;
border-radius
:
2px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -203,11 +202,6 @@
...
@@ -203,11 +202,6 @@
border-radius
:
$border-radius-base
;
border-radius
:
$border-radius-base
;
box-shadow
:
0
2px
4px
$dropdown-shadow-color
;
box-shadow
:
0
2px
4px
$dropdown-shadow-color
;
@media
(
max-width
:
$screen-sm-min
)
{
width
:
100%
;
min-width
:
180px
;
}
&
.dropdown-open-left
{
&
.dropdown-open-left
{
right
:
0
;
right
:
0
;
left
:
auto
;
left
:
auto
;
...
@@ -289,6 +283,11 @@
...
@@ -289,6 +283,11 @@
padding
:
5px
8px
;
padding
:
5px
8px
;
color
:
$gl-text-color-secondary
;
color
:
$gl-text-color-secondary
;
}
}
.badge
+
span
:not
(
.badge
)
{
// Expects up to 3 digits on the badge
margin-right
:
40px
;
}
}
}
.droplab-dropdown
{
.droplab-dropdown
{
...
@@ -373,7 +372,6 @@
...
@@ -373,7 +372,6 @@
.dropdown-menu
,
.dropdown-menu
,
.dropdown-menu-nav
{
.dropdown-menu-nav
{
max-width
:
280px
;
max-width
:
280px
;
width
:
auto
;
}
}
}
}
...
...
app/assets/stylesheets/framework/filters.scss
View file @
cc25e2ba
...
@@ -393,7 +393,8 @@
...
@@ -393,7 +393,8 @@
@media
(
max-width
:
$screen-xs
)
{
@media
(
max-width
:
$screen-xs
)
{
.filter-dropdown-container
{
.filter-dropdown-container
{
.dropdown-toggle
,
.dropdown-toggle
,
.dropdown
{
.dropdown
,
.dropdown-menu
{
width
:
100%
;
width
:
100%
;
}
}
...
...
app/assets/stylesheets/pages/projects.scss
View file @
cc25e2ba
...
@@ -707,6 +707,7 @@ pre.light-well {
...
@@ -707,6 +707,7 @@ pre.light-well {
background-color
:
transparent
;
background-color
:
transparent
;
border
:
0
;
border
:
0
;
text-align
:
left
;
text-align
:
left
;
text-overflow
:
ellipsis
;
}
}
.protected-branches-list
,
.protected-branches-list
,
...
...
changelogs/unreleased/34921-global-dropdown-ui-improvement.yml
0 → 100644
View file @
cc25e2ba
---
title
:
Improve CSS for global nav dropdown UI
merge_request
:
12772
author
:
Takuya Noguchi
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