Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
314cfc39
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
314cfc39
编写于
9月 28, 2017
作者:
A
Annabel Dunstone Gray
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixes
上级
af86b5de
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
130 addition
and
129 deletion
+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
未找到文件。
app/assets/stylesheets/framework/header.scss
浏览文件 @
314cfc39
...
...
@@ -6,8 +6,6 @@
header
{
@include
new-style-dropdown
;
transition
:
padding
$sidebar-transition-duration
;
&
.navbar-empty
{
height
:
$header-height
;
background
:
$white-light
;
...
...
@@ -313,95 +311,3 @@ header {
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
浏览文件 @
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
浏览文件 @
314cfc39
...
...
@@ -397,3 +397,95 @@ header.navbar-gitlab-new {
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
浏览文件 @
314cfc39
...
...
@@ -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
浏览文件 @
314cfc39
...
...
@@ -47,6 +47,7 @@ input[type="checkbox"]:hover {
}
.location-badge
{
height
:
32px
;
font-size
:
12px
;
margin
:
-4px
4px
-4px
-4px
;
line-height
:
25px
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录