UNPKG

yqcloud-ui

Version:

An enterprise-class UI design language and React-based implementation

78 lines (77 loc) 2.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 declaration-bang-space-before,no-duplicate-selectors */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */ .ant-rate { font-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5; color: #04173F; -webkit-box-sizing: border-box; box-sizing: border-box; line-height: unset; margin: 0; padding: 0; list-style: none; font-size: 20px; display: inline-block; color: #fadb14; outline: none; } .ant-rate-disabled .ant-rate-xingxing { cursor: default; } .ant-rate-disabled .ant-rate-xingxing:hover { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } .ant-rate-xingxing { margin: 0; padding: 0; display: inline-block; margin-right: 8px; position: relative; -webkit-transition: all .3s; transition: all .3s; color: inherit; cursor: pointer; } .ant-rate-xingxing-first, .ant-rate-xingxing-second { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transition: all .3s; transition: all .3s; color: #CCD3D9; } .ant-rate-xingxing-focused, .ant-rate-xingxing:hover { -webkit-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1); } .ant-rate-xingxing-first { position: absolute; left: 0; top: 0; width: 50%; height: 100%; overflow: hidden; opacity: 0; } .ant-rate-xingxing-half .ant-rate-xingxing-first, .ant-rate-xingxing-half .ant-rate-xingxing-second { opacity: 1; } .ant-rate-xingxing-half .ant-rate-xingxing-first, .ant-rate-xingxing-full .ant-rate-xingxing-second { color: inherit; } .ant-rate-text { margin-left: 8px; display: inline-block; font-size: 12px; }