style-mission.css 6.21 KB
Newer Older
1
* { font-family: "Bitstream Vera Sans"; font: "Roman"; font-size: 12px; }
pixhawk's avatar
pixhawk committed
2 3 4
QWidget#colorIcon {}

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

QGroupBox {
pixhawk's avatar
pixhawk committed
12
border: 1px solid #66666B;
pixhawk's avatar
pixhawk committed
13 14 15 16 17 18 19 20
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;
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 68
}

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
69 70 71 72 73 74 75
 }

 QGroupBox::title {
     subcontrol-origin: margin;
     subcontrol-position: top center; /* position at the top center */
     margin: 0 3px 0px 3px;
     padding: 0 3px 0px 0px;
76
     font: bold 8px;
pixhawk's avatar
pixhawk committed
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
     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;
92
    background: #121214;
93
    color: #4A4A4F;
pixhawk's avatar
pixhawk committed
94 95 96 97 98 99 100 101 102 103 104
    padding-left: 5px;
    height: 10px;
	border-bottom: 1px solid #555555;
}

QSeparator {
    color: #EEEEEE;
    }


QSpinBox {
105 106 107
	min-height: 14px;
	max-height: 18px;
    border: 1px solid #4A4A4F;
108
	border-radius: 5px;
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 144
}

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
145 146 147 148

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

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

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;
169 170
	max-height: 18px;
	border: 2px solid #4A4A4F;
pixhawk's avatar
pixhawk committed
171
	border-radius: 5px;
172
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208);
173 174
}

175 176
QToolButton:checked {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #353535);
pixhawk's avatar
pixhawk committed
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 230
}

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;
}

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

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

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

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

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

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

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

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

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