Files
Launcher/resources/styles/profile.qss
T

95 lines
2.1 KiB
Plaintext
Raw Normal View History

2026-08-01 00:47:41 +08:00
QFrame#profileButton {
background: palette(mid);
border: 1px solid palette(midlight);
border-radius: 5px;
}
QFrame#profileButton:hover {
background: palette(midlight);
}
QLabel#profileName, QLabel#itemName {
color: palette(text);
2026-08-01 00:47:41 +08:00
font-size: 16px;
font-weight: 600;
}
QLabel#profileVersion, QLabel#itemVersion {
color: palette(placeholder-text);
2026-08-01 00:47:41 +08:00
font-size: 12px;
}
QLabel#profileArrow {
font-size: 18px;
2026-10-18 23:58:43 +08:00
border-style: solid;
background-color: transparent;
}
QLabel#launchStatus {
font-size: 12px;
font-weight: 600;
2026-08-01 00:47:41 +08:00
}
QFrame#profilePopup {
2026-08-03 20:55:37 +08:00
/* background: palette(mid);*/
2026-08-01 00:47:41 +08:00
border: 1px solid palette(midlight);
border-radius: 5px;
}
QPushButton#profileItem {
background: transparent;
border: none;
text-align: left;
2026-08-03 20:55:37 +08:00
border-radius: 5px;
2026-08-01 00:47:41 +08:00
}
QPushButton#profileItem:hover {
background: palette(highlight);
color: palette(highlighted-text);
2026-08-01 00:47:41 +08:00
}
2026-10-18 23:58:43 +08:00
QPushButton#profileItem QLabel[itemHovered="true"] {
color: palette(highlighted-text);
background: transparent;
}
2026-11-14 17:10:33 +08:00
QPushButton#launchButton, QPushButton#logButton {
2026-08-01 00:47:41 +08:00
font-size: 15px;
font-weight: 600;
2026-11-01 01:14:06 +08:00
background-color: palette(button);
color: palette(button-text);
border: 1px solid palette(mid);
border-radius: 5px;
padding: 6px 14px;
}
2026-11-14 17:10:33 +08:00
QPushButton#launchButton:hover, QPushButton#logButton:hover {
2026-11-01 01:14:06 +08:00
background-color: palette(midlight);
color: palette(button-text);
}
2026-11-14 17:10:33 +08:00
QPushButton#launchButton:focus, QPushButton#logButton:focus {
2026-11-01 01:14:06 +08:00
border-color: palette(highlight);
}
2026-11-14 17:10:33 +08:00
QPushButton#launchButton:pressed, QPushButton#logButton:pressed {
2026-11-01 01:14:06 +08:00
background-color: palette(highlight);
color: palette(highlighted-text);
}
2026-11-14 17:10:33 +08:00
QPushButton#launchButton:disabled, QPushButton#logButton:disabled {
2026-11-01 01:14:06 +08:00
color: palette(placeholder-text);
2026-08-01 00:47:41 +08:00
}
QLabel#headerLabel {
font-size: 20px;
font-weight: bold
}
QFrame#profileFrame {
background-color: palette(base);
border: 1px solid palette(mid);
border-radius: 10px;
}
2026-11-14 17:10:33 +08:00
QPushButton#launchButton { min-width: 150px; }
QPushButton#logButton { min-width: 0; padding-left: 0; padding-right: 0; }