initial fluent-widgets ui
This commit is contained in:
303
qfluentwidgets/_rc/qss/light/button.qss
Normal file
303
qfluentwidgets/_rc/qss/light/button.qss
Normal file
@ -0,0 +1,303 @@
|
||||
PushButton, ToolButton, ToggleButton, ToggleToolButton {
|
||||
color: black;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
border: 1px solid rgba(0, 0, 0, 0.073);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.183);
|
||||
border-radius: 5px;
|
||||
/* font: 14px 'Segoe UI', 'Microsoft YaHei'; */
|
||||
padding: 5px 12px 6px 12px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
ToolButton {
|
||||
padding: 5px 9px 6px 8px;
|
||||
}
|
||||
|
||||
PushButton[isPlaceholderText=true] {
|
||||
color: rgba(0, 0, 0, 0.6063);
|
||||
}
|
||||
|
||||
PushButton[hasIcon=false] {
|
||||
padding: 5px 12px 6px 12px;
|
||||
}
|
||||
|
||||
PushButton[hasIcon=true] {
|
||||
padding: 5px 12px 6px 36px;
|
||||
}
|
||||
|
||||
DropDownToolButton, PrimaryDropDownToolButton {
|
||||
padding: 5px 31px 6px 8px;
|
||||
}
|
||||
|
||||
DropDownPushButton[hasIcon=false],
|
||||
PrimaryDropDownPushButton[hasIcon=false] {
|
||||
padding: 5px 31px 6px 12px;
|
||||
}
|
||||
|
||||
DropDownPushButton[hasIcon=true],
|
||||
PrimaryDropDownPushButton[hasIcon=true] {
|
||||
padding: 5px 31px 6px 36px;
|
||||
}
|
||||
|
||||
PushButton:hover, ToolButton:hover, ToggleButton:hover, ToggleToolButton:hover {
|
||||
background: rgba(249, 249, 249, 0.5);
|
||||
}
|
||||
|
||||
PushButton:pressed, ToolButton:pressed, ToggleButton:pressed, ToggleToolButton:pressed {
|
||||
color: rgba(0, 0, 0, 0.63);
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.073);
|
||||
}
|
||||
|
||||
PushButton:disabled, ToolButton:disabled, ToggleButton:disabled, ToggleToolButton:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
|
||||
PrimaryPushButton,
|
||||
PrimaryToolButton,
|
||||
ToggleButton:checked,
|
||||
ToggleToolButton:checked {
|
||||
color: white;
|
||||
background-color: --ThemeColorPrimary;
|
||||
border: 1px solid --ThemeColorLight1;
|
||||
border-bottom: 1px solid --ThemeColorDark1;
|
||||
}
|
||||
|
||||
PrimaryPushButton:hover,
|
||||
PrimaryToolButton:hover,
|
||||
ToggleButton:checked:hover,
|
||||
ToggleToolButton:checked:hover {
|
||||
background-color: --ThemeColorLight1;
|
||||
border: 1px solid --ThemeColorLight2;
|
||||
border-bottom: 1px solid --ThemeColorDark1;
|
||||
}
|
||||
|
||||
PrimaryPushButton:pressed,
|
||||
PrimaryToolButton:pressed,
|
||||
ToggleButton:checked:pressed,
|
||||
ToggleToolButton:checked:pressed {
|
||||
color: rgba(255, 255, 255, 0.63);
|
||||
background-color: --ThemeColorLight3;
|
||||
border: 1px solid --ThemeColorLight3;
|
||||
}
|
||||
|
||||
PrimaryPushButton:disabled,
|
||||
PrimaryToolButton:disabled,
|
||||
ToggleButton:checked:disabled,
|
||||
ToggleToolButton:checked:disabled {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
background-color: rgb(205, 205, 205);
|
||||
border: 1px solid rgb(205, 205, 205);
|
||||
}
|
||||
|
||||
SplitDropButton,
|
||||
PrimarySplitDropButton {
|
||||
border-left: none;
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
#splitPushButton,
|
||||
#splitToolButton,
|
||||
#primarySplitPushButton,
|
||||
#primarySplitToolButton {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
#splitPushButton:pressed,
|
||||
#splitToolButton:pressed,
|
||||
SplitDropButton:pressed {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.183);
|
||||
}
|
||||
|
||||
PrimarySplitDropButton:pressed {
|
||||
border-bottom: 1px solid --ThemeColorDark1;
|
||||
}
|
||||
|
||||
#primarySplitPushButton, #primarySplitToolButton {
|
||||
border-right: 1px solid --ThemeColorLight3;
|
||||
}
|
||||
|
||||
#primarySplitPushButton:pressed, #primarySplitToolButton:pressed {
|
||||
border-bottom: 1px solid --ThemeColorDark1;
|
||||
}
|
||||
|
||||
HyperlinkButton {
|
||||
/* font: 14px 'Segoe UI', 'Microsoft YaHei'; */
|
||||
padding: 6px 12px 6px 12px;
|
||||
color: --ThemeColorPrimary;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
HyperlinkButton[hasIcon=false] {
|
||||
padding: 6px 12px 6px 12px;
|
||||
}
|
||||
|
||||
HyperlinkButton[hasIcon=true] {
|
||||
padding: 6px 12px 6px 36px;
|
||||
}
|
||||
|
||||
HyperlinkButton:hover {
|
||||
color: --ThemeColorPrimary;
|
||||
background-color: rgba(0, 0, 0, 10);
|
||||
border: none;
|
||||
}
|
||||
|
||||
HyperlinkButton:pressed {
|
||||
color: --ThemeColorPrimary;
|
||||
background-color: rgba(0, 0, 0, 6);
|
||||
border: none;
|
||||
}
|
||||
|
||||
HyperlinkButton:disabled {
|
||||
color: rgba(0, 0, 0, 0.43);
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
RadioButton {
|
||||
min-height: 24px;
|
||||
max-height: 24px;
|
||||
background-color: transparent;
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: black;
|
||||
}
|
||||
|
||||
RadioButton::indicator {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 11px;
|
||||
border: 2px solid #999999;
|
||||
background-color: rgba(0, 0, 0, 5);
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
RadioButton::indicator:hover {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
RadioButton::indicator:pressed {
|
||||
border: 2px solid #bbbbbb;
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 rgb(255, 255, 255),
|
||||
stop:0.5 rgb(255, 255, 255),
|
||||
stop:0.6 rgb(225, 224, 223),
|
||||
stop:1 rgb(225, 224, 223));
|
||||
}
|
||||
|
||||
RadioButton::indicator:checked {
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
border: none;
|
||||
border-radius: 11px;
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 rgb(255, 255, 255),
|
||||
stop:0.5 rgb(255, 255, 255),
|
||||
stop:0.6 --ThemeColorPrimary,
|
||||
stop:1 --ThemeColorPrimary);
|
||||
}
|
||||
|
||||
RadioButton::indicator:checked:hover {
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 rgb(255, 255, 255),
|
||||
stop:0.6 rgb(255, 255, 255),
|
||||
stop:0.7 --ThemeColorPrimary,
|
||||
stop:1 --ThemeColorPrimary);
|
||||
}
|
||||
|
||||
RadioButton::indicator:checked:pressed {
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 rgb(255, 255, 255),
|
||||
stop:0.5 rgb(255, 255, 255),
|
||||
stop:0.6 --ThemeColorPrimary,
|
||||
stop:1 --ThemeColorPrimary);
|
||||
}
|
||||
|
||||
RadioButton:disabled {
|
||||
color: rgba(0, 0, 0, 110);
|
||||
}
|
||||
|
||||
RadioButton::indicator:disabled {
|
||||
border: 2px solid #bbbbbb;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
RadioButton::indicator:disabled:checked {
|
||||
border: none;
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 rgb(255, 255, 255),
|
||||
stop:0.5 rgb(255, 255, 255),
|
||||
stop:0.6 rgba(0, 0, 0, 0.2169),
|
||||
stop:1 rgba(0, 0, 0, 0.2169));
|
||||
}
|
||||
|
||||
TransparentToolButton,
|
||||
TransparentToggleToolButton,
|
||||
TransparentDropDownToolButton,
|
||||
TransparentPushButton,
|
||||
TransparentDropDownPushButton,
|
||||
TransparentTogglePushButton {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
TransparentToolButton:hover,
|
||||
TransparentToggleToolButton:hover,
|
||||
TransparentDropDownToolButton:hover,
|
||||
TransparentPushButton:hover,
|
||||
TransparentDropDownPushButton:hover,
|
||||
TransparentTogglePushButton:hover {
|
||||
background-color: rgba(0, 0, 0, 9);
|
||||
border: none;
|
||||
}
|
||||
|
||||
TransparentToolButton:pressed,
|
||||
TransparentToggleToolButton:pressed,
|
||||
TransparentDropDownToolButton:pressed,
|
||||
TransparentPushButton:pressed,
|
||||
TransparentDropDownPushButton:pressed,
|
||||
TransparentTogglePushButton:pressed {
|
||||
background-color: rgba(0, 0, 0, 6);
|
||||
border: none;
|
||||
}
|
||||
|
||||
TransparentToolButton:disabled,
|
||||
TransparentToggleToolButton:disabled,
|
||||
TransparentDropDownToolButton:disabled,
|
||||
TransparentPushButton:disabled,
|
||||
TransparentDropDownPushButton:disabled,
|
||||
TransparentTogglePushButton:disabled {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
PillPushButton,
|
||||
PillPushButton:hover,
|
||||
PillPushButton:pressed,
|
||||
PillPushButton:disabled,
|
||||
PillPushButton:checked,
|
||||
PillPushButton:checked:hover,
|
||||
PillPushButton:checked:pressed,
|
||||
PillPushButton:disabled:checked,
|
||||
PillToolButton,
|
||||
PillToolButton:hover,
|
||||
PillToolButton:pressed,
|
||||
PillToolButton:disabled,
|
||||
PillToolButton:checked,
|
||||
PillToolButton:checked:hover,
|
||||
PillToolButton:checked:pressed,
|
||||
PillToolButton:disabled:checked {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
84
qfluentwidgets/_rc/qss/light/calendar_picker.qss
Normal file
84
qfluentwidgets/_rc/qss/light/calendar_picker.qss
Normal file
@ -0,0 +1,84 @@
|
||||
#titleButton {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
font-weight: 500;
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding-left: 8px;
|
||||
text-align: left;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#titleButton:hover {
|
||||
background-color: rgba(0, 0, 0, 9);
|
||||
}
|
||||
|
||||
#titleButton:pressed {
|
||||
background-color: rgba(0, 0, 0, 6);
|
||||
}
|
||||
|
||||
#titleButton:disabled {
|
||||
color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
#weekDayLabel {
|
||||
font: 12px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
font-weight: 500;
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#weekDayGroup {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
CalendarViewBase {
|
||||
background-color: rgb(255, 255, 255);
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
ScrollViewBase {
|
||||
border: none;
|
||||
padding: 0px 1px 0px 1px;
|
||||
border-bottom-left-radius: 8px;
|
||||
border-bottom-right-radius: 8px;
|
||||
border-top: 1px solid rgb(240, 240, 240);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
CalendarPicker {
|
||||
color: rgba(0, 0, 0, 0.6063);
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
border: 1px solid rgba(0, 0, 0, 0.073);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.183);
|
||||
border-radius: 5px;
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
padding: 5px 32px 6px 12px;
|
||||
outline: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
CalendarPicker:hover {
|
||||
background: rgba(249, 249, 249, 0.5);
|
||||
}
|
||||
|
||||
CalendarPicker:pressed {
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.073);
|
||||
}
|
||||
|
||||
CalendarPicker:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
CalendarPicker[hasDate=true] {
|
||||
color: black;
|
||||
}
|
||||
8
qfluentwidgets/_rc/qss/light/card_widget.qss
Normal file
8
qfluentwidgets/_rc/qss/light/card_widget.qss
Normal file
@ -0,0 +1,8 @@
|
||||
HeaderCardWidget #headerLabel {
|
||||
color: black;
|
||||
}
|
||||
|
||||
HeaderCardWidget > #headerView,
|
||||
HeaderCardWidget > #view {
|
||||
background-color: transparent;
|
||||
}
|
||||
21
qfluentwidgets/_rc/qss/light/check_box.qss
Normal file
21
qfluentwidgets/_rc/qss/light/check_box.qss
Normal file
@ -0,0 +1,21 @@
|
||||
CheckBox {
|
||||
color: black;
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
spacing: 8px;
|
||||
min-width: 28px;
|
||||
min-height: 22px;
|
||||
outline: none;
|
||||
margin-left: 1px;
|
||||
}
|
||||
|
||||
CheckBox::indicator {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
CheckBox:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
}
|
||||
113
qfluentwidgets/_rc/qss/light/color_dialog.qss
Normal file
113
qfluentwidgets/_rc/qss/light/color_dialog.qss
Normal file
@ -0,0 +1,113 @@
|
||||
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', 'PingFang SC';
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#titleLabel {
|
||||
font-size: 19px;
|
||||
}
|
||||
|
||||
#editLabel{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#prefixLabel, #suffixLabel {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#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', 'PingFang SC';
|
||||
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);
|
||||
}
|
||||
32
qfluentwidgets/_rc/qss/light/combo_box.qss
Normal file
32
qfluentwidgets/_rc/qss/light/combo_box.qss
Normal file
@ -0,0 +1,32 @@
|
||||
ComboBox {
|
||||
border: 1px solid rgba(0, 0, 0, 0.073);
|
||||
border-radius: 5px;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.183);
|
||||
padding: 5px 31px 6px 11px;
|
||||
/* font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC'; */
|
||||
color: black;
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
text-align: left;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
ComboBox:hover {
|
||||
background-color: rgba(249, 249, 249, 0.5);
|
||||
}
|
||||
|
||||
ComboBox:pressed {
|
||||
background-color: rgba(249, 249, 249, 0.3);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.073);
|
||||
color: rgba(0, 0, 0, 0.63);
|
||||
}
|
||||
|
||||
ComboBox:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
ComboBox[isPlaceholderText=true] {
|
||||
color: rgba(0, 0, 0, 0.6063);
|
||||
}
|
||||
75
qfluentwidgets/_rc/qss/light/dialog.qss
Normal file
75
qfluentwidgets/_rc/qss/light/dialog.qss
Normal file
@ -0,0 +1,75 @@
|
||||
QDialog {
|
||||
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;
|
||||
}
|
||||
|
||||
MessageBoxBase #buttonGroup,
|
||||
MessageBox #buttonGroup {
|
||||
border-bottom-left-radius: 8px;
|
||||
border-bottom-right-radius: 8px;
|
||||
}
|
||||
|
||||
#centerWidget {
|
||||
border: 1px solid rgb(144, 144, 142);
|
||||
border-radius: 10px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
QLabel {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QLabel#titleLabel {
|
||||
font: 20px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#contentLabel {
|
||||
padding: 0;
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
border: none;
|
||||
selection-background-color: --ThemeColorLight1;
|
||||
selection-color: white;
|
||||
}
|
||||
|
||||
QLabel#windowTitleLabel {
|
||||
font: 12px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
padding: 6px 6px;
|
||||
background-color: rgb(243, 243, 243);
|
||||
}
|
||||
|
||||
#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', 'PingFang SC';
|
||||
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);
|
||||
}
|
||||
77
qfluentwidgets/_rc/qss/light/expand_setting_card.qss
Normal file
77
qfluentwidgets/_rc/qss/light/expand_setting_card.qss
Normal file
@ -0,0 +1,77 @@
|
||||
ExpandSettingCard {
|
||||
border: 1px solid transparent;
|
||||
border-radius: 6px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#view {
|
||||
background: rgba(255, 255, 255, 0.667);
|
||||
border: none;
|
||||
border-bottom-left-radius: 8px;
|
||||
border-bottom-right-radius: 8px;
|
||||
}
|
||||
|
||||
#scrollWidget {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
QLabel#titleLabel {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: black;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QLabel#contentLabel {
|
||||
font: 11px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: rgb(96, 96, 96);
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QLabel#titleLabel:disabled,
|
||||
QLabel#contentLabel:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
}
|
||||
|
||||
FolderItem>QLabel {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
}
|
||||
|
||||
/* QPushButton */
|
||||
QPushButton {
|
||||
border: 1px solid rgba(0, 0, 0, 0.073);
|
||||
border-radius: 5px;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.183);
|
||||
padding: 5px 36px 5px 36px;
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: black;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
background: rgba(249, 249, 249, 0.5);
|
||||
}
|
||||
|
||||
QPushButton:pressed {
|
||||
color: rgba(0, 0, 0, 0.63);
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.073);
|
||||
}
|
||||
|
||||
QPushButton:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
|
||||
#chooseColorButton {
|
||||
padding: 5px 17px 5px 17px;
|
||||
}
|
||||
4
qfluentwidgets/_rc/qss/light/flip_view.qss
Normal file
4
qfluentwidgets/_rc/qss/light/flip_view.qss
Normal file
@ -0,0 +1,4 @@
|
||||
FlipView {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
65
qfluentwidgets/_rc/qss/light/fluent_window.qss
Normal file
65
qfluentwidgets/_rc/qss/light/fluent_window.qss
Normal file
@ -0,0 +1,65 @@
|
||||
StackedWidget {
|
||||
border: 1px solid rgba(0, 0, 0, 0.068);
|
||||
border-right: none;
|
||||
border-bottom: none;
|
||||
border-top-left-radius: 10px;
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
StackedWidget[isTransparent=true] {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
SplitFluentWindow>StackedWidget {
|
||||
border-top-left-radius: 0px;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
FluentWindowBase {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
FluentTitleBar, SplitTitleBar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
FluentTitleBar>QLabel#titleLabel,
|
||||
SplitTitleBar>QLabel#titleLabel {
|
||||
color: black;
|
||||
background: transparent;
|
||||
font: 13px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
padding: 0 4px
|
||||
}
|
||||
|
||||
MSFluentTitleBar>QLabel#titleLabel {
|
||||
padding: 0 10px
|
||||
}
|
||||
|
||||
SplitTitleBar>QLabel#titleLabel {
|
||||
padding: 0 5px
|
||||
}
|
||||
|
||||
MinimizeButton {
|
||||
qproperty-normalColor: black;
|
||||
qproperty-normalBackgroundColor: transparent;
|
||||
qproperty-hoverColor: black;
|
||||
qproperty-hoverBackgroundColor: rgba(0, 0, 0, 26);
|
||||
qproperty-pressedColor: black;
|
||||
qproperty-pressedBackgroundColor: rgba(0, 0, 0, 51)
|
||||
}
|
||||
|
||||
|
||||
MaximizeButton {
|
||||
qproperty-normalColor: black;
|
||||
qproperty-normalBackgroundColor: transparent;
|
||||
qproperty-hoverColor: black;
|
||||
qproperty-hoverBackgroundColor: rgba(0, 0, 0, 26);
|
||||
qproperty-pressedColor: black;
|
||||
qproperty-pressedBackgroundColor: rgba(0, 0, 0, 51)
|
||||
}
|
||||
|
||||
CloseButton {
|
||||
qproperty-normalColor: black;
|
||||
qproperty-normalBackgroundColor: transparent;
|
||||
}
|
||||
53
qfluentwidgets/_rc/qss/light/folder_list_dialog.qss
Normal file
53
qfluentwidgets/_rc/qss/light/folder_list_dialog.qss
Normal file
@ -0,0 +1,53 @@
|
||||
QWidget {
|
||||
background-color: white;
|
||||
border: 1px solid rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
QWidget#windowMask {
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
border: none;
|
||||
}
|
||||
|
||||
QLabel {
|
||||
color: black;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QLabel#titleLabel {
|
||||
font: 20px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
}
|
||||
|
||||
QLabel#contentLabel {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
}
|
||||
|
||||
QPushButton#completeButton {
|
||||
color: black;
|
||||
background-color: rgb(204, 204, 204);
|
||||
padding: 9px 51px 9px 51px;
|
||||
font: 15px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
border: none;
|
||||
}
|
||||
|
||||
QPushButton#completeButton:pressed:hover {
|
||||
background-color: rgb(153, 153, 153);
|
||||
}
|
||||
|
||||
QPushButton#completeButton:hover {
|
||||
background-color: rgb(230, 230, 230);
|
||||
}
|
||||
|
||||
QPushButton#completeButton:disabled {
|
||||
background-color: rgb(204, 204, 204);
|
||||
color: rgb(122, 122, 122);
|
||||
}
|
||||
|
||||
QScrollArea{
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
#scrollWidget{
|
||||
border: none;
|
||||
}
|
||||
4
qfluentwidgets/_rc/qss/light/info_badge.qss
Normal file
4
qfluentwidgets/_rc/qss/light/info_badge.qss
Normal file
@ -0,0 +1,4 @@
|
||||
InfoBadge {
|
||||
padding: 1px 3px 1px 3px;
|
||||
color: white;
|
||||
}
|
||||
47
qfluentwidgets/_rc/qss/light/info_bar.qss
Normal file
47
qfluentwidgets/_rc/qss/light/info_bar.qss
Normal file
@ -0,0 +1,47 @@
|
||||
InfoBar {
|
||||
border: 1px solid rgb(229, 229, 229);
|
||||
border-radius: 6px;
|
||||
background-color: rgb(244, 244, 244);
|
||||
}
|
||||
|
||||
#titleLabel {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#contentLabel {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
InfoBar[type="Info"] {
|
||||
background-color: rgb(244, 244, 244);
|
||||
}
|
||||
|
||||
InfoBar[type="Success"] {
|
||||
background-color: rgb(223, 246, 221);
|
||||
}
|
||||
|
||||
InfoBar[type="Warning"] {
|
||||
background-color: rgb(255, 244, 206);
|
||||
}
|
||||
|
||||
InfoBar[type="Error"] {
|
||||
background-color: rgb(253, 231, 233);
|
||||
}
|
||||
|
||||
InfoBarCloseButton {
|
||||
background-color: transparent;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
InfoBarCloseButton:hover {
|
||||
background-color: rgba(0, 0, 0, 9);
|
||||
}
|
||||
|
||||
InfoBarCloseButton:pressed {
|
||||
background-color: rgba(0, 0, 0, 6);
|
||||
}
|
||||
28
qfluentwidgets/_rc/qss/light/label.qss
Normal file
28
qfluentwidgets/_rc/qss/light/label.qss
Normal file
@ -0,0 +1,28 @@
|
||||
FluentLabelBase {
|
||||
color: black;
|
||||
}
|
||||
|
||||
HyperlinkLabel {
|
||||
color: --ThemeColorPrimary;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
text-align: left;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
HyperlinkLabel[underline=true] {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
HyperlinkLabel[underline=false] {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
HyperlinkLabel:hover {
|
||||
color: --ThemeColorDark1;
|
||||
}
|
||||
|
||||
HyperlinkLabel:pressed {
|
||||
color: --ThemeColorLight1;
|
||||
}
|
||||
57
qfluentwidgets/_rc/qss/light/line_edit.qss
Normal file
57
qfluentwidgets/_rc/qss/light/line_edit.qss
Normal file
@ -0,0 +1,57 @@
|
||||
LineEdit, TextEdit, PlainTextEdit, TextBrowser {
|
||||
color: black;
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
border: 1px solid rgba(0, 0, 0, 13);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
||||
border-radius: 5px;
|
||||
/* font: 14px "Segoe UI", "Microsoft YaHei"; */
|
||||
padding: 0px 10px;
|
||||
selection-background-color: --ThemeColorLight1;
|
||||
}
|
||||
|
||||
TextEdit,
|
||||
PlainTextEdit,
|
||||
TextBrowser {
|
||||
padding: 2px 3px 2px 8px;
|
||||
}
|
||||
|
||||
LineEdit:hover, TextEdit:hover, PlainTextEdit:hover, TextBrowser:hover {
|
||||
background-color: rgba(249, 249, 249, 0.5);
|
||||
border: 1px solid rgba(0, 0, 0, 13);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
||||
}
|
||||
|
||||
LineEdit:focus {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 13);
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
TextEdit:focus,
|
||||
PlainTextEdit:focus,
|
||||
TextBrowser:focus {
|
||||
border-bottom: 1px solid --ThemeColorPrimary;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
LineEdit:disabled, TextEdit:disabled,
|
||||
PlainTextEdit:disabled,
|
||||
TextBrowser:disabled {
|
||||
color: rgba(0, 0, 0, 92);
|
||||
background-color: rgba(249, 249, 249, 0.3);
|
||||
border: 1px solid rgba(0, 0, 0, 13);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 13);
|
||||
}
|
||||
|
||||
#lineEditButton {
|
||||
background-color: transparent;
|
||||
border-radius: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#lineEditButton:hover {
|
||||
background-color: rgba(0, 0, 0, 9);
|
||||
}
|
||||
|
||||
#lineEditButton:pressed {
|
||||
background-color: rgba(0, 0, 0, 6);
|
||||
}
|
||||
32
qfluentwidgets/_rc/qss/light/list_view.qss
Normal file
32
qfluentwidgets/_rc/qss/light/list_view.qss
Normal file
@ -0,0 +1,32 @@
|
||||
ListView,
|
||||
ListWidget {
|
||||
background: transparent;
|
||||
outline: none;
|
||||
border: none;
|
||||
/* font: 13px 'Segoe UI', 'Microsoft YaHei'; */
|
||||
selection-background-color: transparent;
|
||||
alternate-background-color: transparent;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
ListView::item,
|
||||
ListWidget::item {
|
||||
background: transparent;
|
||||
border: 0px;
|
||||
padding-left: 11px;
|
||||
padding-right: 11px;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
|
||||
ListView::indicator,
|
||||
ListWidget::indicator {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
8
qfluentwidgets/_rc/qss/light/media_player.qss
Normal file
8
qfluentwidgets/_rc/qss/light/media_player.qss
Normal file
@ -0,0 +1,8 @@
|
||||
CaptionLabel {
|
||||
color: black;
|
||||
}
|
||||
|
||||
QGraphicsView {
|
||||
background: transparent;
|
||||
border: none
|
||||
}
|
||||
83
qfluentwidgets/_rc/qss/light/menu.qss
Normal file
83
qfluentwidgets/_rc/qss/light/menu.qss
Normal file
@ -0,0 +1,83 @@
|
||||
RoundMenu {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
MenuActionListWidget {
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 9px;
|
||||
background-color: rgb(249, 249, 249);
|
||||
outline: none;
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
}
|
||||
|
||||
MenuActionListWidget[transparent=true] {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
MenuActionListWidget::item {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-radius: 5px;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
border: none;
|
||||
color: black;
|
||||
}
|
||||
|
||||
MenuActionListWidget::item:disabled {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
color: rgba(0, 0, 0, 112);
|
||||
}
|
||||
|
||||
MenuActionListWidget::item:hover {
|
||||
background-color: rgba(0, 0, 0, 9);
|
||||
}
|
||||
|
||||
MenuActionListWidget::item:selected {
|
||||
background-color: rgba(0, 0, 0, 7);
|
||||
color: black;
|
||||
}
|
||||
|
||||
MenuActionListWidget::item:selected:active {
|
||||
background-color: rgba(0, 0, 0, 0.06);
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
#commandListWidget{
|
||||
border-color: rgb(233, 233, 233);
|
||||
}
|
||||
|
||||
#completerListWidget[dropDown=true],
|
||||
#commandListWidget[dropDown=true][long=false] {
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
}
|
||||
|
||||
#commandListWidget[dropDown=true][long=true] {
|
||||
border-top-left-radius: 9px;
|
||||
border-top-right-radius: 0px;
|
||||
}
|
||||
|
||||
#commandListWidget[dropDown=false][long=true] {
|
||||
border-bottom-left-radius: 9px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
|
||||
#completerListWidget[dropDown=false],
|
||||
#commandListWidget[dropDown=false][long=false] {
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
|
||||
#completerListWidget::item,
|
||||
#comboListWidget::item {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
#checkableListWidget::item {
|
||||
padding-left: 36px;
|
||||
}
|
||||
43
qfluentwidgets/_rc/qss/light/message_dialog.qss
Normal file
43
qfluentwidgets/_rc/qss/light/message_dialog.qss
Normal file
@ -0,0 +1,43 @@
|
||||
QWidget {
|
||||
background-color: white;
|
||||
border: 1px solid rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
QWidget#windowMask {
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
border: none;
|
||||
}
|
||||
|
||||
QLabel {
|
||||
background-color: transparent;
|
||||
color: black;
|
||||
font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
border: none;
|
||||
}
|
||||
|
||||
QLabel#titleLabel {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
QLabel#contentLabel {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
background-color: rgb(204, 204, 204);
|
||||
font: 15px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
border: transparent;
|
||||
}
|
||||
|
||||
QPushButton:pressed:hover {
|
||||
background-color: rgb(153, 153, 153);
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
background-color: rgb(230, 230, 230);
|
||||
}
|
||||
|
||||
QPushButton:disabled {
|
||||
background-color: rgb(204, 204, 204);
|
||||
color: rgb(122, 122, 122);
|
||||
}
|
||||
26
qfluentwidgets/_rc/qss/light/navigation_interface.qss
Normal file
26
qfluentwidgets/_rc/qss/light/navigation_interface.qss
Normal file
@ -0,0 +1,26 @@
|
||||
NavigationPanel[menu=true] {
|
||||
background-color: rgb(243, 243, 243);
|
||||
border: 1px solid rgb(229, 229, 229);
|
||||
border-top-right-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
}
|
||||
|
||||
NavigationPanel[menu=false] {
|
||||
background-color: transparent;
|
||||
border: 1px solid transparent;
|
||||
border-top-right-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
}
|
||||
|
||||
NavigationPanel[transparent=true] {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QScrollArea, #scrollWidget {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* NavigationInterface {
|
||||
background-color: rgb(243, 243, 243);
|
||||
} */
|
||||
4
qfluentwidgets/_rc/qss/light/pips_pager.qss
Normal file
4
qfluentwidgets/_rc/qss/light/pips_pager.qss
Normal file
@ -0,0 +1,4 @@
|
||||
PipsPager {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
84
qfluentwidgets/_rc/qss/light/pivot.qss
Normal file
84
qfluentwidgets/_rc/qss/light/pivot.qss
Normal file
@ -0,0 +1,84 @@
|
||||
PivotItem {
|
||||
padding: 10px 12px;
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
PivotItem[isSelected=true]:hover {
|
||||
color: rgba(0, 0, 0, 0.63);
|
||||
}
|
||||
|
||||
PivotItem[isSelected=true]:pressed {
|
||||
color: rgba(0, 0, 0, 0.53);
|
||||
}
|
||||
|
||||
PivotItem[isSelected=false]:pressed {
|
||||
color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
|
||||
PivotItem[hasIcon=false] {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
PivotItem[hasIcon=true] {
|
||||
padding-left: 36px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
Pivot {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#view {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
SegmentedToolItem {
|
||||
padding: 5px 9px 6px 8px;
|
||||
}
|
||||
|
||||
SegmentedWidget, SegmentedToolWidget {
|
||||
background-color: rgba(0, 0, 0, 0.0241);
|
||||
border: 1px solid rgba(0, 0, 0, 0.0578);
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
SegmentedItem[isSelected=false],
|
||||
SegmentedToolItem[isSelected=false] {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
margin: 3px 0px;
|
||||
}
|
||||
|
||||
SegmentedItem[isSelected=false]:hover,
|
||||
SegmentedToolItem[isSelected=false]:hover {
|
||||
background-color: rgba(0, 0, 0, 9);
|
||||
}
|
||||
|
||||
SegmentedItem[isSelected=false]:pressed,
|
||||
SegmentedToolItem[isSelected=false]:pressed {
|
||||
background-color: rgba(0, 0, 0, 6);
|
||||
}
|
||||
|
||||
SegmentedItem[isSelected=true],
|
||||
SegmentedToolItem[isSelected=true] {
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
margin: 0px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
SegmentedItem[isSelected=true]:hover,
|
||||
SegmentedItem[isSelected=true]:pressed,
|
||||
SegmentedToolItem[isSelected=true]:hover,
|
||||
SegmentedToolItem[isSelected=true]:pressed {
|
||||
color: black;
|
||||
}
|
||||
79
qfluentwidgets/_rc/qss/light/setting_card.qss
Normal file
79
qfluentwidgets/_rc/qss/light/setting_card.qss
Normal file
@ -0,0 +1,79 @@
|
||||
QLabel {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: black;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QLabel#contentLabel {
|
||||
font: 11px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: rgb(96, 96, 96);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
RangeSettingCard > QLabel#valueLabel{
|
||||
color: rgb(96, 96, 96);
|
||||
}
|
||||
|
||||
QLabel:disabled,
|
||||
QLabel#contentLabel:disabled,
|
||||
RangeSettingCard>QLabel#valueLabel:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
border: 1px solid rgba(0, 0, 0, 0.073);
|
||||
border-radius: 5px;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.183);
|
||||
padding: 5px 36px 5px 36px;
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: black;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
background: rgba(249, 249, 249, 0.5);
|
||||
}
|
||||
|
||||
QPushButton:pressed {
|
||||
color: rgba(0, 0, 0, 0.63);
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.073);
|
||||
}
|
||||
|
||||
QPushButton:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
|
||||
#primaryButton {
|
||||
color: white;
|
||||
background-color: --ThemeColorPrimary;
|
||||
border: 1px solid --ThemeColorLight1;
|
||||
border-bottom: 1px solid --ThemeColorDark1;
|
||||
padding: 5px 12px 5px 12px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#primaryButton:hover {
|
||||
background-color: --ThemeColorLight1;
|
||||
border: 1px solid --ThemeColorLight2;
|
||||
border-bottom: 1px solid --ThemeColorDark1;
|
||||
}
|
||||
|
||||
#primaryButton:pressed {
|
||||
color: rgba(255, 255, 255, 0.63);
|
||||
background-color: --ThemeColorLight3;
|
||||
border: 1px solid --ThemeColorLight3;
|
||||
}
|
||||
|
||||
ColorPickerButton {
|
||||
border: 1px solid rgb(240, 240, 240);
|
||||
border-radius: 5px;
|
||||
border-bottom: 1px solid rgb(214, 214, 214);
|
||||
}
|
||||
9
qfluentwidgets/_rc/qss/light/setting_card_group.qss
Normal file
9
qfluentwidgets/_rc/qss/light/setting_card_group.qss
Normal file
@ -0,0 +1,9 @@
|
||||
SettingCardGroup {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
SettingCardGroup>QLabel {
|
||||
background-color: transparent;
|
||||
color: black;
|
||||
border: none;
|
||||
}
|
||||
108
qfluentwidgets/_rc/qss/light/slider.qss
Normal file
108
qfluentwidgets/_rc/qss/light/slider.qss
Normal file
@ -0,0 +1,108 @@
|
||||
QSlider:horizontal {
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
QSlider::groove:horizontal {
|
||||
height: 4px;
|
||||
background-color: rgba(0, 0, 0, 100);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::sub-page:horizontal {
|
||||
background: --ThemeColorPrimary;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal {
|
||||
border: 1px solid rgb(222, 222, 222);
|
||||
width: 20px;
|
||||
min-height: 24px;
|
||||
margin: -9px 0;
|
||||
border-radius: 11px;
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 --ThemeColorPrimary,
|
||||
stop:0.48 --ThemeColorPrimary,
|
||||
stop:0.55 rgb(255, 255, 255),
|
||||
stop:1 rgb(255, 255, 255));
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal:hover {
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 --ThemeColorPrimary,
|
||||
stop:0.55 --ThemeColorPrimary,
|
||||
stop:0.65 rgb(255, 255, 255),
|
||||
stop:1 rgb(255, 255, 255));
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal:pressed {
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 --ThemeColorPrimary,
|
||||
stop:0.4 --ThemeColorPrimary,
|
||||
stop:0.5 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: 5px solid #cccccc;
|
||||
}
|
||||
|
||||
|
||||
QSlider:vertical {
|
||||
min-width: 24px;
|
||||
}
|
||||
|
||||
QSlider::groove:vertical {
|
||||
width: 4px;
|
||||
background-color: rgba(0, 0, 0, 100);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::add-page:vertical {
|
||||
background: --ThemeColorPrimary;
|
||||
width: 4px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::handle:vertical {
|
||||
border: 1px solid rgb(222, 222, 222);
|
||||
height: 20px;
|
||||
min-width: 24px;
|
||||
margin: 0 -9px;
|
||||
border-radius: 11px;
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 --ThemeColorPrimary,
|
||||
stop:0.48 --ThemeColorPrimary,
|
||||
stop:0.55 rgb(255, 255, 255),
|
||||
stop:1 rgb(255, 255, 255));
|
||||
}
|
||||
|
||||
QSlider::handle:vertical:hover {
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 --ThemeColorPrimary,
|
||||
stop:0.55 --ThemeColorPrimary,
|
||||
stop:0.65 rgb(255, 255, 255),
|
||||
stop:1 rgb(255, 255, 255));
|
||||
}
|
||||
|
||||
QSlider::handle:vertical:pressed {
|
||||
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
|
||||
stop:0 --ThemeColorPrimary,
|
||||
stop:0.4 --ThemeColorPrimary,
|
||||
stop:0.5 rgb(255, 255, 255),
|
||||
stop:1 rgb(255, 255, 255));
|
||||
}
|
||||
|
||||
QSlider::groove:vertical:disabled {
|
||||
background-color: rgba(0, 0, 0, 75);
|
||||
}
|
||||
|
||||
QSlider::handle:vertical:disabled {
|
||||
background-color: #808080;
|
||||
border: 5px solid #cccccc;
|
||||
}
|
||||
109
qfluentwidgets/_rc/qss/light/spin_box.qss
Normal file
109
qfluentwidgets/_rc/qss/light/spin_box.qss
Normal file
@ -0,0 +1,109 @@
|
||||
SpinBox,
|
||||
DoubleSpinBox,
|
||||
DateEdit,
|
||||
DateTimeEdit,
|
||||
TimeEdit,
|
||||
CompactSpinBox,
|
||||
CompactDoubleSpinBox,
|
||||
CompactDateEdit,
|
||||
CompactDateTimeEdit,
|
||||
CompactTimeEdit {
|
||||
color: black;
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
border: 1px solid rgba(0, 0, 0, 13);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
||||
border-radius: 5px;
|
||||
/* font: 14px "Segoe UI", "Microsoft YaHei"; */
|
||||
padding: 0px 80px 0 10px;
|
||||
selection-background-color: --ThemeColorLight1;
|
||||
}
|
||||
|
||||
CompactSpinBox,
|
||||
CompactDoubleSpinBox,
|
||||
CompactDateEdit,
|
||||
CompactDateTimeEdit,
|
||||
CompactTimeEdit {
|
||||
padding: 0px 26px 0 10px;
|
||||
}
|
||||
|
||||
SpinBox:read-only,
|
||||
DoubleSpinBox:read-only,
|
||||
DateEdit:read-only,
|
||||
DateTimeEdit:read-only,
|
||||
TimeEdit:read-only,
|
||||
CompactSpinBox:read-only,
|
||||
CompactDoubleSpinBox:read-only,
|
||||
CompactDateEdit:read-only,
|
||||
CompactDateTimeEdit:read-only,
|
||||
CompactTimeEdit:read-only,
|
||||
SpinBox[symbolVisible=false],
|
||||
DoubleSpinBox[symbolVisible=false],
|
||||
DateEdit[symbolVisible=false],
|
||||
DateTimeEdit[symbolVisible=false],
|
||||
TimeEdit[symbolVisible=false],
|
||||
CompactSpinBox[symbolVisible=false],
|
||||
CompactDoubleSpinBox[symbolVisible=false],
|
||||
CompactDateEdit[symbolVisible=false],
|
||||
CompactDateTimeEdit[symbolVisible=false],
|
||||
CompactTimeEdit[symbolVisible=false] {
|
||||
padding: 0px 10px 0 10px;
|
||||
}
|
||||
|
||||
SpinBox:hover,
|
||||
DoubleSpinBox:hover,
|
||||
DateEdit:hover,
|
||||
DateTimeEdit:hover,
|
||||
TimeEdit:hover,
|
||||
CompactSpinBox:hover,
|
||||
CompactDoubleSpinBox:hover,
|
||||
CompactDateEdit:hover,
|
||||
CompactDateTimeEdit:hover,
|
||||
CompactTimeEdit:hover {
|
||||
background-color: rgba(249, 249, 249, 0.5);
|
||||
border: 1px solid rgba(0, 0, 0, 13);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 100);
|
||||
}
|
||||
|
||||
SpinBox:focus,
|
||||
DoubleSpinBox:focus,
|
||||
DateEdit:focus,
|
||||
DateTimeEdit:focus,
|
||||
TimeEdit:focus,
|
||||
CompactSpinBox:focus,
|
||||
CompactDoubleSpinBox:focus,
|
||||
CompactDateEdit:focus,
|
||||
CompactDateTimeEdit:focus,
|
||||
CompactTimeEdit:focus {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 13);
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
SpinBox:disabled,
|
||||
DoubleSpinBox:disabled,
|
||||
DateEdit:disabled,
|
||||
DateTimeEdit:disabled,
|
||||
TimeEdit:disabled,
|
||||
CompactSpinBox:disabled,
|
||||
CompactDoubleSpinBox:disabled,
|
||||
CompactDateEdit:disabled,
|
||||
CompactDateTimeEdit:disabled,
|
||||
CompactTimeEdit:disabled {
|
||||
color: rgba(0, 0, 0, 92);
|
||||
background-color: rgba(249, 249, 249, 0.5);
|
||||
border: 1px solid rgba(0, 0, 0, 13);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 13);
|
||||
}
|
||||
|
||||
SpinButton {
|
||||
background-color: transparent;
|
||||
border-radius: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
SpinButton:hover {
|
||||
background-color: rgba(0, 0, 0, 9);
|
||||
}
|
||||
|
||||
SpinButton:pressed {
|
||||
background-color: rgba(0, 0, 0, 6);
|
||||
}
|
||||
21
qfluentwidgets/_rc/qss/light/state_tool_tip.qss
Normal file
21
qfluentwidgets/_rc/qss/light/state_tool_tip.qss
Normal file
@ -0,0 +1,21 @@
|
||||
StateToolTip,
|
||||
ToastToolTip {
|
||||
background-color: --ThemeColorDark1;
|
||||
border: none;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
QLabel {
|
||||
color: white;
|
||||
background-color: transparent;
|
||||
font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
border: none;
|
||||
}
|
||||
|
||||
QLabel#titleLabel {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
QLabel#contentLabel {
|
||||
font-size: 13px;
|
||||
}
|
||||
20
qfluentwidgets/_rc/qss/light/switch_button.qss
Normal file
20
qfluentwidgets/_rc/qss/light/switch_button.qss
Normal file
@ -0,0 +1,20 @@
|
||||
QWidget {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
SwitchButton {
|
||||
qproperty-spacing: 12;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
SwitchButton>QLabel {
|
||||
color: black;
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
SwitchButton>QLabel:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
}
|
||||
|
||||
8
qfluentwidgets/_rc/qss/light/tab_view.qss
Normal file
8
qfluentwidgets/_rc/qss/light/tab_view.qss
Normal file
@ -0,0 +1,8 @@
|
||||
TabBar {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#view {
|
||||
background-color: transparent;
|
||||
}
|
||||
87
qfluentwidgets/_rc/qss/light/table_view.qss
Normal file
87
qfluentwidgets/_rc/qss/light/table_view.qss
Normal file
@ -0,0 +1,87 @@
|
||||
QTableView {
|
||||
background: transparent;
|
||||
outline: none;
|
||||
border: none;
|
||||
/* font: 13px 'Segoe UI', 'Microsoft YaHei'; */
|
||||
selection-background-color: transparent;
|
||||
alternate-background-color: transparent;
|
||||
}
|
||||
|
||||
QTableView[isBorderVisible=true] {
|
||||
border: 1px solid rgba(0, 0, 0, 15);
|
||||
}
|
||||
|
||||
QTableView::item {
|
||||
background: transparent;
|
||||
border: 0px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
|
||||
QTableView::indicator {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
QHeaderView {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QHeaderView::section {
|
||||
background-color: transparent;
|
||||
color: rgb(96, 96, 96);
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
border: 1px solid rgba(0, 0, 0, 15);
|
||||
font: 13px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
}
|
||||
|
||||
QHeaderView::section:horizontal {
|
||||
border-left: none;
|
||||
height: 33px;
|
||||
}
|
||||
|
||||
QTableView[isBorderVisible=true] QHeaderView::section:horizontal {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
QHeaderView::section:horizontal:last {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
QHeaderView::section:vertical {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
QHeaderView::section:checked {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QHeaderView::down-arrow {
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: center right;
|
||||
margin-right: 6px;
|
||||
image: url(:/qfluentwidgets/images/table_view/Down_black.svg);
|
||||
}
|
||||
|
||||
QHeaderView::up-arrow {
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: center right;
|
||||
margin-right: 6px;
|
||||
image: url(:/qfluentwidgets/images/table_view/Up_black.svg);
|
||||
}
|
||||
|
||||
QTableCornerButton::section {
|
||||
background-color: transparent;
|
||||
border: 1px solid rgba(0, 0, 0, 15);
|
||||
}
|
||||
|
||||
QTableCornerButton::section:pressed {
|
||||
background-color: rgba(0, 0, 0, 12);
|
||||
}
|
||||
12
qfluentwidgets/_rc/qss/light/teaching_tip.qss
Normal file
12
qfluentwidgets/_rc/qss/light/teaching_tip.qss
Normal file
@ -0,0 +1,12 @@
|
||||
#titleLabel {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#contentLabel {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
}
|
||||
125
qfluentwidgets/_rc/qss/light/time_picker.qss
Normal file
125
qfluentwidgets/_rc/qss/light/time_picker.qss
Normal file
@ -0,0 +1,125 @@
|
||||
ScrollButton {
|
||||
background-color: rgb(249, 249, 249);
|
||||
border: none;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
CycleListWidget {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-top-left-radius: 7px;
|
||||
border-top-right-radius: 7px;
|
||||
outline: none;
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
}
|
||||
|
||||
CycleListWidget::item {
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
margin: 0 4px;
|
||||
padding-left: 11px;
|
||||
padding-right: 11px;
|
||||
}
|
||||
|
||||
CycleListWidget::item:hover {
|
||||
background-color: rgba(0, 0, 0, 9);
|
||||
}
|
||||
|
||||
CycleListWidget::item:selected {
|
||||
background-color: rgba(0, 0, 0, 9);
|
||||
}
|
||||
|
||||
CycleListWidget::item:selected:active {
|
||||
background-color: rgba(0, 0, 0, 6);
|
||||
}
|
||||
|
||||
PickerPanel > #view {
|
||||
background-color: rgb(249, 249, 249);
|
||||
border: 1px solid rgba(0, 0, 0, 0.14);
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
SeparatorWidget {
|
||||
background-color: rgb(234, 234, 234);
|
||||
}
|
||||
|
||||
ItemMaskWidget {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
}
|
||||
|
||||
PickerBase {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
border: 1px solid rgba(0, 0, 0, 0.073);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.183);
|
||||
border-radius: 5px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
PickerBase:hover {
|
||||
background: rgba(249, 249, 249, 0.5);
|
||||
}
|
||||
|
||||
PickerBase:pressed {
|
||||
background: rgba(249, 249, 249, 0.3);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.073);
|
||||
}
|
||||
|
||||
PickerBase:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
#pickerButton {
|
||||
font: 14px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#pickerButton:disabled {
|
||||
color: rgba(0, 0, 0, 0.36);
|
||||
}
|
||||
|
||||
#pickerButton[hasBorder=true]:enabled {
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.073);
|
||||
}
|
||||
|
||||
#pickerButton[hasBorder=true]:disabled {
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
#pickerButton[hasBorder=false] {
|
||||
border-right: transparent;
|
||||
}
|
||||
|
||||
#pickerButton[enter=true]:enabled {
|
||||
color: rgba(0, 0, 0, 0.896);
|
||||
}
|
||||
|
||||
#pickerButton[hasValue=true]:enabled{
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
#pickerButton[pressed=true] {
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
#pickerButton[align="center"] {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#pickerButton[align="left"] {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#pickerButton[align="right"] {
|
||||
text-align: right;
|
||||
}
|
||||
21
qfluentwidgets/_rc/qss/light/tool_tip.qss
Normal file
21
qfluentwidgets/_rc/qss/light/tool_tip.qss
Normal file
@ -0,0 +1,21 @@
|
||||
ToolTip {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
ToolTip>#container {
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
background-color: rgb(249, 249, 249);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
ToolTip>#container[transparent=true] {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
QLabel {
|
||||
background-color: transparent;
|
||||
font: 12px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
border: none;
|
||||
color: black;
|
||||
}
|
||||
102
qfluentwidgets/_rc/qss/light/tree_view.qss
Normal file
102
qfluentwidgets/_rc/qss/light/tree_view.qss
Normal file
@ -0,0 +1,102 @@
|
||||
QTreeView {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
outline: 0;
|
||||
padding-right: 5px;
|
||||
/* font: 13px 'Segoe UI', 'Microsoft YaHei'; */
|
||||
selection-background-color: transparent;
|
||||
}
|
||||
|
||||
QTreeView[isBorderVisible=true] {
|
||||
border: 1px solid rgba(0, 0, 0, 15);
|
||||
}
|
||||
|
||||
QTreeView::item {
|
||||
padding: 4px;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
padding-left: 20px;
|
||||
border-radius: 5px;
|
||||
/* color: black; */
|
||||
}
|
||||
|
||||
QTreeView::branch:has-children:!has-siblings:closed,
|
||||
QTreeView::branch:closed:has-children:has-siblings {
|
||||
image: url(:/qfluentwidgets/images/tree_view/TreeViewClose_black.svg);
|
||||
}
|
||||
|
||||
QTreeView::branch:open:has-children:!has-siblings,
|
||||
QTreeView::branch:open:has-children:has-siblings {
|
||||
image: url(:/qfluentwidgets/images/tree_view/TreeViewOpen_black.svg);
|
||||
}
|
||||
|
||||
QTreeView:disabled {
|
||||
color: rgba(0, 0, 0, 110);
|
||||
}
|
||||
|
||||
QTreeView::indicator {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
QHeaderView {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QHeaderView::section {
|
||||
background-color: transparent;
|
||||
color: rgb(96, 96, 96);
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
border: 1px solid rgba(0, 0, 0, 15);
|
||||
font: 13px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
||||
}
|
||||
|
||||
QHeaderView::section:horizontal {
|
||||
border-left: none;
|
||||
height: 33px;
|
||||
}
|
||||
|
||||
QTreeView[isBorderVisible=true] QHeaderView::section:horizontal {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
QHeaderView::section:horizontal:last {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
QHeaderView::section:vertical {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
QHeaderView::section:checked {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QHeaderView::down-arrow {
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: center right;
|
||||
margin-right: 6px;
|
||||
image: url(:/qfluentwidgets/images/table_view/Down_black.svg);
|
||||
}
|
||||
|
||||
QHeaderView::up-arrow {
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: center right;
|
||||
margin-right: 6px;
|
||||
image: url(:/qfluentwidgets/images/table_view/Up_black.svg);
|
||||
}
|
||||
|
||||
QTableCornerButton::section {
|
||||
background-color: transparent;
|
||||
border: 1px solid rgba(0, 0, 0, 15);
|
||||
}
|
||||
|
||||
QTableCornerButton::section:pressed {
|
||||
background-color: rgba(0, 0, 0, 12);
|
||||
}
|
||||
Reference in New Issue
Block a user