121 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			121 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/* ------ 整体画布 ------ */
 | 
						||
QTreeWidget#treeW {
 | 
						||
    background: #ffffff;
 | 
						||
    border: 1px solid #d0d7de;
 | 
						||
    border-radius: 8px;
 | 
						||
    outline: none;
 | 
						||
    color: #24292f;                    /* 默认文字色 */
 | 
						||
    font-family: "Consolas";
 | 
						||
    font-size: 16px;
 | 
						||
    gridline-color: #e1e4e8;       /* 网格线 */
 | 
						||
    show-decoration-selected: 1;       /* 整行选中 */
 | 
						||
    background-clip: padding;
 | 
						||
}
 | 
						||
 | 
						||
/* ------ 表头 ------ */
 | 
						||
QHeaderView#header {
 | 
						||
    background: #eef1f5;
 | 
						||
    border-left: 1px solid #d0d7de;
 | 
						||
    border-bottom: 1px solid #d0d7de;
 | 
						||
    border-right: none;   /* 最右列去线 */
 | 
						||
    font-weight: 600;
 | 
						||
    font-size: 16px;
 | 
						||
    color: #57606a;
 | 
						||
}
 | 
						||
QHeaderView#header:section {
 | 
						||
    padding: 6px 10px;
 | 
						||
}
 | 
						||
QHeaderView#header:section:hover {
 | 
						||
    background: rgba(9, 105, 218, 12%);
 | 
						||
}
 | 
						||
 | 
						||
/* ------ 行(item) ------ */
 | 
						||
QTreeWidget#treeW::item {
 | 
						||
    height: 25px;                      /* 固定行高 */
 | 
						||
    padding-left: 8px;
 | 
						||
    /*border-right: 1px solid #e1e4e8;
 | 
						||
    border-bottom: 1px solid #e1e4e8;*/
 | 
						||
}
 | 
						||
 | 
						||
QTreeWidget#treeW::item:selected {
 | 
						||
    background: #0969da;
 | 
						||
    color: #ffffff;
 | 
						||
    border-left: 0px solid #0550ae;    /* 左侧高亮条 */
 | 
						||
}
 | 
						||
QTreeWidget#treeW::item:hover:!selected {
 | 
						||
    background: rgba(9, 105, 218, 12%);
 | 
						||
}
 | 
						||
QTreeWidget#treeW::item:disabled {
 | 
						||
    color: #8c959f;
 | 
						||
    background: transparent;
 | 
						||
}
 | 
						||
 | 
						||
/* ------ 分支指示器(三角) ------ */
 | 
						||
QTreeWidget#treeW::branch {
 | 
						||
    width: 0px;
 | 
						||
    height: 0px;
 | 
						||
    image: none;      /* 也不画三角 */
 | 
						||
}
 | 
						||
 | 
						||
/* ------ 滚动条(仅影响 #treeW) ------ */
 | 
						||
QTreeWidget#treeW QScrollBar:vertical {
 | 
						||
    width: 10px;
 | 
						||
    background: transparent;
 | 
						||
    border-radius: 5px;
 | 
						||
}
 | 
						||
QTreeWidget#treeW QScrollBar::handle:vertical {
 | 
						||
    background: #c0c6cc;
 | 
						||
    border-radius: 3px;
 | 
						||
    min-height: 20px;
 | 
						||
}
 | 
						||
QTreeWidget#treeW QScrollBar::handle:vertical:hover {
 | 
						||
    background: #a0a6ac;
 | 
						||
}
 | 
						||
QTreeWidget#treeW QScrollBar::add-line:vertical,
 | 
						||
QTreeWidget#treeW QScrollBar::sub-line:vertical {
 | 
						||
    height: 0;                         /* 隐藏箭头 */
 | 
						||
}
 | 
						||
 | 
						||
QTreeWidget#treeW QScrollBar:horizontal {
 | 
						||
    height: 10px;
 | 
						||
    background: transparent;
 | 
						||
    border-radius: 5px;
 | 
						||
}
 | 
						||
QTreeWidget#treeW QScrollBar::handle:horizontal {
 | 
						||
    background: #c0c6cc;
 | 
						||
    border-radius: 5px;
 | 
						||
    min-width: 20px;
 | 
						||
}
 | 
						||
QTreeWidget#treeW QScrollBar::handle:horizontal:hover {
 | 
						||
    background: #a0a6ac;
 | 
						||
}
 | 
						||
QTreeWidget#treeW QScrollBar::add-line:horizontal,
 | 
						||
QTreeWidget#treeW QScrollBar::sub-line:horizontal {
 | 
						||
    width: 0;
 | 
						||
}
 | 
						||
 | 
						||
QPushButton#pb_search,
 | 
						||
QPushButton#pb_previous,
 | 
						||
QPushButton#pb_next {
 | 
						||
    font-family: "Consolas";
 | 
						||
    font-size: 18px;
 | 
						||
}
 | 
						||
 | 
						||
QLabel#lb_page {
 | 
						||
    font-family: "Consolas";
 | 
						||
    font-size: 18px;
 | 
						||
}
 | 
						||
 | 
						||
QCheckBox#box_info,
 | 
						||
QCheckBox#box_warning,
 | 
						||
QCheckBox#box_error,
 | 
						||
QCheckBox#box_exception,
 | 
						||
QCheckBox#box_unknown {
 | 
						||
    font-family: "Consolas";
 | 
						||
    font-size: 18px;
 | 
						||
}
 | 
						||
 | 
						||
QLineEdit#le_search {
 | 
						||
    font-family: "Consolas";
 | 
						||
    font-size: 18px;
 | 
						||
} |