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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f3fdab1e
Commit
f3fdab1e
authored
Sep 04, 2017
by
kushalpandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add styles for Projects Dropdown
parent
835bdfa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
149 additions
and
0 deletions
+149
-0
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+149
-0
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
f3fdab1e
...
...
@@ -822,3 +822,152 @@
}
@include
new-style-dropdown
(
'.js-namespace-select + '
);
header
.navbar-gitlab-new
.header-content
.dropdown-menu.projects-dropdown-menu
{
padding
:
0
;
@media
(
max-width
:
$screen-xs-max
)
{
display
:
table
;
left
:
-50px
;
min-width
:
300px
;
}
}
.projects-dropdown-container
{
display
:
flex
;
flex-direction
:
row
;
width
:
500px
;
height
:
334px
;
.project-dropdown-sidebar
,
.project-dropdown-content
{
padding
:
8px
0
;
}
.loading-animation
{
color
:
$almost-black
;
}
.project-dropdown-sidebar
{
width
:
30%
;
border-right
:
1px
solid
$border-color
;
}
.project-dropdown-content
{
position
:
relative
;
width
:
70%
;
}
@media
(
max-width
:
$screen-xs-max
)
{
flex-direction
:
column
;
width
:
100%
;
height
:
auto
;
flex
:
1
;
.project-dropdown-sidebar
,
.project-dropdown-content
{
width
:
100%
;
}
.project-dropdown-sidebar
{
border-bottom
:
1px
solid
$border-color
;
border-right
:
0
;
}
}
}
.projects-dropdown-container
{
.projects-list-frequent-container
,
.projects-list-search-container
,
{
padding
:
8px
0
;
overflow-y
:
auto
;
}
.section-header
,
.projects-list-frequent-container
li
.section-empty
,
.projects-list-search-container
li
.section-empty
{
padding
:
0
15px
;
}
.section-header
,
.projects-list-frequent-container
li
.section-empty
,
.projects-list-search-container
li
.section-empty
{
color
:
$gl-text-color-secondary
;
font-size
:
$gl-font-size
;
}
.projects-list-frequent-container
,
.projects-list-search-container
{
li
.section-empty.section-failure
{
color
:
$callout-danger-color
;
}
}
.search-input-container
{
position
:
relative
;
padding
:
4px
$gl-padding
;
.search-icon
{
position
:
absolute
;
top
:
13px
;
right
:
25px
;
color
:
$md-area-border
;
}
}
.section-header
{
font-weight
:
700
;
margin-top
:
8px
;
}
.projects-list-search-container
{
height
:
284px
;
}
@media
(
max-width
:
$screen-xs-max
)
{
.projects-list-frequent-container
{
width
:
auto
;
height
:
auto
;
padding-bottom
:
0
;
}
}
}
.projects-list-item-container
{
.project-item-avatar-container
.project-item-metadata-container
{
float
:
left
;
}
.project-title
,
.project-namespace
{
max-width
:
250px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
&
:hover
{
.project-item-avatar-container
.avatar
{
border-color
:
$md-area-border
;
}
}
.project-title
{
font-size
:
$gl-font-size
;
font-weight
:
400
;
line-height
:
16px
;
}
.project-namespace
{
margin-top
:
4px
;
font-size
:
12px
;
line-height
:
12px
;
color
:
$gl-text-color-secondary
;
}
@media
(
max-width
:
$screen-xs-max
)
{
.project-item-metadata-container
{
float
:
none
;
}
}
}
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