-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.py
More file actions
73 lines (69 loc) · 1.59 KB
/
Copy pathstyles.py
File metadata and controls
73 lines (69 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# 时间轴基础样式 - 修复CSS注释语法
TIMELINE_STYLE = """
QSlider {
min-height: 12px;
margin: 2px 0px; /* 移除左右边距 */
padding: 4px 8px; /* 改用内边距控制间距 */
border: 1px solid #AAAAAA;
border-radius: 5px;
background: transparent;
}
QSlider::groove:horizontal {
height: 4px;
background: #E0E0E0;
margin: 0px;
border-radius: 2px;
}
QSlider::handle:horizontal {
background: #9E9E9E;
width: 12px;
height: 12px;
margin: -4px 0;
border-radius: 6px;
}
"""
# 音量控制样式
VOLUME_SLIDER_STYLE = """
QSlider::handle:horizontal {
background: #4CAF50;
width: 12px;
margin: -3px 0;
border-radius: 6px;
}
QSlider::groove:horizontal {
height: 6px;
background: #E0E0E0;
margin: 0px;
border-radius: 3px;
}
"""
# 时间显示样式
TIME_LABEL_STYLE = """
font-size: 11px;
color: #666;
padding: 0 4px;
min-width: 60px;
text-align: center;
"""
# 修改标记样式,调整大小和边距
MARK_LABEL_STYLE = """
QLabel {
color: #FF4081;
font-size: 8px;
background: transparent;
padding: 0;
margin: 0;
border: none;
}
"""
# 视频显示区域样式
VIDEO_DISPLAY_STYLE = """
QLabel {
background-color: #000000;
border: 2px solid #E0E0E0;
border-radius: 8px;
padding: 10px;
margin: 10px;
box-shadow: 0px 0px 10px rgba(76, 175, 80, 0.5);
}
"""