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.

226 lines
5.4 KiB

PushButton, ToolButton, ToggleButton {
background: rgba(255, 255, 255, 0.0605);
border: 1px solid rgba(255, 255, 255, 0.053);
border-top: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 5px;
color: white;
/* font: 14px 'Segoe UI', 'Microsoft YaHei'; */
padding: 5px 12px 6px 12px;
outline: none;
}
ToolButton {
padding: 5px 9px 6px 8px;
}
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 {
background: rgba(255, 255, 255, 0.0837);
}
PushButton:pressed, ToolButton:pressed, ToggleButton:pressed {
color: rgba(255, 255, 255, 0.786);
background: rgba(255, 255, 255, 0.0326);
border-top: 1px solid rgba(255, 255, 255, 0.053);
}
PushButton:disabled, ToolButton:disabled, ToggleButton:disabled {
color: rgba(255, 255, 255, 0.3628);
background: rgba(255, 255, 255, 0.0419);
border: 1px solid rgba(255, 255, 255, 0.053);
border-top: 1px solid rgba(255, 255, 255, 0.053);
}
#splitPushButton:pressed,
#splitToolButton:pressed,
SplitDropButton:pressed {
border-top: 1px solid rgba(255, 255, 255, 0.08);
}
PrimaryPushButton,
PrimaryToolButton,
ToggleButton:checked {
color: black;
background-color: --ThemeColorPrimary;
border: 1px solid --ThemeColorLight1;
border-bottom: 1px solid --ThemeColorLight2;
}
PrimaryPushButton:hover,
PrimaryToolButton:hover,
ToggleButton:checked:hover {
background-color: --ThemeColorDark1;
border: 1px solid --ThemeColorLight1;
border-bottom: 1px solid --ThemeColorLight2;
}
PrimaryPushButton:pressed,
PrimaryToolButton:pressed,
ToggleButton:checked:pressed {
color: rgba(0, 0, 0, 0.63);
background-color: --ThemeColorDark2;
border: 1px solid --ThemeColorDark2;
}
PrimaryPushButton:disabled,
PrimaryToolButton:disabled,
ToggleButton:checked:disabled {
color: rgba(255, 255, 255, 0.43);
background-color: rgb(52, 52, 52);
border: 1px solid rgb(52, 52, 52);
}
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;
border-right-color: rgba(255, 255, 255, 0.08);
}
#primarySplitPushButton,
#primarySplitToolButton {
border-right-color: --ThemeColorDark3;
}
#primarySplitPushButton:pressed,
#primarySplitToolButton:pressed {
border-right: 1px solid --ThemeColorLight2;
}
HyperlinkButton {
/* font: 14px 'Segoe UI', 'Microsoft YaHei'; */
padding: 5px 12px 6px 12px;
color: --ThemeColorPrimary;
border: none;
border-radius: 6px;
background-color: transparent;
}
HyperlinkButton:hover {
background-color: rgba(255, 255, 255, 10);
}
HyperlinkButton:pressed {
background-color: rgba(255, 255, 255, 7);
}
HyperlinkButton:disabled {
color: rgba(255, 255, 255, 0.43);
background-color: transparent;
}
RadioButton {
min-height: 24px;
max-height: 24px;
background-color: transparent;
font: 14px 'Segoe UI', 'Microsoft YaHei';
color: white;
}
RadioButton::indicator {
width: 18px;
height: 18px;
border-radius: 11px;
border: 2px solid #848484;
background-color: transparent;
margin-right: 4px;
}
RadioButton::indicator:hover {
background-color: rgba(255, 255, 255, 16);
}
RadioButton::indicator:pressed {
border: 2px solid #434343;
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(43, 42, 42),
stop:1 rgb(43, 42, 42));
}
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(0, 0, 0),
stop:0.5 rgb(0, 0, 0),
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(0, 0, 0),
stop:0.6 rgb(0, 0, 0),
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(0, 0, 0),
stop:0.5 rgb(0, 0, 0),
stop:0.6 --ThemeColorPrimary,
stop:1 --ThemeColorPrimary);
}
RadioButton:disabled {
color: rgb(150, 150, 150);
}
RadioButton::indicator:disabled {
border: 2px solid #646464;
background-color: transparent;
}
TransparentToolButton {
background-color: transparent;
border: none;
border-radius: 4px;
margin: 0;
}
TransparentToolButton:hover {
background-color: rgba(255, 255, 255, 9);
border: none;
}
TransparentToolButton:pressed {
background-color: rgba(255, 255, 255, 6);
border: none;
}