qss
This commit is contained in:
		
							
								
								
									
										27
									
								
								toolbox/assets/conf/qss/home_overlay.qss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								toolbox/assets/conf/qss/home_overlay.qss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
LunarClockLabel#lb_time {
 | 
			
		||||
    color: rgba(255,255,255,255);
 | 
			
		||||
    font: 96px "Arial Black";
 | 
			
		||||
    font-weight: bold;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
LunarClockLabel#lb_date {
 | 
			
		||||
    color: rgba(255,255,255,255);
 | 
			
		||||
    font: 18px "Consolas";
 | 
			
		||||
    font-weight: bold;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QLabel#lb_name {
 | 
			
		||||
    color: rgba(255,255,255,255);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QFrame#line_left,
 | 
			
		||||
QFrame#line_right {
 | 
			
		||||
    border: none;
 | 
			
		||||
    background-color: rgba(255, 255, 255, 40);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QLabel#lb_proverb {
 | 
			
		||||
    color: rgba(255,255,255,255);
 | 
			
		||||
    font: 20px "Consolas";
 | 
			
		||||
    font-weight: bold;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										92
									
								
								toolbox/assets/conf/qss/list_widget.qss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										92
									
								
								toolbox/assets/conf/qss/list_widget.qss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,92 @@
 | 
			
		||||
/* ------ 整体画布 ------ */
 | 
			
		||||
QListWidget#SListWidget {
 | 
			
		||||
    background: #ffffff;
 | 
			
		||||
    border: 1px solid #d0d7de;
 | 
			
		||||
    border-radius: 4px;
 | 
			
		||||
    outline: none;
 | 
			
		||||
    color: #24292f;                    /* 默认文字色 */
 | 
			
		||||
    font-family: "Consolas";
 | 
			
		||||
    font-size: 18px;
 | 
			
		||||
    gridline-color: transparent;       /* 网格线 */
 | 
			
		||||
    /* 交替行颜色(需代码 setAlternatingRowColors(true)) */
 | 
			
		||||
    alternate-background-color: #f6f8fa;
 | 
			
		||||
    /* 滚动条圆角背景 */
 | 
			
		||||
    background-clip: padding;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* ------ 单项(行) ------ */
 | 
			
		||||
QListWidget#SListWidget::item {
 | 
			
		||||
    height: 36px;                      /* 固定行高 */
 | 
			
		||||
    padding-left: 12px;
 | 
			
		||||
    padding-right: 8px;
 | 
			
		||||
    border: none;
 | 
			
		||||
    /* 行内文字对齐方式 */
 | 
			
		||||
    text-align: left;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* 选中态 */
 | 
			
		||||
QListWidget#SListWidget::item:selected {
 | 
			
		||||
    background: #0969da;
 | 
			
		||||
    color: #ffffff;
 | 
			
		||||
    border-left: 0px solid #0550ae;    /* 左侧高亮条 */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* 悬停态(未选中) */
 | 
			
		||||
QListWidget#SListWidget::item:hover:!selected {
 | 
			
		||||
    background: rgba(9, 105, 218, 12%);
 | 
			
		||||
    border-left: 4px solid transparent;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* 禁用态 */
 | 
			
		||||
QListWidget#SListWidget::item:disabled {
 | 
			
		||||
    color: #8c959f;
 | 
			
		||||
    background: transparent;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* ------ 图标区域 ------ */
 | 
			
		||||
QListWidget#SListWidget::icon {
 | 
			
		||||
    padding-right: 8px;                /* 图标与文字间距 */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* ------ 滚动条(仅影响 #SListWidget) ------ */
 | 
			
		||||
QListWidget#SListWidget QScrollBar:vertical {
 | 
			
		||||
    width: 10px;
 | 
			
		||||
    background: transparent;
 | 
			
		||||
    border-radius: 5px;
 | 
			
		||||
}
 | 
			
		||||
QListWidget#SListWidget QScrollBar::handle:vertical {
 | 
			
		||||
    background: #c0c6cc;
 | 
			
		||||
    border-radius: 5px;
 | 
			
		||||
    min-height: 30px;
 | 
			
		||||
}
 | 
			
		||||
QListWidget#SListWidget QScrollBar::handle:vertical:hover {
 | 
			
		||||
    background: #a0a6ac;
 | 
			
		||||
}
 | 
			
		||||
QListWidget#SListWidget QScrollBar::add-line:vertical,
 | 
			
		||||
QListWidget#SListWidget QScrollBar::sub-line:vertical {
 | 
			
		||||
    height: 0;                         /* 隐藏上下箭头 */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QListWidget#SListWidget QScrollBar:horizontal {
 | 
			
		||||
    height: 10px;
 | 
			
		||||
    background: transparent;
 | 
			
		||||
    border-radius: 5px;
 | 
			
		||||
}
 | 
			
		||||
QListWidget#SListWidget QScrollBar::handle:horizontal {
 | 
			
		||||
    background: #c0c6cc;
 | 
			
		||||
    border-radius: 5px;
 | 
			
		||||
    min-width: 30px;
 | 
			
		||||
}
 | 
			
		||||
QListWidget#SListWidget QScrollBar::handle:horizontal:hover {
 | 
			
		||||
    background: #a0a6ac;
 | 
			
		||||
}
 | 
			
		||||
QListWidget#SListWidget QScrollBar::add-line:horizontal,
 | 
			
		||||
QListWidget#SListWidget QScrollBar::sub-line:horizontal {
 | 
			
		||||
    width: 0;                          /* 隐藏左右箭头 */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* ------ 拖拽插入指示器(可选) ------ */
 | 
			
		||||
QListWidget#SListWidget::drop-indicator {
 | 
			
		||||
    background: #0969da;
 | 
			
		||||
    width: 2px;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										6
									
								
								toolbox/assets/conf/qss/statusbar.qss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								toolbox/assets/conf/qss/statusbar.qss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
QStatusBar#SStatusBar {
 | 
			
		||||
    background: #8B8989;   /* 背景色 */
 | 
			
		||||
    color: #000000;        /* 文字色 */
 | 
			
		||||
    border: none;
 | 
			
		||||
    font: 16px "Consolas";
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										49
									
								
								toolbox/assets/conf/qss/toolbar.qss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								toolbox/assets/conf/qss/toolbar.qss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,49 @@
 | 
			
		||||
QToolBar#SToolBar {
 | 
			
		||||
    background: #eef1f5;             /* 背景色 */
 | 
			
		||||
    border: none;                    /* 去掉默认边框 */
 | 
			
		||||
    border-bottom: 2px solid #d0d7de;/* 底部分隔线 */
 | 
			
		||||
    spacing: 2px;                    /* 图标/按钮间距 */
 | 
			
		||||
    padding: 2px 4px;                /* 内边距:上下/左右 */
 | 
			
		||||
    min-height: 20px;                /* 最小高度 */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* 工具栏里所有 QToolButton(图标按钮) */
 | 
			
		||||
QToolBar#SToolBar QToolButton {
 | 
			
		||||
    background: transparent;
 | 
			
		||||
    border: 1px solid transparent;
 | 
			
		||||
    border-radius: 8px;
 | 
			
		||||
    color: #24292f;
 | 
			
		||||
    font: 18px "Consolas";
 | 
			
		||||
    padding: 0px 0px;
 | 
			
		||||
    margin: 0px 0px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* 悬停 */
 | 
			
		||||
QToolBar#SToolBar QToolButton:hover {
 | 
			
		||||
    background: rgba(9, 105, 218, 12%);
 | 
			
		||||
    border-color: #0969da;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* 按下/选中 */
 | 
			
		||||
QToolBar#SToolBar QToolButton:pressed,
 | 
			
		||||
QToolBar#SToolBar QToolButton:checked {
 | 
			
		||||
    background: #0969da;
 | 
			
		||||
    color: #ffffff;
 | 
			
		||||
    border-color: #0550ae;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* 仅工具栏里 objectName = ac_switch 的按钮 */
 | 
			
		||||
QToolBar#SToolBar QToolButton#ac_switch {
 | 
			
		||||
    background: #eef1f5;
 | 
			
		||||
    border: none;
 | 
			
		||||
    border-radius: 4px;
 | 
			
		||||
    color: #fff;
 | 
			
		||||
    font: 14px "Microsoft YaHei";
 | 
			
		||||
    padding: 4px 6px;
 | 
			
		||||
}
 | 
			
		||||
QToolBar#SToolBar QToolButton#ac_switch:hover {
 | 
			
		||||
    background: #eef1f5;
 | 
			
		||||
}
 | 
			
		||||
QToolBar#toolBar QToolButton#ac_switch:pressed {
 | 
			
		||||
    background: #0550ae;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										121
									
								
								toolbox/assets/conf/qss/w08_log.qss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										121
									
								
								toolbox/assets/conf/qss/w08_log.qss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,121 @@
 | 
			
		||||
/* ------ 整体画布 ------ */
 | 
			
		||||
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;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user