style-mission.css 5.25 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 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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
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;
}

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

 QGroupBox::title {
     subcontrol-origin: margin;
     subcontrol-position: top center; /* position at the top center */
     margin: 0 3px 0px 3px;
     padding: 0 3px 0px 0px;
     font: bold 8px;
     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;
    background: #222224;
    padding-left: 5px;
    height: 10px;
	border-bottom: 1px solid #555555;
}

QSeparator {
    color: #EEEEEE;
    }


QSpinBox {
	min-height: 12 px;
}

QPushButton {
	font-weight: bold;
	min-height: 18px;
	max-height: 32px;
pixhawk's avatar
pixhawk committed
110
	border: 2px solid #4A4A4F;
pixhawk's avatar
pixhawk committed
111 112 113
	border-radius: 5px;
	padding-left: 10px;
	padding-right: 10px;
pixhawk's avatar
pixhawk committed
114
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208);
pixhawk's avatar
pixhawk committed
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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
}

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

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;
	max-height: 32px;
	border: 1px solid #EEEEEE;
	border-radius: 5px;
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #303030, stop: 1 #202020);
}

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

QPushButton#controlButton {
    min-height: 25px;
pixhawk's avatar
pixhawk committed
189
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A0AE00, stop: 1 #909E00);
pixhawk's avatar
pixhawk committed
190 191 192 193 194 195 196
}

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

QProgressBar {
pixhawk's avatar
pixhawk committed
197
	border: 1px solid #EEEEEE;
pixhawk's avatar
pixhawk committed
198 199 200 201
	border-radius: 4px;
	text-align: center;
	padding: 2px;
	color: white;
pixhawk's avatar
pixhawk committed
202
	background-color: #111118;
pixhawk's avatar
pixhawk committed
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 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
}

QProgressBar:horizontal {
    height 12px;
}

QProgressBar:vertical {
    width 12px;
}

QProgressBar::chunk {
	background-color: #656565;
}

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

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

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

QProgressBar::chunk#bandwidthBar {
	background-color: orange;
}
QProgressBar::chunk#loadBar {
	background-color: yellow;
}

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

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

QProgressBar::chunk#leftServoBar {
	background-color: #99BFDD;
}

QProgressBar::chunk#rightServoBar
{
	background-color: blue;
}