yqcloud-ui
Version:
An enterprise-class UI design language and React-based implementation
568 lines (567 loc) • 17.5 kB
CSS
/* 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 */
@-webkit-keyframes antCheckboxEffect {
0% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0.5;
}
100% {
-webkit-transform: scale(1.6);
transform: scale(1.6);
opacity: 0;
}
}
@keyframes antCheckboxEffect {
0% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0.5;
}
100% {
-webkit-transform: scale(1.6);
transform: scale(1.6);
opacity: 0;
}
}
.ant-select-tree-checkbox {
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;
margin: 0;
padding: 0;
list-style: none;
white-space: nowrap;
cursor: pointer;
outline: none;
display: inline-block;
line-height: 1;
position: relative;
vertical-align: middle;
top: -0.09em;
}
.ant-select-tree-checkbox-checked:after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 4px;
content: '';
}
.ant-select-tree-checkbox:hover:after,
.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox:after {
visibility: visible;
}
.ant-select-tree-checkbox-inner {
position: relative;
top: 0;
left: 0;
display: block;
width: 16px;
height: 16px;
border: 2px solid #ACB3BF;
border-radius: 4px;
background-color: #fff;
-webkit-transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1);
transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1);
}
.ant-select-tree-checkbox-inner:after {
-webkit-transform: rotate(45deg) scale(0);
-ms-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
position: absolute;
left: 3.42857143px;
top: -1.14285714px;
display: table;
width: 5.71428571px;
height: 11.42857143px;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
content: ' ';
-webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6);
transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6);
}
.ant-select-tree-checkbox-input {
position: absolute;
left: 0;
z-index: 1;
cursor: pointer;
opacity: 0;
top: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after {
content: ' ';
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
position: absolute;
left: 1.92857143px;
top: 5.42857143px;
width: 9.14285714px;
height: 1.14285714px;
}
.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after {
border-color: rgba(0, 0, 0, 0.25);
}
.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after {
-webkit-transform: rotate(45deg) scale(1);
-ms-transform: rotate(45deg) scale(1);
transform: rotate(45deg) scale(1);
position: absolute;
display: table;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
content: ' ';
-webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
}
.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner,
.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner {
background-color: #2196f3;
border-color: #2196f3;
}
.ant-select-tree-checkbox-disabled {
cursor: not-allowed;
}
.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after {
-webkit-animation-name: none;
animation-name: none;
border-color: rgba(0, 0, 0, 0.25);
}
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input {
cursor: not-allowed;
}
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {
border-color: #CCD3D9 ;
background-color: #f5f5f5;
}
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after {
-webkit-animation-name: none;
animation-name: none;
border-color: #f5f5f5;
}
.ant-select-tree-checkbox-disabled + span {
color: rgba(0, 0, 0, 0.54);
cursor: not-allowed;
}
.ant-select-tree-checkbox-wrapper {
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;
margin: 0;
padding: 0;
list-style: none;
line-height: unset;
cursor: pointer;
display: inline-block;
}
.ant-select-tree-checkbox-wrapper + .ant-select-tree-checkbox-wrapper {
margin-left: 8px;
}
.ant-select-tree-checkbox-wrapper + span,
.ant-select-tree-checkbox + span {
padding-left: 8px;
padding-right: 8px;
}
.ant-select-tree-checkbox-group {
display: inline-block;
}
.ant-select-tree-checkbox-group-item {
display: inline-block;
margin-right: 8px;
}
.ant-select-tree-checkbox-group-item:last-child {
margin-right: 0;
}
.ant-select-tree-checkbox-group-item + .ant-select-tree-checkbox-group-item {
margin-left: 0;
}
.ant-select-tree-checkbox-group-wrapper {
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;
margin: 0;
padding: 0;
list-style: none;
display: inline-block;
}
.ant-select-tree-checkbox-group-wrapper.ant-select-tree-checkbox-group-has-label {
position: relative;
}
.ant-select-tree-checkbox-group-wrapper.ant-select-tree-checkbox-group-has-label .ant-select-tree-checkbox-group {
padding-top: 17px;
}
.ant-select-tree-checkbox-group-wrapper .ant-select-tree-checkbox-group-label.label-disabled {
color: rgba(0, 0, 0, 0.54);
}
.ant-select-tree-checkbox-group-wrapper .ant-select-tree-checkbox-group-label {
color: rgba(0, 0, 0, 0.6);
position: absolute;
left: 0;
width: 100%;
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transform: scale(0.75) translateY(0) translateZ(0.001px);
transform: scale(0.75) translateY(0) translateZ(0.001px);
}
.ant-select .ant-select-selection__choice {
margin: 0;
}
.ant-select .ant-select-tree-selection-label {
top: 0;
margin-top: 0;
}
.ant-select .ant-select-tree-selection {
margin-bottom: 3px;
}
.ant-select .ant-select-tree-selection__placeholder {
position: static;
margin-bottom: 0;
}
.ant-select .ant-select-tree-selection__rendered {
margin-bottom: 0;
}
.ant-select .ant-select-tree-search {
display: none;
}
.ant-select-tree {
border-bottom: 1px solid #CCD3D9;
}
.ant-select-tree {
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;
padding: 0;
list-style: none;
margin: 0;
margin-top: -4px;
}
.ant-select-tree li {
padding: 0;
margin: 8px 0;
list-style: none;
white-space: nowrap;
outline: 0;
}
.ant-select-tree li.filter-node > span {
font-weight: 500;
}
.ant-select-tree li ul {
margin: 0;
padding: 0 0 0 18px;
}
.ant-select-tree li .ant-select-tree-node-content-wrapper {
display: inline-block;
padding: 3px 5px;
border-radius: 2px;
margin: 0;
cursor: pointer;
text-decoration: none;
color: #04173F;
-webkit-transition: all .3s;
transition: all .3s;
width: calc(100% - 24px);
}
.ant-select-tree li .ant-select-tree-node-content-wrapper:hover {
background-color: #ebf3fa;
}
.ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
background-color: #c7edff;
}
.ant-select-tree li span.ant-select-tree-checkbox {
margin: 0 4px 0 0;
}
.ant-select-tree li span.ant-select-tree-checkbox + .ant-select-tree-node-content-wrapper {
width: calc(100% - 46px);
}
.ant-select-tree li span.ant-select-tree-switcher,
.ant-select-tree li span.ant-select-tree-iconEle {
margin: 0;
width: 24px;
height: 24px;
line-height: 22px;
display: inline-block;
vertical-align: middle;
border: 0 none;
cursor: pointer;
outline: none;
text-align: center;
}
.ant-select-tree li span.ant-select-tree-icon_loading:after {
font-size: 18px;
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
vertical-align: middle;
background-image: none;
font-family: 'iconfont' ;
speak: none;
font-style: normal;
font-weight: inherit;
font-variant: normal;
text-transform: none;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
color: #2196f3;
}
.ant-select-tree li span.ant-select-tree-icon_loading:after:before {
line-height: 1;
}
.ant-select-tree li span.ant-select-tree-icon_loading:after:before {
content: "\e6ae";
}
.ant-select-tree li span.ant-select-tree-switcher {
font-size: 14px;
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
vertical-align: middle;
background-image: none;
font-family: 'iconfont' ;
speak: none;
font-style: normal;
font-weight: inherit;
font-variant: normal;
text-transform: none;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ant-select-tree li span.ant-select-tree-switcher:before {
line-height: 1;
}
.ant-select-tree li span.ant-select-tree-switcher:before {
content: "\e6e1";
}
.ant-select-tree li span.ant-select-tree-switcher-expanded {
font-size: 14px;
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
vertical-align: middle;
background-image: none;
font-family: 'iconfont' ;
speak: none;
font-style: normal;
font-weight: inherit;
font-variant: normal;
text-transform: none;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ant-select-tree li span.ant-select-tree-switcher-expanded:before {
line-height: 1;
}
.ant-select-tree li span.ant-select-tree-switcher-expanded:before {
content: "\e6e0";
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher-noop {
font-size: 14px;
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
vertical-align: middle;
background-image: none;
font-family: 'iconfont' ;
speak: none;
font-style: normal;
font-weight: inherit;
font-variant: normal;
text-transform: none;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
cursor: auto;
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher-noop:before {
line-height: 1;
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher-noop:before {
content: "";
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open:after {
font-size: 12px;
font-size: 7px \9;
-webkit-transform: scale(0.58333333) rotate(0deg);
-ms-transform: scale(0.58333333) rotate(0deg);
transform: scale(0.58333333) rotate(0deg);
font-size: 18px;
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
vertical-align: middle;
background-image: none;
font-family: 'iconfont' ;
speak: none;
font-style: normal;
font-weight: inherit;
font-variant: normal;
text-transform: none;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: bold;
-webkit-transition: -webkit-transform .3s;
transition: -webkit-transform .3s;
transition: transform .3s;
transition: transform .3s, -webkit-transform .3s;
}
:root .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open:after {
font-size: 9px;
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open:after:before {
line-height: 1;
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open:after:before {
content: "tree-default-open-icon";
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close:after {
font-size: 12px;
font-size: 7px \9;
-webkit-transform: scale(0.58333333) rotate(0deg);
-ms-transform: scale(0.58333333) rotate(0deg);
transform: scale(0.58333333) rotate(0deg);
font-size: 18px;
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
vertical-align: middle;
background-image: none;
font-family: 'iconfont' ;
speak: none;
font-style: normal;
font-weight: inherit;
font-variant: normal;
text-transform: none;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: bold;
-webkit-transition: -webkit-transform .3s;
transition: -webkit-transform .3s;
transition: transform .3s;
transition: transform .3s, -webkit-transform .3s;
}
:root .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close:after {
font-size: 9px;
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close:after:before {
line-height: 1;
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close:after:before {
content: "tree-default-open-icon";
}
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close:after {
-webkit-transform: rotate(270deg) scale(0.59);
-ms-transform: rotate(270deg) scale(0.59);
transform: rotate(270deg) scale(0.59);
}
.ant-select-tree-child-tree {
display: none;
}
.ant-select-tree-child-tree-open {
display: block;
}
li.ant-select-tree-treenode-disabled > span:not(.ant-select-tree-switcher),
li.ant-select-tree-treenode-disabled > .ant-select-tree-node-content-wrapper,
li.ant-select-tree-treenode-disabled > .ant-select-tree-node-content-wrapper span {
color: rgba(0, 0, 0, 0.25);
cursor: not-allowed;
}
li.ant-select-tree-treenode-disabled > .ant-select-tree-node-content-wrapper:hover {
background: transparent;
}
.ant-select-tree-icon__open {
margin-right: 2px;
vertical-align: top;
}
.ant-select-tree-icon__close {
margin-right: 2px;
vertical-align: top;
}
.ant-select-tree-dropdown {
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;
margin: 0;
padding: 0;
list-style: none;
}
.ant-select-tree-dropdown .ant-select-dropdown-search {
display: block;
padding: 4px;
}
.ant-select-tree-dropdown .ant-select-dropdown-search .ant-select-search__field__wrap {
width: 100%;
}
.ant-select-tree-dropdown .ant-select-dropdown-search .ant-select-search__field {
padding: 4px 7px;
width: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid #CCD3D9;
border-radius: 4px;
outline: none;
}
.ant-select-tree-dropdown .ant-select-dropdown-search.ant-select-search--hide {
display: none;
}
.ant-select-tree-dropdown .ant-select-not-found {
cursor: not-allowed;
color: rgba(0, 0, 0, 0.25);
padding: 7px 16px;
display: block;
}