275 lines
8.5 KiB
CSS
275 lines
8.5 KiB
CSS
![]() |
/* 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-dropdown {
|
||
|
box-sizing: border-box;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
color: rgba(0, 0, 0, 0.65);
|
||
|
font-size: 14px;
|
||
|
font-variant: tabular-nums;
|
||
|
line-height: 1.5;
|
||
|
list-style: none;
|
||
|
font-feature-settings: 'tnum';
|
||
|
position: absolute;
|
||
|
top: -9999px;
|
||
|
left: -9999px;
|
||
|
z-index: 1050;
|
||
|
display: block;
|
||
|
}
|
||
|
.ant-dropdown::before {
|
||
|
position: absolute;
|
||
|
top: -7px;
|
||
|
right: 0;
|
||
|
bottom: -7px;
|
||
|
left: -7px;
|
||
|
z-index: -9999;
|
||
|
opacity: 0.0001;
|
||
|
content: ' ';
|
||
|
}
|
||
|
.ant-dropdown-wrap {
|
||
|
position: relative;
|
||
|
}
|
||
|
.ant-dropdown-wrap .ant-btn > .anticon-down {
|
||
|
display: inline-block;
|
||
|
font-size: 12px;
|
||
|
font-size: 10px \9;
|
||
|
transform: scale(0.83333333) rotate(0deg);
|
||
|
}
|
||
|
:root .ant-dropdown-wrap .ant-btn > .anticon-down {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
.ant-dropdown-wrap .anticon-down::before {
|
||
|
transition: transform 0.2s;
|
||
|
}
|
||
|
.ant-dropdown-wrap-open .anticon-down::before {
|
||
|
transform: rotate(180deg);
|
||
|
}
|
||
|
.ant-dropdown-hidden,
|
||
|
.ant-dropdown-menu-hidden {
|
||
|
display: none;
|
||
|
}
|
||
|
.ant-dropdown-menu {
|
||
|
position: relative;
|
||
|
margin: 0;
|
||
|
padding: 4px 0;
|
||
|
text-align: left;
|
||
|
list-style-type: none;
|
||
|
background-color: #fff;
|
||
|
background-clip: padding-box;
|
||
|
border-radius: 4px;
|
||
|
outline: none;
|
||
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||
|
-webkit-transform: translate3d(0, 0, 0);
|
||
|
}
|
||
|
.ant-dropdown-menu-item-group-title {
|
||
|
padding: 5px 12px;
|
||
|
color: rgba(0, 0, 0, 0.45);
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
.ant-dropdown-menu-submenu-popup {
|
||
|
position: absolute;
|
||
|
z-index: 1050;
|
||
|
}
|
||
|
.ant-dropdown-menu-submenu-popup > .ant-dropdown-menu {
|
||
|
transform-origin: 0 0;
|
||
|
}
|
||
|
.ant-dropdown-menu-submenu-popup ul,
|
||
|
.ant-dropdown-menu-submenu-popup li {
|
||
|
list-style: none;
|
||
|
}
|
||
|
.ant-dropdown-menu-submenu-popup ul {
|
||
|
margin-right: 0.3em;
|
||
|
margin-left: 0.3em;
|
||
|
padding: 0;
|
||
|
}
|
||
|
.ant-dropdown-menu-item,
|
||
|
.ant-dropdown-menu-submenu-title {
|
||
|
clear: both;
|
||
|
margin: 0;
|
||
|
padding: 5px 12px;
|
||
|
color: rgba(0, 0, 0, 0.65);
|
||
|
font-weight: normal;
|
||
|
font-size: 14px;
|
||
|
line-height: 22px;
|
||
|
white-space: nowrap;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
.ant-dropdown-menu-item > .anticon:first-child,
|
||
|
.ant-dropdown-menu-submenu-title > .anticon:first-child,
|
||
|
.ant-dropdown-menu-item > span > .anticon:first-child,
|
||
|
.ant-dropdown-menu-submenu-title > span > .anticon:first-child {
|
||
|
min-width: 12px;
|
||
|
margin-right: 8px;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
.ant-dropdown-menu-item > a,
|
||
|
.ant-dropdown-menu-submenu-title > a {
|
||
|
display: block;
|
||
|
margin: -5px -12px;
|
||
|
padding: 5px 12px;
|
||
|
color: rgba(0, 0, 0, 0.65);
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
.ant-dropdown-menu-item-selected,
|
||
|
.ant-dropdown-menu-submenu-title-selected,
|
||
|
.ant-dropdown-menu-item-selected > a,
|
||
|
.ant-dropdown-menu-submenu-title-selected > a {
|
||
|
color: #1890ff;
|
||
|
background-color: #e6f7ff;
|
||
|
}
|
||
|
.ant-dropdown-menu-item:hover,
|
||
|
.ant-dropdown-menu-submenu-title:hover {
|
||
|
background-color: #e6f7ff;
|
||
|
}
|
||
|
.ant-dropdown-menu-item-disabled,
|
||
|
.ant-dropdown-menu-submenu-title-disabled {
|
||
|
color: rgba(0, 0, 0, 0.25);
|
||
|
cursor: not-allowed;
|
||
|
}
|
||
|
.ant-dropdown-menu-item-disabled:hover,
|
||
|
.ant-dropdown-menu-submenu-title-disabled:hover {
|
||
|
color: rgba(0, 0, 0, 0.25);
|
||
|
background-color: #fff;
|
||
|
cursor: not-allowed;
|
||
|
}
|
||
|
.ant-dropdown-menu-item-divider,
|
||
|
.ant-dropdown-menu-submenu-title-divider {
|
||
|
height: 1px;
|
||
|
margin: 4px 0;
|
||
|
overflow: hidden;
|
||
|
line-height: 0;
|
||
|
background-color: #e8e8e8;
|
||
|
}
|
||
|
.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,
|
||
|
.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow {
|
||
|
position: absolute;
|
||
|
right: 8px;
|
||
|
}
|
||
|
.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,
|
||
|
.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {
|
||
|
color: rgba(0, 0, 0, 0.45);
|
||
|
font-style: normal;
|
||
|
display: inline-block;
|
||
|
font-size: 12px;
|
||
|
font-size: 10px \9;
|
||
|
transform: scale(0.83333333) rotate(0deg);
|
||
|
}
|
||
|
:root .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,
|
||
|
:root .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
.ant-dropdown-menu-item-group-list {
|
||
|
margin: 0 8px;
|
||
|
padding: 0;
|
||
|
list-style: none;
|
||
|
}
|
||
|
.ant-dropdown-menu-submenu-title {
|
||
|
padding-right: 26px;
|
||
|
}
|
||
|
.ant-dropdown-menu-submenu-vertical {
|
||
|
position: relative;
|
||
|
}
|
||
|
.ant-dropdown-menu-submenu-vertical > .ant-dropdown-menu {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 100%;
|
||
|
min-width: 100%;
|
||
|
margin-left: 4px;
|
||
|
transform-origin: 0 0;
|
||
|
}
|
||
|
.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,
|
||
|
.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {
|
||
|
color: rgba(0, 0, 0, 0.25);
|
||
|
background-color: #fff;
|
||
|
cursor: not-allowed;
|
||
|
}
|
||
|
.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title {
|
||
|
color: #1890ff;
|
||
|
}
|
||
|
.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomLeft,
|
||
|
.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomLeft,
|
||
|
.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomCenter,
|
||
|
.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomCenter,
|
||
|
.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomRight,
|
||
|
.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomRight {
|
||
|
-webkit-animation-name: antSlideUpIn;
|
||
|
animation-name: antSlideUpIn;
|
||
|
}
|
||
|
.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topLeft,
|
||
|
.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topLeft,
|
||
|
.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topCenter,
|
||
|
.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topCenter,
|
||
|
.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topRight,
|
||
|
.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topRight {
|
||
|
-webkit-animation-name: antSlideDownIn;
|
||
|
animation-name: antSlideDownIn;
|
||
|
}
|
||
|
.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomLeft,
|
||
|
.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomCenter,
|
||
|
.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomRight {
|
||
|
-webkit-animation-name: antSlideUpOut;
|
||
|
animation-name: antSlideUpOut;
|
||
|
}
|
||
|
.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topLeft,
|
||
|
.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topCenter,
|
||
|
.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topRight {
|
||
|
-webkit-animation-name: antSlideDownOut;
|
||
|
animation-name: antSlideDownOut;
|
||
|
}
|
||
|
.ant-dropdown-trigger > .anticon.anticon-down,
|
||
|
.ant-dropdown-link > .anticon.anticon-down {
|
||
|
display: inline-block;
|
||
|
font-size: 12px;
|
||
|
font-size: 10px \9;
|
||
|
transform: scale(0.83333333) rotate(0deg);
|
||
|
}
|
||
|
:root .ant-dropdown-trigger > .anticon.anticon-down,
|
||
|
:root .ant-dropdown-link > .anticon.anticon-down {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
.ant-dropdown-button {
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
.ant-dropdown-button.ant-btn-group > .ant-btn:last-child:not(:first-child) {
|
||
|
padding-right: 8px;
|
||
|
padding-left: 8px;
|
||
|
}
|
||
|
.ant-dropdown-button .anticon.anticon-down {
|
||
|
display: inline-block;
|
||
|
font-size: 12px;
|
||
|
font-size: 10px \9;
|
||
|
transform: scale(0.83333333) rotate(0deg);
|
||
|
}
|
||
|
:root .ant-dropdown-button .anticon.anticon-down {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
.ant-dropdown-menu-dark,
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu {
|
||
|
background: #001529;
|
||
|
}
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-item,
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-item > a {
|
||
|
color: rgba(255, 255, 255, 0.65);
|
||
|
}
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow::after,
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow::after,
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-item > a .ant-dropdown-menu-submenu-arrow::after {
|
||
|
color: rgba(255, 255, 255, 0.65);
|
||
|
}
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover,
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-item > a:hover {
|
||
|
color: #fff;
|
||
|
background: transparent;
|
||
|
}
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,
|
||
|
.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected > a {
|
||
|
color: #fff;
|
||
|
background: #1890ff;
|
||
|
}
|