Skip to content

Commit e8795e1

Browse files
committed
chore: improve tasks list
1 parent 9741d40 commit e8795e1

6 files changed

Lines changed: 942 additions & 299 deletions

File tree

TelegramDownloader/Pages/Downloads.razor.css

Lines changed: 43 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -48,77 +48,81 @@
4848
margin-right: auto;
4949
}
5050

51-
/* Action buttons */
51+
/* Tab action buttons - these are different from table action buttons */
5252
.action-btn-group {
5353
display: flex;
5454
gap: 0.5rem;
5555
}
5656

57-
.action-btn {
58-
display: inline-flex;
59-
align-items: center;
60-
gap: 0.5rem;
61-
padding: 0.5rem 1rem;
62-
border-radius: 0.5rem;
63-
font-size: 0.875rem;
64-
font-weight: 500;
65-
border: 1px solid rgba(255, 255, 255, 0.1);
66-
background: rgba(255, 255, 255, 0.05);
67-
color: rgba(255, 255, 255, 0.8);
57+
.action-btn-group .action-btn {
58+
display: inline-flex !important;
59+
align-items: center !important;
60+
gap: 0.5rem !important;
61+
padding: 0.5rem 1rem !important;
62+
width: auto !important;
63+
height: auto !important;
64+
min-width: auto !important;
65+
border-radius: 0.5rem !important;
66+
font-size: 0.875rem !important;
67+
font-weight: 500 !important;
68+
border: 1px solid rgba(255, 255, 255, 0.1) !important;
69+
background: rgba(255, 255, 255, 0.05) !important;
70+
color: rgba(255, 255, 255, 0.8) !important;
6871
cursor: pointer;
6972
transition: all 0.2s ease;
7073
}
7174

72-
.action-btn:hover {
75+
.action-btn-group .action-btn:hover {
7376
transform: translateY(-1px);
7477
}
7578

76-
.action-btn.clear {
77-
border-color: rgba(40, 167, 69, 0.3);
78-
color: #5dd879;
79+
.action-btn-group .action-btn.clear {
80+
border-color: rgba(40, 167, 69, 0.3) !important;
81+
color: #5dd879 !important;
7982
}
8083

81-
.action-btn.clear:hover {
82-
background: rgba(40, 167, 69, 0.15);
83-
border-color: rgba(40, 167, 69, 0.5);
84+
.action-btn-group .action-btn.clear:hover {
85+
background: rgba(40, 167, 69, 0.15) !important;
86+
border-color: rgba(40, 167, 69, 0.5) !important;
8487
box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
8588
}
8689

87-
.action-btn.play {
88-
border-color: rgba(23, 162, 184, 0.3);
89-
color: #5bc0de;
90+
.action-btn-group .action-btn.play {
91+
border-color: rgba(23, 162, 184, 0.3) !important;
92+
color: #5bc0de !important;
9093
}
9194

92-
.action-btn.play:hover {
93-
background: rgba(23, 162, 184, 0.15);
94-
border-color: rgba(23, 162, 184, 0.5);
95+
.action-btn-group .action-btn.play:hover {
96+
background: rgba(23, 162, 184, 0.15) !important;
97+
border-color: rgba(23, 162, 184, 0.5) !important;
9598
box-shadow: 0 4px 12px rgba(23, 162, 184, 0.2);
9699
}
97100

98-
.action-btn.pause {
99-
border-color: rgba(255, 193, 7, 0.3);
100-
color: #ffc107;
101+
.action-btn-group .action-btn.pause {
102+
border-color: rgba(255, 193, 7, 0.3) !important;
103+
color: #ffc107 !important;
101104
}
102105

103-
.action-btn.pause:hover {
104-
background: rgba(255, 193, 7, 0.15);
105-
border-color: rgba(255, 193, 7, 0.5);
106+
.action-btn-group .action-btn.pause:hover {
107+
background: rgba(255, 193, 7, 0.15) !important;
108+
border-color: rgba(255, 193, 7, 0.5) !important;
106109
box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
107110
}
108111

109-
.action-btn.stop {
110-
border-color: rgba(220, 53, 69, 0.3);
111-
color: #ff6b6b;
112+
.action-btn-group .action-btn.stop {
113+
border-color: rgba(220, 53, 69, 0.3) !important;
114+
color: #ff6b6b !important;
112115
}
113116

114-
.action-btn.stop:hover {
115-
background: rgba(220, 53, 69, 0.15);
116-
border-color: rgba(220, 53, 69, 0.5);
117+
.action-btn-group .action-btn.stop:hover {
118+
background: rgba(220, 53, 69, 0.15) !important;
119+
border-color: rgba(220, 53, 69, 0.5) !important;
117120
box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
118121
}
119122

120-
.action-btn i {
121-
font-size: 1rem;
123+
.action-btn-group .action-btn i {
124+
font-size: 1rem !important;
125+
color: inherit !important;
122126
}
123127

124128
/* Custom tabs styling */

0 commit comments

Comments
 (0)