Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
tabler
提交
8355d7f5
T
tabler
项目概览
知鸟1号
/
tabler
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tabler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8355d7f5
编写于
1月 05, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
navbar top
上级
2e119c8b
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
59 addition
and
35 deletion
+59
-35
pages/_data/menu.yml
pages/_data/menu.yml
+26
-26
pages/_includes/layout/navbar.html
pages/_includes/layout/navbar.html
+1
-1
pages/_includes/ui/button.html
pages/_includes/ui/button.html
+14
-2
scss/_variables.scss
scss/_variables.scss
+6
-4
scss/layout/_layout.scss
scss/layout/_layout.scss
+5
-0
scss/ui/_buttons.scss
scss/ui/_buttons.scss
+7
-2
未找到文件。
pages/_data/menu.yml
浏览文件 @
8355d7f5
...
...
@@ -12,32 +12,6 @@ forms:
badge
:
New
badge-color
:
red
error
:
title
:
Error pages
icon
:
file-minus
children
:
400
:
url
:
400.html
title
:
400 page
401
:
url
:
401.html
title
:
401 page
403
:
url
:
403.html
title
:
403 page
404
:
url
:
404.html
title
:
404 page
500
:
url
:
500.html
title
:
500 page
503
:
url
:
503.html
title
:
503 page
maintenance
:
url
:
maintenance.html
title
:
Maintenance page
base
:
title
:
Base
icon
:
package
...
...
@@ -79,6 +53,32 @@ charts:
title
:
Charts
icon
:
pie-chart
error
:
title
:
Error pages
icon
:
file-minus
children
:
400
:
url
:
400.html
title
:
400 page
401
:
url
:
401.html
title
:
401 page
403
:
url
:
403.html
title
:
403 page
404
:
url
:
404.html
title
:
404 page
500
:
url
:
500.html
title
:
500 page
503
:
url
:
503.html
title
:
503 page
maintenance
:
url
:
maintenance.html
title
:
Maintenance page
a
:
title
:
A
icon
:
menu
...
...
pages/_includes/layout/navbar.html
浏览文件 @
8355d7f5
...
...
@@ -9,7 +9,7 @@
<ul
class=
"nav navbar-menu align-items-center ml-auto"
>
<li
class=
"nav-item d-none d-lg-flex mr-3"
>
<a
href=
"{{ site.github_url }}"
class=
"btn btn-sm btn-success"
target=
"_blank"
>
Source code
</a>
{% include ui/button.html href=site.github_url text="Source code" icon="brand/github" icon-color="github" external=true %}
</li>
<li
class=
"nav-item dropdown"
>
...
...
pages/_includes/ui/button.html
浏览文件 @
8355d7f5
{% removeemptylines %}
{% assign spinner-class = false %}
{% assign color = include.color | default: 'secondary' %}
{% if include.color == false %}
{% assign color = null %}
{% endif %}
{% assign provider = include.provider | default: 'fe' %}
{% if include.text %}{% assign spinner-class="mr-2" %}{% endif %}
{% assign href = '#' %}
{% if include.href %}
{% if include.external %}
{% assign href = include.href %}
{% else %}
{% assign href = site.base | append: '/' | append: include.href %}
{% endif %}
{% endif %}
{% assign e = include.element | default: 'a' %}
<
{{
e
}}{%
if
e =
=
'
a
'
%}
href=
"{
% if include.href %}{{ site.base }}/{{ include.href }}{% else %}#{% endif %}"
{%
endif
%}{%
if
include.type
%}
type=
"{{ include.type }}"
{%
endif
%}
class=
"btn{% if include.height %} btn-{{ include.height }}{% endif %}{% if color %} btn-{% if include.outline %}outline-{% endif %}{{ color }}{% endif %}{% if include.disabled %} disabled{% endif %}{% if include.square %} btn-square{% endif %}{% if include.pill %} btn-pill{% endif %}{% if include['size'] %} btn-{{ include['size'] }}{% endif %}{% if include.class %} {{ include.class }}{% endif %}{% if include.block %} btn-block{% endif %}{% if include.link %} btn-link{% endif %}{% if include.icon-only %} btn-icon{% endif %}"
>
<
{{
e
}}{%
if
e =
=
'
a
'
%}
href=
"{
{ href }}"
{%
endif
%}{%
if
include.type
%}
type=
"{{ include.type }}"
{%
endif
%}
class=
"btn{% if include.height %} btn-{{ include.height }}{% endif %}{% if color %} btn-{% if include.outline %}outline-{% endif %}{{ color }}{% endif %}{% if include.disabled %} disabled{% endif %}{% if include.square %} btn-square{% endif %}{% if include.pill %} btn-pill{% endif %}{% if include['size'] %} btn-{{ include['size'] }}{% endif %}{% if include.class %} {{ include.class }}{% endif %}{% if include.block %} btn-block{% endif %}{% if include.link %} btn-link{% endif %}{% if include.icon-only %} btn-icon{% endif %}"
{%
if
include.external
%}
target=
"_blank"
{%
endif
%}
>
{% if include.spinner %}
{% include ui/spinner.html color=false size="sm" class=spinner-class element="span" %}{% endif %}
{% if include.icon %}{% include ui/icon.html icon=include.icon use-svg=true %}{% endif %}
{% if include.icon %}{% include ui/icon.html icon=include.icon use-svg=true
color=include.icon-color
%}{% endif %}
{% unless include.icon-only %}
{{ include.text | default: "Button" }}
{% if include.icon-right %}{% include ui/icon.html icon=include.icon-right use-svg=true right=true %}{% endif %}
...
...
scss/_variables.scss
浏览文件 @
8355d7f5
...
...
@@ -46,8 +46,12 @@ $cyan: #17a2b8 !default;
$black
:
#000000
!
default
;
$white
:
#ffffff
!
default
;
$text-muted
:
$gray-700
!
default
;
$border-color
:
$gray-400
!
default
;
$hover-bg
:
$gray-200
!
default
;
$primary
:
$blue
!
default
;
$secondary
:
$
gray-800
!
default
;
$secondary
:
$
text-muted
!
default
;
$success
:
$green
!
default
;
$info
:
$azure
!
default
;
$warning
:
$yellow
!
default
;
...
...
@@ -56,9 +60,7 @@ $danger: $red !default;
$body-bg
:
$light
!
default
;
$body-color
:
$dark
!
default
;
$text-muted
:
$gray-700
!
default
;
$border-color
:
$gray-400
!
default
;
$hover-bg
:
$gray-200
!
default
;
$social-colors
:
(
"facebook"
:
#3b5998
,
...
...
scss/layout/_layout.scss
浏览文件 @
8355d7f5
...
...
@@ -207,6 +207,8 @@ Content
overflow
:
hidden
;
min-height
:
100vh
;
padding
:
0
.5rem
0
;
display
:
flex
;
flex-direction
:
column
;
.sidebar
+
&
{
margin-left
:
$sidenav-width
;
...
...
@@ -226,6 +228,9 @@ Content
}
.content-page
{
flex
:
1
;
display
:
flex
;
@media
print
{
padding-top
:
0
!
important
;
}
...
...
scss/ui/_buttons.scss
浏览文件 @
8355d7f5
.btn-secondary
{
@include
button-variant
(
$white
,
$border-color
,
$secondary
);
@include
button-variant
(
$white
,
$border-color
,
$dark
);
}
.btn-outlined-secondary
{
@include
button-outline-variant
(
$white
,
$border-color
,
$dark
);
}
.btn
{
&
:not
([
class
^=
"btn-outline"
])
:not
([
class
*=
" btn-outline"
])
:not
([
class
^=
"btn-ghost"
])
:not
([
class
*=
" btn-ghost"
])
{
font-weight
:
600
;
&
:not
([
class
^=
"btn-outline"
])
:not
([
class
*=
" btn-outline"
])
:not
([
class
^=
"btn-ghost"
])
:not
([
class
*=
" btn-ghost"
])
{
&
:not
(
.btn-secondary
)
{
text-shadow
:
1px
1px
0
rgba
(
0
,
0
,
0
,
.02
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录