| 1 |
QPushButton:hover{ |
| 2 |
background: qlineargradient(x1 : 0, y1 : 0, x2 : 0, y2 : 1, stop : 0.0 #ffd9aa, stop : 0.5 #ffbb6e, stop : 0.55 #feae42, stop : 1.0 #fedb74); |
| 3 |
} |
| 4 |
|
| 5 |
QPushButton { |
| 6 |
border: 1px solid rgb(136, 138, 133); |
| 7 |
border-radius: 0px; |
| 8 |
padding: 4px 3px; |
| 9 |
background: qlineargradient(x1 : 0, y1 : 0, x2 : 0, y2 : 1, stop : 0.0 #f5f9ff, stop : 0.5 #c7dfff, stop : 0.55 #afd2ff, stop : 1.0 #c0dbff); |
| 10 |
color: #006aff; |
| 11 |
font: large "Arial"; |
| 12 |
height: 15; |
| 13 |
} |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
QPushButton:pressed { |
| 19 |
background: qlineargradient(x1 : 0, y1 : 0, x2 : 0, y2 : 1, stop : 0.0 #c0dbff, stop : 0.5 #cfd26f, stop : 0.55 #c7df6f, stop : 1.0 #f5f9ff); |
| 20 |
padding-top: 2px; |
| 21 |
padding-left: 3px; |
| 22 |
|
| 23 |
} |
| 24 |
|
| 25 |
|
| 26 |
QSlider::groove:vertical{ |
| 27 |
border: 1px solid #565a5e; |
| 28 |
width: 10px; |
| 29 |
background: #eee; |
| 30 |
margin: 0px; |
| 31 |
border-radius: 4px; |
| 32 |
} |
| 33 |
QSlider::handle:vertical{ |
| 34 |
border: 1px solid #565a5e; |
| 35 |
width: 5px; |
| 36 |
height: 10px; |
| 37 |
border-radius: 4px; |
| 38 |
} |
| 39 |
|
| 40 |
/*---Horizontal slider---*/ |
| 41 |
|
| 42 |
QSlider::groove:horizontal.symmetric{ |
| 43 |
border: 1px solid #bbb; |
| 44 |
background: white; |
| 45 |
height: 6px; |
| 46 |
border-radius: 2px; |
| 47 |
} |
| 48 |
|
| 49 |
QSlider::sub-page:horizontal.symmetric { |
| 50 |
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #66e, stop: 1 #bbf); |
| 51 |
background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1, stop: 0 #bbf, stop: 1 #55f); |
| 52 |
border: 1px solid #666; |
| 53 |
height: 10px; |
| 54 |
border-radius: 2px; |
| 55 |
} |
| 56 |
|
| 57 |
QSlider::add-page:horizontal.symmetric { |
| 58 |
background: #fff; |
| 59 |
border: 1px solid #555; |
| 60 |
height: 7px; |
| 61 |
border-radius: 2px; |
| 62 |
} |
| 63 |
|
| 64 |
QSlider::handle:horizontal.symmetric { |
| 65 |
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #eee, stop:1 #ccc); |
| 66 |
border: 1px solid #777; |
| 67 |
width: 13px; |
| 68 |
height:13px; |
| 69 |
margin-top: -2px; |
| 70 |
margin-bottom: -2px; |
| 71 |
border-radius: 4px; |
| 72 |
} |
| 73 |
|
| 74 |
QSlider::handle:horizontal.symmetric:hover { |
| 75 |
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #fff, stop:1 #ddd); |
| 76 |
border: 1px solid #444; |
| 77 |
border-radius: 4px; |
| 78 |
} |
| 79 |
|
| 80 |
/*---overrides for PV1,2---*/ |
| 81 |
QSlider::sub-page:horizontal.volts { |
| 82 |
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #66e, stop: 1 #bbf); |
| 83 |
background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1, stop: 0 #bbf, stop: 1 #e59); |
| 84 |
border: 1px solid #666; |
| 85 |
height: 7px; |
| 86 |
border-radius: 2px; |
| 87 |
} |
| 88 |
|
| 89 |
QLCDNumber { |
| 90 |
color:rgb(239, 41, 41); |
| 91 |
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #eee, stop:1 #ccc); |
| 92 |
|
| 93 |
} |