UNPKG

maycur-business

Version:

maycur business react components of web

234 lines (233 loc) 5.71 kB
/* base variables */ /* text-color */ /* pin */ /* 字体大小 */ /* tab-bar */ /* 提示颜色 */ /* fee type color 引用自主版本 */ /* table相关 */ /* mix-in class */ #mixin-ios-scroll { overflow-y: scroll; -webkit-overflow-scrolling: touch; } #mixin-pick-bar { display: flex; background: #fff; font-weight: normal; font-size: 16px; } #mixin-pick-bar > div { flex: 1; text-align: center; color: #3296FA; line-height: 50px; } #mktable-filter-dropdown { border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); border-radius: 0; } .mkbs-select { position: relative; } .mkbs-select-field { font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-variant: tabular-nums; color: rgba(0, 0, 0, 0.65); -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0; list-style: none; position: relative; display: inline-block; width: 100%; height: 32px; line-height: 1.5; background-color: #fff; background-image: none; border: 0; outline: 0; border-bottom: 1px solid #d9d9d9; border-radius: 0; -webkit-transition: all 0.3s; transition: all 0.3s; cursor: pointer; display: block; padding: 4px 0; height: auto; font-size: 14px; line-height: 18px; color: #333; } .mkbs-select-field[disabled] { border-bottom: 1px dashed #d9d9d9; cursor: not-allowed; } .mkbs-select-field[disabled] + .mkbs-action { cursor: not-allowed; } .mkbs-select-field[disabled]:focus, .mkbs-select-field[disabled]:hover, .mkbs-select-field[disabled]:active { border-color: #d9d9d9; } .mkbs-select-field[disabled]:focus + .mkbs-action, .mkbs-select-field[disabled]:hover + .mkbs-action, .mkbs-select-field[disabled]:active + .mkbs-action { color: #d9d9d9 !important; } .mkbs-select-field.ant-input-origin { border: 1px solid #d9d9d9; padding: 4px 20px 4px 11px; height: 32px !important; } .mkbs-select-field.mkbs-select-focus { border-color: #40a9ff; } .mkbs-select-field.mkbs-select-extra { padding-left: 25px; } .mkbs-select-field:focus, .mkbs-select-field:hover, .mkbs-select-field:active { border-color: #40a9ff; } .mkbs-select-field:focus + .mkbs-action, .mkbs-select-field:hover + .mkbs-action, .mkbs-select-field:active + .mkbs-action { color: #3296fa !important; } .mkbs-select .mkbs-extra-icon { position: absolute; top: 10%; left: 0; z-index: 10; text-align: center; font-size: 18px; line-height: initial; cursor: pointer; } .mkbs-select .mkbs-extra-icon.mkbs-extra-disabled { cursor: not-allowed; } .mkbs-select .mkbs-action { z-index: 10; cursor: pointer; display: inline-block; font-style: normal; vertical-align: -0.125em; text-align: center; text-transform: none; line-height: 0; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: absolute; top: 50%; right: 0; line-height: 1; margin-top: -6px; -webkit-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; transform-origin: 50% 50%; color: rgba(0, 0, 0, 0.25); font-size: 12px; transform: rotate(0deg); transition: transform 0.3s, -webkit-transform 0.3s; } .mkbs-select .mkbs-action.mkbs-with-right { right: 12px; } .mkbs-select .mkbs-action.mkbs-action-open { transform: rotate(180deg); color: #3296fa; } .mkbs-select .mkbs-action.mkbs-action-close { transform: rotate(0deg); color: rgba(0, 0, 0, 0.25); } .mkbs-select-dropdown { font-variant: tabular-nums; line-height: 1.5; color: rgba(0, 0, 0, 0.65); margin: 0; padding: 0; list-style: none; font-variant: initial; background-color: #fff; -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); -webkit-box-sizing: border-box; box-sizing: border-box; z-index: 9999; max-height: 300px; overflow: auto; outline: none; font-size: 14px; } .mkbs-select-dropdown .ant-input::-moz-placeholder { color: #959595; font-size: 12px; } .mkbs-select-dropdown .ant-input:-ms-input-placeholder { color: #959595; font-size: 12px; } .mkbs-select-dropdown .ant-input::-webkit-input-placeholder { color: #959595; font-size: 12px; } .mkbs-opt-group .mkbs-option { display: inline-block; } .mkbs-opt-group .mkbs-opt-content { padding-left: 15px; } .mkbs-opt-group .mkbs-opt-title { color: rgba(0, 0, 0, 0.65); font-size: 12px; font-weight: 600; } .mkbs-opt-group .mkbs-opt-title.mkbs-opt-txt { height: 32px; line-height: 32px; padding: 0 12px; } .mkbs-opt-group .mkbs-opt-title.mkbs-opt-node { padding: 8px 12px; } .mkbs-option { position: relative; display: block; padding: 5px 12px; line-height: 22px; font-size: 12px; color: rgba(0, 0, 0, 0.65); white-space: nowrap; cursor: pointer; overflow: hidden; text-overflow: ellipsis; -webkit-transition: background 0.3s ease; transition: background 0.3s ease; font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } .mkbs-option.mkbs-option-selected { background-color: #e6f7ff; font-weight: 400; color: #4298f7; cursor: pointer; } .mkbs-option:hover { background-color: #e6f7ff; color: #4298f7; } .mkbs-option.mkbs-option-disabled { color: rgba(0, 0, 0, 0.25); cursor: not-allowed; } .mkbs-option.mkbs-option-disabled:hover { background-color: transparent; color: rgba(0, 0, 0, 0.25) !important; }