You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
62 lines
1.3 KiB
QWidget {
|
|
background-color: white;
|
|
}
|
|
|
|
SwitchButton {
|
|
qproperty-spacing: 12;
|
|
background-color: transparent;
|
|
}
|
|
|
|
SwitchButton>QLabel {
|
|
color: black;
|
|
font: 14px 'Segoe UI', 'Microsoft YaHei';
|
|
background-color: transparent;
|
|
border: none;
|
|
}
|
|
|
|
|
|
Indicator {
|
|
height: 16px;
|
|
width: 37px;
|
|
qproperty-sliderOnColor: white;
|
|
qproperty-sliderOffColor: rgb(96, 96, 96);
|
|
qproperty-sliderDisabledColor: rgb(155, 154, 153);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
Indicator:!checked {
|
|
background-color: rgb(247, 247, 247);
|
|
border: 1px solid rgb(139, 139, 139);
|
|
}
|
|
|
|
Indicator:!checked:hover {
|
|
border: 1px solid rgb(136, 136, 136);
|
|
background-color: rgb(238, 238, 238);
|
|
qproperty-sliderOffColor: rgb(91, 91, 91);
|
|
}
|
|
|
|
Indicator:!checked:pressed {
|
|
border: 1px solid rgb(133, 133, 133);
|
|
background-color: rgb(229, 229, 229);
|
|
qproperty-sliderOffColor: rgb(87, 87, 87);
|
|
}
|
|
|
|
Indicator:checked {
|
|
border: 1px solid --ThemeColorPrimary;
|
|
background-color: --ThemeColorPrimary;
|
|
}
|
|
|
|
Indicator:checked:hover {
|
|
border: 1px solid --ThemeColorLight1;
|
|
background-color: --ThemeColorLight1;
|
|
}
|
|
|
|
Indicator:checked:pressed {
|
|
border: 1px solid --ThemeColorLight2;
|
|
background-color: --ThemeColorLight2;
|
|
}
|
|
|
|
Indicator:disabled {
|
|
border: 1px solid rgb(194, 194, 191);
|
|
background-color: rgb(194, 194, 191);
|
|
} |