vxe-table-demonic
Version:
一个基于 vue 的 PC 端表单/表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、JSON 配置式...
130 lines (129 loc) • 3.6 kB
CSS
/*font*/
/*size*/
/*icon*/
/*color*/
/*input/radio/checkbox*/
/*popup*/
/*table*/
/*filter*/
/*menu*/
/*loading*/
/*validate*/
/*grid*/
/*toolbar*/
/*tooltip*/
/*pager*/
/*modal*/
/*checkbox*/
/*radio*/
/*button*/
/*input*/
/*textarea*/
/*form*/
/*select*/
/*switch*/
/*pulldown*/
/*tag*/
/*tppltip*/
.vxe-table--tooltip-wrapper {
display: none;
position: absolute;
top: -100%;
left: -100%;
font-size: 12px;
max-width: 600px;
border-radius: var(--vxe-border-radius);
padding: 8px 12px;
white-space: normal;
word-break: break-word;
box-shadow: 2px 2px 4px -2px rgba(0, 0, 0, 0.2);
color: var(--vxe-font-color);
font-family: var(--vxe-font-family);
}
.vxe-table--tooltip-wrapper:not(.is--enterable) {
pointer-events: none;
}
.vxe-table--tooltip-wrapper.is--visible {
display: block;
}
.vxe-table--tooltip-wrapper.is--arrow .vxe-table--tooltip-arrow {
display: block;
}
.vxe-table--tooltip-wrapper.is--enterable:after {
content: "";
position: absolute;
left: 0;
width: 100%;
height: 6px;
background-color: transparent;
}
.vxe-table--tooltip-wrapper .vxe-table--tooltip-content {
white-space: pre-line;
}
.vxe-table--tooltip-wrapper .vxe-table--tooltip-arrow {
display: none;
position: absolute;
border-color: transparent;
border-width: 6px;
border-style: solid;
left: 50%;
transform: translateX(-6px);
}
.vxe-table--tooltip-wrapper .vxe-table--tooltip-arrow:before {
content: "";
position: absolute;
border-color: transparent;
border-width: 5px;
border-style: solid;
left: -5px;
}
.vxe-table--tooltip-wrapper.placement--top.is--enterable:after {
bottom: -6px;
}
.vxe-table--tooltip-wrapper.placement--top .vxe-table--tooltip-arrow {
bottom: -12px;
}
.vxe-table--tooltip-wrapper.placement--top .vxe-table--tooltip-arrow:before {
top: -7px;
}
.vxe-table--tooltip-wrapper.placement--bottom.is--enterable:after {
top: -6px;
}
.vxe-table--tooltip-wrapper.placement--bottom .vxe-table--tooltip-arrow {
top: -12px;
}
.vxe-table--tooltip-wrapper.placement--bottom .vxe-table--tooltip-arrow:before {
top: -4px;
}
.vxe-table--tooltip-wrapper.theme--light {
background-color: var(--vxe-tooltip-light-background-color);
border: 1px solid var(--vxe-input-border-color);
}
.vxe-table--tooltip-wrapper.theme--light.placement--top .vxe-table--tooltip-arrow {
border-top-color: var(--vxe-input-border-color);
}
.vxe-table--tooltip-wrapper.theme--light.placement--top .vxe-table--tooltip-arrow:before {
border-top-color: var(--vxe-tooltip-light-background-color);
}
.vxe-table--tooltip-wrapper.theme--light.placement--bottom .vxe-table--tooltip-arrow {
border-bottom-color: var(--vxe-input-border-color);
}
.vxe-table--tooltip-wrapper.theme--light.placement--bottom .vxe-table--tooltip-arrow:before {
border-bottom-color: var(--vxe-tooltip-light-background-color);
}
.vxe-table--tooltip-wrapper.theme--dark {
background: var(--vxe-tooltip-dark-background-color);
color: var(--vxe-tooltip-dark-color);
}
.vxe-table--tooltip-wrapper.theme--dark.placement--top .vxe-table--tooltip-arrow {
border-top-color: var(--vxe-tooltip-dark-background-color);
}
.vxe-table--tooltip-wrapper.theme--dark.placement--top .vxe-table--tooltip-arrow:before {
border-top-color: var(--vxe-tooltip-dark-background-color);
}
.vxe-table--tooltip-wrapper.theme--dark.placement--bottom .vxe-table--tooltip-arrow {
border-bottom-color: var(--vxe-tooltip-dark-background-color);
}
.vxe-table--tooltip-wrapper.theme--dark.placement--bottom .vxe-table--tooltip-arrow:before {
border-bottom-color: var(--vxe-tooltip-dark-background-color);
}