Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Miykael_xxm
amazeui
提交
30c5857c
A
amazeui
项目概览
Miykael_xxm
/
amazeui
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
amazeui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
30c5857c
编写于
12月 10, 2014
作者:
M
Minwe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
resolved #310, fixed table border in IE
上级
90b5e410
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
34 addition
and
22 deletion
+34
-22
CHANGELOG.md
CHANGELOG.md
+4
-0
docs/css/table.md
docs/css/table.md
+15
-11
less/table.less
less/table.less
+15
-11
未找到文件。
CHANGELOG.md
浏览文件 @
30c5857c
...
...
@@ -3,6 +3,10 @@
### 2014.12 W2
**CSS:**
-
`IMPROVED`
#310 调整 Table 圆角边框实现方式,解决在 IE 下显示问题(THX to
[
@bug
](
http://t.qq.com/sky14way
)
, @infinnie)
**JS:**
-
`IMPROVED`
注册 Handlebars helper 和 partials 时添加
`this`
, via #311 (THX to @msdlisper);
...
...
docs/css/table.md
浏览文件 @
30c5857c
...
...
@@ -32,17 +32,19 @@
<td>
http://amazeui.org
</td>
<td>
2012-10-01
</td>
</tr>
<tr>
<td>
Amaze UI
</td>
<td>
http://amazeui.org
</td>
<td>
2012-10-01
</td>
</tr>
<tr>
<td>
Amaze UI
</td>
<td>
http://amazeui.org
</td>
<td>
2012-10-01
</td>
</tr>
<tr>
<td>
Amaze UI
</td>
<td>
http://amazeui.org
</td>
<td>
2012-10-01
</td>
</tr>
</tbody>
<tbody>
<tr>
<td>
Amaze UI
</td>
<td>
http://amazeui.org
</td>
<td>
2012-10-01
</td>
</tr>
</tbody>
</table>
`````
...
...
@@ -195,7 +197,7 @@
-
`.am-danger`
红色高亮。
`````
html
<table
class=
"am-table"
>
<table
class=
"am-table
am-table-bordered am-table-radius
"
>
<thead>
<tr>
<th>
Class
</th>
...
...
@@ -383,3 +385,5 @@
## 参考资源
-
[表格排序 jQuery Table Sort] (https://github.com/kylefox/jquery-tablesort)
-
[
Tablesaw - A set of jQuery plugins for responsive tables
](
https://github.com/filamentgroup/tablesaw
)
-
[
FooTable - jQuery plugin to make HTML tables responsive
](
http://fooplugins.com/plugins/footable-jquery/
)
less/table.less
浏览文件 @
30c5857c
...
...
@@ -94,6 +94,8 @@ th {
.@{ns}table {
width: 100%;
margin-bottom: @global-margin;
border-spacing: 0;
border-collapse: separate;
.hook-table;
> thead,
...
...
@@ -113,7 +115,7 @@ th {
// Bottom align for headings
> thead > tr > th {
vertical-align: bottom;
border-bottom:
2
px solid @table-border-color;
border-bottom:
1
px solid @table-border-color;
}
// Remove top border from thead
...
...
@@ -130,7 +132,11 @@ th {
// multiple tbody
> tbody + tbody {
border-top: 2px solid @table-border-color;
tr:first-child {
td {
border-top: 2px solid @table-border-color;
}
}
}
}
...
...
@@ -147,24 +153,22 @@ th {
> tr {
> th,
> td {
border: 1px solid @table-border-color;
border-left: 1px solid @table-border-color;
&:first-child {
border-left: none;
}
}
}
}
> thead > tr {
> th,
> td {
border-bottom-width: 2px;
}
}
}
/* Border-radius version */
.@{ns}table-radius {
border:
none
;
box-shadow: 0 0 1px @gray-light;
border:
1px solid @table-border-color
;
//
box-shadow: 0 0 1px @gray-light;
border-radius: @radius-normal;
.hook-table-radius;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录