style-mission.css 6.13 KB
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3
QWidget#colorIcon {}

QWidget {
pixhawk's avatar
pixhawk committed
4
background-color: #050508;
pixhawk's avatar
pixhawk committed
5 6 7 8 9 10
color: #DDDDDF;
background-clip: border;
font-size: 11px;
}

QGroupBox {
pixhawk's avatar
pixhawk committed
11
border: 1px solid #66666B;
pixhawk's avatar
pixhawk committed
12 13 14 15 16 17 18 19
border-radius: 3px;
padding: 10px 0px 0px 0px;
margin-top: 1ex; /* leave space at the top for the title */
}

QCheckBox {
/*background-color: #252528;*/
color: #DDDDDF;
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
}

QCheckBox::indicator {
    border: 1px solid #777777;
    border-radius: 2px;
    color: #DDDDDF;
         width: 10px;
     height: 10px;
}

QLineEdit {
border: 1px solid #777777;
    border-radius: 2px;
}

QTextEdit {
border: 1px solid #777777;
    border-radius: 2px;
}

QPlainTextEdit {
border: 1px solid #777777;
    border-radius: 2px;
}

QComboBox {
border: 1px solid #777777;
    border-radius: 2px;
    }

 QCheckBox::indicator:checked {
     background-color: #555555;
 }

 QCheckBox::indicator:checked:hover {
     background-color: #555555;
 }

 QCheckBox::indicator:checked:pressed {
     background-color: #555555;
 }

 QCheckBox::indicator:indeterminate:hover {
     image: url(:/images/checkbox_indeterminate_hover.png);
 }

 QCheckBox::indicator:indeterminate:pressed {
     image: url(:/images/checkbox_indeterminate_pressed.png);
pixhawk's avatar
pixhawk committed
68 69 70 71 72 73 74
 }

 QGroupBox::title {
     subcontrol-origin: margin;
     subcontrol-position: top center; /* position at the top center */
     margin: 0 3px 0px 3px;
     padding: 0 3px 0px 0px;
75
     font: bold 8px;
pixhawk's avatar
pixhawk committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
     color: #DDDDDF;
 }
 
 QDockWidget {
	font: bold;
    border: 1px solid #32345E;
}

QDockWidget::close-button, QDockWidget::float-button {
	background-color: #181820;
	color: #EEEEEE;
}

QDockWidget::title {
    text-align: left;
91
    background: #121214;
92
    color: #4A4A4F;
pixhawk's avatar
pixhawk committed
93 94 95 96 97 98 99 100 101 102 103
    padding-left: 5px;
    height: 10px;
	border-bottom: 1px solid #555555;
}

QSeparator {
    color: #EEEEEE;
    }


QSpinBox {
104 105 106
	min-height: 14px;
	max-height: 18px;
    border: 1px solid #4A4A4F;
107
	border-radius: 5px;
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
}

QSpinBox::up-button {
    subcontrol-origin: border;
    subcontrol-position: top right; /* position at the top right corner */
    border-image: url(:/images/actions/go-up.svg) 1;
    border-width: 1px;
}
QSpinBox::down-button {
    subcontrol-origin: border;
    subcontrol-position: bottom right; /* position at the top right corner */
    border-image: url(:/images/actions/go-down.svg) 1;
    border-width: 1px;
}

QDoubleSpinBox {
	min-height: 14px;
	max-height: 18px;
    border: 1px solid #4A4A4F;
	border-radius: 5px;
}

QDoubleSpinBox::up-button {
    subcontrol-origin: border;
    subcontrol-position: top right; /* position at the top right corner */
    border-image: url(:/images/actions/go-up.svg) 1;
    border-width: 1px;
    max-width: 5px;
}
QDoubleSpinBox::down-button {
    subcontrol-origin: border;
    subcontrol-position: bottom right; /* position at the top right corner */
    border-image: url(:/images/actions/go-down.svg) 1;
    border-width: 1px;
    max-width: 5px;
}
pixhawk's avatar
pixhawk committed
144 145 146 147

QPushButton {
	font-weight: bold;
	min-height: 18px;
148
	max-height: 18px;
pixhawk's avatar
pixhawk committed
149
	border: 2px solid #4A4A4F;
pixhawk's avatar
pixhawk committed
150 151 152
	border-radius: 5px;
	padding-left: 10px;
	padding-right: 10px;
pixhawk's avatar
pixhawk committed
153
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208);
pixhawk's avatar
pixhawk committed
154 155 156
}

QPushButton:checked {
157
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #404040, stop: 1 #808080);
pixhawk's avatar
pixhawk committed
158 159 160 161 162 163 164 165 166 167
}

QPushButton:pressed {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bbbbbb, stop: 1 #b0b0b0);
}

QToolButton {
	font-weight: bold;
	min-height: 16px;
	min-width: 24px;
168 169
	max-height: 18px;
	border: 2px solid #4A4A4F;
pixhawk's avatar
pixhawk committed
170
	border-radius: 5px;
171
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208);
172 173
}

174 175
QToolButton:checked {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #353535);
pixhawk's avatar
pixhawk committed
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
}

QToolButton:pressed {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bbbbbb, stop: 1 #b0b0b0);
}

QPushButton#forceLandButton {
	font-weight: bold;
	min-height: 30px;
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #ffee01, stop:1 #ae8f00) url("ICONDIR/control/emergency-button.png");
	background-clip: border;
	border-width: 1px;
	border-color: #555555;
	border-radius: 5px;
}

QPushButton:pressed#forceLandButton {
	font-weight: bold;
	min-height: 30px;
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #bbaa00, stop:1 #a05b00) url("ICONDIR/control/emergency-button.png");
	background-clip: border;
	border-width: 1px;
	border-color: #555555;
	border-radius: 5px;
}

QPushButton#killButton {
	font-weight: bold;
	min-height: 30px;
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #ffb917, stop:1 #b37300) url("ICONDIR/control/emergency-button.png");
	background-clip: border;
	border-width: 1px;
	border-color: #555555;
	border-radius: 5px;
}

QPushButton:pressed#killButton {
	font-weight: bold;
	min-height: 30px;
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #bb8500, stop:1 #903000) url("ICONDIR/control/emergency-button.png");
	background-clip: border;
	border-width: 1px;
	border-color: #555555;
	border-radius: 5px;
}

230
QPushButton#controlButton {
pixhawk's avatar
pixhawk committed
231
    min-height: 25px;
pixhawk's avatar
pixhawk committed
232
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A0AE00, stop: 1 #909E00);
pixhawk's avatar
pixhawk committed
233 234 235 236 237 238 239
}

QPushButton:checked#controlButton {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #b76f11, stop: 1 #e1a718);
}

QProgressBar {
240
	border: 1px solid #4A4A4F;
pixhawk's avatar
pixhawk committed
241 242 243
	border-radius: 4px;
	text-align: center;
	padding: 2px;
244
	color: #DDDDDF;
pixhawk's avatar
pixhawk committed
245
	background-color: #111118;
pixhawk's avatar
pixhawk committed
246 247 248
}

QProgressBar:horizontal {
249
    height: 9px;
pixhawk's avatar
pixhawk committed
250 251 252
}

QProgressBar:vertical {
253
    width: 9px;
pixhawk's avatar
pixhawk committed
254 255 256
}

QProgressBar::chunk {
257
	background-color: #3C7B9E;
pixhawk's avatar
pixhawk committed
258 259 260 261 262 263 264 265 266 267 268 269
}

QProgressBar::chunk#batteryBar {
	background-color: green;
}

QProgressBar::chunk#speedBar {
	background-color: yellow;
}

QProgressBar::chunk#thrustBar {
	background-color: orange;
270
}