Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
22aa83bf
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,发现更多精彩内容 >>
提交
22aa83bf
编写于
2月 19, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
navbar notifications
上级
becee4bb
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
49 addition
and
11 deletion
+49
-11
pages/_includes/cards/navbar-notifications.html
pages/_includes/cards/navbar-notifications.html
+5
-0
pages/_includes/layout/navbar-secondary.html
pages/_includes/layout/navbar-secondary.html
+29
-1
scss/_variables.scss
scss/_variables.scss
+7
-6
scss/layout/_navbar.scss
scss/layout/_navbar.scss
+6
-2
scss/ui/_dropdowns.scss
scss/ui/_dropdowns.scss
+2
-2
未找到文件。
pages/_includes/cards/navbar-notifications.html
0 → 100644
浏览文件 @
22aa83bf
<div
class=
"card"
>
<div
class=
"card-body"
>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus ad amet consectetur exercitationem fugiat in ipsa ipsum, natus odio quidem quod repudiandae sapiente. Amet debitis et magni maxime necessitatibus ullam.
</div>
</div>
\ No newline at end of file
pages/_includes/layout/navbar-secondary.html
浏览文件 @
22aa83bf
<nav
class=
"navbar navbar-light navbar-secondary navbar-expand
-md
"
id=
"navbar-secondary"
>
<nav
class=
"navbar navbar-light navbar-secondary navbar-expand"
id=
"navbar-secondary"
>
<div
class=
"container"
>
{% include layout/navbar-logo.html class="d-none-navbar-vertical" %}
...
...
@@ -8,6 +8,34 @@
<ul
class=
"navbar-nav ml-auto"
>
<li
class=
"nav-item dropdown"
>
<a
class=
"nav-link"
data-toggle=
"dropdown"
href=
"#"
>
{% include ui/icon.html icon="settings" %}
</a>
{% include ui/dropdown-menu.html right=true icons=true separated=true arrow=true %}
</li>
<li
class=
"nav-item dropdown"
>
<a
class=
"nav-link"
data-toggle=
"dropdown"
href=
"#"
>
{% include ui/flag.html flag="us" class="mr-1" %} English
</a>
<div
class=
"dropdown-menu dropdown-menu-arrow dropdown-menu-right"
style=
""
>
<a
href=
"#"
class=
"dropdown-item"
>
{% include ui/flag.html flag="de" class="mr-1" %} German
</a>
<a
href=
"#"
class=
"dropdown-item"
>
{% include ui/flag.html flag="pl" class="mr-1" %} Polish
</a>
<a
href=
"#"
class=
"dropdown-item"
>
{% include ui/flag.html flag="jp" class="mr-1" %} Japan
</a>
<a
href=
"#"
class=
"dropdown-item"
>
{% include ui/flag.html flag="ru" class="mr-1" %} Russian
</a>
</div>
</li>
<li
class=
"nav-item dropdown"
>
<a
class=
"nav-link"
data-toggle=
"dropdown"
href=
"#"
>
{% include ui/icon.html icon="bell" %}
</a>
<div
class=
"dropdown-menu dropdown-menu-right dropdown-menu-arrow dropdown-menu-card"
style=
"max-width: 20rem;"
>
{% include cards/navbar-notifications.html %}
</div>
</li>
<li
class=
"nav-item dropdown pl-2"
>
{% include ui/avatar.html person-id=1 dropdown=true %}
{% include ui/dropdown-menu.html right=true icons=true separated=true arrow=true %}
</li>
...
...
scss/_variables.scss
浏览文件 @
22aa83bf
...
...
@@ -165,11 +165,11 @@ $spacers: (
1
:
$spacer
*
.25
,
2
:
$spacer
*
.5
,
3
:
$spacer
,
4
:
$spacer
*
1
.5
,
5
:
$spacer
*
3
,
6
:
$spacer
*
6
,
7
:
$spacer
*
9
,
8
:
$spacer
*
12
,
4
:
$spacer
*
1
.
2
5
,
5
:
$spacer
*
1
.5
,
6
:
$spacer
*
3
,
7
:
$spacer
*
6
,
8
:
$spacer
*
9
,
)
!
default
;
$size-spacers
:
(
...
...
@@ -303,6 +303,7 @@ $dropdown-padding-y: .5rem !default;
$dropdown-link-hover-bg
:
$hover-bg
!
default
;
$dropdown-link-hover-color
:
inherit
!
default
;
$dropdown-spacer
:
1px
!
default
;
$dropdown-min-width
:
12rem
!
default
;
$dropdown-link-active-color
:
$primary
!
default
;
$dropdown-link-active-bg
:
$active-bg
!
default
;
...
...
@@ -371,7 +372,7 @@ $footer-border-color: $border-color !default;
//$nav-link-padding-y: 1rem !default;
$navbar-padding-y
:
.75rem
!
default
;
$navbar-nav-link-padding-x
:
.
7
5rem
!
default
;
$navbar-nav-link-padding-x
:
.5rem
!
default
;
$navbar-light-color
:
rgba
(
$body-color
,
.64
)
!
default
;
$navbar-light-active-color
:
$primary
!
default
;
...
...
scss/layout/_navbar.scss
浏览文件 @
22aa83bf
...
...
@@ -263,6 +263,7 @@ All navbars
.navbar
{
padding-top
:
0
;
padding-bottom
:
0
;
min-height
:
$navbar-height
;
@media
print
{
display
:
none
;
...
...
@@ -270,8 +271,11 @@ All navbars
}
.nav-link
{
min-height
:
$navbar-height
;
line-height
:
1
;
min-width
:
2rem
;
min-height
:
2rem
;
position
:
relative
;
text-align
:
center
;
}
.nav-link-icon
{
...
...
@@ -288,7 +292,7 @@ All navbars
@each
$breakpoint
,
$breakpoint-max-width
in
$grid-breakpoints
{
&
-
#{
$breakpoint
}
{
@include
media-breakpoint-up
(
$breakpoint
)
{
min-height
:
$navbar-height
;
.navbar-nav
{
margin-left
:
(
-
$navbar-nav-link-padding-x
);
...
...
scss/ui/_dropdowns.scss
浏览文件 @
22aa83bf
...
...
@@ -15,7 +15,7 @@
}
.dropdown-item
{
min-width
:
12rem
;
min-width
:
$dropdown-min-width
;
color
:
inherit
;
display
:
flex
;
align-items
:
center
;
...
...
@@ -106,10 +106,10 @@
.dropdown-menu-card
{
padding
:
0
;
border
:
0
;
>
.card
{
margin
:
0
;
border
:
0
;
box-shadow
:
none
;
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录