Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
tabler
提交
fa362f01
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,发现更多精彩内容 >>
提交
fa362f01
编写于
1月 07, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
buttons plugin, extra colors
上级
2f09751e
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
64 addition
and
77 deletion
+64
-77
_config.yml
_config.yml
+16
-14
pages/_includes/layout/css.html
pages/_includes/layout/css.html
+3
-2
scss/_config.scss
scss/_config.scss
+3
-0
scss/_variables.scss
scss/_variables.scss
+0
-1
scss/tabler-buttons.scss
scss/tabler-buttons.scss
+3
-0
scss/tabler.scss
scss/tabler.scss
+0
-3
scss/ui/_buttons-extra.scss
scss/ui/_buttons-extra.scss
+31
-0
scss/ui/_buttons.scss
scss/ui/_buttons.scss
+1
-36
scss/utils/_colors.scss
scss/utils/_colors.scss
+7
-21
未找到文件。
_config.yml
浏览文件 @
fa362f01
...
...
@@ -11,18 +11,23 @@ debug: false
dark-theme
:
false
plugins
:
-
jekyll-random
-
jekyll-tidy
-
jekyll-timeago
-
jekyll-redirect-from
-
jekyll-random
-
jekyll-tidy
-
jekyll-timeago
-
jekyll-redirect-from
tabler-plugins
:
-
tabler-flags
-
tabler-payments
-
tabler-buttons
exclude
:
-
.jekyll-cache
-
.jekyll-cache
keep_files
:
-
css/ui-kit.css
-
css/dark.css
-
css/rtl.css
-
css/ui-kit.css
-
css/dark.css
-
css/rtl.css
#- js/ui-kit.js
markdown
:
kramdown
...
...
@@ -49,8 +54,7 @@ collections:
output
:
true
defaults
:
-
scope
:
-
scope
:
type
:
"
pages"
path
:
"
*.md"
values
:
...
...
@@ -62,14 +66,12 @@ defaults:
values
:
layout
:
default
menu-layout
:
horizontal
-
scope
:
-
scope
:
type
:
"
docs"
values
:
layout
:
docs
menu-layout
:
horizontal
-
scope
:
-
scope
:
type
:
"
components"
values
:
layout
:
component
...
...
pages/_includes/layout/css.html
浏览文件 @
fa362f01
...
...
@@ -11,5 +11,6 @@
<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 }}/{% if jekyll.environment == 'development' %}tmp-{% endif %}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-payments{% if jekyll.environment == 'production' %}.min{% endif %}.css?{{ site.time | date: '%s' }}"
rel=
"stylesheet"
/>
{% for plugin in site.tabler-plugins %}
<link
href=
"{{ site.base }}/{% if jekyll.environment == 'development' %}tmp-{% endif %}dist/css/{{ plugin }}{% if jekyll.environment == 'production' %}.min{% endif %}.css?{{ site.time | date: '%s' }}"
rel=
"stylesheet"
/>
{% endfor %}
scss/_config.scss
浏览文件 @
fa362f01
...
...
@@ -3,3 +3,6 @@
@import
"variables"
;
@import
"utilities"
;
@import
"mixins"
;
@import
"bootstrap-config"
;
@import
"mixins-override"
;
scss/_variables.scss
浏览文件 @
fa362f01
...
...
@@ -364,6 +364,5 @@ $payment-sizes: (
$enable-social-colors
:
true
!
default
;
$enable-ghost-buttons
:
true
!
default
;
$enable-color-hues
:
true
!
default
;
$enable-extra-colors
:
true
!
default
;
$enable-gradients
:
false
!
default
;
scss/tabler-buttons.scss
0 → 100644
浏览文件 @
fa362f01
@import
"config"
;
@import
"ui/buttons-extra"
;
scss/tabler.scss
浏览文件 @
fa362f01
...
...
@@ -6,11 +6,8 @@
*/
@import
"config"
;
@import
"bootstrap-config"
;
@import
"mixins-override"
;
@import
"bootstrap-components"
;
@import
"fonts/webfonts"
;
@import
"layout/core"
;
...
...
scss/ui/_buttons-extra.scss
0 → 100644
浏览文件 @
fa362f01
@if
$enable-ghost-buttons
{
@each
$vendor
,
$color
in
$theme-colors
{
.btn-ghost-
#{
$vendor
}
{
@include
button-variant
(
transparent
,
transparent
,
$color
,
$color
,
$color
,
#fff
,
$color
,
$color
);
}
}
}
@if
$enable-social-colors
{
@each
$vendor
,
$color
in
$social-colors
{
.btn-
#{
$vendor
}
{
@include
button-variant
(
$color
,
$color
);
}
.btn-outline-
#{
$vendor
}
{
@include
button-outline-variant
(
$color
,
$color
);
}
}
}
@if
$enable-extra-colors
{
@each
$name
,
$color
in
$colors
{
.btn-
#{
$name
}
{
@include
button-variant
(
$color
,
$color
);
}
.btn-outline-
#{
$name
}
{
@include
button-outline-variant
(
$color
,
$color
);
}
}
}
scss/ui/_buttons.scss
浏览文件 @
fa362f01
.btn-secondary
{
@include
button-variant
(
$white
,
$border-color
,
$dark
);
background-image
:
linear-gradient
(
-180deg
,
rgba
(
0
,
0
,
0
,
0
)
,
rgba
(
$dark
,
.04
)
100%
);
}
.btn-outlined-secondary
{
...
...
@@ -14,10 +15,6 @@
text-shadow
:
1px
1px
0
rgba
(
0
,
0
,
0
,
.02
);
}
&
:not
(
.btn-light
)
:not
(
.btn-link
)
{
background-image
:
linear-gradient
(
-180deg
,
rgba
(
0
,
0
,
0
,
0
)
,
rgba
(
$dark
,
.04
)
90%
);
}
&
:not
(
:focus
)
:not
(
.focus
)
{
box-shadow
:
0
1px
3px
0
rgba
(
0
,
0
,
0
,
.05
)
,
inset
0
2px
0
-1px
rgba
(
255
,
255
,
255
,
.1
);
}
...
...
@@ -101,38 +98,6 @@
}
}
@if
$enable-ghost-buttons
{
@each
$vendor
,
$color
in
$theme-colors
{
.btn-ghost-
#{
$vendor
}
{
@include
button-variant
(
transparent
,
transparent
,
$color
,
$color
,
$color
,
#fff
,
$color
,
$color
);
}
}
}
@if
$enable-social-colors
{
@each
$vendor
,
$color
in
$social-colors
{
.btn-
#{
$vendor
}
{
@include
button-variant
(
$color
,
$color
);
}
.btn-outline-
#{
$vendor
}
{
@include
button-outline-variant
(
$color
,
$color
);
}
}
}
@if
$enable-extra-colors
{
@each
$name
,
$color
in
$colors
{
.btn-
#{
$name
}
{
@include
button-variant
(
$color
,
$color
);
}
.btn-outline-
#{
$name
}
{
@include
button-outline-variant
(
$color
,
$color
);
}
}
}
.btn-options
{
display
:
flex
;
align-items
:
center
;
...
...
scss/utils/_colors.scss
浏览文件 @
fa362f01
// stylelint-disable declaration-no-important
/**
COLORS VARIATIONS
*/
@if
$enable-color-hues
{
@each
$color
,
$value
in
$colors
{
.bg-
#{
$color
}
-lighter
{
background
:
mix
(
$value
,
#fff
,
30%
);
}
.bg-
#{
$color
}
-light
{
background
:
mix
(
$value
,
#fff
,
70%
);
}
.bg-
#{
$color
}
-dark
{
background
:
mix
(
$value
,
#000
,
80%
);
}
.bg-
#{
$color
}
-darker
{
background
:
mix
(
$value
,
#000
,
40%
);
}
}
}
/**
SOCIAL COLORS
*/
@if
$enable-social-colors
{
@each
$color
,
$value
in
$social-colors
{
.bg-
#{
$color
}
{
color
:
#fff
!
important
;
background
:
$value
!
important
;
}
@each
$color
,
$value
in
$social-colors
{
.bg-
#{
$color
}
{
color
:
#fff
!
important
;
background
:
$value
!
important
;
}
.text-
#{
$color
}
{
color
:
$value
!
important
;
}
.text-
#{
$color
}
{
color
:
$value
!
important
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录