lu2
Version:
Simple and flexible UI component library based on native HTML and JavaScript
2,059 lines (1,753 loc) • 67.8 kB
CSS
@charset "UTF-8";
/**
*
* @Radio.css
* @author zhangxinxu
* @create 15-06-17
* @edit 17-06-14 focusable
**/
input[type=radio] {
position: absolute;
opacity: 0;
width: 20px;
height: 20px;
filter: alpha(opacity=0);
cursor: pointer;
z-index: -1; }
.ui-radio {
display: inline-block;
width: 20px;
height: 20px;
border: 1px solid rgba(208, 208, 213, 0.99);
/* IE7-IE8 ignore this */
border-radius: 50%;
background-color: #fff;
box-sizing: border-box;
vertical-align: -.5ex;
*vertical-align: 0;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: border-color .2s;
transition: border-color .2s;
overflow: hidden; }
:not(:disabled) + .ui-radio:hover {
border-color: #ababaf; }
:focus + .ui-radio {
border-color: rgba(36, 134, 255, 0.99); }
.ui-radio::before {
content: '';
display: block;
width: 10px;
height: 10px;
margin: 4px auto 0;
border-radius: 50%;
background-color: #2486ff;
visibility: hidden; }
:checked + .ui-radio::before {
visibility: visible;
-webkit-animation: bounceIn .2s;
animation: bounceIn .2s; }
:disabled + .ui-radio,
.ui-radio.disabled {
border-color: #ababaf;
opacity: .38; }
/* error */
.error.ui-radio {
border-color: #f4615c; }
/*IE7, IE8 使用图片作UI*/
@media \0screen\,screen\9 {
.ui-radio {
background: url(ui/images/Radio/radio.png) no-repeat; }
.ui-radio:hover {
background-position: 0 -20px; }
[checked] + .ui-radio {
background-position: 0 -40px; }
[defaultChecked] + .ui-radio {
background-position: 0 -40px; }
[checked] + .ui-radio:hover,
[checked][disabled] + .ui-radio {
/* disabled态使用高亮边框 */
background-position: 0 -60px; }
[defaultChecked] + .ui-radio:hover,
[defaultChecked][disabled] + .ui-radio {
/* disabled态使用高亮边框 */
background-position: 0 -60px; }
[disabled] + .ui-radio {
background-position: 0 -20px;
filter: alpha(opacity=38); } }
/**
*
* @Checkbox.css
* @author zhangxinxu
* @create 15-06-18
* @edit 17-06-14 focusable
**/
input[type=checkbox] {
position: absolute;
opacity: 0;
width: 20px;
height: 20px;
filter: alpha(opacity=0);
cursor: pointer;
z-index: -1; }
/* 无绝对定位的模拟生成实现 */
.ui-checkbox {
display: inline-block;
width: 20px;
height: 20px;
border: 1px solid rgba(0, 0, 0, 0);
border-radius: 4px;
box-sizing: border-box;
box-shadow: inset 0 1px, inset 1px 0, inset -1px 0, inset 0 -1px;
background-color: #fff;
background-clip: content-box;
color: #d0d0d5;
-webkit-transition: color .2s, background-color .1s;
transition: color .2s, background-color .1s;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
vertical-align: -5px;
*vertical-align: 0;
overflow: hidden; }
:not(:disabled) + .ui-checkbox:hover,
:disabled + .ui-checkbox {
color: #ababaf; }
:focus + .ui-checkbox {
color: #2486ff; }
:checked:focus + .ui-checkbox {
color: #0057c3;
background-color: #0057c3; }
:checked + .ui-checkbox,
:checked + .ui-checkbox:hover {
color: #2486ff;
background-color: #2486ff; }
.ui-checkbox::after {
content: '';
display: block;
width: 100%;
height: 100%;
background: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIHZpZXdCb3g9IjAgMCAyMDAgMjAwIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNDcuNTY3LDY3LjU3NWMtMy45NzgtMy4yNDEtNC4zNTYtMy4zMzctOC45LTUuNjM5Yy0yLjA0NC0xLjA0NC01LjA1NywxLjY0NS02LjUzLDMuNjM1TDkyLDExNy43MjgNCglMNjUuODUxLDgzLjk3M2MtMS40NzktMS45ODgtNC4yMDYtMi43Mi02LjI1MS0xLjc4MmMtNC42NTgsMi40MDctNC4xODksMi4zMjYtOC4xNjgsNS40NjZjLTEuODE3LDEuNDY2LTEuOTMyLDQuMDgyLTAuNDU2LDYuMDY1DQoJYzAsMCwyOC4xODMsMzYuNDk5LDMxLjU5Miw0MC44OTZjNC45OTksNi4yNzUsMTQuMDksNS45NjUsMTguODY0LDBjMy41Mi00LjQ5OCw0Ni41OS02MS4wNzgsNDYuNTktNjEuMDc4DQoJQzE0OS40OTksNzEuNTQ5LDE0OS4zODUsNjguOTM3LDE0Ny41NjcsNjcuNTc1eiIvPg0KPC9zdmc+DQo=) no-repeat center;
background-size: 20px 20px;
visibility: hidden; }
:checked + .ui-checkbox::after {
visibility: visible;
-webkit-animation: bounceIn .2s;
animation: bounceIn .2s; }
:disabled + .ui-checkbox {
opacity: .38; }
/* error */
.error.ui-checkbox {
color: #f4615c; }
/*IE7, IE8 使用图片作UI*/
@media \0screen\,screen\9 {
.ui-checkbox {
background: url(ui/images/Checkbox/checkbox.png) no-repeat; }
.ui-checkbox:hover {
background-position: 0 -20px; }
[checked] + .ui-checkbox,
[checked][disabled] + .ui-checkbox {
background-position: 0 -40px; }
[defaultChecked] + .ui-checkbox,
[defaultChecked][disabled] + .ui-checkbox {
background-position: 0 -40px; }
[disabled] + .ui-checkbox {
/* disabled态使用高亮边框 */
background-position: 0 -20px;
filter: alpha(opacity=38); } }
/**
*
* @Select.css
* @author xinxuzhang
* @create 15-06-18
*
**/
select {
display: inline-block;
height: 40px;
margin: 0;
border: 1px solid #d0d0d5;
border-right-width: 27px;
opacity: 0.0001;
font-size: 14px;
font-family: simsun;
filter: alpha(opacity=0);
vertical-align: middle; }
select[multiple] {
height: auto;
font-size: 38px;
font-size: calc(34px - 1px);
font-family: simsun;
padding: 0;
vertical-align: top;
border-right-width: 1px;
cursor: pointer; }
select[multiple] > option {
min-height: 38px;
height: 38px;
padding: 0; }
select[multiple] > option:disabled {
cursor: default; }
select[hidden],
select[hidden] + .ui-select {
display: none; }
.ui-select {
display: inline-block;
height: 40px;
line-height: 20px;
vertical-align: middle;
-webkit-animation: fadeIn .2s;
animation: fadeIn .2s;
font-size: 14px;
position: relative; }
[multiple] ~ .ui-select {
vertical-align: top; }
.ui-select.active {
z-index: 3; }
.ui-select-button {
display: block;
height: 20px;
padding: 9px 27px 9px 12px;
color: #4c5161;
border: 1px solid #d0d0d5;
border-radius: 4px;
background-color: #fff;
text-decoration: none;
-webkit-transition: border-color .15s, background-color .15s;
transition: border-color .15s, background-color .15s;
cursor: pointer; }
.ui-select-button:hover {
color: #4c5161;
border-color: #ababaf; }
:not(:disabled) + .ui-select > .ui-select-button:active {
background-color: #f7f9fa; }
.active > a.ui-select-button {
border-color: #2486ff;
border-radius: 4px 4px 0 0; }
.reverse > a.ui-select-button {
border-radius: 0 0 4px 4px; }
.ui-select-text {
display: block;
width: 100%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden; }
.ui-select-icon {
position: absolute;
width: 20px;
height: 20px;
background: url(ui/images/Select/icon-arrow.png) no-repeat center;
background: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIHZpZXdCb3g9IjAgMCAyMDAgMjAwIj48cGF0aCBmaWxsPSIjMjQ4NmZmIiBkPSJNMTQ1LjY1OSw2OC45NDljLTUuMTAxLTUuMjA4LTEzLjM3Mi01LjIwOC0xOC40NzMsMEw5OS40NzksOTcuMjMzIEw3MS43NzIsNjguOTQ5Yy01LjEtNS4yMDgtMTMuMzcxLTUuMjA4LTE4LjQ3MywwYy01LjA5OSw1LjIwOC01LjA5OSwxMy42NDgsMCwxOC44NTdsNDYuMTgsNDcuMTRsNDYuMTgxLTQ3LjE0IEMxNTAuNzU5LDgyLjU5OCwxNTAuNzU5LDc0LjE1NywxNDUuNjU5LDY4Ljk0OXoiLz48L3N2Zz4NCg==) no-repeat center, none;
background-size: 20px 20px;
right: 7px;
top: 10px; }
.ui-select-datalist {
position: absolute;
left: 0;
right: 0;
top: 39px;
display: none;
max-height: 304px;
padding: 0;
border: 1px solid #2486ff;
background-color: #fff;
overflow: auto; }
[multiple] ~ .ui-select > .ui-select-datalist {
position: static;
display: block;
max-height: none;
height: inherit;
border-color: #d0d0d5;
border-radius: 4px;
-ms-box-sizing: border-box;
box-sizing: border-box; }
[multiple]:hover ~ .ui-select > .ui-select-datalist {
border-color: #ababaf; }
[multiple]:focus ~ .ui-select > .ui-select-datalist {
border-color: #2486ff; }
.ui-select-datalist::-webkit-scrollbar {
width: 8px;
height: 8px; }
.ui-select-datalist::-webkit-scrollbar-thumb {
background-color: #bbb;
border-radius: 8px; }
.ui-select-datalist::-webkit-scrollbar-thumb:hover {
background-color: #aaa; }
.ui-select-datalist::-webkit-scrollbar-track-piece {
background-color: #ddd; }
.active > .ui-select-datalist {
display: block; }
.reverse > .ui-select-datalist {
top: auto;
bottom: 39px; }
.ui-select-datalist-li {
display: block;
line-height: 20px;
padding: 9px 12px;
color: #4c5161;
background-color: #fff;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
-webkit-transition: background-color .15s;
transition: background-color .15s;
overflow: hidden;
cursor: pointer; }
.ui-select-datalist-li:empty {
display: none; }
/* reset default a:hover */
.ui-select-datalist-li:hover {
color: #4c5161; }
.ui-select-datalist-li[href]:hover,
[multiple] ~ .ui-select .ui-select-datalist-li[href] {
color: #4c5161;
background-color: #f0f7ff; }
.ui-select-datalist > .selected {
background-color: #e0f0ff; }
/* disabled */
select[disabled] {
cursor: default; }
select[disabled] + .ui-select {
opacity: .4;
filter: alpha(opacity=40);
-webkit-animation: none;
animation: none; }
select[disabled] + .ui-select .ui-select-button,
select[disabled] + .ui-select .ui-select-datalist {
cursor: default;
border-color: #ababaf; }
/* error */
.error .ui-select-button,
.error[multiple] ~ .ui-select .ui-select-datalist {
border-color: #f4615c; }
/**
*
* @Datalist.css
* @author xinxuzhang
* @create 16-03-29
*
**/
.ui-datalist {
display: none;
position: absolute;
-webkit-animation: fadeIn .2s;
animation: fadeIn .2s;
z-index: 19; }
.ui-datalist-datalist {
max-height: 304px;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
margin: 0;
padding: 0;
list-style: none;
border: 1px solid #d0d0d5;
border: 0 rgba(0, 0, 0, 0.2);
font-size: 14px;
position: relative;
overflow: auto; }
.ui-datalist-datalist::-webkit-scrollbar {
width: 8px;
height: 8px; }
.ui-datalist-datalist::-webkit-scrollbar-thumb {
background-color: #bbb;
border-radius: 8px; }
.ui-datalist-datalist::-webkit-scrollbar-thumb:hover {
background-color: #aaa; }
.ui-datalist-datalist::-webkit-scrollbar-track-piece {
background-color: #ddd; }
.ui-datalist-option {
line-height: 20px;
padding: 9px 12px;
background-color: #fff;
-webkit-transition: background-color .15s;
transition: background-color .15s;
overflow: hidden;
cursor: pointer; }
.ui-datalist:empty,
.ui-datalist-option:empty {
display: none; }
.ui-datalist-option:hover {
background-color: #f0f7ff; }
.ui-datalist-datalist > .selected {
background-color: #e0f0ff; }
.ui-datalist-value {
display: block;
text-overflow: ellipsis;
white-space: nowrap;
color: inherit;
overflow: hidden; }
.ui-datalist-label {
float: right;
color: #a2a9b6;
font-size: 12px; }
.ui-datalist-label + .ui-datalist-value {
margin-right: 60px; }
/**
*
* @Button.css
* @author zhangxinxu
* @create 15-06-12
* @edit 17-06-13
17-11-07 use png+spin for loading
*/
.ui-button {
display: inline-block;
line-height: 20px;
font-size: 14px;
text-align: center;
color: #4c5161;
border: 1px solid #d0d0d5;
border-radius: 4px;
padding: 9px 15px;
min-width: 50px;
background-color: #fff;
background-repeat: no-repeat;
background-position: center;
text-decoration: none;
-webkit-transition: border-color .15s, background-color .15s, opacity .15s;
transition: border-color .15s, background-color .15s, opacity .15s;
cursor: pointer;
overflow: visible; }
.ui-button.error {
border-color: #f4615c !important; }
div.ui-button {
display: block; }
button,
[type="button"],
[type="submit"] {
outline: 0; }
input.ui-button,
button.ui-button {
height: 20px;
-ms-box-sizing: content-box;
box-sizing: content-box; }
.ui-button:hover {
color: #4c5161;
border-color: #ababaf;
text-decoration: none; }
.ui-button-clip {
width: 0;
height: 0;
font-size: 0;
position: absolute;
clip: rect(0 0 0 0); }
.ui-button-clip.ui-outline + label.ui-button {
outline: 1px dotted #2486ff;
outline: 5px auto -webkit-focus-ring-color; }
.ui-button:not(.disabled):active,
.ui-button:not(.loading):active {
background-color: #f7f9fa; }
.ui-button.disabled:hover,
.ui-button.loading,
.ui-button.loading:hover {
color: #4c5161;
background-color: #fff;
border-color: #d0d0d5;
cursor: default; }
.ui-button-primary,
.ui-button-primary.disabled:hover,
.ui-button-primary.loading,
.ui-button-primary.loading:hover {
border: 1px solid #2486ff;
background-color: #2486ff;
color: #fff; }
.ui-button-primary:hover {
background-color: #0160d5;
border-color: #0160d5;
color: #fff; }
.ui-button-primary:not(.disabled):active,
.ui-button-primary:not(.loading):active {
background-color: #0057c3;
border-color: #0057c3; }
.ui-button-success,
.ui-button-success.disabled,
.ui-button-success.disabled:hover,
.ui-button-success.loading,
.ui-button-success.loading:hover {
border: 1px solid #01cf97;
background-color: #01cf97;
color: #fff; }
.ui-button-success:hover {
background-color: #00dba2;
border-color: #00dba2;
color: #fff; }
.ui-button-success:not(.disabled):active,
.ui-button-success:not(.loading):active {
background-color: #00bf8e;
border-color: #00bf8e; }
.ui-button-warning,
.ui-button-warning.disabled,
.ui-button-warning.disabled:hover,
.ui-button-warning.loading,
.ui-button-warning.loading:hover {
border: 1px solid #f4615c;
background-color: #f4615c;
color: #fff; }
.ui-button-warning:hover,
input.ui-button-warning:focus,
button.ui-button-warning:focus {
background-color: #ff7772;
border-color: #ff7772;
color: #fff; }
.ui-button-warning:not(.disabled):active,
.ui-button-warning:not(.loading):active {
background-color: #dc5652;
border-color: #dc5652; }
.ui-button.loading {
cursor: default;
-ms-pointer-events: none;
pointer-events: none;
color: transparent !important;
position: relative;
background-repeat: no-repeat;
background-position: center; }
.ui-button.loading:before {
content: '';
position: absolute;
width: 20px;
height: 20px;
left: 0;
top: 0;
right: 0;
bottom: 0;
margin: auto;
background: no-repeat center; }
.ui-button.loading:before,
input.ui-button.loading {
background-image: url(ui/images/Button/loading.gif); }
.ui-button-primary.loading:before,
input.ui-button-primary.loading {
background-image: url(ui/images/Button/loading-primary.gif); }
.ui-button-success.loading:before,
input.ui-button-success.loading {
background-image: url(ui/images/Button/loading-success.gif); }
.ui-button-warning.loading:before,
input.ui-button-warning.loading {
background-image: url(ui/images/Button/loading-warning.gif); }
/* IE10+ png loading */
.ui-button.loading::before {
background: url(ui/images/Button/loading-blue.png), linear-gradient(transparent, transparent);
background-size: 100%;
-webkit-animation: spin 0.8s linear infinite;
animation: spin 800ms linear infinite; }
.ui-button-primary.loading::before,
.ui-button-success.loading::before,
.ui-button-warning.loading::before {
background: url(ui/images/Button/loading-white.png), linear-gradient(transparent, transparent);
background-size: 100%; }
/* IE8 loading文字隐藏控制-背景色覆盖 */
@media \0screen\,screen\9 {
.ui-button.loading:before {
width: auto;
height: auto;
background-color: inherit; } }
/**
*
* @Input.css
* @author zhangxinxu
* @create 15-06-16
* @edit 17-06-13
*/
/*disabled X for IE */
input:not([type=search])::-ms-clear {
display: none; }
/* reset [type=search] ui */
[type=search] {
-webkit-appearance: none;
box-sizing: content-box; }
[type=search]::-webkit-search-cancel-button {
-webkit-appearance: none;
width: 20px;
height: 20px;
margin-right: -2px;
background: #b6bbc6 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiNGRkYiIGQ9Ik0wIDB2MjAwaDIwMFYwSDB6bTE1MS42MzYgMTM2LjQ4MmE3LjM3NCA3LjM3NCAwIDAgMSAwIDEwLjQyN2wtNS4yMTIgNS4yMWE3LjM3MiA3LjM3MiAwIDAgMS0xMC40MjYgMGwtMzYuNDgzLTM2LjQ4NUw2My4wMyAxNTIuMTJhNy4zNyA3LjM3IDAgMCAxLTEwLjQyNCAwbC01LjIxLTUuMjFhNy4zNyA3LjM3IDAgMCAxIDAtMTAuNDI4TDgzLjg4IDEwMCA0Ny4zOTYgNjMuNTE0YTcuMzY4IDcuMzY4IDAgMCAxIDAtMTAuNDI1bDUuMjEtNS4yMWE3LjM2OCA3LjM2OCAwIDAgMSAxMC40MjYgMEw5OS41MTYgODQuMzYgMTM2IDQ3Ljg4YTcuMzcgNy4zNyAwIDAgMSAxMC40MjUgMGw1LjIxMiA1LjIxYTcuMzcgNy4zNyAwIDAgMSAwIDEwLjQyNUwxMTUuMTUzIDEwMGwzNi40ODMgMzYuNDgyeiIvPjwvc3ZnPg==) no-repeat center;
background-size: 20px 20px;
-webkit-transition: background-color .15s;
transition: background-color .15s;
cursor: pointer; }
[type=search]::-webkit-search-cancel-button:hover {
background-color: #4c5161; }
input[type="search"]::-webkit-search-results-decoration {
display: none; }
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px #fff inset;
background-color: transparent; }
input[disabled], input[readonly] {
cursor: default; }
input.ui-input,
.ui-input > input {
height: 20px;
line-height: 20px;
padding: 9px 8px;
border: 1px solid #d0d0d5;
border-radius: 4px;
background-color: #fff;
font-size: 14px;
outline: none;
color: #4c5161;
-webkit-transition: border-color .15s, background-color .15s;
transition: border-color .15s, background-color .15s; }
.ui-input:hover,
.ui-input:hover > input {
border-color: #ababaf; }
.ui-input:focus,
.ui-input > input:focus {
border-color: #2486ff; }
span.ui-input {
display: inline-block; }
div.ui-input > input {
width: 100%;
height: 40px;
-ms-box-sizing: border-box;
box-sizing: border-box; }
/* input with count */
.ui-input-x {
position: relative;
padding: 0 56px 0 3px;
border-radius: 4px;
-ms-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden; }
.ui-input-x > input {
display: block;
width: 100%;
height: 20px;
line-height: 20px;
padding: 9px 0 9px;
border: 0 none;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
right: -6px;
color: #4c5161;
font-size: 14px;
outline: none;
background: none;
background-clip: content-box;
position: relative;
z-index: 1; }
.ui-input-x > .ui-input {
position: absolute;
border: 1px solid #d0d0d5;
border-radius: 4px;
background-color: #fff;
top: 0;
bottom: 0;
left: 0;
right: 0;
-webkit-transition: border-color .15s, background-color .15s;
transition: border-color .15s, background-color .15s; }
.ui-input-count {
line-height: 38px;
padding: 0 2px;
background-color: #fff;
color: #a2a9b6;
font-size: 12px;
white-space: nowrap;
position: absolute;
right: 8px;
top: 1px;
z-index: 1; }
.ui-input-x:hover > .ui-input {
border-color: #ababaf; }
/* 注意相邻位置,如果文本域前后位置发生变化,表单验证组件Validate.js 中 getTarget那里逻辑也要变化 */
.ui-input-x > input:focus ~ .ui-input {
border-color: #2486ff; }
.ui-input-x .ui-placeholder {
padding: 9px 7px;
z-index: 1; }
/* type=[search] with icon */
div.ui-search-input,
span.ui-search-input {
position: relative; }
.ui-search-input > input {
padding-left: 40px; }
.ui-icon-search {
position: absolute;
left: 3px;
top: 1px;
width: 20px;
height: 20px;
border: solid #fff;
border-width: 9px 8px;
-webkit-transition: background-color .2s;
transition: background-color .2s;
text-indent: -9em;
cursor: pointer;
overflow: hidden; }
.ui-search-input:hover .ui-icon-search {
background-color: #ababaf; }
.ui-search-input > input:focus ~ .ui-icon-search {
background-color: #2486ff; }
.ui-search-input > .error ~ .ui-icon-search,
.ui-search-input > .error:focus ~ .ui-icon-search {
background-color: #f4615c; }
/* IE使用png图片, 虽然IE9+支持SVG,但是貌似渲染太慢,会暴露色块 */
.ui-icon-search,
.ui-search-right > .ui-icon-search:after {
background: #b6bbc6 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPdJREFUeNpi+k9lwMRAZYDLwCNAHAnEMkDMDqUjoeL4AZqLfwNxFhAz4MEg+V+4vIxuYApUjBOIG4H4DhD/hNKNUHEGqDqCBh6B8rmA+CgO9Ueh8gxQ9XgjZSqUrgBiKxwhBBIvg7KnEApDcajNdwikjLtQdVKEXPgSSssSiEcZKP2KULIRh9KPCRj4FEqLEjLQEUovJ2DgYihtRygMD5MYy4eJSYfZRKZDEE4C4n+EDPxFRE5hwGcoAw6vgbwTAU0azFA6BohPQQ3BaSgDGSXUXyyG5lNiIDZDhWESLBQUe7OBmA+IFwBxMUyCEexMOhSwZAOAAAMAVJM+EQ2rrOoAAAAASUVORK5CYII=) no-repeat; }
/* IE13+和其他现代浏览器使用SVG */
@supports (display: none) {
.ui-icon-search,
.ui-search-right > .ui-icon-search:after {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTg0LjYyNSAzOS42MjVjLTI0Ljg1NCAwLTQ1IDIwLjE0Ni00NSA0NC45OTUgMCAyNC44NTggMjAuMTQ2IDQ1IDQ1IDQ1czQ1LTIwLjE0MiA0NS00NWMwLTI0Ljg1LTIwLjE0Ni00NC45OTUtNDUtNDQuOTk1eiIvPjxwYXRoIGQ9Ik0yMC42MjQgMEgwdjIwMGgyMDBWMEgyMC42MjR6TTE2NS4zNSAxNzkuMzQ2aC0uMDFjLTMuODQgMC03LjY3OC0xLjQ2Ni0xMC42MDUtNC4zOTRsLTM1LjE0Ni0zNS4xNDZjLTkuOTAzIDYuMTEzLTIxLjQ2NSA5LjgyMy0zMy45NjUgOS44MjMtMzUuODk4IDAtNjUtMjkuMTEtNjUtNjUuMDEgMC0zNS44OTggMjkuMTAyLTY0Ljk5NSA2NS02NC45OTUgMzUuODk3IDAgNjUgMjkuMDk3IDY1IDY0Ljk5NSAwIDEyLjUtMy43IDI0LjA2My05LjgxMyAzMy45NzRsMzUuMTQ2IDM1LjE0NmExNC45NSAxNC45NSAwIDAgMSA0LjM4OCAxMC42MDRjLS4wMDIgMy44NDMtMTEuMTU4IDE1LTE0Ljk5NiAxNS4wMDJ6Ii8+PC9nPjwvc3ZnPg==);
background-size: 20px 20px; } }
/* type=[search] icon right */
.ui-search-right:after {
display: inline-block;
content: '';
height: 25px; }
div.ui-search-right {
-ms-box-sizing: border-box;
box-sizing: border-box;
padding-right: 40px;
overflow: hidden; }
.ui-search-right > input {
float: left;
padding-left: 8px;
padding-right: 0;
border-width: 1px 0 1px 1px;
border-color: transparent !important;
background: none;
position: relative;
z-index: 1; }
.ui-search-right > .ui-icon-search {
position: static;
float: left;
margin-top: 1px;
margin-right: 1px; }
div.ui-search-right > .ui-icon-search {
margin-right: -40px; }
.ui-search-right > .ui-icon-search:before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border: 1px solid #d0d0d5;
background-color: #fff;
border-radius: 4px;
-webkit-transition: border-color .15s;
transition: border-color .15s; }
.ui-search-right > .ui-icon-search:after {
content: '';
position: absolute;
top: 10px;
right: 10px;
width: 20px;
height: 20px;
-webkit-transition: background-color .2s;
transition: background-color .2s; }
.ui-search-right:hover .ui-icon-search:before {
border-color: #ababaf; }
.ui-search-right:hover .ui-icon-search:after {
background-color: #ababaf; }
.ui-search-right > input:focus ~ .ui-icon-search:before {
border-color: #2486ff; }
.ui-search-right > input:focus ~ .ui-icon-search:after {
background-color: #2486ff; }
.ui-search-right .ui-placeholder {
z-index: 1; }
span.ui-search-right > .ui-placeholder {
margin-left: 0 !important;
left: 0;
*left: 9px; }
/* disabled */
input.ui-input[disabled],
.ui-input > input[disabled] {
background-color: #f7f9fa; }
.ui-input[disabled]:hover,
.ui-input > input[disabled]:hover,
.ui-input[readonly]:hover,
.ui-input > input[readonly]:hover,
.ui-input[readonly]:focus,
.ui-input > input[readonly]:focus {
border-color: #d0d0d5; }
/* error */
.ui-input.error,
.ui-input > .error {
border-color: #f4615c !important; }
/**
*
* @Table.css
* @author xinxuzhang
* @create 15-06-24
*
**/
.ui-table {
width: 100%;
line-height: 21px;
table-layout: fixed;
border-spacing: 0;
border-collapse: collapse\9;
font-size: 14px;
box-shadow: 0 1px 3px rgba(0, 0, 1, 0.2);
border: 1px solid #d0d0d5;
border: 0 rgba(1, 2, 3, 0); }
.ui-table thead td,
.ui-table th {
line-height: 50px;
background-color: #f7f9fa;
text-align: left;
font-weight: normal;
font-style: normal;
margin: 0; }
.ui-table tbody td {
padding-top: 14px;
padding-bottom: 14px;
background-color: #fff;
border-bottom: 1px solid #ededed; }
.ui-table td,
.ui-table th {
padding: 0 20px; }
.ui-table tr {
cursor: default; }
.ui-table tr:hover td {
background-color: #f0f7ff; }
.ui-table tr.selected td {
background-color: #e0f0ff; }
.ui-table tr:last-child td {
padding-bottom: 15px;
border-bottom: 0; }
.ui-table ~ .ui-loading {
height: 300px; }
/**
*
* @Range.css
* @author zhangxinxu
* @create 15-07-20
* @edit 17-06-16 keyboard support
**/
input[type=range] {
visibility: hidden; }
.ui-range-input {
height: 20px;
margin: 0;
padding: 0;
visibility: hidden;
vertical-align: middle; }
div.ui-range-input > input {
width: 100%; }
.ui-range {
display: inline;
/* 重要,不会换行 */
position: absolute;
visibility: visible; }
.ui-range-track {
height: 4px;
margin-top: 8px;
border-radius: 10px;
background-color: #a2a9b6;
border-left: 0 solid #2486ff;
text-align: left; }
.ui-range-thumb {
position: absolute;
width: 16px;
height: 16px;
margin: -7px 0 0 -9px;
border-radius: 20px;
border: 1px solid #d0d0d5;
background-color: #fff;
border: 0 rgba(1, 1, 1, 0);
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.25);
-webkit-transition: border-color .15s, background-color .15s;
transition: border-color .15s, background-color .15s;
cursor: pointer; }
.ui-range-thumb:hover {
border-color: #ababaf; }
.ui-range-thumb.active {
background-color: #f7f9fa;
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25); }
/**
*
* @Color.css
* @author xinxuzhang
* @create 16-06-03
**/
input[type='color'] {
opacity: 0;
filter: alpha(opacity=0); }
.ui-color-input {
width: 40px;
height: 40px;
margin: 0;
padding: 0;
border: 0 none;
opacity: 0;
filter: alpha(opacity=0);
vertical-align: middle;
position: relative;
z-index: -1; }
.ui-color-track {
display: inline;
/* 重要,不会换行 */
position: absolute;
width: 40px;
height: 40px;
border-radius: 4px;
background-color: #a2a9b6;
background-color: rgba(25, 28, 34, 0.2);
cursor: pointer; }
.ui-color-thumb {
display: block;
margin: 7px auto;
width: 24px;
height: 24px;
border: 1px solid #f7f9fa;
border-radius: 2px;
background-color: #4c5161;
background-clip: content-box;
-webkit-transition: background-color .25s;
transition: background-color .25s; }
.ui-color-container {
display: none;
position: absolute;
width: 245px;
padding: 10px;
border-radius: 4px;
background-color: #E0E3E3;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
font-size: 14px;
-webkit-animation: fadeIn .2s;
animation: fadeIn .2s;
z-index: 21; }
.ui-color-switch {
display: none;
position: absolute;
top: 12px;
right: 12px;
color: #2486ff;
text-decoration: none; }
:root .ui-color-switch {
display: inline; }
.ui-color-current {
padding-bottom: 20px; }
.ui-color-current-square {
display: inline-block;
width: 20px;
height: 20px;
margin-right: 5px;
background-color: currentColor;
border-radius: 3px;
border: 2px solid #fff;
vertical-align: middle; }
.ui-color-current-input {
width: 72px;
border: 0 none;
background-color: #fff;
height: 18px;
line-height: 18px;
padding: 3px 5px;
border-radius: 3px;
margin-left: 5px;
vertical-align: middle; }
.ui-color-body {
min-height: 100px; }
.ui-color-basic {
overflow: hidden; }
.ui-color-lump-group {
width: 72px;
float: left; }
.ui-color-lump {
display: block;
width: 11px;
height: 11px;
margin: 0 1px 1px 0;
-ms-box-sizing: border-box;
box-sizing: border-box;
background-color: currentColor; }
.ui-color-lump:hover,
.ui-color-basic a.active {
border: 1px solid #fff;
*width: 9px;
*height: 9px; }
.ui-color-basic-l {
width: 12px;
float: left;
overflow: hidden; }
.ui-color-basic-r {
margin-left: 25px;
overflow: hidden; }
.ui-color-basic-r .ui-color-lump {
float: left; }
.ui-color-more {
display: none;
height: 100px; }
.ui-color-more svg {
width: 100%;
height: 100%; }
.ui-color-more-l {
width: 180px;
height: inherit;
float: left;
position: relative; }
.ui-color-cover-white {
background-color: rgba(0, 0, 0, 0);
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), #808080);
filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#00808080,endcolorstr=#FF808080,gradientType=0);
cursor: crosshair; }
.ui-color-circle {
position: absolute;
left: 0;
top: 0;
width: 16px;
height: 16px;
border: 3px solid #fff;
border-radius: 20px;
background-color: #f00;
background-clip: content-box;
-webkit-transform: translate(-11px, -11px);
-ms-transform: translate(-11px, -11px);
transform: translate(-11px, -11px); }
.ui-color-more-r {
height: inherit;
float: right;
padding-right: 8px;
position: relative; }
.ui-color-more-fill {
display: block;
width: 16px;
height: 100%;
background-color: #f00; }
.ui-color-cover-white,
.ui-color-more-cover {
position: absolute;
left: 0;
top: 0;
width: inherit;
height: 100px; }
.ui-color-more-cover {
background-color: rgba(0, 0, 0, 0.01); }
.ui-color-more-arrow {
position: absolute;
right: 0;
top: 100%; }
.ui-color-more-arrow::before {
content: '';
position: absolute;
right: 0;
top: -5px;
width: 0;
height: 0;
border-width: 5px 6px;
border-style: solid;
border-color: transparent;
border-right-color: #36383f;
overflow: hidden; }
.ui-color-footer {
margin-top: 15px;
padding-bottom: 5px;
text-align: right; }
.ui-color-btn-cancel,
.ui-color-btn-ensure {
display: inline-block;
width: 80px;
line-height: 20px;
padding-top: 8px;
padding-bottom: 8px;
margin-left: 15px;
border-radius: 4px;
text-align: center;
font-size: 14px;
text-decoration: none;
cursor: pointer; }
.ui-color-btn-cancel {
border: 1px solid #d0d0d5;
background-color: #fff;
color: #4c5161; }
.ui-color-btn-cancel:hover {
border-color: #ababaf;
color: #4c5161; }
.ui-color-btn-ensure {
background-color: #2486ff;
color: #fff; }
.ui-color-btn-ensure:hover {
background-color: #0160d5;
color: #fff; }
/**
*
* @Textarea.css
* @author xinxuzhang
* @create 15-06-17
**/
textarea {
font-family: inherit; }
textarea[rows='5'] {
height: 100px; }
textarea[rows='6'] {
height: 120px; }
textarea.ui-textarea,
.ui-textarea > textarea {
line-height: 20px;
padding: 9px 8px;
border: 1px solid #d0d0d5;
border-radius: 4px;
background-color: #fff;
outline: none;
color: #4c5161;
font-size: 14px;
-webkit-transition: border-color .15s, background-color .15s;
transition: border-color .15s, background-color .15s;
word-break: break-all;
vertical-align: top;
resize: none;
overflow: auto; }
div.ui-textarea > textarea {
width: 100%;
-ms-box-sizing: border-box;
box-sizing: border-box; }
/* hover */
.ui-textarea:hover,
.ui-textarea > textarea:hover {
border-color: #ababaf; }
/* focus */
.ui-textarea:focus,
.ui-textarea > textarea:focus {
border-color: #2486ff; }
/* textarea with count */
.ui-textarea-x {
position: relative;
padding: 2px 9px 32px 3px;
border-radius: 4px;
-ms-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden; }
.ui-textarea-x > textarea,
.ui-textarea-x > .textarea {
display: block;
width: 100%;
line-height: 20px;
border: 0 none;
padding: 7px 0 9px;
right: -6px;
color: #4c5161;
font-size: 14px;
outline: none;
background: none;
word-break: break-all;
overflow: auto;
resize: none;
position: relative;
z-index: 1; }
.ui-textarea-x > .ui-textarea {
position: absolute;
border: 1px solid #d0d0d5;
border-radius: 4px;
background-color: #fff;
top: 0;
bottom: 0;
left: 0;
right: 0;
-webkit-transition: border-color .15s, background-color .15s;
transition: border-color .15s, background-color .15s; }
.ui-textarea-count {
position: absolute;
left: 8px;
right: 10px;
bottom: 0;
line-height: 32px;
color: #a2a9b6;
font-size: 12px;
text-align: right;
z-index: 1; }
.ui-textarea-x:hover > .ui-textarea {
border-color: #ababaf; }
/* 注意相邻位置,如果文本域前后位置发生变化,表单验证组件Validate.js 中 getTarget那里逻辑也要变化 */
.ui-textarea-x > textarea:focus ~ .ui-textarea,
.ui-textarea-x > .textarea:focus ~ .ui-textarea {
border-color: #2486ff; }
.ui-textarea-x .ui-placeholder {
padding: 7px !important;
z-index: 1; }
/* disabled */
.ui-textarea[disabled],
.ui-textarea > textarea[disabled] {
background-color: #f7f9fa; }
.ui-textarea[disabled]:hover,
.ui-textarea > textarea[disabled]:hover,
.ui-textarea[readonly]:hover,
.ui-textarea > textarea[readonly]:hover,
.ui-textarea[readonly]:focus,
.ui-textarea > textarea[readonly]:focus {
border-color: #d0d0d5; }
textarea[readonly],
textarea[disabled],
textarea.disabled {
resize: none; }
/* error */
.ui-textarea.error,
.ui-textarea > .error {
border-color: #f4615c !important; }
/**
*
* @Tab.css
* @author xinxuzhang
* @create 15-06-12
*/
/* tabs */
.ui-tab-tabs {
height: 40px;
line-height: 40px;
border-bottom: 1px solid #d0d0d5;
position: relative; }
.ui-tab-tab {
float: left;
margin-right: 50px;
font-size: 16px;
text-align: center;
color: #4c5161;
text-decoration: none;
overflow: hidden;
cursor: pointer; }
.ui-tab-tab a {
display: block;
color: #4c5161; }
.ui-tab-tab:hover,
.ui-tab-tab:hover a {
color: #2486ff; }
.ui-tab-tabs .checked,
.ui-tab-tabs .checked a,
.ui-tab-tabs .checked:hover {
line-height: 36px;
padding-top: 2px;
margin-bottom: -1px;
border-bottom: 3px solid;
color: #2486ff;
cursor: default; }
.ui-tab-line {
display: none;
position: absolute;
bottom: -1px;
left: 0;
width: 0;
border-bottom: 3px solid #2486ff;
-webkit-transition: all .35s;
transition: all .35s; }
.ui-tab-tabs > .ui-tab-line ~ .ui-tab-tab {
line-height: 40px;
padding-top: 0;
margin-bottom: 0;
border-bottom: 0; }
/* contents */
.ui-tab-contents {
margin-top: 30px; }
.ui-tab-content {
display: none; }
.ui-tab-content.checked {
display: block; }
/* placeholder */
::-webkit-input-placeholder {
-webkit-transition: opacity .15s;
color: #a2a9b6;
line-height: inherit;
font-size: 14px; }
:focus::-webkit-input-placeholder {
opacity: 0.38; }
::-moz-placeholder {
transition: opacity .15s;
color: #a2a9b6;
font-size: 14px; }
:focus::-moz-placeholder {
opacity: 0.38; }
:-ms-input-placeholder {
transition: opacity .15s;
color: #a2a9b6 !important;
font-size: 14px; }
:focus:-ms-input-placeholder {
opacity: 0.38; }
.ui-placeholder {
display: inline;
line-height: 20px;
position: absolute;
padding: 9px;
color: #a2a9b6;
font-size: 14px; }
.ui-input > .ui-placeholder {
*padding: 0; }
input + .ui-placeholder {
white-space: nowrap; }
:focus + .ui-placeholder,
:focus + div > .ui-placeholder {
color: #dbe0e5; }
/**
*
* @Switch.css
* @author zhangxinxu
* @create 15-06-18
* @edit 17-06-14 keyboard accessible
**/
.ui-switch {
display: inline-block;
width: 44px;
height: 26px;
border: 2px solid;
border-radius: 26px;
background-color: currentColor;
box-sizing: border-box;
color: #b6bbc6;
-webkit-transition: all .2s;
transition: all .2s;
cursor: pointer; }
.ui-switch::before {
content: '';
display: block;
width: 22px;
height: 22px;
border-radius: 50%;
background-color: #fff;
-webkit-transition: margin-left .2s;
transition: margin-left .2s; }
:active + .ui-switch::before {
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1); }
:checked + .ui-switch {
color: #2486ff; }
:checked + .ui-switch::before {
margin-left: 18px; }
:disabled + .ui-switch {
opacity: .38;
cursor: default; }
:focus + .ui-switch,
.ui-switch:hover {
color: #a2a9b6; }
:checked:focus + .ui-switch,
:checked + .ui-switch:hover {
color: #0057c3; }
:disabled + .ui-switch:hover {
color: #b6bbc6; }
:checked:disabled + .ui-switch:hover {
color: #2486ff; }
/*IE7, IE8 使用图片作UI*/
@media \0screen\,screen\9 {
.ui-switch {
border: 0 none;
background: url(ui/images/Switch/switch.png) no-repeat; }
[checked] + .ui-switch {
background-position: 0 -30px; }
[defaultChecked] + .ui-switch {
background-position: 0 -30px; }
[disabled] + .ui-switch {
filter: alpha(opacity=38);
cursor: default; } }
/**
*
* @Dialog.css
* @author xinxuzhang
* @create 15-06-18
*
**/
.ui-dialog-container {
display: none;
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 100%;
padding: 0;
background-color: rgba(25, 28, 34, 0.88);
background-image: url(about:blank);
text-align: center;
color: #4c5161;
font-size: 14px;
overflow: auto;
filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#CC191c22,endcolorstr=#CC191c22);
z-index: 19; }
.ui-dialog-animation {
-webkit-animation: fadeIn .2s both;
animation: fadeIn .2s both; }
:root .ui-dialog-container {
background-image: none;
filter: none; }
/* 多个弹框出现的时候,隐藏后面弹框的背景 */
.ui-dialog-container + .ui-dialog-container {
-webkit-transition: background-color .2s;
transition: background-color .2s;
background-color: transparent;
filter: none; }
.ui-dialog-container:after,
.ui-dialog-after {
content: '';
display: inline-block;
width: 0;
height: 90%;
vertical-align: middle; }
.ui-dialog {
display: inline-block;
*display: inline;
*zoom: 1;
margin-top: 20px;
margin-bottom: 30px;
text-align: left;
min-width: 400px;
border-radius: 2px;
background-color: #f7f9fa;
vertical-align: middle;
outline: none;
position: relative; }
.ui-dialog-animation .ui-dialog {
-webkit-animation: tinydown .25s;
animation: tinydown .25s; }
.ui-dialog-title {
line-height: 30px;
padding: 15px 50px 0 25px;
font-weight: bold;
font-size: 14px;
color: #4c5161;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default; }
.ui-dialog-close {
position: absolute;
top: 18px;
right: 17px;
width: 20px;
height: 20px;
background: #b6bbc6 url(ui/images/Dialog/close.png) no-repeat;
background: none, none;
-webkit-transition: fill .2s;
transition: fill .2s;
fill: #b6bbc6;
z-index: 1; }
.ui-dialog-close > svg {
width: 100%;
height: 100%; }
.ui-dialog-close:hover {
background-color: #4c5161;
background-color: rgba(0, 0, 0, 0);
fill: #4c5161; }
.ui-dialog-body {
min-height: 60px;
padding: 10px 25px 20px;
*zoom: 1; }
.ui-dialog-body:after {
content: '';
display: table;
clear: both; }
.ui-dialog-footer {
padding: 3px 25px 25px;
margin-top: -3px;
text-align: right; }
:root .ui-dialog-footer {
max-height: 40px;
opacity: 1;
-webkit-transition: max-height .2s, opacity .2s .1s;
transition: max-height .2s, opacity .2s .1s;
overflow: hidden; }
:root .ui-dialog-footer:empty {
max-height: 0;
opacity: 0; }
.ui-dialog-footer .ui-button {
margin-left: 15px; }
.ui-dialog-footer .ui-button:first-child {
margin-left: 0; }
.ui-dialog-auto {
max-height: 1000px;
/*min-height: 400px;*/
position: absolute;
top: 20px;
bottom: 30px;
left: 50%;
margin: auto 0 auto -300px; }
.ui-dialog-auto .ui-dialog-footer {
position: absolute;
left: 0;
bottom: 0;
right: 0; }
.ui-dialog-auto .ui-dialog-body {
position: absolute;
left: 0;
right: 0;
top: 50px;
bottom: 90px;
padding: 0 0 0 25px;
overflow: auto; }
.ui-dialog-warning {
background: url(ui/images/Dialog/warning.png);
background: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQwMCIgaGVpZ2h0PSI0MDAiIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj4NCjxwYXRoIGZpbGw9IiNGNDYxNUMiIGQ9Ik00MDAuNSwyMDAuNWMwLDExMC40NTctODkuNTQyLDE5OS45OTktMTk5Ljk5OSwxOTkuOTk5DQoJQzkwLjA0Myw0MDAuNDk5LDAuNSwzMTAuOTU3LDAuNSwyMDAuNSBNMC41LDIwMC41YzAtMTEwLjQ1OCw4OS41NDMtMjAwLDIwMC4wMDEtMjAwYzExMC40NTcsMCwxOTkuOTk5LDg5LjU0MiwxOTkuOTk5LDIwMCIvPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTE5NS41MDMsMTAwLjUwM2gxMGMyLjc2MSwwLDUsMi4yMzksNSw1djE1MGMwLDIuNzYxLTIuMjM5LDUtNSw1DQoJaC0xMGMtMi43NjEsMC01LTIuMjM5LTUtNXYtMTUwQzE5MC41MDMsMTAyLjc0MiwxOTIuNzQyLDEwMC41MDMsMTk1LjUwMywxMDAuNTAzeiIvPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTE5NS41MDMsMjgwLjUwMmgxMGMyLjc2MSwwLDUsMi4yMzgsNSw0Ljk5OXYyMC4wMDINCgljMCwyLjc2MS0yLjIzOSw1LTUsNWgtMTBjLTIuNzYxLDAtNS0yLjIzOS01LTV2LTIwLjAwMkMxOTAuNTAzLDI4Mi43NCwxOTIuNzQyLDI4MC41MDIsMTk1LjUwMywyODAuNTAyeiIvPg0KPC9zdmc+DQo=), none; }
.ui-dialog-remind {
background: url(ui/images/Dialog/remind.png);
background: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQwMCIgaGVpZ2h0PSI0MDAiIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj4NCjxwYXRoIGZpbGw9IiMwMEE1RTAiIGQ9Ik0yMDAuNTAxLDAuNWMxMTAuNDU3LDAsMTk5Ljk5OSw4OS41NDIsMTk5Ljk5OSwyMDANCgljMCwxMTAuNDU3LTg5LjU0MiwxOTkuOTk5LTE5OS45OTksMTk5Ljk5OUM5MC4wNDMsNDAwLjQ5OSwwLjUsMzEwLjk1NywwLjUsMjAwLjVDMC41LDkwLjA0Miw5MC4wNDMsMC41LDIwMC41MDEsMC41eiIvPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTE5NS41MDIsMTUwLjUwM2gxMC4wMDFjMi43NjEsMCw1LDIuMjM4LDUsNC45OTl2MTUwDQoJYzAsMi43NjItMi4yMzksNS01LDVoLTEwLjAwMWMtMi43NjIsMC01LTIuMjM4LTUtNXYtMTUwQzE5MC41MDIsMTUyLjc0MSwxOTIuNzQsMTUwLjUwMywxOTUuNTAyLDE1MC41MDN6Ii8+DQo8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTk1LjUwMiwxMDAuNTAzaDEwLjAwMWMyLjc2MSwwLDUsMi4yMzgsNSw0Ljk5OXYyMC4wMDINCgljMCwyLjc2MS0yLjIzOSw1LTUsNWgtMTAuMDAxYy0yLjc2MiwwLTUtMi4yMzktNS01di0yMC4wMDJDMTkwLjUwMiwxMDIuNzQxLDE5Mi43NCwxMDAuNTAzLDE5NS41MDIsMTAwLjUwM3oiLz4NCjwvc3ZnPg0K), none; }
.ui-dialog-success {
background: url(ui/images/Dialog/success.png);
background: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQwMCIgaGVpZ2h0PSI0MDAiIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj4NCjxwYXRoIGZpbGw9IiMwMWNmOTciIGQ9Ik00MDAuNSwyMDAuNWMwLDExMC40NTctODkuNTQyLDE5OS45OTktMTk5Ljk5OSwxOTkuOTk5DQoJQzkwLjA0Myw0MDAuNDk5LDAuNSwzMTAuOTU3LDAuNSwyMDAuNSBNMC41LDIwMC41YzAtMTEwLjQ1OCw4OS41NDMtMjAwLDIwMC4wMDEtMjAwYzExMC40NTcsMCwxOTkuOTk5LDg5LjU0MiwxOTkuOTk5LDIwMCIvPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTI4Ni4zOTgsMTQ3LjEzMmMtMS42NTQtMS4xMzQtMy4zMDYtMi4zOTUtNi44MDEtNC4yOTNjLTQuMjcxLTIuMzM2LTkuMjU5LDIuNjI0LTEyLjM5MSw2LjgxNg0KCWwtNzcuNjQxLDEwMi4yNzlsLTQ3LjkxNi02My41MjJjLTMuMTQ0LTQuMTg4LTQuOTAyLTguNDY4LTEzLjA3My0xLjg1OWMtMy4wOTcsMi4xMjMsMC4yMzQtMC4zNjEtMy45NjksMi44ODENCgljLTMuODg0LDMuMDY0LTQuMTA1LDguNTk4LTAuOTcxLDEyLjc3NGMwLDAsMzguNjQxLDU1LjgxNyw0NS44ODMsNjUuMDc0YzEwLjYyNSwxMy4yMiwyOS45NDQsMTIuNTcsNDAuMDg3LDANCgljNy40ODMtOS40NzMsNzcuNzU3LTEwNy41ODQsNzcuNzU3LTEwNy41ODRDMjkwLjUwMywxNTUuNTA0LDI5MC4yNjEsMTUwLjAwMSwyODYuMzk4LDE0Ny4xMzJ6Ii8+DQo8L3N2Zz4NCg==), none; }
.ui-dialog-warning,
.ui-dialog-remind,
.ui-dialog-success {
max-width: 340px;
min-height: 40px;
padding: 40px 0 20px 60px;
background-repeat: no-repeat;
background-position: 0 30px;
background-size: 40px 40px;
font-size: 16px;
word-wrap: break-word;
overflow: hidden; }
.ui-dialog-warning > h6,
.ui-dialog-remind > h6,
.ui-dialog-success > h6 {
font-size: 14px;
margin-top: -10px;
margin-bottom: 5px; }
.ui-dialog-warning > h6 ~ p,
.ui-dialog-remind > h6 ~ p,
.ui-dialog-success > h6 ~ p {
font-size: 14px; }
.ui-dialog-warning > p,
.ui-dialog-remind > p,
.ui-dialog-success > p {
margin: 0; }
.ui-dialog-loading .ui-dialog-title,
.ui-dialog-loading .ui-dialog-close,
.ui-dialog-loading .ui-dialog-footer {
visibility: hidden; }
.ui-loading.ui-dialog-body {
height: 200px;
min-width: 400px;
*position: static;
overflow: hidden; }
/**
*
* @Loading.css
* @author xinxuzhang
* @create 15-06-23
*
**/
/*
* 结构如下:
* <div class='ui-loading'>
<i class='ui-loading-icon'> <!-- 使用s标签表示小尺寸的loading图标 -->
*
*/
.ui-loading {
position: relative; }
.ui-loading.ui-loading-animation {
-webkit-animation: fadeIn .5s both;
animation: fadeIn .5s both; }
.ui-loading-icon {
display: inline-block;
width: 30px;
height: 30px;
background: url(ui/images/Loading/loading-blue.gif);
/* IE10+ */
background: url(ui/images/Loading/loading-blue.png), linear-gradient(transparent, transparent);
-webkit-animation: spin 1s linear infinite;
animation: spin 1s linear infinite; }
.ui-loading > .ui-loading-icon {
display: block;
position: absolute;
left: 50%;
top: 50%;
margin: -15px 0 0 -15px; }
s.ui-loading-icon {
width: 20px;
height: 20px;
background: url(ui/images/Loading/loading-blue-s.gif);
background: url(ui/images/Loading/loading-blue-s.png), linear-gradient(transparent, transparent); }
.ui-loading > s.ui-loading-icon {
margin: -10px 0 0 -10px; }
.ui-loading-primary {
background-color: #2486ff; }
.ui-loading-primary > .ui-loading-icon {
background: url(ui/images/Loading/loading-white.gif);
background: url(ui/images/Loading/loading-white.png), linear-gradient(transparent, transparent); }
.ui-loading-primary > s.ui-loading-icon {
background: url(ui/images/Loading/loading-white-s.gif);
background: url(ui/images/Loading/loading-white-s.png), linear-gradient(transparent, transparent); }
/* 更现代浏览器纯CSS生成 */
@supports (mask: none) or (-webkit-mask: none) {
.ui-loading-icon {
position: relative;
border-radius: 50%;
-webkit-mask: radial-gradient(transparent 12px, #000 13px);
mask: radial-gradient(transparent 12px, #000 13px);
overflow: hidden; }
s.ui-loading-icon {
-webkit-mask: radial-gradient(transparent 8px, #000 9px);
mask: radial-gradient(transparent 8px, #000 9px); }
.ui-loading-icon,
s.ui-loading-icon,
.ui-loading-primary > .ui-loading-icon,
.ui-loading-primary > s.ui-loading-icon {
background: none; }
.ui-loading-icon::before,
.ui-loading-icon::after {
content: '';
position: absolute;
width: 50%;
height: 100%;
left: 50%;
top: 0; }
.ui-loading-icon::after {
left: 0;
background: linear-gradient(to top, #2486ff, transparent 90%); }
.ui-loading-icon::before {
background-color: #2486ff; }
.ui-loading-primary > .ui-loading-icon::before {
background-color: #fff; }
.ui-loading-primary > .ui-loading-icon::after {
background: linear-gradient(to top, #fff, transparent 90%); } }
/**
*
* @Tips.css
* @author xinxuzhang
* @create 15-06-25
*
**/
.ui-tips[data-title] {
text-indent: 0;
position: relative;
overflow: visible; }
.ui-tips[data-title]::before,
.ui-tips[data-title]::after {
position: absolute;
left: 50%;
-ms-pointer-events: none;
pointer-events: none;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
visibility: hidden; }
.ui-tips[data-title]::before {
content: attr(data-title);
top: -42px;
max-width: 250px;
padding: 6px 10px;
line-height: 18px;
border-radius: 3px;
background-color: #373c42;
text-align: left;
color: #fff;
font-size: 12px;
font-style: normal;
white-space: nowrap; }
.ui-tips[data-title]::after {
content: '';
width: 0;
height: 0;
overflow: hidden;
border: 6px solid transparent;
border-top-color: #373c42;
top: -12px; }
.ui-tips[data-title]:hover::before,
.ui-tips[data-title]:hover::after,
.ui-tips[data-title]:focus::before,
.ui-tips[data-title]:focus::after {
-webkit-transition: visibility .1s .1s;
transition: visibility .1s .1s;
visibility: visible; }
.ui-tips[data-title]:hover {
outline: none; }
/* 朝下的情况 */
.reverse.ui-tips[data-title]::before {
top: auto;
bottom: -42px; }
.reverse.ui-tips[data-title]::after {
border-color: transparent transparent #373c42;
top: auto;
bottom: -12px; }
/* 下面是 IE7 IE8 玩耍的代码 */
.ui-tips .ui-tips-before,
.ui-tips .ui-tips-after {
display: none;
position: absolute;
left: 50%;
white-space: nowrap; }
.ui-tips-before {
top: -42px;
max-width: 250px;
padding: 6px 10px;
line-height: 18px;
border-radius: 3px;
background-color: #373c42;
color: #fff;
font-size: 12px;
font-style: normal;
text-align: left; }
.ui-tips-after {
width: 0;
height: 0;
overflow: hidden;
border: 6px solid transparent;
border-top-color: #373c42;
top: -12px; }
.ui-tips:hover .ui-tips-before,
.ui-tips:hover .ui-tips-after,
.ui-tips:focus .ui-tips-before,
.ui-tips:focus .ui-tips-after {
display: block; }
/* 下面是JS创建的tips效果 */
.ui-tips-x {
text-align: center;
position: absolute;
z-index: 99; }
.ui-tips-x .ui-tips-before {
display: block; }
.ui-tips-x .ui-tips-after {
display: block;
*display: inline-block;
margin: auto;
position: relative;
top: 0;
left: 0; }
/* 右侧展示的tips效果 */
.ui-tips-rotate {
margin-left: 10px; }
.ui-tips-rotate .ui-tips-before {
max-width: 600px; }
.ui-tips-rotate .ui-tips-after {
border-color: transparent #373c42 transparent transparent;
position: absolute;
left: -12px;
top: 50%;
margin-top: -6px; }
/* 朝下展示的tips效果 */
.ui-tips-reverse {
margin-top: 10px; }
.ui-tips-reverse .ui-tips-after {
position: absolute;
border-color: transparent transparent #373c42;
top: -12px;
left: 50%;
margin-left: -6px; }
/* 错误提示的tips效果 */
.ui-tips-error:not(.none) {
-webkit-animation: fadeIn .2s, falldown .2s;
animation: fadeIn .2s, falldown .2s; }
.ui-tips-error .ui-tips-before {
background-color: #f4615c; }
.ui-tips-error .ui-tips-after {
border-top-color: #f4615c; }
/**
*
* @LightTip.css
* @author xinxuzhang
* @create 15-06-25
* @edit 17-06-19
**/
.ui-lightip {
position: fixed;
top: 0;
z-index: 100;
min-width: 400px;
height: 20px;
line-height: 20px;
padding: 15px;
border-radius: 2px;
color: #fff;
text-align: center;
font-size: 14px;
outline: none; }
.ui-lightip-success {
background-color: #01cf97; }
.ui-lightip-error {
background-color: #f4615c; }
.ui-lightip-icon {
display: inline-block;
width: 20px;
height: 20px;
margin-right: 7px;
background: url(ui/images/LightTip/icon-lightip.png); }
:root .ui-lightip-icon {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iNDAwIiB2aWV3Qm94PSIwIDAgMjAwIDQwMCI+DQo8Zz4NCgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPS