Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zui
提交
f07e5717
Z
zui
项目概览
易企天创
/
zui
11 个月 前同步成功
通知
6
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
37
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
37
Issue
37
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f07e5717
编写于
6月 03, 2014
作者:
C
Catouse
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* ajusted font size.
* added transition to the alert. * rebuilt zui.
上级
ccf9fc4a
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
42 addition
and
29 deletion
+42
-29
dist/css/chosen.css
dist/css/chosen.css
+1
-1
dist/css/zui.css
dist/css/zui.css
+2
-2
src/less/basic/mixins.less
src/less/basic/mixins.less
+23
-9
src/less/basic/scaffolding.less
src/less/basic/scaffolding.less
+1
-1
src/less/basic/variables.less
src/less/basic/variables.less
+6
-5
src/less/components/alerts.hover.less
src/less/components/alerts.hover.less
+1
-0
src/less/components/alerts.less
src/less/components/alerts.less
+1
-0
src/less/components/navbars.less
src/less/components/navbars.less
+1
-0
src/less/components/panels.less
src/less/components/panels.less
+1
-1
src/less/controls/icons.less
src/less/controls/icons.less
+1
-0
src/less/modules/chosen.less
src/less/modules/chosen.less
+3
-3
src/less/modules/modals.less
src/less/modules/modals.less
+0
-5
src/less/views/article.less
src/less/views/article.less
+0
-2
src/less/zui.less
src/less/zui.less
+1
-0
未找到文件。
dist/css/chosen.css
浏览文件 @
f07e5717
.chosen-container
{
position
:
relative
;
display
:
inline-block
;
vertical-align
:
middle
;
font-size
:
14px
;
zoom
:
1
;
*
display
:
inline
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
-o-user-select
:
none
;
user-select
:
none
}
.chosen-container
.chosen-drop
{
position
:
absolute
;
top
:
100%
;
left
:
-9999px
;
z-index
:
1010
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
border
:
1px
solid
#cbcbcb
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.15
);
border-top
:
0
;
background
:
#fff
;
box-shadow
:
0
4px
5px
rgba
(
0
,
0
,
0
,
0.15
)}
.chosen-container.chosen-with-drop
.chosen-drop
{
left
:
0
}
.chosen-container
a
{
cursor
:
pointer
}
.chosen-container-single
.chosen-single
{
display
:
block
;
overflow
:
hidden
;
padding
:
6px
10px
;
height
:
34px
;
width
:
100%
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
background-clip
:
padding-box
;
vertical-align
:
middle
;
color
:
#222
;
text-decoration
:
none
;
white-space
:
nowrap
;
line-height
:
1.428571429
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-webkit-transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
;
transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
}
.chosen-container-single
.chosen-default
{
color
:
#808080
}
.chosen-container-single
.chosen-single
>
span
{
display
:
block
;
overflow
:
hidden
;
margin-right
:
26px
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
}
.chosen-container-single
.chosen-single-with-deselect
span
{
margin-right
:
38px
}
.chosen-container-single
.chosen-single
abbr
{
position
:
absolute
;
top
:
7px
;
right
:
24px
;
display
:
block
;
width
:
21px
;
height
:
21px
;
line-height
:
21px
;
font-size
:
21px
;
font-weight
:
bold
;
color
:
#000
;
text-shadow
:
0
1px
0
#fff
;
opacity
:
.2
;
filter
:
alpha
(
opacity
=
20
)}
.chosen-container-single
.chosen-single
abbr
:before
{
content
:
'×'
}
.chosen-container-single
.chosen-single
abbr
:hover
,
.chosen-container-single
.chosen-single
abbr
:focus
{
color
:
#000
;
text-decoration
:
none
;
cursor
:
pointer
;
opacity
:
.5
;
filter
:
alpha
(
opacity
=
50
)}
.chosen-container-single
.chosen-single
div
{
position
:
absolute
;
top
:
0
;
right
:
0
;
display
:
block
;
height
:
100%
;
padding
:
6px
10px
}
.chosen-container-single
.chosen-single
div
b
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-left
:
2px
;
vertical-align
:
middle
;
border-top
:
4px
solid
#333
;
border-right
:
4px
solid
transparent
;
border-left
:
4px
solid
transparent
;
border-bottom
:
0
dotted
}
.chosen-container-single
.chosen-search
{
position
:
relative
;
z-index
:
1010
;
margin
:
0
;
padding
:
3px
4px
;
white-space
:
nowrap
}
.chosen-container-single
.chosen-search
input
[
type
=
"text"
]
{
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
1px
0
;
padding
:
5px
26px
5px
10px
;
width
:
100%
;
height
:
auto
;
outline
:
0
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
font-size
:
12px
;
line-height
:
1.5
}
.chosen-container-single
.chosen-search
input
[
type
=
"text"
]
:focus
{
border-color
:
#145ccd
}
.chosen-container-single
.chosen-search
:before
{
position
:
absolute
;
display
:
block
;
right
:
10px
;
color
:
#808080
;
top
:
8px
;
content
:
"\e603"
;
font-family
:
ZenIcon
}
.chosen-container-single
.chosen-drop
{
margin-top
:
-1px
;
border-radius
:
0
0
4px
4px
;
background-clip
:
padding-box
}
.chosen-container-single.chosen-container-single-nosearch
.chosen-search
{
position
:
absolute
;
left
:
-9999px
}
.chosen-container
.chosen-results
{
position
:
relative
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
margin
:
0
;
padding
:
0
;
max-height
:
240px
;
-webkit-overflow-scrolling
:
touch
}
.chosen-container
.chosen-results
li
{
display
:
none
;
margin
:
0
;
padding
:
5px
10px
;
list-style
:
none
;
line-height
:
15px
;
-webkit-touch-callout
:
none
;
-webkit-transition
:
background-color
.3s
cubic-bezier
(
.175
,
.885
,
.32
,
1
);
transition
:
background-color
.3s
cubic-bezier
(
.175
,
.885
,
.32
,
1
)}
.chosen-container
.chosen-results
li
.active-result
{
display
:
list-item
;
cursor
:
pointer
}
.chosen-container
.chosen-results
li
.disabled-result
{
display
:
list-item
;
color
:
#ccc
;
cursor
:
default
}
.chosen-container
.chosen-results
li
.highlighted
{
color
:
#fff
;
background-color
:
#3280fc
}
.chosen-container
.chosen-results
li
.no-results
{
display
:
list-item
;
background
:
#f4f4f4
}
.chosen-container
.chosen-results
li
.group-result
{
display
:
list-item
;
font-weight
:
bold
;
cursor
:
default
}
.chosen-container
.chosen-results
li
.group-option
{
padding-left
:
15px
}
.chosen-container
.chosen-results
li
em
{
font-style
:
normal
;
text-decoration
:
underline
}
.chosen-container-multi
.chosen-choices
{
position
:
relative
;
overflow
:
hidden
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
0
;
padding
:
0
;
width
:
100%
;
min-height
:
34px
;
min-height
:
32px
\
0
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
cursor
:
text
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-webkit-transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
;
transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
}
.chosen-container-multi
.chosen-choices
:before
,
.chosen-container-multi
.chosen-choices
:after
{
content
:
" "
;
display
:
table
}
.chosen-container-multi
.chosen-choices
:after
{
clear
:
both
}
.chosen-container-multi
.chosen-choices
li
{
display
:
block
;
float
:
left
;
list-style
:
none
;
padding
:
0
6px
;
margin
:
6px
0
0
6px
}
.chosen-container-multi
.chosen-choices
li
.search-field
{
padding
:
0
;
margin-bottom
:
5px
;
white-space
:
nowrap
}
.chosen-container-multi
.chosen-choices
li
.search-field
input
[
type
=
"text"
]
{
height
:
20px
;
outline
:
0
;
border
:
0
!important
;
background
:
transparent
!important
;
box-shadow
:
none
;
color
:
#808080
;
font-size
:
100%
;
border-radius
:
0
}
.chosen-container-multi
.chosen-choices
li
.search-field
.default
{
color
:
#999
}
.chosen-container-multi
.chosen-choices
li
.search-choice
{
position
:
relative
;
padding
:
3px
20px
3px
5px
;
background-color
:
#f1f1f1
;
border-radius
:
3px
;
border
:
1px
solid
#ddd
;
background-clip
:
padding-box
;
-moz-box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
-webkit-box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
line-height
:
12px
;
cursor
:
default
;
-webkit-transition
:
all
.5s
cubic-bezier
(
.175
,
.885
,
.32
,
1
);
transition
:
all
.5s
cubic-bezier
(
.175
,
.885
,
.32
,
1
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
:hover
{
border-color
:
#c4c4c4
;
background-color
:
#fff
;
-moz-box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
);
-webkit-box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
);
box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
{
position
:
absolute
;
top
:
-1px
;
right
:
0
;
text-align
:
center
;
display
:
block
;
width
:
21px
;
height
:
21px
;
line-height
:
21px
;
font-size
:
16.8px
;
font-weight
:
bold
;
color
:
#000
;
text-shadow
:
0
1px
0
#fff
;
opacity
:
.2
;
filter
:
alpha
(
opacity
=
20
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:before
{
content
:
'×'
}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:hover
,
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:focus
{
color
:
#000
;
text-decoration
:
none
;
cursor
:
pointer
;
opacity
:
.5
;
filter
:
alpha
(
opacity
=
50
)}
.chosen-container-multi
.chosen-choices
li
.search-choice-disabled
{
padding-right
:
5px
;
border
:
1px
solid
#ccc
;
background-color
:
#e4e4e4
;
color
:
#666
}
.chosen-container-multi
.chosen-choices
li
.search-choice-focus
{
background
:
#d4d4d4
}
.chosen-container-multi
.chosen-choices
li
.search-choice-focus
.search-choice-close
{
background-position
:
-42px
-10px
}
.chosen-container-multi
.chosen-results
{
margin
:
0
;
padding
:
0
}
.chosen-container-multi
.chosen-drop
.result-selected
{
display
:
list-item
;
color
:
#ccc
;
cursor
:
default
}
.chosen-container-active
.chosen-single
{
border-color
:
#145ccd
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
)}
.chosen-container-active.chosen-with-drop
.chosen-single
{
border
:
1px
solid
#cbcbcb
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.15
);
-moz-border-radius-bottomright
:
0
;
border-bottom-right-radius
:
0
;
-moz-border-radius-bottomleft
:
0
;
border-bottom-left-radius
:
0
;
-moz-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
-webkit-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
)}
.chosen-container-active.chosen-with-drop
.chosen-single
div
{
border-left
:
none
;
background
:
transparent
}
.chosen-container-active.chosen-with-drop
.chosen-single
div
b
{
border-top
:
0
dotted
;
border-bottom
:
4px
solid
#333
;
content
:
""
}
.chosen-container-active
.chosen-choices
{
border-color
:
#145ccd
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
)}
.chosen-container-active
.chosen-choices
li
.search-field
input
[
type
=
"text"
]
{
color
:
#111
!important
}
.chosen-disabled
{
opacity
:
.5
!important
;
cursor
:
default
}
.chosen-disabled
.chosen-single
{
cursor
:
default
}
.chosen-disabled
.chosen-choices
.search-choice
.search-choice-close
{
cursor
:
default
}
.chosen-container.chosen-icons
.chosen-results
{
padding
:
5px
}
.chosen-container.chosen-icons
.chosen-results
li
.group-result
{
padding
:
5px
0
;
color
:
#666
;
font-size
:
12px
}
.chosen-container.chosen-icons
.chosen-results
li
.group-option
{
display
:
inline-block
;
padding
:
8px
;
font-size
:
14px
;
line-height
:
14px
;
width
:
30px
;
text-align
:
center
;
border-radius
:
4px
}
\ No newline at end of file
.chosen-container
{
position
:
relative
;
display
:
inline-block
;
vertical-align
:
middle
;
font-size
:
13px
;
zoom
:
1
;
*
display
:
inline
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
-o-user-select
:
none
;
user-select
:
none
}
.chosen-container
.chosen-drop
{
position
:
absolute
;
top
:
100%
;
left
:
-9999px
;
z-index
:
1010
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
border
:
1px
solid
#cbcbcb
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.15
);
border-top
:
0
;
background
:
#fff
;
box-shadow
:
0
4px
5px
rgba
(
0
,
0
,
0
,
0.15
)}
.chosen-container.chosen-with-drop
.chosen-drop
{
left
:
0
}
.chosen-container
a
{
cursor
:
pointer
}
.chosen-container-single
.chosen-single
{
display
:
block
;
overflow
:
hidden
;
padding
:
5px
10px
;
height
:
30px
;
width
:
100%
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
background-clip
:
padding-box
;
vertical-align
:
middle
;
color
:
#222
;
text-decoration
:
none
;
white-space
:
nowrap
;
line-height
:
1.42857143
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-webkit-transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
;
transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
}
.chosen-container-single
.chosen-default
{
color
:
#808080
}
.chosen-container-single
.chosen-single
>
span
{
display
:
block
;
overflow
:
hidden
;
margin-right
:
26px
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
}
.chosen-container-single
.chosen-single-with-deselect
span
{
margin-right
:
38px
}
.chosen-container-single
.chosen-single
abbr
{
position
:
absolute
;
top
:
7px
;
right
:
24px
;
display
:
block
;
width
:
19.5px
;
height
:
19.5px
;
line-height
:
19.5px
;
font-size
:
19.5px
;
font-weight
:
bold
;
color
:
#000
;
text-shadow
:
0
1px
0
#fff
;
opacity
:
.2
;
filter
:
alpha
(
opacity
=
20
)}
.chosen-container-single
.chosen-single
abbr
:before
{
content
:
'×'
}
.chosen-container-single
.chosen-single
abbr
:hover
,
.chosen-container-single
.chosen-single
abbr
:focus
{
color
:
#000
;
text-decoration
:
none
;
cursor
:
pointer
;
opacity
:
.5
;
filter
:
alpha
(
opacity
=
50
)}
.chosen-container-single
.chosen-single
div
{
position
:
absolute
;
top
:
0
;
right
:
0
;
display
:
block
;
height
:
100%
;
padding
:
5px
10px
}
.chosen-container-single
.chosen-single
div
b
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-left
:
2px
;
vertical-align
:
middle
;
border-top
:
4px
solid
#333
;
border-right
:
4px
solid
transparent
;
border-left
:
4px
solid
transparent
;
border-bottom
:
0
dotted
}
.chosen-container-single
.chosen-search
{
position
:
relative
;
z-index
:
1010
;
margin
:
0
;
padding
:
3px
4px
;
white-space
:
nowrap
}
.chosen-container-single
.chosen-search
input
[
type
=
"text"
]
{
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
1px
0
;
padding
:
5px
26px
5px
10px
;
width
:
100%
;
height
:
auto
;
outline
:
0
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
font-size
:
12px
;
line-height
:
1.5
}
.chosen-container-single
.chosen-search
input
[
type
=
"text"
]
:focus
{
border-color
:
#145ccd
}
.chosen-container-single
.chosen-search
:before
{
position
:
absolute
;
display
:
block
;
right
:
10px
;
color
:
#808080
;
top
:
8px
;
content
:
"\e603"
;
font-family
:
ZenIcon
}
.chosen-container-single
.chosen-drop
{
margin-top
:
-1px
;
border-radius
:
0
0
4px
4px
;
background-clip
:
padding-box
}
.chosen-container-single.chosen-container-single-nosearch
.chosen-search
{
position
:
absolute
;
left
:
-9999px
}
.chosen-container
.chosen-results
{
position
:
relative
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
margin
:
0
;
padding
:
0
;
max-height
:
240px
;
-webkit-overflow-scrolling
:
touch
}
.chosen-container
.chosen-results
li
{
display
:
none
;
margin
:
0
;
padding
:
5px
10px
;
list-style
:
none
;
line-height
:
15px
;
-webkit-touch-callout
:
none
;
-webkit-transition
:
background-color
.3s
cubic-bezier
(
.175
,
.885
,
.32
,
1
);
transition
:
background-color
.3s
cubic-bezier
(
.175
,
.885
,
.32
,
1
)}
.chosen-container
.chosen-results
li
.active-result
{
display
:
list-item
;
cursor
:
pointer
}
.chosen-container
.chosen-results
li
.disabled-result
{
display
:
list-item
;
color
:
#ccc
;
cursor
:
default
}
.chosen-container
.chosen-results
li
.highlighted
{
color
:
#fff
;
background-color
:
#3280fc
}
.chosen-container
.chosen-results
li
.no-results
{
display
:
list-item
;
background
:
#f4f4f4
}
.chosen-container
.chosen-results
li
.group-result
{
display
:
list-item
;
font-weight
:
bold
;
cursor
:
default
}
.chosen-container
.chosen-results
li
.group-option
{
padding-left
:
15px
}
.chosen-container
.chosen-results
li
em
{
font-style
:
normal
;
text-decoration
:
underline
}
.chosen-container-multi
.chosen-choices
{
position
:
relative
;
overflow
:
hidden
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
0
;
padding
:
0
;
width
:
100%
;
min-height
:
30px
;
min-height
:
28px
\
0
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
cursor
:
text
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-webkit-transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
;
transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
}
.chosen-container-multi
.chosen-choices
:before
,
.chosen-container-multi
.chosen-choices
:after
{
content
:
" "
;
display
:
table
}
.chosen-container-multi
.chosen-choices
:after
{
clear
:
both
}
.chosen-container-multi
.chosen-choices
li
{
display
:
block
;
float
:
left
;
list-style
:
none
;
padding
:
0
6px
;
margin
:
4px
0
0
6px
}
.chosen-container-multi
.chosen-choices
li
.search-field
{
padding
:
0
;
margin-bottom
:
4px
;
white-space
:
nowrap
}
.chosen-container-multi
.chosen-choices
li
.search-field
input
[
type
=
"text"
]
{
height
:
20px
;
outline
:
0
;
border
:
0
!important
;
background
:
transparent
!important
;
box-shadow
:
none
;
color
:
#808080
;
font-size
:
100%
;
border-radius
:
0
}
.chosen-container-multi
.chosen-choices
li
.search-field
.default
{
color
:
#999
}
.chosen-container-multi
.chosen-choices
li
.search-choice
{
position
:
relative
;
padding
:
3px
20px
3px
5px
;
background-color
:
#f1f1f1
;
border-radius
:
3px
;
border
:
1px
solid
#ddd
;
background-clip
:
padding-box
;
-moz-box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
-webkit-box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
line-height
:
12px
;
cursor
:
default
;
-webkit-transition
:
all
.5s
cubic-bezier
(
.175
,
.885
,
.32
,
1
);
transition
:
all
.5s
cubic-bezier
(
.175
,
.885
,
.32
,
1
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
:hover
{
border-color
:
#c4c4c4
;
background-color
:
#fff
;
-moz-box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
);
-webkit-box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
);
box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
{
position
:
absolute
;
top
:
-1px
;
right
:
0
;
text-align
:
center
;
display
:
block
;
width
:
19.5px
;
height
:
19.5px
;
line-height
:
19.5px
;
font-size
:
15.6px
;
font-weight
:
bold
;
color
:
#000
;
text-shadow
:
0
1px
0
#fff
;
opacity
:
.2
;
filter
:
alpha
(
opacity
=
20
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:before
{
content
:
'×'
}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:hover
,
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:focus
{
color
:
#000
;
text-decoration
:
none
;
cursor
:
pointer
;
opacity
:
.5
;
filter
:
alpha
(
opacity
=
50
)}
.chosen-container-multi
.chosen-choices
li
.search-choice-disabled
{
padding-right
:
5px
;
border
:
1px
solid
#ccc
;
background-color
:
#e4e4e4
;
color
:
#666
}
.chosen-container-multi
.chosen-choices
li
.search-choice-focus
{
background
:
#d4d4d4
}
.chosen-container-multi
.chosen-choices
li
.search-choice-focus
.search-choice-close
{
background-position
:
-42px
-10px
}
.chosen-container-multi
.chosen-results
{
margin
:
0
;
padding
:
0
}
.chosen-container-multi
.chosen-drop
.result-selected
{
display
:
list-item
;
color
:
#ccc
;
cursor
:
default
}
.chosen-container-active
.chosen-single
{
border-color
:
#145ccd
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
)}
.chosen-container-active.chosen-with-drop
.chosen-single
{
border
:
1px
solid
#cbcbcb
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.15
);
-moz-border-radius-bottomright
:
0
;
border-bottom-right-radius
:
0
;
-moz-border-radius-bottomleft
:
0
;
border-bottom-left-radius
:
0
;
-moz-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
-webkit-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
)}
.chosen-container-active.chosen-with-drop
.chosen-single
div
{
border-left
:
none
;
background
:
transparent
}
.chosen-container-active.chosen-with-drop
.chosen-single
div
b
{
border-top
:
0
dotted
;
border-bottom
:
4px
solid
#333
;
content
:
""
}
.chosen-container-active
.chosen-choices
{
border-color
:
#145ccd
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
0.6
)}
.chosen-container-active
.chosen-choices
li
.search-field
input
[
type
=
"text"
]
{
color
:
#111
!important
}
.chosen-disabled
{
opacity
:
.5
!important
;
cursor
:
default
}
.chosen-disabled
.chosen-single
{
cursor
:
default
}
.chosen-disabled
.chosen-choices
.search-choice
.search-choice-close
{
cursor
:
default
}
.chosen-container.chosen-icons
.chosen-results
{
padding
:
5px
}
.chosen-container.chosen-icons
.chosen-results
li
.group-result
{
padding
:
5px
0
;
color
:
#666
;
font-size
:
12px
}
.chosen-container.chosen-icons
.chosen-results
li
.group-option
{
display
:
inline-block
;
padding
:
8px
;
font-size
:
14px
;
line-height
:
14px
;
width
:
30px
;
text-align
:
center
;
border-radius
:
4px
}
\ No newline at end of file
dist/css/zui.css
浏览文件 @
f07e5717
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
src/less/basic/mixins.less
浏览文件 @
f07e5717
...
...
@@ -125,6 +125,8 @@
}
// Transitions
//
.transition(@transition) {
-webkit-transition: @transition;
transition: @transition;
...
...
@@ -148,6 +150,27 @@
transition: transform @transition;
}
.transition(@target; @speed; @type)
{
.transition(@target @speed @type);
}
.transition-fast()
{
.transition(all @animation-speed-fast @animation-type);
}
.transition-slow()
{
.transition(all @animation-speed-slow @animation-type);
}
.transition-normal()
{
.transition(all @animation-speed-normal @animation-type);
}
.transition()
{
.transition-normal();
}
// Transformations
.rotate(@degrees) {
-webkit-transform: rotate(@degrees);
...
...
@@ -797,15 +820,6 @@
}
}
//
// Animation
// -------------------
.transition(@target; @speed; @type)
{
.transition(@target @speed @type);
}
//
// Accent active mark
// -------------------
...
...
src/less/basic/scaffolding.less
浏览文件 @
f07e5717
...
...
@@ -59,7 +59,7 @@ a
&[disabled]:focus
{
text-decoration: none;
color:
@color-gray
;
color:
#aaa
;
cursor: default;
}
}
...
...
src/less/basic/variables.less
浏览文件 @
f07e5717
...
...
@@ -116,7 +116,7 @@
@font-family-base: @font-family-sans-serif;
// Font size.
@font-size-base: 1
4
px;
@font-size-base: 1
3
px;
@font-size-large: ceil(@font-size-base * 1.25); // 18px
@font-size-small: ceil(@font-size-base * 0.85); // 12px
...
...
@@ -141,7 +141,7 @@
// COMPONENTS CONFIG
// -------------------------
@padding-base-vertical:
6
px;
@padding-base-vertical:
5
px;
@padding-base-horizontal: 12px;
@padding-large-vertical: 10px;
...
...
@@ -157,7 +157,7 @@
@border-radius-large: 6px;
@border-radius-small: 3px;
@line-height-large: 1.
33
;
@line-height-large: 1.
25
;
@line-height-small: 1.5;
@component-border: rgba(0,0,0,.15);
...
...
@@ -527,7 +527,8 @@
// -------------------------
// Basics of a navbar
@navbar-height: 50px;
@navbar-height: 40px;
@navbar-font-size: 14px;
@navbar-margin-bottom: @line-height-computed;
@navbar-border-radius: @border-radius-base;
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
...
...
@@ -587,7 +588,7 @@
// NAVS
// -------------------------
@nav-link-padding:
10
px 15px;
@nav-link-padding:
8
px 15px;
@nav-link-padding-top: 10px;
@nav-link-hover-bg: @color-gray-pale;
...
...
src/less/components/alerts.hover.less
浏览文件 @
f07e5717
.alert:hover
{
background-color: darken(@alert-default-bg,5%);
&.alert-success
{
...
...
src/less/components/alerts.less
浏览文件 @
f07e5717
...
...
@@ -13,6 +13,7 @@
border: 1px solid transparent;
border-radius: @alert-border-radius;
.alert-variant(@alert-default-bg; @alert-default-border; @alert-default-text);
.transition;
// Headings for larger alerts
h4
...
...
src/less/components/navbars.less
浏览文件 @
f07e5717
...
...
@@ -15,6 +15,7 @@
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
margin-bottom: @navbar-margin-bottom;
border: 1px solid transparent;
font-size: @navbar-font-size;
// Prevent floats from breaking the navbar
.clearfix();
...
...
src/less/components/panels.less
浏览文件 @
f07e5717
...
...
@@ -32,7 +32,7 @@
// Optional heading
.panel-heading
{
padding:
10
px 15px;
padding:
8
px 15px;
border-bottom: 1px solid transparent;
.border-top-radius(@panel-border-radius - 1);
}
...
...
src/less/controls/icons.less
浏览文件 @
f07e5717
...
...
@@ -14,6 +14,7 @@
.icon-ZenIcon() {
font-family: @icon-font-name;
speak: none;
font-size: 14px;
font-style: normal;
font-weight: normal;
font-variant: normal;
...
...
src/less/modules/chosen.less
浏览文件 @
f07e5717
...
...
@@ -7,7 +7,7 @@
position: relative;
display: inline-block;
vertical-align: middle;
font-size:
14px
;
font-size:
@font-size-base
;
zoom: 1;
*display: inline;
.user-select(none);
...
...
@@ -243,11 +243,11 @@
float: left;
list-style: none;
padding: 0 6px;
margin:
6
px 0 0 6px;
margin:
4
px 0 0 6px;
&.search-field
{
padding: 0;
margin-bottom:
5
px;
margin-bottom:
4
px;
white-space: nowrap;
input[type="text"]
{
...
...
src/less/modules/modals.less
浏览文件 @
f07e5717
...
...
@@ -11,11 +11,6 @@
.modal-open
{
overflow: hidden;
// Account for hiding of scrollbar
body&,
.navbar-fixed-top,
.navbar-fixed-bottom { margin-right: 15px }
}
// Container that the modal scrolls within
...
...
src/less/views/article.less
浏览文件 @
f07e5717
...
...
@@ -82,8 +82,6 @@
img
{
margin: @line-height-computed / 2 0;
.transition(all,@animation-speed-normal,@animation-type);
.box-shadow(@article-img-shadow);
}
p
...
...
src/less/zui.less
浏览文件 @
f07e5717
...
...
@@ -50,6 +50,7 @@
@import "components/panels.list-group.less";
@import "components/panels.types.less";
@import "components/alerts.less";
@import "components/alerts.hover.less";
@import "components/forms.less";
@import "components/form.condensed.less";
@import "components/code.less";
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录