123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- ColorDialog, QScrollArea, QWidget {
- background-color: transparent;
- }
- QScrollArea {
- border: 1px solid transparent;
- border-radius: 8px;
- background-color: transparent;
- }
- #centerWidget{
- border: 1px solid rgb(144, 144, 142);
- border-radius: 10px;
- background-color: white;
- }
- #buttonGroup {
- background-color: rgb(243, 243, 243);
- border-top: 1px solid rgb(229, 229, 229);
- border-left: none;
- border-right: none;
- border-bottom: none;
- border-bottom-left-radius: 8px;
- border-bottom-right-radius: 8px;
- }
- QLabel {
- font: 14px 'Segoe UI', 'Microsoft YaHei';
- color: black;
- background-color: transparent;
- border: none;
- }
- #titleLabel {
- font-size: 19px;
- }
- #editLabel{
- font-size: 16px;
- }
- #prefixLabel {
- padding: 0;
- font-size: 14px;
- }
- QSlider:horizontal {
- min-width: 332px;
- min-height: 24px;
- }
- QSlider::groove:horizontal {
- height: 12px;
- border-radius: 6px;
- background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, x3:2, y3:0,
- stop:0 hsv(--slider-hue, --slider-saturation, 0),
- stop:1 hsv(--slider-hue, --slider-saturation, 255));
- }
- QSlider::handle:horizontal {
- border: 1px solid rgb(222, 222, 222);
- width: 16px;
- min-height: 10px;
- margin: -3px 0;
- border-radius: 9px;
- background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
- stop:0 rgb(0, 0, 0),
- stop:0.5 rgb(0, 0, 0),
- stop:0.6 rgb(255, 255, 255),
- stop:1 rgb(255, 255, 255));
- }
- QSlider::groove:horizontal:disabled {
- background-color: rgba(0, 0, 0, 75);
- }
- QSlider::handle:horizontal:disabled {
- background-color: #808080;
- border: 6px solid #cccccc;
- }
- /* 滚动条 */
- QScrollBar {
- background: transparent;
- width: 4px;
- margin-top: 32px;
- padding-right: 1px;
- }
- /*隐藏上箭头*/
- QScrollBar::sub-line {
- background: transparent;
- }
- /*隐藏下箭头*/
- QScrollBar::add-line {
- background: transparent;
- }
- QScrollBar::handle {
- background: rgb(122, 122, 122);
- border: 2px solid rgb(128, 128, 128);
- border-radius: 1px;
- min-height: 32px;
- }
- QScrollBar::add-page:vertical,
- QScrollBar::sub-page:vertical {
- background: none;
- }
- #cancelButton {
- color: black;
- background: rgb(251, 251, 251);
- border: 1px solid rgb(229, 229, 229);
- border-bottom: 1px solid rgb(204, 204, 204);
- border-radius: 5px;
- font: 14px 'Segoe UI', 'Microsoft YaHei';
- padding: 5px 9px 6px 9px;
- outline: none;
- }
- #cancelButton:hover {
- background: rgb(246, 246, 246);
- }
- #cancelButton:pressed {
- color: rgba(0, 0, 0, 0.63);
- background: rgb(245, 245, 245);
- border-bottom: 1px solid rgb(229, 229, 229);
- }
- #cancelButton:disabled {
- color: rgba(0, 0, 0, 0.63);
- background: rgb(252, 252, 252);
- border: 1px solid rgb(223, 223, 223);
- }
|