Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
b38469f1
T
Tabler
项目概览
Dashboards
/
Tabler
大约 1 年 前同步成功
通知
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,发现更多精彩内容 >>
提交
b38469f1
编写于
5月 31, 2023
作者:
S
Saran-pariyar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Going to pull changes from dev
上级
1d90c100
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
51 addition
and
63 deletion
+51
-63
src/pages/tag.html
src/pages/tag.html
+10
-7
src/scss/_core.scss
src/scss/_core.scss
+1
-1
src/scss/_variables.scss
src/scss/_variables.scss
+0
-8
src/scss/ui/_tag.scss
src/scss/ui/_tag.scss
+40
-47
未找到文件。
src/pages/tag.html
浏览文件 @
b38469f1
...
...
@@ -2,11 +2,14 @@
title: Tags
page-header: Tags
---
<div
class=
"tag-container"
>
<div
class=
"tag"
>
Label
</div>
<div
class=
"tag cross-icon-tag"
>
Label
<span
class=
"icon"
>
x
</span></div>
<div
class=
"tag number-tag"
>
Label
<span
class=
"number"
>
100
</span></div>
<div
class=
"tag status-tag"
><span
class=
"status-circle"
></span>
Label
</div>
<div
class=
"tag box-status-tag"
><span
class=
"box-status"
></span>
Label
</div>
<div
class=
"tags-list"
>
<div
class=
"tag"
>
Label
</div>
<div
class=
"tag"
>
Label
<span
class=
"tag-close"
>
{% include ui/modal/close.html %}
</span></div>
<div
class=
"tag"
>
Label
<span
class=
"tag-number"
>
100
</span></div>
<div
class=
"tag"
><span
class=
"badge bg-green ms-auto tag-status"
></span>
Label
</div>
<div
class=
"tag"
><input
class=
"tag-checkbox"
type=
"checkbox"
id=
"grid-axis-y"
ng-model=
"ctrl.overlayGrid.vertical"
ng-change=
"ctrl.toggleAxis('vertical', ctrl.overlayGrid.vertical)"
/>
Label
</div>
<div
class=
"tag"
><span
class=
"tag-avatar"
>
{% include ui/avatar.html size="xs" person-id="1" %}
</span>
label
</div>
<div
class=
"tag"
>
Label
<span>
{% include ui/flag.html flag="pl" %}
</span>
flag
</div>
</div>
\ No newline at end of file
src/scss/_core.scss
浏览文件 @
b38469f1
...
...
@@ -53,6 +53,7 @@
@import
"ui/status"
;
@import
"ui/switch-icon"
;
@import
"ui/tables"
;
@import
"ui/tag"
;
@import
"ui/toasts"
;
@import
"ui/toolbar"
;
@import
"ui/tracking"
;
...
...
@@ -71,4 +72,3 @@
@import
"debug"
;
@import
"ui/tag"
\ No newline at end of file
src/scss/_variables.scss
浏览文件 @
b38469f1
...
...
@@ -904,11 +904,3 @@ $offcanvas-border-color: var(--#{$prefix}border-color) !default;
// Placeholder
$placeholder-opacity-min
:
0
.1
!
default
;
$placeholder-opacity-max
:
0
.2
!
default
;
//tags
$tag-bg-color
:
#ffffff
!
default
;
$status-color
:
#008000
!
default
;
$tag-gap
:
8px
!
default
;
$tag-icon-hover-color
:
#ebeaea
;
$tag-status-online
:
green
;
$tag-status-offline
:
red
;
src/scss/ui/_tag.scss
浏览文件 @
b38469f1
.tag
-container
{
.tag
s-list
{
display
:
flex
;
justify-content
:
space-around
;
flex-wrap
:
wrap
;
.tag
{
background-color
:
$tag-bg-color
;
height
:
23px
;
border
:
1px
solid
gray
;
padding
:
0
.2rem
;
margin
:
0
1rem
;
border-radius
:
5px
;
}
.cross-icon-tag
{
border
:
$border-width
solid
$gray-300
;
display
:
flex
;
align-items
:
center
;
gap
:
$tag-gap
;
.icon
{
height
:
1
.5rem
;
border-radius
:
$border-radius
;
font-size
:
1rem
;
padding-left
:
.25rem
;
padding-right
:
.25rem
;
background
:
$white
;
box-shadow
:
.06rem
.06rem
$gray-300
;
.tag-close
{
margin-left
:
.5rem
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
padding
:
0
;
margin
:
0
;
height
:
16px
;
font-size
:
14px
;
transition
:
.5
all
;
height
:
1rem
;
border-radius
:
$border-radius
;
&
:hover
{
background-color
:
$tag-icon-hover-color
;
cursor
:
pointer
;
background-color
:
$gray-200
;
}
}
}
.number
{
background
:
$tag-icon-hover-color
;
height
:
16px
;
}
>
:nth-child
(
1
)
{
height
:
auto
;
max-height
:
.5rem
;
}
}
.status-tag
{
display
:
flex
;
align-items
:
center
;
gap
:
$tag-gap
;
.tag-number
{
margin-left
:
.5rem
;
}
.status-circle
{
height
:
8px
;
width
:
8px
;
border-radius
:
50%
;
background-color
:
$tag-status-online
;
.tag-checkbox
,
.tag-status
,
.tag-avatar
{
margin-right
:
.5rem
;
}
}
.box-status-tag
{
display
:
flex
;
align-items
:
center
;
gap
:
$tag-gap
;
.tag-avatar
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
max-height
:
.5rem
;
.box-status
{
height
:
15px
;
width
:
16px
;
border
:
1px
solid
gray
;
background-color
:
white
;
border-radius
:
4px
;
img
{
height
:
auto
;
max-height
:
100%
;
max-width
:
100%
;
}
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录