/*ui theme based on dcs*/ /* colors Backgrounds mainbg ---------------------- #2D3E50 med/grey/blue --------------- #435466 dark blue ------------------- #1D2731 dark grey ------------------- #4E5760 button blue/grey gradient --- qlineargradient(x1:0, y1:0, x2:1, y2:1,stop:0 #A4B3B9, stop:1 #85989D); button green gradient --- qlineargradient(x1:0, y1:0, x2:1, y2:1,stop:0 #82A466, stop:1 #5C863F); Text white text ------------------- #ffffff blue text -------------------- #3592C4 grey text -------------------- #B7C0C6 */ /*QMenuBar*/ QMenuBar { spacing: 2px; /* spacing between menu bar items */ border-bottom:none; } QMenuBar::item { padding: 4px 10px; background: transparent; border-radius: 2px; margin: 4px 0; } QMenuBar::item:selected { /* when selected using mouse or keyboard */ background: #1D2731; } QMenuBar::item:pressed { background: #1D2731; } QLabel{ font-weight:bold; } /*QWidget*/ QWidget { background-color: #2D3E50; color:white; } /*QLiberationWindow*/ QLiberationWindow{ background-color: #2D3E50; color:white; } /*QTopPanel*/ QTopPanel, QTopPanel * { background-color: #1D2731; color: #B7C0C6; font-size: 12px; font-weight: bold; } /*QPushButton*/ QPushButton { background: qlineargradient(x1:0, y1:0, x2:1, y2:1,stop:0 #A4B3B9, stop:1 #85989D); border: 1px solid #97A9A9; color:#fff; padding: 4px 10px; cursor: pointer; } QPushButton:hover { background: #85989D; cursor:pointer; } /*btn-success = a green button*/ QPushButton[style="btn-primary"]{ background: qlineargradient(x1:0, y1:0, x2:1, y2:1,stop:0 #A4B3B9, stop:1 #85989D); border: 1px solid #97A9A9; color:#fff; padding: 6px 20px; border-radius:2px; cursor: pointer; font-weight:bold; text-transform:uppercase; } /*btn-success = a green button*/ QPushButton[style="btn-success"]{ background-color:#82A466; color: white; cursor:pointer; padding: 6px 20px; border-radius:2px; font-weight:bold; text-transform:uppercase; } QPushButton[style="btn-success"]:hover{ background-color:#5C863F; padding: 5px; border-radius:2px; cursor: pointer; } /*mission start button*/ QPushButton[style="start-button"]{ background:qlineargradient(x1:0, y1:0, x2:1, y2:1,stop:0 #82A466, stop:1 #5C863F); border-radius:2px; border: none; text-transform: uppercase; text-weight: bold; padding: 8px 30px; } QPushButton[style="start-button"]:hover{ background:#5C863F; } QPushButton[style="btn-danger"]{ background-color:#9E3232; color: white; cursor:pointer; padding: 5px 5px 5px 5px; border-radius:5px; } QPushButton[style="btn-danger"]:hover{ background-color:#D84545; padding: 5px 5px 5px 5px; border-radius:5px; cursor: pointer; } /*QLabel*/ QLabel{ border: none; } QLabel[style="base-title"]{ font-size: 24px; font-color: #ccc; /*border: 1px solid #ccc;*/ } QLabel[style="icon-plane"]{ background-color:#48719D; min-height:24px; max-width: 84px; border: 1px solid black; text-align:center; color:white; } QLabel[style="bordered"]{ border: 1px solid black; } QLabel[style="BARCAP"]{ border: 1px solid black; background-color: #445299; color:white; } QLabel[style="TARCAP"]{ border: 1px solid black; background-color: #445299; color:white; } QLabel[style="CAP"]{ border: 1px solid black; background-color: #445299; color:white; } QLabel[style="INTERCEPTION"]{ border: 1px solid black; background-color: #7752bc; color:white; } QLabel[style="CAS"]{ border: 1px solid black; background-color: #ab2244; color:white; } QLabel[style="BAI"]{ border: 1px solid black; background-color: #ab2244; color:white; } QLabel[style="ANTISHIP"]{ border: 1px solid black; background-color: #ab2244; color:white; } QLabel[style="STRIKE"]{ border: 1px solid black; background-color: #ab2244; color:white; } QLabel[style="DEAD"]{ border: 1px solid black; background-color: #cc8844; color:white; } QLabel[style="SEAD"]{ border: 1px solid black; background-color: #aa7744; color:white; } /*QGroupBox these are the sections that look like fieldsets*/ QGroupBox { margin-top: 1ex; /* leave space at the top for the title */ border:1px solid #435466; padding:5px; margin:5px; } QGroupBox::title { subcontrol-origin: margin; subcontrol-position: top left; /* position at the top left */ padding: 3px; color: #B7C0C6; font-weight: 800; } /*checkboxes*/ QGroupBox::indicator , QCheckBox::indicator { width: 14px; height: 14px; border: 1px solid #435466; } QGroupBox::indicator:hover , QCheckBox::indicator:hover { border-color: #fff; image: url(resources/stylesheets/check-hover.png); } QGroupBox::indicator:unchecked , QCheckBox::indicator:unchecked { } QGroupBox::indicator:checked , QCheckBox::indicator:checked { image: url(resources/stylesheets/check.png); } /*QDialog*/ QDialog{ } QListView { border: none; } /*QTabWidget*/ QTabWidget::pane { /* The tab widget frame */ border-top: 2px solid #1D2731; } QTabWidget::tab-bar { } QTabBar::tab { color:#5B626B; background: #202C3A; border-right: 1px solid #14202B; border-left: 1px solid #14202B; min-width: 8ex; padding: 6px 10px; } QTabBar::tab:hover { background: #1D2731; color:#fff; } QTabBar::tab:selected { color:#3592C4; background:#2C3E4C; } /*QComboxBox*/ QComboxBox { padding:10px; margin:10px; border:1px solid #3B4656; background: #1D2731; color: #fff; } QComboBox:editable { background: #465C74; } QComboBox:!editable{ background: #1D2731; } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; padding: 10px; border:none; background: #1D2731; color: #fff; height: 20px; } QComboBox::down-arrow { image: url(resources/stylesheets/chevron-down.png); } QComboBox QAbstractItemView { padding: 10px; border:1px solid #3B4656; background: #465C74; } QLineEdit{ padding: 6px; border:1px solid #3B4656; background: #465C74; color: #fff; } /*table view*/ QHeaderView{ background-color: #202C3A; } QHeaderView::section { background-color: #202C3A; padding: 4px; border-style: none; border-bottom: 1px solid #1D2731; } QHeaderView::section:horizontal { border: none; text-align:left; } QHeaderView::section:vertical { border: none; text-align:left; } QTableWidget { gridline-color: #646464; } /*helper modifiers*/ *[style="no-border"] { border:none; } /* QBaseMenu{ background-color:#699245; color:white; } QWidget[style="baseMenuHeader"]{ font-size: 24px; font-weight: bold; color:white; }*/