Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
2c3bf07d
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2c3bf07d
编写于
12月 08, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
improve selected item style, close #467
上级
c1b1765a
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
20 addition
and
44 deletion
+20
-44
style/components/dropdown.less
style/components/dropdown.less
+3
-3
style/components/pagination.less
style/components/pagination.less
+0
-1
style/components/select.less
style/components/select.less
+11
-32
style/components/table.less
style/components/table.less
+2
-3
style/components/timepicker/Select.less
style/components/timepicker/Select.less
+4
-5
未找到文件。
style/components/dropdown.less
浏览文件 @
2c3bf07d
...
...
@@ -54,7 +54,7 @@
}
& > &-item {
padding: 7px 1
6
px;
padding: 7px 1
5
px;
clear: both;
font-size: 12px;
font-weight: normal;
...
...
@@ -66,8 +66,8 @@
> a {
color: #666;
display: block;
padding: 7px 1
6
px;
margin: -7px -1
6
px;
padding: 7px 1
5
px;
margin: -7px -1
5
px;
}
&:hover {
...
...
style/components/pagination.less
浏览文件 @
2c3bf07d
...
...
@@ -181,7 +181,6 @@
margin-left: 15px;
&-size-changer {
float: left;
width: 90px;
margin-right: 10px;
}
...
...
style/components/select.less
浏览文件 @
2c3bf07d
...
...
@@ -10,23 +10,6 @@
font-weight: bold;
}
.selected_icon() {
position: relative;
&:after {
.iconfont-size-under-12px(9px);
display: inline-block;
content: '\e62e';
font-family: 'anticon';
font-weight: bold;
position: absolute;
top: 7px;
right: -1px;
padding-right: 14px;
color: @primary-color;
transform: scale(0.75);
}
}
.@{select-prefix-cls} {
box-sizing: border-box;
display: inline-block;
...
...
@@ -356,18 +339,6 @@
animation-name: antSlideDownOut;
}
&-menu-item {
transition: background 0.3s ease;
}
&--single &-menu-item-selected {
.selected_icon();
}
&--multiple &-menu-item-selected {
.selected_icon();
}
&-hidden {
display: none;
}
...
...
@@ -405,18 +376,19 @@
&-item-group-title {
color: #999;
line-height: 1.5;
padding: 8px 1
6
px;
padding: 8px 1
5
px;
}
&-item {
position: relative;
display: block;
padding: 7px
33px 7px 16
px;
padding: 7px
15
px;
font-weight: normal;
color: #666;
white-space: nowrap;
cursor: pointer;
overflow: hidden;
transition: background 0.3s ease;
&:first-child {
border-top-left-radius: 4px;
...
...
@@ -428,7 +400,14 @@
}
&:hover,
&-active {
background-color: tint(@primary-color, 90%) !important;
background-color: tint(@primary-color, 90%);
}
&-selected {
background-color: tint(@primary-color, 80%);
&:hover {
background-color: tint(@primary-color, 80%);
}
}
&-disabled {
...
...
style/components/table.less
浏览文件 @
2c3bf07d
...
...
@@ -218,14 +218,13 @@
}
.@{table-prefix-cls}-filter-dropdown {
min-width:
88
px;
min-width:
96
px;
margin-left: -8px;
.ant-dropdown-menu-item {
overflow: hidden;
padding: 7px 8px;
}
a&-link {
.ant-dropdown-menu-item
a&-link {
color: @link-color;
&:hover {
color: @link-hover-color;
...
...
style/components/timepicker/Select.less
浏览文件 @
2c3bf07d
...
...
@@ -41,15 +41,14 @@
text-align: left;
cursor: pointer;
user-select: none;
transition: background 0.3s ease;
&
.@{timepicker-prefix-cls}-panel-select-option-selected
{
&
:hover
{
background: tint(@primary-color, 90%);
color: @link-color;
}
&:hover {
background: tint(@primary-color, 90%);
transition: background 0.3s ease;
&.@{timepicker-prefix-cls}-panel-select-option-selected {
background: tint(@primary-color, 80%);
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录