Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
e694777c
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,发现更多精彩内容 >>
提交
e694777c
编写于
9月 06, 2017
作者:
A
Annabel Dunstone Gray
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Finish light theme
上级
6ee15819
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
78 addition
and
13 deletion
+78
-13
app/assets/stylesheets/framework/gitlab-theme.scss
app/assets/stylesheets/framework/gitlab-theme.scss
+78
-12
app/assets/stylesheets/new_nav.scss
app/assets/stylesheets/new_nav.scss
+0
-1
未找到文件。
app/assets/stylesheets/framework/gitlab-theme.scss
浏览文件 @
e694777c
...
...
@@ -2,7 +2,7 @@
* Styles the GitLab application with a specific color theme
*/
@mixin
gitlab-theme
(
$color-100
,
$color-200
,
$color-500
,
$color-700
,
$color-800
,
$color-900
)
{
@mixin
gitlab-theme
(
$color-100
,
$color-200
,
$color-500
,
$color-700
,
$color-800
,
$color-900
,
$color-alternate
)
{
// Header
header
.navbar-gitlab-new
{
...
...
@@ -29,7 +29,7 @@
&
.active
>
a
,
&
.dropdown.open
>
a
{
color
:
$color-900
;
background-color
:
$
white-light
;
background-color
:
$
color-alternate
;
svg
{
fill
:
currentColor
;
...
...
@@ -76,6 +76,7 @@
&
.active
>
a
,
&
.dropdown.open
>
a
{
color
:
$color-900
;
background-color
:
$color-alternate
;
&
:hover
{
svg
{
...
...
@@ -169,31 +170,96 @@
body
{
&
.ui_indigo
{
@include
gitlab-theme
(
$indigo-100
,
$indigo-200
,
$indigo-500
,
$indigo-700
,
$indigo-800
,
$indigo-900
);
@include
gitlab-theme
(
$indigo-100
,
$indigo-200
,
$indigo-500
,
$indigo-700
,
$indigo-800
,
$indigo-900
,
$white-light
);
}
&
.ui_dark
{
@include
gitlab-theme
(
$theme-gray-100
,
$theme-gray-200
,
$theme-gray-500
,
$theme-gray-700
,
$theme-gray-800
,
$theme-gray-900
);
@include
gitlab-theme
(
$theme-gray-100
,
$theme-gray-200
,
$theme-gray-500
,
$theme-gray-700
,
$theme-gray-800
,
$theme-gray-900
,
$white-light
);
}
&
.ui_blue
{
@include
gitlab-theme
(
$theme-blue-100
,
$theme-blue-200
,
$theme-blue-500
,
$theme-blue-700
,
$theme-blue-800
,
$theme-blue-900
,
$white-light
);
}
&
.ui_green
{
@include
gitlab-theme
(
$theme-green-100
,
$theme-green-200
,
$theme-green-500
,
$theme-green-700
,
$theme-green-800
,
$theme-green-900
,
$white-light
);
}
&
.ui_light
{
@include
gitlab-theme
(
$theme-gray-900
,
$theme-gray-700
,
$theme-gray-800
,
$theme-gray-
500
,
$theme-gray-200
,
$theme-gray-1
00
);
@include
gitlab-theme
(
$theme-gray-900
,
$theme-gray-700
,
$theme-gray-800
,
$theme-gray-
700
,
$theme-gray-700
,
$theme-gray-100
,
$theme-gray-7
00
);
header
.navbar-gitlab-new
{
background
:
linear-gradient
(
to
right
,
$theme-gray-100
,
$theme-gray-100
)
;
background
:
$theme-gray-100
;
box-shadow
:
0
2px
0
0
$border-color
;
.logo-text
svg
{
fill
:
$theme-gray-900
;
}
.navbar-sub-nav
,
.navbar-nav
{
>
li
{
>
a
:hover
,
>
a
:focus
{
color
:
$theme-gray-900
;
}
&
.active
>
a
{
color
:
$white-light
;
&
:hover
{
color
:
$white-light
;
}
}
}
}
.container-fluid
{
.navbar-toggle
,
.navbar-toggle
:hover
{
color
:
$theme-gray-700
;
border-left
:
1px
solid
$theme-gray-200
;
}
}
}
}
&
.ui_blue
{
@include
gitlab-theme
(
$theme-blue-100
,
$theme-blue-200
,
$theme-blue-500
,
$theme-blue-700
,
$theme-blue-800
,
$theme-blue-900
);
}
.search
{
form
{
background-color
:
$white-light
;
box-shadow
:
inset
0
0
0
1px
$border-color
;
&
.ui_green
{
@include
gitlab-theme
(
$theme-green-100
,
$theme-green-200
,
$theme-green-500
,
$theme-green-700
,
$theme-green-800
,
$theme-green-900
);
&
:hover
{
background-color
:
$white-light
;
box-shadow
:
inset
0
0
0
1px
$blue-100
;
.location-badge
{
box-shadow
:
inset
0
0
0
1px
$blue-100
;
}
}
}
.search-input-wrap
{
.search-icon
{
color
:
$theme-gray-200
;
}
}
.location-badge
{
color
:
$theme-gray-700
;
box-shadow
:
inset
0
0
0
1px
$border-color
;
background-color
:
$nav-badge-bg
;
border-right
:
0
;
}
}
.nav-sidebar
li
.active
{
>
a
{
color
:
$theme-gray-900
;
}
svg
{
fill
:
$theme-gray-900
;
}
}
}
}
app/assets/stylesheets/new_nav.scss
浏览文件 @
e694777c
...
...
@@ -219,7 +219,6 @@ header.navbar-gitlab-new {
&
.active
>
a
,
&
.dropdown.open
>
a
{
background-color
:
$white-light
;
svg
{
fill
:
currentColor
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录