Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
b24ac77a
T
Tabler
项目概览
Dashboards
/
Tabler
10 个月 前同步成功
通知
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,体验更适合开发者的 AI 搜索 >>
提交
b24ac77a
编写于
4月 08, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
caret fixes, scrollbar fixes, mobile fixes
上级
2462eda6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
31 addition
and
7 deletion
+31
-7
pages/_includes/layout/sidebar.html
pages/_includes/layout/sidebar.html
+5
-1
pages/_layouts/default.html
pages/_layouts/default.html
+1
-1
scss/_mixins-override.scss
scss/_mixins-override.scss
+1
-0
scss/layout/_navbar.scss
scss/layout/_navbar.scss
+24
-5
未找到文件。
pages/_includes/layout/sidebar.html
浏览文件 @
b24ac77a
{% assign breakpoint = include.breakpoint | default: '
md
' %}
{% assign breakpoint = include.breakpoint | default: '
lg
' %}
<aside
class=
"navbar navbar-vertical{% if include.right %} navbar-right{% endif %} navbar-expand-{{ breakpoint }}{% unless include.transparent %} {% if include.dark %}navbar-dark{% else %}navbar-light{% endif %}{% if include.background %} bg-{{ include.background }}{% endif %}{% endunless %}{% if include.class %} {{ include.class }}{% endif %}"
{%
if
include.background-color
%}
style=
"background: {{ include.background-color }}"
{%
endif
%}
>
<div
class=
"container"
>
...
...
@@ -12,6 +12,10 @@
<div
class=
"collapse navbar-collapse"
id=
"navbar-menu"
>
{% include layout/navbar-menu.html class="pt-lg-3" %}
<div
class=
"d-none d-{{ breakpoint }}-flex mt-auto"
>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Blanditiis, cupiditate doloribus dolorum impedit labore magni nisi nostrum rerum tempora! Accusantium asperiores cum, est eum quas quia similique sunt ullam vel!
</div>
</div>
</div>
</aside>
\ No newline at end of file
pages/_layouts/default.html
浏览文件 @
b24ac77a
...
...
@@ -2,7 +2,7 @@
layout: base
---
{% include layout/sidebar.html
dark=true breakpoint="lg"
%}
{% include layout/sidebar.html %}
<div
class=
"page"
>
{% include layout/navbar.html hide-brand=true hide-menu=true class="d-none d-lg-flex" %}
...
...
scss/_mixins-override.scss
浏览文件 @
b24ac77a
...
...
@@ -13,6 +13,7 @@
height
:
$caret-width
;
border-bottom
:
1px
solid
;
border-left
:
1px
solid
;
margin-right
:
.1em
;
@if
$direction
!=
'left'
{
margin-left
:
$caret-spacing
;
...
...
scss/layout/_navbar.scss
浏览文件 @
b24ac77a
...
...
@@ -2,6 +2,8 @@
background
:
$bg-color
;
color
:
$color
;
@include
scrollbar
;
.navbar-brand
{
color
:
$brand-color
;
...
...
@@ -53,6 +55,7 @@
@mixin
navbar-dark
{
box-shadow
:
0
0
0
1px
rgba
(
0
,
0
,
0
,
.1
);
@include
navbar-color
(
$dark
,
$navbar-dark-color
,
$navbar-dark-brand-color
,
$navbar-dark-active-color
,
$navbar-dark-disabled-color
);
@include
scrollbar
(
true
);
.input-icon-addon
{
color
:
rgba
(
$dark-mode-text
,
.64
);
...
...
@@ -70,6 +73,8 @@
@mixin
navbar-vertical-nav
{
.navbar-collapse
{
flex-direction
:
column
;
.navbar-nav
{
margin-left
:
-
(
$container-padding-x
);
margin-right
:
-
(
$container-padding-x
);
...
...
@@ -94,8 +99,21 @@
min-width
:
0
;
display
:
flex
;
width
:
auto
;
padding-left
:
add
(
$container-padding-x
,
1
.5rem
);
}
}
.dropdown-toggle
:after
{
margin-left
:
auto
;
}
.nav-item.active
:after
{
border-bottom-width
:
0
;
border-left-width
:
2px
;
right
:
auto
;
top
:
0
;
bottom
:
0
;
}
}
}
...
...
@@ -171,7 +189,8 @@ Navbar
left
:
0
;
right
:
0
;
bottom
:
subtract
(
-.25rem
,
1px
);
border-bottom
:
2px
solid
$primary
;
border
:
0
solid
$primary
;
border-bottom-width
:
2px
;
}
}
}
...
...
@@ -209,7 +228,7 @@ Navbar toggler
.navbar-toggler-icon
{
height
:
2px
;
width
:
1
.5em
;
width
:
1
.
2
5em
;
background
:
currentColor
;
border-radius
:
10px
;
transition
:
$navbar-toggler-animation-time
$navbar-toggler-animation-time
top
,
$navbar-toggler-animation-time
$navbar-toggler-animation-time
bottom
,
$navbar-toggler-animation-time
transform
,
0s
$navbar-toggler-animation-time
opacity
;
...
...
@@ -229,11 +248,11 @@ Navbar toggler
}
&
:before
{
top
:
-.5em
;
top
:
-.
4
5em
;
}
&
:after
{
bottom
:
-.5em
;
bottom
:
-.
4
5em
;
}
.navbar-toggler
[
aria-expanded
=
"true"
]
&
{
...
...
@@ -324,7 +343,7 @@ Navbar vertical
}
.navbar-collapse
{
align-items
:
flex-start
;
align-items
:
stretch
;
}
.navbar-nav
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录