Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
1dabe660
T
Tabler
项目概览
Dashboards
/
Tabler
11 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Tabler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1dabe660
编写于
2月 23, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
navbar fixes
上级
3a15877d
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
34 addition
and
40 deletion
+34
-40
pages/_includes/layout/navbar-secondary.html
pages/_includes/layout/navbar-secondary.html
+3
-3
scss/layout/_navbar.scss
scss/layout/_navbar.scss
+31
-37
未找到文件。
pages/_includes/layout/navbar-secondary.html
浏览文件 @
1dabe660
...
...
@@ -2,7 +2,7 @@
<div
class=
"container"
>
{% include layout/navbar-logo.html class="d-none-navbar-vertical" %}
<form
class=
"form-inline w-50 mr-4 d-none d-md-flex"
>
<form
class=
"form-inline w-50 mr-4 d-none d-md-flex
"
>
{% include ui/form/input-icon.html prepend=true input-class="form-control-flush w-100" class="w-100" %}
</form>
...
...
@@ -28,7 +28,7 @@
</li>
<li
class=
"nav-item dropdown"
>
<a
href=
"#"
class=
"nav-link"
data-toggle=
"dropdown"
>
<a
href=
"#"
class=
"nav-link
px-0
"
data-toggle=
"dropdown"
>
{% include ui/icon.html icon="bell" %}
</a>
<div
class=
"dropdown-menu dropdown-menu-right dropdown-menu-arrow dropdown-menu-card"
style=
"max-width: 20rem;"
>
...
...
@@ -36,7 +36,7 @@
</div>
</li>
<li
class=
"nav-item dropdown pl-
2
"
>
<li
class=
"nav-item dropdown pl-
3
"
>
<a
href=
"#"
class=
"nav-link d-flex lh-1 text-inherit p-0 text-left"
data-toggle=
"dropdown"
>
{% include ui/avatar.html person-id=1 %}
<div
class=
"d-none d-lg-block pl-2"
>
...
...
scss/layout/_navbar.scss
浏览文件 @
1dabe660
...
...
@@ -165,6 +165,7 @@ Vertical navbar
height
:
2
.5rem
;
padding-left
:
$navbar-vertical-padding
;
padding-right
:
$navbar-vertical-padding
;
justify-content
:
start
;
}
.nav-item
{
...
...
@@ -265,6 +266,7 @@ All navbars
padding-top
:
0
;
padding-bottom
:
0
;
min-height
:
$navbar-height
;
box-shadow
:
0
0
0
1px
$border-color
;
@media
print
{
display
:
none
;
...
...
@@ -288,14 +290,41 @@ All navbars
margin-right
:
.5rem
;
line-height
:
.99
;
}
.navbar-nav
{
align-items
:
center
;
.nav-link
{
color
:
inherit
;
opacity
:
$text-muted-opacity
;
transition
:
.3s
opacity
;
justify-content
:
center
;
&
:hover
{
color
:
inherit
;
opacity
:
1
;
}
&
.disabled
{
color
:
inherit
;
opacity
:
$text-muted-opacity
/
3
;
}
}
.show
>
.nav-link
,
.active
>
.nav-link
,
.nav-link.show
,
.nav-link.active
{
color
:
inherit
;
opacity
:
1
;
}
}
}
.navbar-expand
{
@each
$breakpoint
,
$breakpoint-max-width
in
$grid-breakpoints
{
&
-
#{
$breakpoint
}
{
@include
media-breakpoint-up
(
$breakpoint
)
{
.navbar-nav
{
margin-left
:
(
-
$navbar-nav-link-padding-x
);
...
...
@@ -336,41 +365,6 @@ Navbar brand
display
:
none
;
}
/**
Navbar colors
*/
.navbar
{
box-shadow
:
0
0
0
1px
$border-color
;
.navbar-nav
{
align-items
:
center
;
.nav-link
{
color
:
inherit
;
opacity
:
$text-muted-opacity
;
transition
:
.3s
opacity
;
&
:hover
{
color
:
inherit
;
opacity
:
1
;
}
&
.disabled
{
color
:
inherit
;
opacity
:
$text-muted-opacity
/
3
;
}
}
.show
>
.nav-link
,
.active
>
.nav-link
,
.nav-link.show
,
.nav-link.active
{
color
:
inherit
;
opacity
:
1
;
}
}
}
.navbar-light
{
background
:
$white
;
@include
scrollbar
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录