Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
tabler
提交
d680d393
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,发现更多精彩内容 >>
提交
d680d393
编写于
1月 26, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
dropdown card
上级
41428fd2
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
46 addition
and
10 deletion
+46
-10
pages/tmp3.html
pages/tmp3.html
+33
-0
scss/_variables.scss
scss/_variables.scss
+3
-2
scss/ui/_cards.scss
scss/ui/_cards.scss
+0
-8
scss/ui/_dropdowns.scss
scss/ui/_dropdowns.scss
+10
-0
未找到文件。
pages/tmp3.html
0 → 100644
浏览文件 @
d680d393
---
tmp: true
---
<div
class=
"dropdown d-inline-block"
>
<button
class=
"btn btn-secondary dropdown-toggle"
type=
"button"
id=
"dropdownMenuButtonAlias"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown button
</button>
<ul
class=
"dropdown-menu"
>
<li>
<a
class=
"dropdown-item"
href=
"#"
>
Action
</a>
</li>
<li>
<a
class=
"dropdown-item"
href=
"#"
>
Another action
</a>
</li>
<li
class=
"dropright"
>
<a
class=
"dropdown-item dropdown-toggle"
href=
"#"
id=
"dropdownSubmenuButton"
data-toggle=
"dropdown"
>
Something else here
</a>
<div
class=
"dropdown-menu"
>
<a
class=
"dropdown-item"
href=
"#"
>
Action
</a>
<a
class=
"dropdown-item"
href=
"#"
>
Another action
</a>
<a
class=
"dropdown-item"
href=
"#"
>
Something else action
</a>
</div>
</li>
</ul>
</div>
<div
class=
"dropdown d-inline-block"
>
<button
class=
"btn btn-secondary dropdown-toggle"
type=
"button"
data-toggle=
"dropdown"
>
Dropdown with card
</button>
{% include cards/card.html class="dropdown-menu" title="Card title" footer=true img-top=true %}
</div>
\ No newline at end of file
scss/_variables.scss
浏览文件 @
d680d393
...
...
@@ -271,6 +271,9 @@ $dropdown-spacer: 1px !default;
$dropdown-link-active-color
:
$primary
!
default
;
$dropdown-link-active-bg
:
$active-bg
!
default
;
$dropdown-border-color
:
$border-color
!
default
;
$dropdown-menu-max-width
:
25rem
!
default
;
//grid
$grid-gutter-width
:
1
.5rem
!
default
;
...
...
@@ -377,8 +380,6 @@ $input-placeholder-color: $text-muted !default;
$input-group-addon-bg
:
$min-black
!
default
;
$input-group-addon-color
:
$text-muted
!
default
;
$dropdown-border-color
:
$border-color
!
default
;
$input-border-radius
:
$border-radius
!
default
;
...
...
scss/ui/_cards.scss
浏览文件 @
d680d393
...
...
@@ -343,14 +343,6 @@ Card avatar
box-shadow
:
0
0
0
.5rem
$card-bg
;
}
/*
Card img top
*/
.card-img-top
,
.card-img-bottom
{
border-radius
:
inherit
;
}
/*
Card list group
*/
...
...
scss/ui/_dropdowns.scss
浏览文件 @
d680d393
...
...
@@ -12,6 +12,16 @@
text-align
:
center
;
stroke-width
:
2px
;
}
&
.card
{
padding
:
0
;
min-width
:
$dropdown-menu-max-width
;
display
:
none
;
&
.show
{
display
:
flex
;
}
}
}
.dropdown-header
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录