This commit is contained in:
2025-10-10 17:16:08 +08:00
parent ed947743fc
commit 062b1e24e9
281 changed files with 536 additions and 109 deletions

2
.gitignore vendored
View File

@@ -3,5 +3,5 @@
rokae/testbench.py
**/__pycache__/
NOTRACK/
toolbox/assets/
toolbox/assets/database/
toolbox/output/

View File

@@ -1,5 +1,5 @@
{
"ip_addr": "192.168.0.160",
"ip_addr": "192.168.2.160",
"ssh_port": "22",
"socket_port": 5050,
"xService_port": 6666,

View File

@@ -0,0 +1,8 @@
{
"minimum_password_length": 8,
"maximum_db_number": 10,
"log_number_per_page": 30,
"database_path": "",
"api_ali_pay": "",
"api_wechat_pay": ""
}

View 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;
}

View 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;
}

View File

@@ -0,0 +1,6 @@
QStatusBar#SStatusBar {
background: #8B8989; /* 背景色 */
color: #000000; /* 文字色 */
border: none;
font: 16px "Consolas";
}

View 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;
}

View 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;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Some files were not shown because too many files have changed in this diff Show More