Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
28bf12a6
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,发现更多精彩内容 >>
提交
28bf12a6
编写于
12月 21, 2019
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
aside menu toggle
上级
db610746
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
17 addition
and
13 deletion
+17
-13
pages/_data/libs.json
pages/_data/libs.json
+1
-1
pages/_includes/layout/css.html
pages/_includes/layout/css.html
+2
-2
pages/_includes/layout/js.html
pages/_includes/layout/js.html
+1
-1
pages/_includes/layout/menu-aside.html
pages/_includes/layout/menu-aside.html
+2
-2
scss/layout/_layout.scss
scss/layout/_layout.scss
+11
-7
未找到文件。
pages/_data/libs.json
浏览文件 @
28bf12a6
...
...
@@ -3,7 +3,7 @@
"jquery"
,
"bootstrap"
],
"js"
:
{
"jquery"
:
"jquery/dist/jquery.
slim.
min.js"
,
"jquery"
:
"jquery/dist/jquery.min.js"
,
"bootstrap"
:
"bootstrap/dist/js/bootstrap.bundle.min.js"
,
"autosize"
:
"autosize/dist/autosize.min.js"
,
"imask"
:
"imask/dist/imask.min.js"
,
...
...
pages/_includes/layout/css.html
浏览文件 @
28bf12a6
...
...
@@ -8,7 +8,7 @@
{% endif %}
<!-- Tabler Core -->
<link
href=
"{{ site.base }}/dist/css/tabler{% if jekyll.environment == 'production' %}.min{% endif %}.css?{{ site.time | date: '%s' }}"
rel=
"stylesheet"
/>
<link
href=
"{{ site.base }}/
{% if jekyll.environment == 'development' %}tmp-{% endif %}
dist/css/tabler{% if jekyll.environment == 'production' %}.min{% endif %}.css?{{ site.time | date: '%s' }}"
rel=
"stylesheet"
/>
<!-- Tabler Plugins -->
<link
href=
"{{ site.base }}/dist/css/tabler-flags{% if jekyll.environment == 'production' %}.min{% endif %}.css?{{ site.time | date: '%s' }}"
rel=
"stylesheet"
/>
<link
href=
"{{ site.base }}/
{% if jekyll.environment == 'development' %}tmp-{% endif %}
dist/css/tabler-flags{% if jekyll.environment == 'production' %}.min{% endif %}.css?{{ site.time | date: '%s' }}"
rel=
"stylesheet"
/>
pages/_includes/layout/js.html
浏览文件 @
28bf12a6
...
...
@@ -10,4 +10,4 @@
{% endif %}
<!-- Tabler Core -->
<script
src=
"{{ site.base }}/dist/js/tabler{% if jekyll.environment == 'production' %}.min{% endif %}.js?{{ site.time | date: '%s' }}"
></script>
<script
src=
"{{ site.base }}/
{% if jekyll.environment == 'development' %}tmp-{% endif %}
dist/js/tabler{% if jekyll.environment == 'production' %}.min{% endif %}.js?{{ site.time | date: '%s' }}"
></script>
pages/_includes/layout/menu-aside.html
浏览文件 @
28bf12a6
...
...
@@ -5,7 +5,7 @@
{% for level-1 in site.data.menu %}
<li
class=
"sidebar-nav-item"
>
<a
href=
"{
{ site.base }}/{{ level-1[1].url }}"
class=
"sidebar-nav-link{% if level-1[0] == current-page[0] and current-page.size == 1 %} active{% endif %}"
>
<a
href=
"{
% if level-1[1].children %}#{% else %}{{ site.base }}/{{ level-1[1].url }}{% endif %}"
class=
"sidebar-nav-link{% if level-1[0] == current-page[0] and current-page.size == 1 %} active{% endif %}"
{%
if
level-1
[1].
children
%}
data-toggle=
"collapse"
data-target=
"#sidebar-menu-{{ level-1[0] }}"
{%
endif
%}
>
{% if level-1[1].icon %}
{% assign icon = level-1[1].icon %}
{% include ui/icon.html icon=icon class="nav-icon" %}
...
...
@@ -25,7 +25,7 @@
</a>
{% if level-1[1].children %}
<ul
class=
"sidebar-subnav"
>
<ul
class=
"sidebar-subnav
collapse"
id=
"sidebar-menu-{{ level-1[0] }}
"
>
{% for level-2 in level-1[1].children %}
<li
class=
"sidebar-nav-item"
>
<a
href=
"{{ site.base }}/{{ level-2[1].url }}"
class=
"sidebar-nav-link{% if level-1[0] == current-page[0] and level-2[0] == current-page[1] and current-page.size == 2 %} active{% endif %}"
>
...
...
scss/layout/_layout.scss
浏览文件 @
28bf12a6
...
...
@@ -97,6 +97,10 @@ $sidenav-folded-item-height: 3.5rem;
box-shadow
:
-6px
0px
16px
-10px
rgba
(
0
,
0
,
0
,
0
.2
)
,
$box-shadow
;
}
.sidebar-nav-arrow
{
display
:
none
!
important
;
}
.sidebar-nav-title
{
display
:
none
;
}
...
...
@@ -294,7 +298,7 @@ Sidebar
flex
:
1
;
display
:
flex
;
flex-direction
:
column
;
overflow
:
auto
;
overflow
-y
:
scroll
;
@include
scrollbar
(
true
);
.sidebar-brand
+
&
{
...
...
@@ -309,6 +313,7 @@ Sidebar menu
margin
:
(
-
$sidenav-padding
)
(
-
$sidenav-padding
)
$sidenav-padding
;
padding
:
0
;
list-style
:
none
;
user-select
:
none
;
ul
{
margin
:
0
;
...
...
@@ -356,18 +361,17 @@ Sidebar menu
}
.sidebar-nav-arrow
{
outline
:
1px
solid
green
;
display
:
block
;
margin-left
:
auto
;
@include
caret
(
right
);
.sidebar-nav-link
[
aria-expanded
=
"true"
]
&
:after
{
transform
:
rotate
(
-45deg
);
}
}
.sidebar-subnav
{
display
:
none
;
.sidebar-nav-item.active
&
{
display
:
block
;
}
}
.sidebar-nav-title
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录