choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
166 lines (165 loc) • 5.62 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 */
.c7n-pro-tooltip-popup {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
position: absolute;
z-index: 1;
display: block;
padding: 0.08rem;
background-color: transparent ;
-webkit-box-shadow: none ;
box-shadow: none ;
visibility: visible;
}
.c7n-pro-tooltip-popup-help {
z-index: 2;
}
.c7n-pro-tooltip-popup-hidden {
display: none;
}
.c7n-pro-tooltip-popup-inner {
min-width: 0.3rem;
max-width: 4rem;
min-height: 0.32rem;
padding: 0.06rem 0.08rem;
color: #ffffff;
text-align: left;
text-decoration: none;
word-wrap: break-word;
background-color: rgba(0, 0, 0, 0.75);
border-radius: 0.04rem;
-webkit-box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.12);
box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.12);
}
.c7n-pro-tooltip-popup-inner-light {
color: #000000;
background-color: #fff;
}
.c7n-pro-tooltip-popup-inner .c7n-pro-output {
line-height: unset;
}
.c7n-pro-tooltip-popup-arrow {
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
.c7n-pro-tooltip-popup-placement-top,
.c7n-pro-tooltip-popup-placement-topLeft,
.c7n-pro-tooltip-popup-placement-topRight {
padding-right: 0;
padding-left: 0;
}
.c7n-pro-tooltip-popup-placement-right,
.c7n-pro-tooltip-popup-placement-rightTop,
.c7n-pro-tooltip-popup-placement-rightBottom {
padding-top: 0;
padding-bottom: 0;
}
.c7n-pro-tooltip-popup-placement-bottom,
.c7n-pro-tooltip-popup-placement-bottomLeft,
.c7n-pro-tooltip-popup-placement-bottomRight {
padding-right: 0;
padding-left: 0;
}
.c7n-pro-tooltip-popup-placement-left,
.c7n-pro-tooltip-popup-placement-leftTop,
.c7n-pro-tooltip-popup-placement-leftBottom {
padding-top: 0;
padding-bottom: 0;
}
.c7n-pro-tooltip-popup-placement-top .c7n-pro-tooltip-popup-arrow,
.c7n-pro-tooltip-popup-placement-topLeft .c7n-pro-tooltip-popup-arrow,
.c7n-pro-tooltip-popup-placement-topRight .c7n-pro-tooltip-popup-arrow {
bottom: 0.03rem;
border-width: 0.05rem 0.05rem 0;
border-top-color: rgba(0, 0, 0, 0.75);
}
.c7n-pro-tooltip-popup-placement-top .c7n-pro-tooltip-popup-arrow-light,
.c7n-pro-tooltip-popup-placement-topLeft .c7n-pro-tooltip-popup-arrow-light,
.c7n-pro-tooltip-popup-placement-topRight .c7n-pro-tooltip-popup-arrow-light {
border-top-color: #fff;
}
.c7n-pro-tooltip-popup-placement-top .c7n-pro-tooltip-popup-arrow {
left: 50%;
margin-left: -0.05rem;
}
.c7n-pro-tooltip-popup-placement-topLeft .c7n-pro-tooltip-popup-arrow {
left: 0.16rem;
}
.c7n-pro-tooltip-popup-placement-topRight .c7n-pro-tooltip-popup-arrow {
right: 0.16rem;
}
.c7n-pro-tooltip-popup-placement-right .c7n-pro-tooltip-popup-arrow,
.c7n-pro-tooltip-popup-placement-rightTop .c7n-pro-tooltip-popup-arrow,
.c7n-pro-tooltip-popup-placement-rightBottom .c7n-pro-tooltip-popup-arrow {
left: 0.03rem;
border-width: 0.05rem 0.05rem 0.05rem 0;
border-right-color: rgba(0, 0, 0, 0.75);
}
.c7n-pro-tooltip-popup-placement-right .c7n-pro-tooltip-popup-arrow-light,
.c7n-pro-tooltip-popup-placement-rightTop .c7n-pro-tooltip-popup-arrow-light,
.c7n-pro-tooltip-popup-placement-rightBottom .c7n-pro-tooltip-popup-arrow-light {
border-right-color: #fff;
}
.c7n-pro-tooltip-popup-placement-right .c7n-pro-tooltip-popup-arrow {
top: 50%;
margin-top: -0.05rem;
}
.c7n-pro-tooltip-popup-placement-rightTop .c7n-pro-tooltip-popup-arrow {
top: 0.16rem;
}
.c7n-pro-tooltip-popup-placement-rightBottom .c7n-pro-tooltip-popup-arrow {
bottom: 0.16rem;
}
.c7n-pro-tooltip-popup-placement-left .c7n-pro-tooltip-popup-arrow,
.c7n-pro-tooltip-popup-placement-leftTop .c7n-pro-tooltip-popup-arrow,
.c7n-pro-tooltip-popup-placement-leftBottom .c7n-pro-tooltip-popup-arrow {
right: 0.03rem;
border-width: 0.05rem 0 0.05rem 0.05rem;
border-left-color: rgba(0, 0, 0, 0.75);
}
.c7n-pro-tooltip-popup-placement-left .c7n-pro-tooltip-popup-arrow-light,
.c7n-pro-tooltip-popup-placement-leftTop .c7n-pro-tooltip-popup-arrow-light,
.c7n-pro-tooltip-popup-placement-leftBottom .c7n-pro-tooltip-popup-arrow-light {
border-left-color: #fff;
}
.c7n-pro-tooltip-popup-placement-left .c7n-pro-tooltip-popup-arrow {
top: 50%;
margin-top: -0.05rem;
}
.c7n-pro-tooltip-popup-placement-leftTop .c7n-pro-tooltip-popup-arrow {
top: 0.16rem;
}
.c7n-pro-tooltip-popup-placement-leftBottom .c7n-pro-tooltip-popup-arrow {
bottom: 0.16rem;
}
.c7n-pro-tooltip-popup-placement-bottom .c7n-pro-tooltip-popup-arrow,
.c7n-pro-tooltip-popup-placement-bottomLeft .c7n-pro-tooltip-popup-arrow,
.c7n-pro-tooltip-popup-placement-bottomRight .c7n-pro-tooltip-popup-arrow {
top: 0.03rem;
border-width: 0 0.05rem 0.05rem;
border-bottom-color: rgba(0, 0, 0, 0.75);
}
.c7n-pro-tooltip-popup-placement-bottom .c7n-pro-tooltip-popup-arrow-light,
.c7n-pro-tooltip-popup-placement-bottomLeft .c7n-pro-tooltip-popup-arrow-light,
.c7n-pro-tooltip-popup-placement-bottomRight .c7n-pro-tooltip-popup-arrow-light {
border-bottom-color: #fff;
}
.c7n-pro-tooltip-popup-placement-bottom .c7n-pro-tooltip-popup-arrow {
left: 50%;
margin-left: -0.05rem;
}
.c7n-pro-tooltip-popup-placement-bottomLeft .c7n-pro-tooltip-popup-arrow {
left: 0.16rem;
}
.c7n-pro-tooltip-popup-placement-bottomRight .c7n-pro-tooltip-popup-arrow {
right: 0.16rem;
}