Skip to content

Commit b9540e7

Browse files
committed
qtdragon/hd -update brushed_metal_color stylesheet
Thanks Markopolo
1 parent c002376 commit b9540e7

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

share/qtvcp/screens/qtdragon/brushed_metal_color.qss

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SystemToolButton,
1313
OffsetToolButton,
1414
AxisToolButton,
1515
QToolButton {
16-
background: qlineargradient(spread:reflect, x1:0.5, y:0, x2:0.5, y2:1.6, stop:0 rgba(180, 180, 180, 225), stop:0.6 rgba(130, 130, 130, 180));
16+
background: qlineargradient(spread:reflect, x1:0.5, y:0, x2:0.5, y2:1.6, stop:0 rgba(180, 180, 180, 225), stop:0.6 rgba(130, 130, 130, 225));
1717
border: 2px solid black;
1818
border-radius: 4px;
1919
font: 10pt "Lato Heavy";
@@ -38,10 +38,12 @@ AxisToolButton:hover {
3838

3939
QPushButton:disabled,
4040
ActionButton:disabled,
41-
AxisToolButton:disabled {
42-
color: #c8c8c8;
41+
AxisToolButton:disabled,
42+
QToolButton:disabled {
43+
color: #cacaca;
4344
}
4445

46+
4547
ActionButton#action_machine_on {
4648
color: #FF0000;
4749
}
@@ -79,7 +81,8 @@ ActionButton#action_machine_on[isStateOn=true] {
7981

8082
ActionButton#action_estop {
8183
color: #00FF00;
82-
background: rgb(255, 80, 80,160);
84+
background: qlineargradient(spread:reflect, x1:0.5, y:0, x2:0.5, y2:1, stop:0 rgba(255, 120, 120,150), stop:0.6 rgba(255, 20, 20,150));
85+
8386
}
8487

8588

@@ -239,7 +242,7 @@ QProgressBar {
239242
background-color: rgb(250, 250, 250);
240243
border: 1px solid black;
241244
border-radius: 4px;
242-
font: 9 pt "Lato Heavy";
245+
font: 10pt "Lato Heavy";
243246
}
244247

245248
QProgressBar::chunk {
@@ -396,3 +399,4 @@ OriginOffsetView {
396399
}
397400

398401

402+

share/qtvcp/screens/qtdragon_hd/brushed_metal_color.qss

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SystemToolButton,
1313
OffsetToolButton,
1414
AxisToolButton,
1515
QToolButton {
16-
background: qlineargradient(spread:reflect, x1:0.5, y:0, x2:0.5, y2:1.6, stop:0 rgba(180, 180, 180, 225), stop:0.6 rgba(130, 130, 130, 180));
16+
background: qlineargradient(spread:reflect, x1:0.5, y:0, x2:0.5, y2:1.6, stop:0 rgba(180, 180, 180, 225), stop:0.6 rgba(130, 130, 130, 225));
1717
border: 2px solid black;
1818
border-radius: 4px;
1919
font: 10pt "Lato Heavy";
@@ -38,10 +38,12 @@ AxisToolButton:hover {
3838

3939
QPushButton:disabled,
4040
ActionButton:disabled,
41-
AxisToolButton:disabled {
42-
color: #c8c8c8;
41+
AxisToolButton:disabled,
42+
QToolButton:disabled {
43+
color: #cacaca;
4344
}
4445

46+
4547
ActionButton#action_machine_on {
4648
color: #FF0000;
4749
}
@@ -79,7 +81,8 @@ ActionButton#action_machine_on[isStateOn=true] {
7981

8082
ActionButton#action_estop {
8183
color: #00FF00;
82-
background: rgb(255, 80, 80,160);
84+
background: qlineargradient(spread:reflect, x1:0.5, y:0, x2:0.5, y2:1, stop:0 rgba(255, 120, 120,150), stop:0.6 rgba(255, 20, 20,150));
85+
8386
}
8487

8588

@@ -239,7 +242,7 @@ QProgressBar {
239242
background-color: rgb(250, 250, 250);
240243
border: 1px solid black;
241244
border-radius: 4px;
242-
font: 9 pt "Lato Heavy";
245+
font: 10pt "Lato Heavy";
243246
}
244247

245248
QProgressBar::chunk {
@@ -396,3 +399,4 @@ OriginOffsetView {
396399
}
397400

398401

402+

0 commit comments

Comments
 (0)