hb_zhgd_screen/css/tipCommon.css

81 lines
1.5 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Tooltip 图标样式 */
.info-icon {
display: inline-block;
cursor: pointer;
}
/* Tooltip 盒子样式 - 定位在模块右上角 */
.tooltip-box {
position: absolute;
top: 40px;
right: 10px;
background: rgba(13, 34, 37, 0.95);
color: #FFFFFF;
padding: 12px 16px;
border: 1px solid rgba(6, 189, 221, 0.6);
border-radius: 4px;
font-size: 16px;
line-height: 1.6;
/* max-width: 280px; */
word-wrap: break-word;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
display: none;
opacity: 0;
transition: opacity 0.3s ease;
z-index: 1000;
pointer-events: none;
}
/* 鼠标移入标题区域包含icon时显示 tooltip */
.module-title:hover~.tooltip-box {
display: block;
opacity: 1;
}
.sub-module-title:hover~.tooltip-box {
display: block;
opacity: 1;
}
.panel-title:hover~.tooltip-box {
display: block;
opacity: 1;
}
.table-subtitle:hover~.tooltip-box {
display: block;
opacity: 1;
}
.title-text {
flex: 1;
}
.progress-chart-wrapper,.statistics-wrapper {
position: relative;
}
.panel {
position: relative;
}
.panel-title {
display: flex;
align-items: center;
}
.sub-module {
position: relative;
}
.personnel-table-wrapper {
position: relative;
}
.personnel-chart-wrapper {
position: relative;
}
.title-indicator {
width: 4px !important;
height: 20px !important;
background: linear-gradient(180deg, #FF9C65 0%, #FFD700 100%) !important;
margin-right: 10px !important;
flex-shrink: 0 !important;
}