UNPKG

zent

Version:

一套前端设计语言和基于React的实现

2,264 lines (1,774 loc) 77.8 kB
.zent-alert { box-sizing: border-box; width: 100%; font-size: 12px; height: 1px; } /* make child height: 100% work */ .zent-alert .zent-alert-content-wrapper { height: 100%; position: relative; overflow: hidden; /* trigger a BFC */ } .zent-alert .zent-alert-content { position: absolute; top: 50%; -webkit-transform: translate(0, -50%); transform: translate(0, -50%); } .zent-alert.zent-alert-closable .zent-alert-close-wrapper { float: right; margin-left: 15px; height: 100%; width: 14px; position: relative; } .zent-alert.zent-alert-closable .zent-alert-close-btn { width: 14px; position: absolute; top: 50%; -webkit-transform: translate(0, -50%); transform: translate(0, -50%); font-family: sans-serif; font-size: 18px; text-align: center; vertical-align: middle; display: inline-block; cursor: pointer; color: #999; } .zent-alert.zent-alert-size-normal { min-height: 44px; padding: 0 15px; } .zent-alert.zent-alert-size-large { min-height: 60px; padding: 0 15px 0 30px; } .zent-alert.zent-alert-border-rounded { border-radius: 4px; } .zent-alert.zent-alert-style-info { background: #F8F8F8; color: #333; } .zent-alert.zent-alert-style-warning { background: #FFF7CC; border: 1px solid #FDEEB2; color: #333333; } .zent-alert.zent-alert-style-danger { background: #FF4343; border: 1px solid #E8393A; color: #fff; } .zent-alert.zent-alert-style-danger .zent-alert-close-btn { color: #fff; } /** * zent-breadcrumb: * `.zent-breadcrumb` - 面包屑 * * @example * <div class="zent-breadcrumb"> * <a href="#">微页面</a> * <span>发布页面</span> * </div> * */ .zent-breadcrumb { color: #333; font-size: 0; line-height: 0; padding: 15px 0; } .zent-breadcrumb span, .zent-breadcrumb a { font-size: 14px; line-height: 1em; display: inline-block; vertical-align: middle; text-decoration: none } .zent-breadcrumb span::after, .zent-breadcrumb a::after { content: "/"; display: inline-block; vertical-align: middle; color: #ccc; margin-left: 5px; margin-right: 5px; } .zent-breadcrumb span, .zent-breadcrumb a { } .zent-breadcrumb span:last-child, .zent-breadcrumb a:last-child { } .zent-breadcrumb span:last-child::after, .zent-breadcrumb a:last-child::after { content: ""; display: none; } .zent-breadcrumb span { color: #333; } .zent-breadcrumb a { color: #0099fc; } .zent-breadcrumb.zent-breadcrumb-nav { padding: 0; } .zent-breadcrumb.zent-breadcrumb-nav a { display: inline-block; height: 50px; line-height: 48px; padding: 0 20px; min-width: 0; border: none; background: transparent; font-size: 14px; color: #666; text-align: center; box-sizing: border-box; } .zent-breadcrumb.zent-breadcrumb-nav a:after { display: none; } .zent-breadcrumb.zent-breadcrumb-nav .zent-breadcrumb-nav-active { } .zent-breadcrumb.zent-breadcrumb-nav .zent-breadcrumb-nav-active:after { display: block; color: #333; border-bottom: 2px solid #0099fc; content: ''; margin: 0; } .zent-btn { display: inline-block; height: 30px; line-height: 30px; padding: 0 10px; border-radius: 2px; font-size: 12px; color: #333; background: #fff; border: 1px solid #bbb; text-align: center; vertical-align: middle; box-sizing: border-box; cursor: pointer; -webkit-transition: background-color 0.3s; transition: background-color 0.3s } .zent-btn:focus { outline: none; } .zent-btn:link, .zent-btn:visited, .zent-btn:focus { color: #333; text-decoration: none; } .zent-btn:hover { color: #276ACC; border-color: #276ACC; text-decoration: none; } .zent-btn:active { color: #333; background: #e5e5e5; border-color: #bbb; text-decoration: none; } .zent-btn.zent-btn-loading { } .zent-btn.zent-btn-loading:hover, .zent-btn.zent-btn-loading:active { background: #fff; border: 1px solid #bbb; } .zent-btn + .zent-btn { margin-left: 10px; } /*大小相关*/ .zent-btn-large { height: 36px; line-height: 34px; padding: 0 30px; } .zent-btn-small{ height: 26px; line-height: 24px; padding: 0 5px; } .zent-btn-block { display: block; width: 100%; padding: 0; } /*风格相关*/ .zent-btn-primary { color: #fff; background: #3283fa; border-color: #3283fa } .zent-btn-primary:link, .zent-btn-primary:visited, .zent-btn-primary:focus { color: #fff; } .zent-btn-primary:hover { color: #fff; background: #66a3ff; border-color: #2e7df1; } .zent-btn-primary:active { color: #fff; background: #276ACC; border-color: #2e7df1; } .zent-btn-primary.zent-btn-loading { } .zent-btn-primary.zent-btn-loading:hover, .zent-btn-primary.zent-btn-loading:active { background: #3283fa; border-color: #3283fa; } .zent-btn-primary.zent-btn-loading::after { border-color: #fff transparent transparent transparent; } .zent-btn-primary-outline { color: #3283fa; border-color: #3283fa; background: #fff } .zent-btn-primary-outline:link, .zent-btn-primary-outline:visited, .zent-btn-primary-outline:focus { color: #3283fa; } .zent-btn-primary-outline:hover { color: #276ACC; border-color: #276ACC; } .zent-btn-primary-outline:active { color: #276ACC; background: #e5e5e5; border-color: #3283fa; } .zent-btn-primary-outline.zent-btn-loading { } .zent-btn-primary-outline.zent-btn-loading:hover, .zent-btn-primary-outline.zent-btn-loading:active { border-color: #3283fa; background: #fff; } .zent-btn-primary-outline.zent-btn-loading::after { border-color: #3283fa transparent transparent transparent; } .zent-btn-danger { color: #fff; background: #ff4343; border-color: #f63535 } .zent-btn-danger:link, .zent-btn-danger:visited, .zent-btn-danger:focus { color: #fff; } .zent-btn-danger:hover { color: #fff; background: #ff6666; border-color: #f63535; } .zent-btn-danger:active { color: #fff; background: #CF2F2F; border-color: #f63535; } .zent-btn-danger.zent-btn-loading { } .zent-btn-danger.zent-btn-loading:hover, .zent-btn-danger.zent-btn-loading:active { background: #ff4343; border-color: #f63535; } .zent-btn-danger.zent-btn-loading::after { border-color: #fff transparent transparent transparent; } .zent-btn-danger-outline { color: #ff4343; border-color: #ff4343; background: #fff } .zent-btn-danger-outline:link, .zent-btn-danger-outline:visited, .zent-btn-danger-outline:focus { color: #ff4343; } .zent-btn-danger-outline:hover { color: #CF2F2F; border-color: #CF2F2F; } .zent-btn-danger-outline:active { color: #CF2F2F; background: #e5e5e5; border-color: #ff4343; } .zent-btn-danger-outline.zent-btn-loading { } .zent-btn-danger-outline.zent-btn-loading:hover, .zent-btn-danger-outline.zent-btn-loading:active { border-color: #ff4343; background: #fff; } .zent-btn-danger-outline.zent-btn-loading::after { border-color: #ff4343 transparent transparent transparent; } .zent-btn-success { color: #fff; background: #06bf04; border-color: #00ab00 } .zent-btn-success:link, .zent-btn-success:visited, .zent-btn-success:focus { color: #fff; } .zent-btn-success:hover { color: #fff; background: #12D24D; border-color: #00ab00; } .zent-btn-success:active { color: #fff; background: #0BA40A; border-color: #00ab00; } .zent-btn-success.zent-btn-loading { } .zent-btn-success.zent-btn-loading:hover, .zent-btn-success.zent-btn-loading:active { background: #06bf04; border-color: #00ab00; } .zent-btn-success.zent-btn-loading::after { border-color: #fff transparent transparent transparent; } .zent-btn-success-outline { color: #06bf04; border-color: #06bf04; background: #fff } .zent-btn-success-outline:link, .zent-btn-success-outline:visited, .zent-btn-success-outline:focus { color: #06bf04; } .zent-btn-success-outline:hover { color: #0BA40A; border-color: #0BA40A; } .zent-btn-success-outline:active { color: #0BA40A; background: #e5e5e5; border-color: #06bf04; } .zent-btn-success-outline.zent-btn-loading { } .zent-btn-success-outline.zent-btn-loading:hover, .zent-btn-success-outline.zent-btn-loading:active { border-color: #06bf04; background: #fff; } .zent-btn-success-outline.zent-btn-loading::after { border-color: #06bf04 transparent transparent transparent; } /*状态相关*/ .zent-btn-disabled, .zent-btn-disabled[disabled] { color: #bbb; background: #f8f8f8; border-color: #e5e5e5; cursor: not-allowed } .zent-btn-disabled:link, .zent-btn-disabled:visited, .zent-btn-disabled:focus, .zent-btn-disabled[disabled]:link, .zent-btn-disabled[disabled]:visited, .zent-btn-disabled[disabled]:focus { color: #bbb; } .zent-btn-disabled:hover, .zent-btn-disabled[disabled]:hover { color: #bbb; background: #f8f8f8; border-color: #e5e5e5; } .zent-btn-disabled:active, .zent-btn-disabled[disabled]:active { color: #bbb; background: #f8f8f8; border-color: #e5e5e5; } .zent-btn-loading { position: relative; color: transparent; cursor: not-allowed } .zent-btn-loading:link, .zent-btn-loading:visited, .zent-btn-loading:focus, .zent-btn-loading:hover, .zent-btn-loading:active { color: transparent; } .zent-btn-loading::before, .zent-btn-loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin-left: -8px; margin-top: -8px; border: 3px solid rgba(0, 0, 0, 0.1); border-radius: 8px; box-sizing: border-box; } .zent-btn-loading::after { border-color: #666666 transparent transparent transparent; -webkit-animation: btn-spin 0.6s linear; animation: btn-spin 0.6s linear; -webkit-animation-iteration-count: infinite; animation-iteration-count: infinite; } @-webkit-keyframes btn-spin { 0% { -webkit-transform: rotate(0); transform: rotate(0) } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg) } } @keyframes btn-spin { 0% { -webkit-transform: rotate(0); transform: rotate(0) } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg) } } .zent-btn-border-transparent { border-color: transparent } .zent-btn-border-transparent:hover { border-color: transparent; } .zent-btn-border-transparent:active { border-color: transparent; } .zent-checkbox-wrap { display: inline-block; cursor: pointer; font-weight: 400; font-size: 12px; line-height: 14px; margin: 0; padding: 0; margin-right: 15px; vertical-align: middle } .zent-checkbox-wrap.zent-checkbox-disabled { cursor: not-allowed; } .zent-checkbox-wrap:last-child { margin-right: 0; } .zent-checkbox { position: relative; display: inline-block; width: 14px; height: 14px; white-space: nowrap; outline: none; vertical-align: middle; line-height: 1; margin: 0; padding: 0; } .zent-checkbox input { position: absolute; left: 0; right: 0; bottom: 0; top: 0; margin: 0; padding: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; } .zent-checkbox + span { margin-left: 5px; margin-right: 5px; vertical-align: middle; line-height: 16px; } .zent-checkbox-inner { position: relative; top: 0; left: 0; display: inline-block; width: 14px; height: 14px; border-radius: 2px; border: 1px solid #BBB; background: #fff; box-sizing: border-box } .zent-checkbox-inner::after { box-sizing: content-box; position: absolute; display: block; top: 2px; left: 2px; content: ' '; font-size: 0; background: transparent; } .zent-checkbox-checked .zent-checkbox-inner { border-color: #2277FF; background: #3388FF } .zent-checkbox-checked .zent-checkbox-inner::after { top: 3px; left: 2px; width: 6px; height: 3px; border: 2px solid #fff; background: transparent; border-top: none; border-right: none; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } .zent-checkbox-indeterminate .zent-checkbox-inner { border-color: #3388FF; background: #fff } .zent-checkbox-indeterminate .zent-checkbox-inner::after { top: 5px; left: 3px; width: 6px; height: 2px; border: none; background: #3283FA; -webkit-transform: rotate(0deg); transform: rotate(0deg); } .zent-checkbox-disabled .zent-checkbox-inner { border-color: #e5e5e5; background: #f8f8f8; } .zent-checkbox-disabled input[type="checkbox"] { cursor: not-allowed; } .zent-checkbox-disabled.zent-checkbox-checked .zent-checkbox-inner { border-color: #e5e5e5; background: #E5E5E5; } .zent-datetime-picker { box-sizing: border-box; display: inline-block; width: 183px; background: #fff; line-height: normal; } .zent-datetime-picker .picker-wrapper { position: relative; width: 100%; display: inline-block; } .zent-datetime-picker .picker-input { color: #999; position: relative; box-sizing: border-box; width: 100%; height: 30px; line-height: 30px; padding: 0 10px; font-size: 12px; border: 1px solid #CACACA; border-radius: 2px; } .zent-datetime-picker .picker-input .zenticon { line-height: 30px; position: absolute; right: 10px; top: 0; color: #bbb; } .zent-datetime-picker .picker-input .zenticon-calendar-o { display: block; } .zent-datetime-picker .picker-input .zenticon-close-circle { display: none; } .zent-datetime-picker .picker-input--range { width: 240px; } .zent-datetime-picker .picker-input--showTime { width: 320px; } .zent-datetime-picker .picker-input--filled { color: #333; } .zent-datetime-picker .picker-input--filled:hover .zenticon-close-circle { display: block; } .zent-datetime-picker .picker-input--filled:hover .zenticon-calendar-o { display: none; } .zent-datetime-picker .picker-input--disabled { background: #f8f8f8; color: #CACACA; cursor: not-allowed; } .zent-datetime-picker .picker-input--disabled:hover .zenticon-close-circle { display: none; } .zent-datetime-picker .picker-input--disabled:hover .zenticon-calendar-o { display: block; } .zent-datetime-picker .date-picker, .zent-datetime-picker .month-picker, .zent-datetime-picker .time-picker, .zent-datetime-picker .range-picker { background: #fff; position: absolute; top: 32px; width: 240px; font-size: 12px; border-radius: 2px; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); z-index: 10; } .zent-datetime-picker .grid-cell { vertical-align: middle; padding: 0; } .zent-datetime-picker .range-picker { width: 480px; } .zent-datetime-picker .range-picker .date-picker { position: static; display: inline-block; vertical-align: top; box-shadow: none; } .zent-datetime-picker .range-picker .date-picker .month-panel .grid-cell { height: 41.5px; } .zent-datetime-picker .range-picker .date-picker .year-panel .grid-cell { height: 41.5px; } .zent-datetime-picker .range-picker .date-picker+.date-picker { left: 240px; } .zent-datetime-picker .range-picker--showTime .date-picker { height: 265px; } .zent-datetime-picker .range-picker--showTime .date-picker .month-panel .grid-cell { height: 56.5px; } .zent-datetime-picker .range-picker--showTime .date-picker .year-panel .grid-cell { height: 56.5px; } .zent-datetime-picker .range-picker--showTime .date-picker .time-panel .hour-panel, .zent-datetime-picker .range-picker--showTime .date-picker .time-panel .minute-panel, .zent-datetime-picker .range-picker--showTime .date-picker .time-panel .second-panel { height: 265px; } .zent-datetime-picker .date-panel, .zent-datetime-picker .month-panel, .zent-datetime-picker .year-panel { position: relative; width: 240px; background: #fff; color: #333; } .zent-datetime-picker .date-picker .date-panel .grid-cell { padding: 2px 0; } .zent-datetime-picker .date-picker .month-panel { position: absolute; top: 0; left: 0; } .zent-datetime-picker .date-picker .month-panel .grid-cell { height: 55.5px; vertical-align: middle; padding: 0; } .zent-datetime-picker .date-picker .year-panel .grid-cell { height: 55.5px; vertical-align: middle; padding: 0; } .zent-datetime-picker .month-picker .month-panel .month-table { margin: 10px 0; } .zent-datetime-picker .month-picker .month-panel .year-panel .grid-cell { height: 58px; padding: 0; } .zent-datetime-picker .panel__header { box-sizing: border-box; text-align: center; height: 36px; line-height: 36px; border-bottom: 1px solid #CACACA; } .zent-datetime-picker .panel__header .link--prev { cursor: pointer; float: left; margin-left: 25px; font-size: 8px; } .zent-datetime-picker .panel__header .link--prev .zenticon { -webkit-transform: rotate(180deg); transform: rotate(180deg) } .zent-datetime-picker .panel__header .link--next { cursor: pointer; float: right; margin-right: 25px; font-size: 8px; } .zent-datetime-picker .panel__header .panel__title { cursor: pointer; } .zent-datetime-picker .panel__footer { box-sizing: border-box; height: 54px; line-height: 54px; padding-right: 10px; text-align: right; border-top: 1px solid #CACACA; } .zent-datetime-picker .panel__footer .btn--confirm { line-height: normal; background: #3388FF; color: #fff; border: none; border-radius: 2px; padding: 10px 10px; margin-left: 15px; } .zent-datetime-picker .panel__footer .link--current { color: #3388FF; cursor: pointer; } .zent-datetime-picker .panel__footer .link--disabled { color: #999; } .zent-datetime-picker .panel__table { width: 100%; text-align: center; } .zent-datetime-picker .panel__table td, .zent-datetime-picker .panel__table th { padding: 5px 0; width: 14.28%; text-align: center; margin-bottom: 4px; } .zent-datetime-picker .panel__table .panel__cell { display: inline-block; box-sizing: border-box; text-align: center; vertical-align: middle; border-radius: 2px; cursor: pointer; position: relative } .zent-datetime-picker .panel__table .panel__cell:hover { background: #DDEEFF; } .zent-datetime-picker .panel__table .panel__cell--in-range { background: #DDEEFF; border-color: #DDEEFF; } .zent-datetime-picker .panel__table .panel__cell--in-range:before { content: ''; display: block; width: 8px; height: 20px; background: #DDEEFF; position: absolute; right: -8px; top: 0; } .zent-datetime-picker .panel__table .panel__cell--in-range:after { content: ''; display: block; width: 8px; height: 20px; background: #DDEEFF; position: absolute; left: -8px; top: 0; } .zent-datetime-picker .panel__table .panel__cell--current { color: #3388FF; } .zent-datetime-picker .panel__table .panel__cell--disabled { cursor: not-allowed; color: #e5e5e5; } .zent-datetime-picker .panel__table .panel__cell--disabled:hover { background: #fff; } .zent-datetime-picker .panel__table .panel__cell--disabled:before, .zent-datetime-picker .panel__table .panel__cell--disabled:after { display: none; } .zent-datetime-picker .panel__table .panel__cell--selected { background: #3388FF; color: #fff; } .zent-datetime-picker .panel__table .panel__cell--selected:hover { background: #3388FF; } .zent-datetime-picker .panel__table .panel__cell--different { color: #999; background: none; } .zent-datetime-picker .panel__table .panel__cell--different:before, .zent-datetime-picker .panel__table .panel__cell--different:after { display: none; } .zent-datetime-picker .panel__table .panel__cell.date-panel__cell { width: 20px; height: 20px; line-height: 20px; } .zent-datetime-picker .panel__table .panel__cell.month-panel__cell { width: 30px; height: 30px; line-height: 30px; } .zent-datetime-picker .panel__table .panel__cell.year-panel__cell { width: 50px; height: 30px; line-height: 30px; } .zent-datetime-picker .year-panel { position: absolute; top: 0; left: 0; } .zent-datetime-picker .time-panel .hour-panel, .zent-datetime-picker .time-panel .minute-panel, .zent-datetime-picker .time-panel .second-panel { position: absolute; top: 0; left: 0; height: 319px; width: 240px; background: #fff; } .zent-datetime-picker .time-panel__cell { padding: 3px; } .zent-datetime-picker .time-panel__preview { margin: 12px 10px; height: 31px; line-height: 31px; border: 1px solid #bbb; border-radius: 2px; text-align: center; display: -webkit-box; display: -ms-flexbox; display: flex; } .zent-datetime-picker .time-panel__preview .time__number { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; cursor: pointer; border-right: 1px solid #bbb; } .zent-datetime-picker .time-panel__preview .time__number:last-child { border-right: none; } .zent-dialog-r { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); -webkit-transition: top 0.5s; transition: top 0.5s; background-color: #fff; border-radius: 4px; padding: 20px; box-sizing: border-box; font-size: 14px; z-index: 1041; box-sizing: border-box; } .zent-dialog-r-title { padding-bottom: 10px; border-bottom: 1px solid #e8e8e8; margin: 0; box-sizing: border-box; margin-bottom: 20px; } .zent-dialog-r-title-text { font-size: 14px; line-height: 1; font-weight: bold; color: #333; } .zent-dialog-r-close { position: absolute; display: block; top: 4px; right: 10px; color: #999; font-size: 20px; line-height: 20px; text-align: right; vertical-align: middle; cursor: pointer; border: none; background-color: #fff; outline: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding: 0; margin: 0 } .zent-dialog-r-close:link, .zent-dialog-r-close:active, .zent-dialog-r-close:focus { color: #999; } .zent-dialog-r-close.zent-dialog-r-has-title { top: 14px; right: 18px; } .zent-dialog-r-body { color: #666 } .zent-dialog-r-body.with-success-icon, .zent-dialog-r-body.with-warning-icon { padding-left: 30px; } .zent-dialog-r-footer { text-align: right; margin-top: 30px; } .zent-dialog-r-backdrop { position: fixed; top: 0; right: 0; left: 0; bottom: 0; background-color: rgba(0, 0, 0, .6); height: 100%; z-index: 1050; } .zent-dialog-r-wrap { position: fixed; overflow: auto; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; -webkit-overflow-scrolling: touch; outline: 0; } .zent-form { margin-bottom: 30px; width: auto; } .zent-form select[readonly], .zent-form textarea[readonly] { background-color: #fff; cursor: text; } .zent-form__fieldset { padding: 0; margin: 0; border: 0; } .zent-form__legend { padding-bottom: 8px; margin-bottom: 20px; width: 100%; border-bottom: 1px solid #e5e5e5; font-size: 14px; font-weight: bold; } .zent-form__control-group { margin-bottom: 20px } .zent-form__control-group.has-error input, .zent-form__control-group.has-error select, .zent-form__control-group.has-error textarea, .zent-form__control-group.has-error .zent-form__checkbox, .zent-form__control-group.has-error .zent-form__radio, .zent-form__control-group.has-error .zent-form__control-label, .zent-form__control-group.has-error .zent-form__error-desc, .zent-form__control-group.has-error .zent-form__help-block { color: #f44; } .zent-form__control-group.has-error input, .zent-form__control-group.has-error select, .zent-form__control-group.has-error textarea { border-color: #f44; } .zent-form__static-value { padding-top: 5px; font-size: 14px; line-height: 18px; padding-bottom: 5px; word-break: break-all; } .zent-form__control-action { padding-top: 5px; display: inline-block; font-size: 14px; line-height: 18px; } .zent-form__required { margin-right: 6px; font-size: 16px; color: #f00; vertical-align: middle; } .zent-form__help-block, .zent-form__error-desc, .zent-form__help-desc { line-height: 14px; font-size: 12px; margin-top: 6px; margin-bottom: 0; color: #999; } .zent-form__help-block ul li, .zent-form__error-desc ul li, .zent-form__help-desc ul li { font-size: 12px; line-height: 12px; } .zent-form__help-block a, .zent-form__error-desc a, .zent-form__help-desc a { color: #38f; } .zent-form__help-block:empty, .zent-form__error-desc:empty, .zent-form__help-desc:empty { margin-top: 0 !important; } .zent-form--horizontal .zent-form__control-label { display: inline-block; width: 120px; font-size: 12px; line-height: 30px; text-align: right; vertical-align: top } .zent-form--horizontal .zent-form__control-label + .zent-form__controls { margin-left: 10px; } .zent-form--horizontal .zent-form__controls { display: inline-block; word-break: break-all; vertical-align: top; } .zent-form--horizontal .zent-form__form-actions { padding: 0 0 0 130px; margin: 25px 0 10px; background: none; border: none; } .zent-form--horizontal .zent-form__checkbox-group { font-size: 0; line-height: 28px; } .zent-form--horizontal .zent-form__checkbox { line-height: 28px; } .zent-form--horizontal .zent-form__radio-group { line-height: 28px; } .zent-row { zoom: 1; } .zent-row:after { content: ""; display: table; clear: both; } .zent-col { float: left; box-sizing: border-box; } .zent-col-1 { width: 4.166666666666667%; } .zent-col-2 { width: 8.333333333333334%; } .zent-col-3 { width: 12.5%; } .zent-col-4 { width: 16.666666666666668%; } .zent-col-5 { width: 20.833333333333336%; } .zent-col-6 { width: 25%; } .zent-col-7 { width: 29.166666666666668%; } .zent-col-8 { width: 33.333333333333336%; } .zent-col-9 { width: 37.5%; } .zent-col-10 { width: 41.66666666666667%; } .zent-col-11 { width: 45.833333333333336%; } .zent-col-12 { width: 50%; } .zent-col-13 { width: 54.16666666666667%; } .zent-col-14 { width: 58.333333333333336%; } .zent-col-15 { width: 62.50000000000001%; } .zent-col-16 { width: 66.66666666666667%; } .zent-col-17 { width: 70.83333333333334%; } .zent-col-18 { width: 75%; } .zent-col-19 { width: 79.16666666666667%; } .zent-col-20 { width: 83.33333333333334%; } .zent-col-21 { width: 87.5%; } .zent-col-22 { width: 91.66666666666667%; } .zent-col-23 { width: 95.83333333333334%; } .zent-col-24 { width: 100%; } .zent-col-offset-1 { margin-left: 4.166666666666667%; } .zent-col-offset-2 { margin-left: 8.333333333333334%; } .zent-col-offset-3 { margin-left: 12.5%; } .zent-col-offset-4 { margin-left: 16.666666666666668%; } .zent-col-offset-5 { margin-left: 20.833333333333336%; } .zent-col-offset-6 { margin-left: 25%; } .zent-col-offset-7 { margin-left: 29.166666666666668%; } .zent-col-offset-8 { margin-left: 33.333333333333336%; } .zent-col-offset-9 { margin-left: 37.5%; } .zent-col-offset-10 { margin-left: 41.66666666666667%; } .zent-col-offset-11 { margin-left: 45.833333333333336%; } .zent-col-offset-12 { margin-left: 50%; } .zent-col-offset-13 { margin-left: 54.16666666666667%; } .zent-col-offset-14 { margin-left: 58.333333333333336%; } .zent-col-offset-15 { margin-left: 62.50000000000001%; } .zent-col-offset-16 { margin-left: 66.66666666666667%; } .zent-col-offset-17 { margin-left: 70.83333333333334%; } .zent-col-offset-18 { margin-left: 75%; } .zent-col-offset-19 { margin-left: 79.16666666666667%; } .zent-col-offset-20 { margin-left: 83.33333333333334%; } .zent-col-offset-21 { margin-left: 87.5%; } .zent-col-offset-22 { margin-left: 91.66666666666667%; } .zent-col-offset-23 { margin-left: 95.83333333333334%; } .zent-col-offset-24 { margin-left: 100%; } .zent-loading-container-static { position: relative; } .zent-page-loading { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .zent-page-loading .zent-page-mask { width: 100%; height: 100%; outline: 0; background-color: rgba(55, 55, 55, 0.2) } .zent-page-loading .zent-page-mask::before, .zent-page-loading .zent-page-mask::after { position: absolute; content: ' '; top: 50%; left: 50%; width: 44px; height: 44px; margin-left: -22px; margin-top: -22px; border: 2px solid rgba(0, 0, 0, 0.15); border-radius: 50%; } .zent-page-loading .zent-page-mask::before { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTBDNjMxRjA4NEMwMTFFNUJGNUU4ODhEMTJBNEZCOUEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTBDNjMxRjE4NEMwMTFFNUJGNUU4ODhEMTJBNEZCOUEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxMEM2MzFFRTg0QzAxMUU1QkY1RTg4OEQxMkE0RkI5QSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMEM2MzFFRjg0QzAxMUU1QkY1RTg4OEQxMkE0RkI5QSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgmgW78AAAFoUExUReUAEuUAEuYPIOklNeYQIukkNeYPIv76+/zo6vrP0/i9wvWcpeYHGuYHG/akrPezuexLWfajq/Buevza3utDUf3r7ecTJP/7/OgcLveor+YGGveyuPOJk/WWn+knOPrIzf3t7uUBFfSPmeo0Re1SYOotPvJ7hu1UYe5gbvSNl+1YZ+9odetGVfF1gO1WY/nHzPBteO5ZZvvW2eo1Rvzh5Pi4ve5ea/Brd+cWKPSRmvWZoukoOv719v3y8+tEU+UEF+YNH+cRI+kmNvnEyfaiqvF3g+cRJOktPexCUPWVn/nEyvaep/3m6Os5SecSJu9kcP73+POHkugdLvF4g/vZ3PKDjecVJ/vR1fadpuouP+YGGOYMH/Btef3x8uovP/nBxexHV/avtf3l5+xMW+5fbfOLlfOLlvahqeYKHPza3eggMOgeL/nCxvJ+iO1VYvJ/i/J9h+tHVugeMP/9/fzd4OkoOOgcLf///0a13loAAAB4dFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AHxXGIwAAAF3SURBVHja7NdVbwMxDADgeut27ZW5HTMzc8fMzMzM+fvbWu/tsltyliZN8VPy4E+JnESxjRGHTYEKVKACFfjHYHV8vs5HCAbgK7rpwNYUCMdk4HsaLKECZ9Me1FOBtwguUYGjCM5QgXcI5lKBfgSniUDNjmALEViIXtJBBE4huL5IBJYh+EZ09fpyECwlAr3owdDV5yyy0X5xttuZsACefIPgvn8q8OA4Txp0gGFcSoO1xmBUFiwy9iAsC05ywApJ8IHjQY8UGGnieRAUBTXnkcYmuB6UC4GBMf8NwAsb54PLIuBpKmWQsSw+2CsCplMyGMvkg1Ui4M4vwEYRMNsc7BJ6HOzm4DU1WBySAn+osk68QnglBveZVJX5W/ZSgyFqUKc+Nk5icIDRgjV7jNHc5e2thsdNvU3052BUlOhc84prxOz/xQHdKcKDD2M8vLCWcPZb6aRwUTFW2XHuW9Wst2au5+HDYP5BTLW3ClSgAhX4f8EPAQYAjrzx/JGco8gAAAAASUVORK5CYII="); background-size: 40px; z-index: 1; } .zent-page-loading .zent-page-mask::after { border-color: #e50012 transparent transparent transparent; -webkit-animation: loading 0.6s linear infinite; animation: loading 0.6s linear infinite; background-color: white; } @-webkit-keyframes loading { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loading { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } /* DO NOT EDIT!! Auto genetated. */ @font-face { font-family: 'zenticon'; src: url('//b.yzcdn.cn/zent/zenticon/zenticon-0d940611cc.eot'); src: url('//b.yzcdn.cn/zent/zenticon/zenticon-0d940611cc.eot?#iefix') format('embedded-opentype'), url('//b.yzcdn.cn/zent/zenticon/zenticon-0d940611cc.woff2') format('woff2'), url('//b.yzcdn.cn/zent/zenticon/zenticon-0d940611cc.woff') format('woff'), url('//b.yzcdn.cn/zent/zenticon/zenticon-0d940611cc.ttf') format('truetype') } .zenticon { display: inline-block; speak: none; font-style: normal; vertical-align: baseline; text-align: center; text-transform: none; font-variant: normal; text-rendering: auto; text-decoration: inherit; line-height: 1; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale } .zenticon:before { box-sizing: border-box; display: block; font-family: "zenticon" !important; } .zenticon.zenticon-spin { -webkit-animation: zenticon-animation-spin 2s infinite linear; animation: zenticon-animation-spin 2s infinite linear; } @-webkit-keyframes zenticon-animation-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @keyframes zenticon-animation-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } /* DO NOT EDIT! Generated by iconfount */ .zenticon-summary-o:before { content: '\e800'; } /* '' */ .zenticon-summary:before { content: '\e801'; } /* '' */ .zenticon-shop-o:before { content: '\e802'; } /* '' */ .zenticon-shop:before { content: '\e803'; } /* '' */ .zenticon-goods-o:before { content: '\e804'; } /* '' */ .zenticon-goods:before { content: '\e805'; } /* '' */ .zenticon-order-o:before { content: '\e806'; } /* '' */ .zenticon-order:before { content: '\e807'; } /* '' */ .zenticon-customer-o:before { content: '\e808'; } /* '' */ .zenticon-customer:before { content: '\e809'; } /* '' */ .zenticon-chart-o:before { content: '\e80a'; } /* '' */ .zenticon-chart:before { content: '\e80b'; } /* '' */ .zenticon-capital-o:before { content: '\e80c'; } /* '' */ .zenticon-capital:before { content: '\e80d'; } /* '' */ .zenticon-casher:before { content: '\e80e'; } /* '' */ .zenticon-marketing:before { content: '\e80f'; } /* '' */ .zenticon-settings-o:before { content: '\e810'; } /* '' */ .zenticon-settings:before { content: '\e811'; } /* '' */ .zenticon-youzan-o:before { content: '\e812'; } /* '' */ .zenticon-youzan:before { content: '\e813'; } /* '' */ .zenticon-close:before { content: '\e814'; } /* '' */ .zenticon-close-circle-o:before { content: '\e815'; } /* '' */ .zenticon-close-circle:before { content: '\e816'; } /* '' */ .zenticon-message:before { content: '\e817'; } /* '' */ .zenticon-message-o:before { content: '\e818'; } /* '' */ .zenticon-bell:before { content: '\e819'; } /* '' */ .zenticon-bell-o:before { content: '\e81a'; } /* '' */ .zenticon-calendar:before { content: '\e81b'; } /* '' */ .zenticon-calendar-o:before { content: '\e81c'; } /* '' */ .zenticon-search:before { content: '\e81d'; } /* '' */ .zenticon-customer-service:before { content: '\e81e'; } /* '' */ .zenticon-feedback:before { content: '\e81f'; } /* '' */ .zenticon-error-circle-o:before { content: '\e820'; } /* '' */ .zenticon-error-circle:before { content: '\e821'; } /* '' */ .zenticon-check-circle-o:before { content: '\e822'; } /* '' */ .zenticon-check-circle:before { content: '\e823'; } /* '' */ .zenticon-help-circle-o:before { content: '\e824'; } /* '' */ .zenticon-help-circle:before { content: '\e825'; } /* '' */ .zenticon-clock-o:before { content: '\e826'; } /* '' */ .zenticon-clock:before { content: '\e827'; } /* '' */ .zenticon-countdown:before { content: '\e828'; } /* '' */ .zenticon-download:before { content: '\e829'; } /* '' */ .zenticon-share:before { content: '\e82a'; } /* '' */ .zenticon-shop-decorate:before { content: '\e82b'; } /* '' */ .zenticon-shop-template:before { content: '\e82c'; } /* '' */ .zenticon-gift:before { content: '\e82d'; } /* '' */ .zenticon-caret-up:before { content: '\e82e'; } /* '' */ .zenticon-caret-down:before { content: '\e82f'; } /* '' */ .zenticon-arrow-up:before { content: '\e830'; } /* '' */ .zenticon-arrow-down:before { content: '\e831'; } /* '' */ .zenticon-right:before { content: '\e832'; } /* '' */ .zenticon-plus:before { content: '\e833'; } /* '' */ .zenticon-star-o:before { content: '\e834'; } /* '' */ .zenticon-star:before { content: '\e835'; } /* '' */ .zenticon-check:before { content: '\e836'; } /* '' */ .zenticon-info-circle-o:before { content: '\e837'; } /* '' */ .zenticon-info-circle:before { content: '\e838'; } /* '' */ .zenticon-warning-o:before { content: '\e839'; } /* '' */ .zenticon-warning:before { content: '\e83a'; } /* '' */ .zenticon-lock:before { content: '\e83b'; } /* '' */ .zenticon-unlock:before { content: '\e83c'; } /* '' */ /** * 这些新加的important是为了使样式不被bootstrap覆盖掉 */ .zent-input-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; position: relative; height: 30px; max-height: 36px; line-height: 28px; } .zent-input, .zent-input[type=text], .zent-input[type=password], .zent-input[type=datetime], .zent-input[type=date], .zent-input[type=month], .zent-input[type=time], .zent-input[type=week], .zent-input[type=number], .zent-input[type=email], .zent-input[type=url], .zent-input[type=tel], .zent-input[type=color], .zent-input[type=search] { display: inline-block; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; min-width: 80px; height: 100%; box-sizing: border-box; padding: 0 10px; margin: 0; border: 1px solid #bbb; color: #333333; font-size: 12px; border-radius: 2px; box-shadow: none; -webkit-transition: border .2s ease-in-out, box-shadow .2s ease-in-out; transition: border .2s ease-in-out, box-shadow .2s ease-in-out } .zent-input:focus, .zent-input[type=text]:focus, .zent-input[type=password]:focus, .zent-input[type=datetime]:focus, .zent-input[type=date]:focus, .zent-input[type=month]:focus, .zent-input[type=time]:focus, .zent-input[type=week]:focus, .zent-input[type=number]:focus, .zent-input[type=email]:focus, .zent-input[type=url]:focus, .zent-input[type=tel]:focus, .zent-input[type=color]:focus, .zent-input[type=search]:focus { outline: none; border: 1px solid #3388FF; box-shadow: 0 0 5px #BBDDFF; } .zent-input[disabled], .zent-input[readonly] { border-color: #E5E5E5; background-color: #F8F8F8; cursor: not-allowed } .zent-input[disabled]:focus, .zent-input[readonly]:focus { border-color: #E5E5E5; box-shadow: none; } .zent-input-addon-before, .zent-input-addon-after { display: inline-block; height: 100%; padding: 0 5px; border: 1px solid #bbb; box-sizing: border-box; vertical-align: middle; background-color: #E5E5E5; font-size: 12px; } .zent-input-addon-before { border-top-left-radius: 2px; border-bottom-left-radius: 2px; border-right: none; } .zent-input-addon-after { border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-left: none; } .zent-input-addons { } .zent-input-addons > .zent-input { border-radius: 0; } .zent-input-addons > .zent-input:first-child { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .zent-input-addons > .zent-input[disabled]:first-child { border-right: 1px solid #bbb; } .zent-input-addons > .zent-input:last-child { border-top-right-radius: 2px; border-bottom-right-radius: 2px; } .zent-input-addons > .zent-input[disabled]:last-child { border-left: 1px solid #bbb; } .has-error .zent-input { border: 1px solid #FF4444; color: #F44 } .has-error .zent-input:focus { border-color: #FF4444; box-shadow: 0 0 5px #FFDDDD; } .zent-menu { width: 100px; background-color: #fff; list-style: none; padding: 0; margin: 0; border: 1px solid rgba(200, 200, 200, .3); box-shadow: 0 1px 2px #eee; } .zent-menu .zent-menu-item { font-size: 12px; width: 100%; height: 30px; line-height: 30px; text-align: left; color: #666; padding-left: 10px; box-sizing: border-box; position: relative; cursor: default } .zent-menu .zent-menu-item:hover { background-color: #38f; color: #fff; } .zent-menu .zent-menu-item-disabled { color: #cacaca; cursor: not-allowed } .zent-menu .zent-menu-item-disabled:hover { background-color: #fff; color: #cacaca; } .zent-menu .zenticon-right { position: absolute; right: 10px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .zent-menu .zent-sub-menu-popover-wrapper { width: 100%; } .zent-notify { position: fixed; top: 80px; left: 25%; right: 25%; line-height: 40px; font-size: 14px; color:#fff; text-align: center; border-radius:2px; box-shadow:0 1px 4px rgba(0,0,0,0.4); z-index: 10000 } .zent-notify.zent-notify-success { border: 1px solid #3aa074; background: #45b182; } .zent-notify.zent-notify-error { border: 1px solid #e23333; background: #ff4343; } .zent-pagination { font-size: 12px; line-height: 16px; text-align: right; } .zent-pagination .pagination-list { display: inline-block; } .zent-pagination .pagination-list .pager { position: relative; display: inline-block; box-sizing: border-box; margin: 0 0 0 5px; border: 1px solid #bbb; border-radius: 2px; padding: 6px 8px; min-width: 30px; text-align: center; background: #fff; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .zent-pagination .pagination-list .pager--current { color: #fff; background: #38f; border-color:#38f; cursor: default; } .zent-pagination .pagination-list .pager--disabled { border-color: #e5e5e5; cursor: not-allowed; color: #e5e5e5; } .zent-pagination .pagination-list .pager--jump { margin-left:15px; padding:0; cursor: default; } .zent-pagination .pagination-list .pager--omni { margin-left: 0; margin-right: -5px; border: none; cursor: default; } .zent-pagination .pagination-list .pager__input { box-sizing: border-box; margin:-1px; margin-right:0; border: 1px solid #bbb; border-right-color: #bbb; padding: 6px 2px; min-width: 21px; max-width: 40px; height: 30px; text-align: center; font-weight: normal; outline: none; border-top-left-radius: 2px; border-bottom-left-radius: 2px } .zent-pagination .pagination-list .pager__input:focus { border-color: #38f; box-shadow: 0 0 1px #bdf; } .zent-pagination .pagination-list .pager__suffix { padding:8px 5px; background:#e5e5e5; } .zent-pagination__info { display: inline-block; } .zent-select { width: 60px; } /* FIXME: these two values couples with ARROW_OFFSET in postion.js */ .zent-pop { border-radius: 2px; box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.4); background-color: #fff; z-index: 1050; font-size: 12px; } .zent-pop .zent-pop-inner, .zent-pop .zent-pop-header { position: relative; background: #fff; border-radius: 2px; padding: 10px 20px; z-index: 2; color: #333; } .zent-pop .zent-pop-header { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .zent-pop .zent-pop-header { border-bottom: 1px solid #e9e9e9; } .zent-pop .zent-pop-buttons { min-width: 160px; text-align: right; margin-right: 0; margin-top: 10px; } .zent-pop .zent-pop-arrow { position: absolute; z-index: 1; width: 6px; height: 6px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); overflow: hidden; } .zent-pop::after { content: ''; display: block; position: absolute; width: 11px; height: 11px; } .zent-pop.zent-popover-position { /* bottom side */ /* top side */ /* left side */ /* left side */ } .zent-pop.zent-popover-position-bottom-left .zent-pop-arrow, .zent-pop.zent-popover-position-bottom-center .zent-pop-arrow, .zent-pop.zent-popover-position-bottom-right .zent-pop-arrow { top: 0; } .zent-pop.zent-popover-position-bottom-left::after, .zent-pop.zent-popover-position-bottom-center::after, .zent-pop.zent-popover-position-bottom-right::after { top: -11px; width: 100%; left: 0; } .zent-pop.zent-popover-position-bottom-left .zent-pop-arrow { -webkit-transform: translateY(-50%) rotate(45deg); transform: translateY(-50%) rotate(45deg); left: 14px; } .zent-pop.zent-popover-position-bottom-center .zent-pop-arrow { -webkit-transform: translate(-50%, -50%) rotate(45deg); transform: translate(-50%, -50%) rotate(45deg); left: 50%; } .zent-pop.zent-popover-position-bottom-right .zent-pop-arrow { -webkit-transform: translateY(-50%) rotate(45deg); transform: translateY(-50%) rotate(45deg); right: 14px; } .zent-pop.zent-popover-position-top-left .zent-pop-arrow, .zent-pop.zent-popover-position-top-center .zent-pop-arrow, .zent-pop.zent-popover-position-top-right .zent-pop-arrow { bottom: 0; } .zent-pop.zent-popover-position-top-left::after, .zent-pop.zent-popover-position-top-center::after, .zent-pop.zent-popover-position-top-right::after { bottom: -11px; width: 100%; left: 0; } .zent-pop.zent-popover-position-top-left .zent-pop-arrow { -webkit-transform: translateY(50%) rotate(45deg); transform: translateY(50%) rotate(45deg); left: 14px; } .zent-pop.zent-popover-position-top-center .zent-pop-arrow { -webkit-transform: translate(-50%, 50%) rotate(45deg); transform: translate(-50%, 50%) rotate(45deg); left: 50%; } .zent-pop.zent-popover-position-top-right .zent-pop-arrow { -webkit-transform: translateY(50%) rotate(45deg); transform: translateY(50%) rotate(45deg); right: 14px; } .zent-pop.zent-popover-position-left-top .zent-pop-arrow, .zent-pop.zent-popover-position-left-center .zent-pop-arrow, .zent-pop.zent-popover-position-left-bottom .zent-pop-arrow { right: 0; } .zent-pop.zent-popover-position-left-top::after, .zent-pop.zent-popover-position-left-center::after, .zent-pop.zent-popover-position-left-bottom::after { right: -11px; height: 100%; top: 0; } .zent-pop.zent-popover-position-left-top .zent-pop-arrow { -webkit-transform: translateX(50%) rotate(45deg); transform: translateX(50%) rotate(45deg); top: 14px; } .zent-pop.zent-popover-position-left-center .zent-pop-arrow { -webkit-transform: translate(50%, -50%) rotate(45deg); transform: translate(50%, -50%) rotate(45deg); top: 50%; } .zent-pop.zent-popover-position-left-bottom .zent-pop-arrow { -webkit-transform: translateX(50%) rotate(45deg); transform: translateX(50%) rotate(45deg); bottom: 14px; } .zent-pop.zent-popover-position-right-top .zent-pop-arrow, .zent-pop.zent-popover-position-right-center .zent-pop-arrow, .zent-pop.zent-popover-position-right-bottom .zent-pop-arrow { left: 0; } .zent-pop.zent-popover-position-right-top::after, .zent-pop.zent-popover-position-right-center::after, .zent-pop.zent-popover-position-right-bottom::after { left: -11px; height: 100%; top: 0; } .zent-pop.zent-popover-position-right-top .zent-pop-arrow { -webkit-transform: translateX(-50%) rotate(45deg); transform: translateX(-50%) rotate(45deg); top: 14px; } .zent-pop.zent-popover-position-right-center .zent-pop-arrow { -webkit-transform: translate(-50%, -50%) rotate(45deg); transform: translate(-50%, -50%) rotate(45deg); top: 50%; } .zent-pop.zent-popover-position-right-bottom .zent-pop-arrow { -webkit-transform: translateX(-50%) rotate(45deg); transform: translateX(-50%) rotate(45deg); bottom: 14px; } .zent-radio-group { display: inline-block; font-size: 12px; } .zent-radio-wrap { display: inline-block; cursor: pointer; font-weight: 400; font-size: 12px; line-height: 14px; margin: 0; padding: 0; margin-right: 15px; vertical-align: middle } .zent-radio-wrap.zent-radio-disabled { cursor: not-allowed; } .zent-radio-wrap:last-child { margin-right: 0; } .zent-radio { position: relative; display: inline-block; white-space: nowrap; outline: none; vertical-align: middle; margin: 0; padding: 0; } .zent-radio input { position: absolute; left: 0; right: 0; bottom: 0; top: 0; margin: 0; padding: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; } .zent-radio + span { margin-left: 5px; margin-right: 5px; vertical-align: middle; line-height: 14px; } .zent-radio-inner { position: relative; top: 0; left: 0; display: inline-block; width: 14px;