remove bad code

This commit is contained in:
Broque Thomas 2025-07-29 18:36:48 -07:00
parent 2b82190155
commit a98b10715e
7 changed files with 6 additions and 38 deletions

View file

@ -980,7 +980,6 @@ class AlbumCard(QFrame):
stop:1 rgba(28, 28, 33, 0.99));
border-radius: 12px;
border: 1px solid rgba(80, 80, 85, 0.4);
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
}
AlbumCard:hover {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
@ -988,8 +987,6 @@ class AlbumCard(QFrame):
stop:0.5 rgba(45, 45, 50, 0.99),
stop:1 rgba(38, 38, 43, 1.0));
border: 1px solid rgba(29, 185, 84, 0.8);
box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.35),
0px 0px 0px 1px rgba(29, 185, 84, 0.2);
}
""")
@ -2595,8 +2592,6 @@ class ArtistsPage(QWidget):
stop:1 rgba(28, 28, 33, 0.99));
border-radius: 16px;
border: 1px solid rgba(80, 80, 85, 0.3);
box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2),
inset 0px 1px 0px rgba(255, 255, 255, 0.05);
}
""")
@ -2611,7 +2606,6 @@ class ArtistsPage(QWidget):
self.artist_name_label.setFont(QFont("Arial", 24, QFont.Weight.Bold))
self.artist_name_label.setStyleSheet("""
color: #ffffff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
letter-spacing: 1px;
background: transparent;
border: none;
@ -2645,15 +2639,12 @@ class ArtistsPage(QWidget):
color: #ffffff;
font-size: 13px;
font-weight: 500;
box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1);
}
QLineEdit:focus {
border: 1px solid rgba(29, 185, 84, 0.8);
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(75, 75, 80, 0.95),
stop:1 rgba(60, 60, 65, 1.0));
box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.15),
0px 0px 0px 2px rgba(29, 185, 84, 0.2);
}
QLineEdit::placeholder {
color: rgba(200, 200, 200, 0.7);
@ -2675,20 +2666,17 @@ class ArtistsPage(QWidget):
font-size: 13px;
font-weight: 600;
padding: 0 16px;
box-shadow: 0px 2px 8px rgba(29, 185, 84, 0.15);
}
QPushButton:hover {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(29, 185, 84, 0.2),
stop:1 rgba(20, 160, 70, 0.15));
border: 1px solid rgba(29, 185, 84, 0.8);
box-shadow: 0px 4px 12px rgba(29, 185, 84, 0.25);
}
QPushButton:pressed {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(20, 160, 70, 0.25),
stop:1 rgba(29, 185, 84, 0.2));
box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1);
}
""")
back_btn.clicked.connect(self.return_to_search)

View file

@ -2480,14 +2480,12 @@ class AlbumResultItem(QFrame):
border-radius: 20px;
border: 1px solid rgba(75, 75, 82, 0.5);
margin: 10px 5px;
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
AlbumResultItem:hover {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(60, 60, 68, 0.98),
stop:1 rgba(50, 50, 58, 1.0));
border: 1px solid rgba(29, 185, 84, 0.8);
box-shadow: 0 8px 24px rgba(29, 185, 84, 0.2);
}
""")
@ -2606,10 +2604,11 @@ class AlbumResultItem(QFrame):
stop:0 rgba(30, 215, 96, 1.0),
stop:1 rgba(25, 180, 80, 1.0));
border: 2px solid rgba(29, 185, 84, 0.6);
transform: scale(1.02);
}
QPushButton:pressed {
transform: scale(0.98);
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(20, 150, 70, 1.0),
stop:1 rgba(15, 120, 60, 1.0));
}
""")
@ -2635,10 +2634,11 @@ class AlbumResultItem(QFrame):
stop:0 rgba(167, 71, 254, 1.0),
stop:1 rgba(144, 63, 220, 1.0));
border: 2px solid rgba(147, 51, 234, 0.6);
transform: scale(1.02);
}
QPushButton:pressed {
transform: scale(0.98);
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(120, 50, 200, 1.0),
stop:1 rgba(100, 40, 180, 1.0));
}
""")
@ -2776,14 +2776,12 @@ class SearchResultItem(QFrame):
border-radius: 18px;
border: 1px solid rgba(70, 70, 76, 0.5);
margin: 8px 4px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
SearchResultItem:hover {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(55, 55, 60, 0.98),
stop:1 rgba(45, 45, 50, 1.0));
border: 1px solid rgba(29, 185, 84, 0.8);
box-shadow: 0 6px 20px rgba(29, 185, 84, 0.15);
}
""")
@ -2853,13 +2851,11 @@ class SearchResultItem(QFrame):
stop:0 rgba(255, 213, 79, 1.0),
stop:1 rgba(255, 171, 64, 1.0));
border: 2px solid rgba(255, 193, 7, 0.6);
transform: scale(1.05);
}
QPushButton:pressed {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(255, 152, 0, 1.0),
stop:1 rgba(245, 124, 0, 1.0));
transform: scale(0.95);
}
""")
@ -2883,13 +2879,11 @@ class SearchResultItem(QFrame):
stop:0 rgba(30, 215, 96, 1.0),
stop:1 rgba(25, 180, 80, 1.0));
border: 2px solid rgba(29, 185, 84, 0.6);
transform: scale(1.05);
}
QPushButton:pressed {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(24, 156, 71, 1.0),
stop:1 rgba(20, 130, 60, 1.0));
transform: scale(0.95);
}
""")
@ -2914,13 +2908,11 @@ class SearchResultItem(QFrame):
stop:0 rgba(167, 71, 254, 1.0),
stop:1 rgba(144, 63, 220, 1.0));
border: 2px solid rgba(147, 51, 234, 0.6);
transform: scale(1.05);
}
QPushButton:pressed {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(124, 43, 200, 1.0),
stop:1 rgba(104, 33, 180, 1.0));
transform: scale(0.95);
}
""")
@ -5577,13 +5569,11 @@ class DownloadsPage(QWidget):
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #1fdf64,
stop:1 #1ed760);
transform: scale(1.02);
}
QPushButton:pressed {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #1ca851,
stop:1 #169c46);
transform: scale(0.98);
}
""")
else:
@ -5606,13 +5596,11 @@ class DownloadsPage(QWidget):
stop:1 rgba(80, 80, 80, 0.7));
border: 1px solid rgba(140, 140, 140, 0.4);
color: rgba(255, 255, 255, 0.9);
transform: scale(1.02);
}
QPushButton:pressed {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(60, 60, 60, 0.6),
stop:1 rgba(40, 40, 40, 0.8));
transform: scale(0.98);
}
""")

View file

@ -196,7 +196,6 @@ class SidebarButton(QPushButton):
stop: 0 rgba(29, 185, 84, 0.25),
stop: 0.5 rgba(29, 185, 84, 0.18),
stop: 1 rgba(29, 185, 84, 0.12));
transform: translateX(4px);
border: 1px solid rgba(29, 185, 84, 0.3);
}
""")
@ -232,7 +231,6 @@ class SidebarButton(QPushButton):
stop: 0 rgba(255, 255, 255, 0.06),
stop: 1 rgba(255, 255, 255, 0.03));
border-left: 2px solid rgba(255, 255, 255, 0.2);
transform: translateX(2px);
border: 1px solid rgba(255, 255, 255, 0.08);
}
""")
@ -631,7 +629,6 @@ class MediaPlayer(QWidget):
stop: 0 rgba(29, 185, 84, 0.08),
stop: 0.5 rgba(26, 26, 26, 0.95),
stop: 1 rgba(18, 18, 18, 1.0));
transform: translateY(-1px);
}
""")
@ -716,11 +713,9 @@ class MediaPlayer(QWidget):
}
QPushButton:hover {
background: #1fdf64;
transform: scale(1.04);
}
QPushButton:pressed {
background: #1ca851;
transform: scale(0.96);
}
QPushButton:disabled {
background: #535353;
@ -814,7 +809,6 @@ class MediaPlayer(QWidget):
}
QSlider::handle:horizontal:hover {
background: #1ed760;
transform: scale(1.2);
}
QSlider::sub-page:horizontal {
background: #1ed760;
@ -839,11 +833,9 @@ class MediaPlayer(QWidget):
background: rgba(255, 255, 255, 0.15);
border: 1px solid #ffffff;
color: #ffffff;
transform: scale(1.05);
}
QPushButton:pressed {
background: rgba(255, 255, 255, 0.25);
transform: scale(0.95);
}
QPushButton:disabled {
background: transparent;