Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
dcf872fa
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,发现更多精彩内容 >>
提交
dcf872fa
编写于
10月 17, 2019
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
page buttons side
上级
807f22e6
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
71 addition
and
88 deletion
+71
-88
pages/_includes/layout/page-title.html
pages/_includes/layout/page-title.html
+14
-34
pages/_layouts/default.html
pages/_layouts/default.html
+5
-2
pages/snippets.html
pages/snippets.html
+1
-1
scss/_variables.scss
scss/_variables.scss
+1
-1
scss/layout/_navbar.scss
scss/layout/_navbar.scss
+1
-1
scss/layout/_page.scss
scss/layout/_page.scss
+6
-9
scss/tabler.scss
scss/tabler.scss
+0
-1
scss/ui/_typo.scss
scss/ui/_typo.scss
+43
-0
scss/utils/_text.scss
scss/utils/_text.scss
+0
-39
未找到文件。
pages/_includes/layout/page-title.html
浏览文件 @
dcf872fa
{% if page.page-title or layout.page-title %}
<div
class=
"page-title-box"
>
<h2
class=
"page-title"
>
{{ page.page-title | default: layout.page-title }}
</h2>
{% if page.page-right %}
<div
class=
"page-options d-none d-md-block ml-auto"
>
{% if page.page-right == "date" %}
<form
class=
"form-inline"
>
<div
class=
"mb-2"
>
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control form-control-light"
placeholder=
"09/10/2018"
>
<div
class=
"input-group-append"
>
<a
class=
"input-group-text"
>
{% include ui/icon.html icon="calendar" %}
</a>
</div>
</div>
</div>
<a
href=
"javascript:void(0)"
class=
"btn btn-icon btn-secondary ml-2"
>
{% include ui/icon.html icon="refresh-ccw" %}
</a>
<a
href=
"javascript:void(0)"
class=
"btn btn-icon btn-secondary ml-2"
>
{% include ui/icon.html icon="filter" %}
</a>
</form>
{% elsif page.page-right == "breadcrumb" %}
<ol
class=
"breadcrumb m-0"
>
<li
class=
"breadcrumb-item"
><a
href=
"javascript:void(0)"
>
UI Kit
</a></li>
<li
class=
"breadcrumb-item"
><a
href=
"javascript:void(0)"
>
Tables
</a></li>
<li
class=
"breadcrumb-item active"
>
Basic Tables
</li>
</ol>
{% endif %}
</div>
{% endif %}
<div
class=
"row align-items-center"
>
<div
class=
"col"
>
<div
class=
"page-pretitle"
>
Overview
</div>
<h2
class=
"page-title"
>
{{ page.page-title | default: layout.page-title }}
</h2>
</div>
<div
class=
"col-auto"
>
{% include ui/button.html text="New view" color="secondary" icon="plus" %}
{% include ui/button.html text="Create new report" color="primary" class="ml-3" %}
</div>
</div>
</div>
{% endif %}
pages/_layouts/default.html
浏览文件 @
dcf872fa
...
...
@@ -3,13 +3,16 @@ layout: base
---
<div
class=
"d-flex flex-row h-100p"
>
{%
comment
%}
{%
if page.nav-position == 'left' or page.nav-position == 'right'
%}
{% include layout/sidenav.html dark=page.sidenav-dark folded=page.sidenav-folded fixed=true %}
{% end
comment
%}
{% end
if
%}
<div
class=
"layout-main d-flex flex-column flex-fill max-w-full"
>
{% include layout/topnav.html dark=page.header-dark sticky=page.header-sticky %}
{% unless page.nav-position == 'left' or page.nav-position == 'right'%}
{% include layout/topmenu.html %}
{% endunless %}
<main
class=
"container{% if page.container-size %} container-{{ page.container-size }}{% endif %}{% if page.fluid %}-fluid{% endif %} my-4 flex-fill"
>
{% include layout/page-title.html %}
...
...
pages/snippets.html
浏览文件 @
dcf872fa
---
title: Snippets
page-title: Snippets
page-right: date
page-
title-
right: date
---
<div
class=
"row"
>
...
...
scss/_variables.scss
浏览文件 @
dcf872fa
...
...
@@ -42,7 +42,7 @@ $black: #000000 !default;
$white
:
#ffffff
!
default
;
$light
:
#f5f7fb
!
default
;
$dark
:
#
495057
!
default
;
$dark
:
#
354052
!
default
;
$body-bg
:
$light
!
default
;
$body-color
:
$dark
!
default
;
...
...
scss/layout/_navbar.scss
浏览文件 @
dcf872fa
...
...
@@ -193,7 +193,7 @@ Sidebar
}
.navbar-heading
{
@extend
.
text-
subheader
;
@extend
.subheader
;
margin
:
0
0
.5rem
;
}
...
...
scss/layout/_page.scss
浏览文件 @
dcf872fa
.page-title-box
{
display
:
flex
;
align-items
:
center
;
min-height
:
2
.5rem
;
margin
:
.5rem
0
1
.5rem
;
margin
:
.75rem
0
2rem
;
}
.page-pretitle
{
@extend
.subheader
;
}
.page-title
{
margin
:
0
;
font-size
:
$h2-font-size
;
font-weight
:
400
;
line-height
:
2
.5rem
;
color
:
$body-color
;
}
.page-title-options
{
margin-left
:
auto
;
color
:
$text-muted
;
line-height
:
1
;
}
scss/tabler.scss
浏览文件 @
dcf872fa
...
...
@@ -57,7 +57,6 @@
@import
"utils/background"
;
@import
"utils/colors"
;
@import
"utils/scroll"
;
@import
"utils/text"
;
@import
"utils/sizing"
;
@import
"utils/opacity"
;
@import
"utils/shadow"
;
...
...
scss/ui/_typo.scss
浏览文件 @
dcf872fa
...
...
@@ -91,3 +91,46 @@ Selection
color
:
#fff
;
background-color
:
lighten
(
$primary
,
8%
);
}
/**
Subheader
*/
.subheader
{
font-size
:
$h6-font-size
;
font-weight
:
600
;
color
:
$text-muted
;
text-transform
:
uppercase
;
letter-spacing
:
.04em
;
}
/**
Antialiasing
*/
.antialiased
{
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
.subpixel-antialiased
{
-webkit-font-smoothing
:
auto
;
-moz-osx-font-smoothing
:
auto
;
}
/**
Markdown
*/
.markdown
{
>
:first-child
{
margin-top
:
0
;
}
>
:last-child
{
margin-bottom
:
0
;
}
table
{
@extend
.table
,
.table-bordered
;
}
}
scss/utils/_text.scss
浏览文件 @
dcf872fa
// stylelint-disable declaration-no-important
.text-subheader
{
font-size
:
$h6-font-size
;
font-weight
:
600
;
color
:
$text-muted
;
text-transform
:
uppercase
;
letter-spacing
:
.04em
;
}
/**
Antialiasing
*/
.antialiased
{
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
.subpixel-antialiased
{
-webkit-font-smoothing
:
auto
;
-moz-osx-font-smoothing
:
auto
;
}
/**
Markdown
*/
.markdown
{
>
:first-child
{
margin-top
:
0
;
}
>
:last-child
{
margin-bottom
:
0
;
}
table
{
@extend
.table
,
.table-bordered
;
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录