QWidget {
    color: rgba(210, 210, 210, 255);
    background: rgba(75, 75, 75, 255);
}

QMenuBar {
    color: rgba(210, 210, 210, 255);
}
QMenuBar::item {
    background: rgba(75, 75, 75, 255);
}
QMenuBar::item:selected {
    background: rgba(51, 153, 255, 255);
}
QMenuBar::item:pressed {
    color: rgba(40, 40, 40, 255);
    background: rgba(51, 153, 255, 255);
}

QMenu {
    border: 1px solid rgba(85, 85, 85, 255);
}
QMenu::item {
    padding: 2px 25px 2px 20px;
    border: 1px solid transparent;
}
QMenu::item:Disabled {
    color: rgba(125, 125, 125, 255);
}
QMenu::item:selected {
    border-style: outset;
    color: rgba(40, 40, 40, 255);
    background: rgba(225, 225, 225, 255);
    border: 2px solid rgba(0, 100, 255, 255);
}
QMenu::indicator:non-exclusive:unchecked {
    border-radius: 1px;
    background: rgba(210, 210, 210, 255);
    border: 1px solid rgba(175, 175, 175, 255);
}
QMenu::indicator:non-exclusive:unchecked:selected {
    border: 1px solid rgba(75, 75, 75, 255);
}

QToolBar {
    border: none;
}
QToolBar::handle {
    width: 2px;
}
QToolBar::separator {
    width: 1px; /* when vertical */
    height: 1px; /* when horizontal */
    background: rgba(85, 85, 85, 255);
}

QStatusBar {
}
QStatusBar::item {
    border: none;
}

QToolButton {
}
QToolButton:Disabled {
    color: rgba(125, 125, 125, 255);
}
QToolButton:hover {
    background: rgba(51, 153, 255, 255);
}
QToolButton:focus {
    border: 2px solid rgba(0, 100, 255, 255);
}
QToolButton:pressed {
    border-style: inset;
    color: rgba(40, 40, 40, 255);
    background: rgba(51, 153, 255, 255);
    border: 2px solid rgba(0, 100, 255, 255);
}

QTabWidget {
}
QTabWidget::pane {
    border: none;
}

QTabBar {
    border: none;
}
QTabBar::tab {
    padding: 6px 8px;
    color: rgba(210, 210, 210, 255);
    background: rgba(100, 100, 100, 255);

    border-left: none;
    border-top: 2px solid rgba(75, 75, 75, 255);
    border-right: 4px solid rgba(75, 75, 75, 255);
    border-bottom: 3px solid rgba(75, 75, 75, 255);
}
QTabBar::tab:hover {
    background: rgba(51, 153, 255, 255);
}
QTabBar::tab:focus, QTabBar::tab:pressed {
    border: 2px solid rgba(0, 100, 255, 255);
}
QTabBar::tab:selected {
    color: rgba(40, 40, 40, 255);
    background: rgba(51, 153, 255, 255);
}
QTabBar::scroller { /* the width of the scroll buttons */
    width: 16px;
}
QTabBar QToolButton { /* the scroll buttons are tool buttons */
    border: none;
}

QGroupBox {
     border-radius: 2px;
     border: 1px solid rgba(85, 85, 85, 255);
     margin-top: 15px; /* leave space at the top for the title */
}
QGroupBox::title {
    padding: 2px;
    position: relative;
    top: -10px; left: 5px;
    color: rgba(125, 125, 125, 255);
}

QLabel {
    background: transparent;
    color: rgba(210, 210, 210, 255);
}

QSpinBox,
QTimeEdit {
    padding: 2px;
    color: rgba(40, 40, 40, 255);
    background: rgba(200, 240, 240, 255);
    border: 1px solid rgba(85, 85, 85, 255);
}
QSpinBox::up-button,
QTimeEdit::up-button {
    border-left: 1px solid rgba(85, 85, 85, 255);
}
QSpinBox::up-arrow,
QTimeEdit::up-arrow {
    width: 11px;
    image: url(%s/images/16x16/play/arrow_up_b.png);
}
QSpinBox::down-button,
QTimeEdit::down-button {
    border-left: 1px solid rgba(85, 85, 85, 255);
}
QSpinBox::down-arrow,
QTimeEdit::down-arrow {
    width: 11px;
    image: url(%s/images/16x16/play/arrow_down_b.png);
}

QComboBox {
    padding: 2px;
    border: 1px solid rgba(85, 85, 85, 255);
}
QComboBox:editable {
    color: rgba(40, 40, 40, 255);
    background: rgba(210, 210, 210, 255);
}
QComboBox::drop-down {
    border-left: 1px solid rgba(85, 85, 85, 255);
}
QComboBox::down-arrow {
    width: 11px;
    image: url(%s/images/16x16/play/arrow_down_w.png);
}
QComboBox::down-arrow:editable {
    width: 11px;
    image: url(%s/images/16x16/play/arrow_down_b.png);
}
QComboBox QAbstractItemView::item {
    padding: 2px;
}
QComboBox QAbstractItemView::item:hover {
    color: rgba(40, 40, 40, 255);
}

QLineEdit {
    padding: 2px;
    color: rgba(40, 40, 40, 255);
    background: rgba(210, 210, 210, 255);
    border: 1px solid rgba(85, 85, 85, 255);
}
QLineEdit:read-only {
    color: rgba(80, 80, 80, 255);
    background: rgba(150, 150, 150, 255);
}

QProgressBar {
    text-align: right;
    border: 1px solid rgba(85, 85, 85, 255);
}
QProgressBar::chunk {
    background: rgba(0, 225, 75, 255);
}

QPushButton {
    padding: 4px;
    min-width: 60px;
    border: 1px solid transparent;
}
QPushButton:Disabled {
    color: rgba(125, 125, 125, 255);
}
QPushButton:hover {
    background: rgba(51, 153, 255, 255);
}
QPushButton:focus {
    border: 2px solid rgba(0, 100, 255, 255);
}
QPushButton:pressed {
    border-style: inset;
    background: rgba(51, 153, 255, 255);
}

QTextEdit {
    border: none;
    color: rgba(175, 175, 175, 255);
    background: rgba(40, 40, 40, 255);
}
QTextBrowser {
    color: rgba(90, 90, 90, 255);
}

QPlainTextEdit {
    border: none;
    color: rgba(175, 175, 175, 255);
    background: rgba(40, 40, 40, 255);
}

QScrollArea {
    border: none;
    color: rgba(175, 175, 175, 255);
    background: rgba(40, 40, 40, 255);
}

QScrollBar {
}
QScrollBar::handle:vertical {
    min-height: 25px;
    margin-right: 1px;
    background: rgba(51, 153, 255, 255);
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
    background: none;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
    border-right: 1px solid rgba(85, 85, 85, 255);
}
QScrollBar::up-arrow:vertical {
    width: 11px;
    padding: 2px;
    border: 1px solid rgba(85, 85, 85, 255);
    image: url(%s/images/16x16/play/arrow_up_w.png);
}
QScrollBar::down-arrow:vertical {
    width: 11px;
    padding: 2px;
    border: 1px solid rgba(85, 85, 85, 255);
    image: url(%s/images/16x16/play/arrow_down_w.png);
}
QScrollBar::handle:horizontal {
    min-width: 20px;
    margin-bottom: 1px;
    background: rgba(51, 153, 255, 255);
}
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
    background: none;
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
    border-bottom: 1px solid rgba(85, 85, 85, 255);
}
QScrollBar::left-arrow:horizontal {
    width: 11px;
    padding: 2px;
    border: 1px solid rgba(85, 85, 85, 255);
    image: url(%s/images/16x16/play/arrow_left_w.png);
}
QScrollBar::right-arrow:horizontal {
    width: 11px;
    padding: 2px;
    border: 1px solid rgba(85, 85, 85, 255);
    image: url(%s/images/16x16/play/arrow_right_w.png);
}

QTreeView {
    border: none;
    color: rgba(175, 175, 175, 255);
    background: rgba(40, 40, 40, 255);
}
QTreeView::item {
    padding: 2px;
}
QTreeView::item:hover {
    border: 1px solid rgba(191, 205, 228, 125);
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(231, 239, 253, 125), stop: 1 rgba(203, 218, 241, 125));
}
QTreeView::item:selected {
    color: rgba(40, 40, 40, 255);
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(201, 209, 223, 255), stop: 1 rgba(173, 188, 211, 255));
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
    padding: 5px;
    image: url(%s/images/16x16/play/arrow_right_w.png);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings {
    padding: 5px;
    image: url(%s/images/16x16/play/arrow_down_w.png);
}

QListWidget {
    border-radius: 2px;
    border: 1px solid transparent;

    color: rgba(210, 210, 210, 255);
    background: rgba(85, 85, 85, 255);
}
QListWidget::item:selected {
    color: rgba(40, 40, 40, 255);
}

QTableView {
    border: none;
    color: rgba(175, 175, 175, 255);
    background: rgba(40, 40, 40, 255);
}
QTableView QTableCornerButton::section {
    background: rgba(75, 75, 75, 255);
}

QHeaderView {
}
QHeaderView::section {
    padding: 5px;
    color: rgba(210, 210, 210, 255);
    background: rgba(100, 100, 100, 255);
}
QHeaderView::section:checked {
    color: rgba(40, 40, 40, 255);
    background: rgba(51, 153, 255, 255);
}
QHeaderView::down-arrow {
    width: 11px;
    image: url(%s/images/16x16/play/arrow_down_b.png);
}
QHeaderView::up-arrow {
    width: 11px;
    image: url(%s/images/16x16/play/arrow_up_b.png);
}
