Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
ad95b458
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,发现更多精彩内容 >>
提交
ad95b458
编写于
6月 01, 2019
作者:
C
chomik
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ribbon fixes, grid fixes
上级
2b2b53d8
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
6 deletion
+19
-6
pages/_includes/cards/ribbon.html
pages/_includes/cards/ribbon.html
+1
-1
pages/_includes/ui/icon.html
pages/_includes/ui/icon.html
+1
-2
scss/layout/_grid.scss
scss/layout/_grid.scss
+12
-0
scss/ui/_ribbons.scss
scss/ui/_ribbons.scss
+5
-3
未找到文件。
pages/_includes/cards/ribbon.html
浏览文件 @
ad95b458
...
...
@@ -3,7 +3,7 @@
<div
class=
"card"
>
<div
class=
"card-body p-5"
>
<div
class=
"h-1
6
"
></div>
<div
class=
"h-1
0
"
></div>
</div>
<div
class=
"ribbon{% if include.top %} ribbon-top{% endif %}{% if include.left %} ribbon-left{% endif %}{% if include.bottom %} ribbon-bottom{% endif %}{% if include.bookmark %} ribbon-bookmark{% endif %}{% if include.color %} bg-{{ include.color }}{% endif %}"
>
{% if include.text %}{{ include.text }}{% else %}{% include ui/icon.html icon="star" %}{% endif %}
</div>
...
...
pages/_includes/ui/icon.html
浏览文件 @
ad95b458
{% assign provider = include.provider | default: "fe" %}
<i
class=
"icon {{ provider }} {{ provider }}-{{ include.icon }}{% if include.class %} {{ include.class }}{% endif %}{% if include.color %} text-{{ include.color }}{% endif %}"
></i>
{% assign provider = include.provider | default: "fe" %}
<i
class=
"icon {{ provider }} {{ provider }}-{{ include.icon }}{% if include.class %} {{ include.class }}{% endif %}{% if include.color %} text-{{ include.color }}{% endif %}"
></i>
scss/layout/_grid.scss
浏览文件 @
ad95b458
...
...
@@ -2,6 +2,18 @@
@include
make-container-breakpoints
();
}
.row-deck
{
>
.col
,
>
[
class
*=
'col-'
]
{
display
:
flex
;
align-items
:
stretch
;
.card
{
flex
:
1
1
auto
;
}
}
}
@each
$name
,
$value
in
(
0
:
0
,
xs
:
.25rem
,
sm
:
.5rem
,
lg
:
1rem
,
xl
:
1
.5rem
)
{
.row-
#{
$name
}
{
margin-right
:
(
-
$value
);
...
...
scss/ui/_ribbons.scss
浏览文件 @
ad95b458
...
...
@@ -5,12 +5,14 @@
top
:
.75rem
;
right
:
-
(
$ribbon-margin
);
z-index
:
1
;
padding
:
.
37
5rem
1rem
;
padding
:
.
2
5rem
1rem
;
font-weight
:
600
;
color
:
#fff
;
text-align
:
center
;
background
:
$primary
;
border-color
:
$primary
;
font-size
:
1rem
;
line-height
:
1
.5
;
&
::before
{
position
:
absolute
;
...
...
@@ -101,7 +103,7 @@
width
:
0
;
height
:
0
;
content
:
""
;
border
:
1
.125
rem
solid
;
border
:
1rem
solid
;
border-color
:
inherit
;
border-right-width
:
0
;
border-left-color
:
transparent
;
...
...
@@ -132,7 +134,7 @@
right
:
0
;
left
:
0
;
border-color
:
inherit
;
border-width
:
1
.125
rem
;
border-width
:
1rem
;
border-top-width
:
0
;
border-bottom-color
:
transparent
;
border-bottom-width
:
.75rem
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录