UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

141 lines (140 loc) 3.06 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ .ant-modal, .ant-image-preview { pointer-events: none; } .ant-modal.zoom-enter, .ant-modal.zoom-appear, .ant-image-preview.zoom-enter, .ant-image-preview.zoom-appear { -webkit-transform: none; transform: none; opacity: 0; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .ant-modal-mask, .ant-image-preview-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; height: 100%; background-color: rgba(0, 0, 0, 0.45); filter: alpha(opacity=50); } .ant-modal-mask-hidden, .ant-image-preview-mask-hidden { display: none; } .ant-modal-wrap, .ant-image-preview-wrap { position: fixed; top: 0; right: 0; bottom: 0; left: 0; overflow: auto; outline: 0; -webkit-overflow-scrolling: touch; } .ant-rate { -webkit-box-sizing: border-box; box-sizing: border-box; color: rgba(0, 0, 0, 0.85); font-size: 14px; font-variant: tabular-nums; line-height: 1.5715; -webkit-font-feature-settings: 'tnum'; font-feature-settings: 'tnum'; display: inline-block; margin: 0; padding: 0; color: #fadb14; font-size: 20px; line-height: unset; list-style: none; outline: none; } .ant-rate-disabled .ant-rate-star { cursor: default; } .ant-rate-disabled .ant-rate-star:hover { -webkit-transform: scale(1); transform: scale(1); } .ant-rate-star { position: relative; display: inline-block; color: inherit; cursor: pointer; -webkit-transition: all 0.3s; transition: all 0.3s; } .ant-rate-star:not(:last-child) { margin-right: 8px; } .ant-rate-star > div:focus { outline: 0; } .ant-rate-star > div:hover, .ant-rate-star > div:focus { -webkit-transform: scale(1.1); transform: scale(1.1); } .ant-rate-star-first, .ant-rate-star-second { color: #f0f0f0; -webkit-transition: all 0.3s; transition: all 0.3s; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .ant-rate-star-first .anticon, .ant-rate-star-second .anticon { vertical-align: middle; } .ant-rate-star-first { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; opacity: 0; } .ant-rate-star-half .ant-rate-star-first, .ant-rate-star-half .ant-rate-star-second { opacity: 1; } .ant-rate-star-half .ant-rate-star-first, .ant-rate-star-full .ant-rate-star-second { color: inherit; } .ant-rate-text { display: inline-block; margin: 0 8px; font-size: 14px; } .ant-rate-rtl { direction: rtl; } .ant-rate-rtl .ant-rate-star:not(:last-child) { margin-right: 0; margin-left: 8px; } .ant-rate-rtl .ant-rate-star-first { right: 0; left: auto; }