Files
GUI/src/stylesheet/Dark2.css

1 line
12 KiB
CSS
Raw Normal View History

2022-07-14 14:41:54 +08:00
/* Global */ * { background-color: #3c3c3c; color: #fcfcfc; margin: 0; font-size: 16px; } /* Global buttons */ QPushButton { border: 1px solid #505050; padding-left: 50px; padding-right: 50px; border-radius: 5px; min-height: 28px; max-height: 28px; background: qlineargradient(spread:pad, x1: 0.50, y1: 0, x2: 0.5, y2: 1, stop: 0 #505050, stop: 1 #606060); } QToolButton { border: none; border-radius: 10%; font-size: 26px; background: qlineargradient(spread:pad, x1: 0.5, y1: 0, x2: 0.5, y2: 1.0, stop: 0 #404040, stop: 0.5 #505050, stop: 1.0 #404040); font-weight: Bold; padding: 5px; } QToolButton:disabled { border: none; color: #606060; background: #3c3c3c } QToolButton:hover { background: #505050; } QToolButton:checked { border: 5px solid darkorange; padding: 0; } /* Global QGroupBox */ QGroupBox { border: 0px } /* Global Editors */ QLabel { color: #fcfcfc; font-weight: bold; font-size: 16px; } QLineEdit { min-height: 36px; max-height: 36px; border: none; border-bottom: 1px solid #505050; color: grey; } QLineEdit:enabled { background-color: #505050; border-bottom-color: #4a88c7; color: #fcfcfc; } QPlainTextEdit { border: 0px } QDateEdit { min-height: 36px; max-height: 36px; border: none; border-bottom: 1px solid #505050; color: grey; border-radius: 3px; } QDateEdit:disabled { background-color: #3c3c3c; border-bottom-color: #4a88c7; color: #fcfcfc; } QTextEdit { border: 1px solid #505050; color: grey; border-radius: 3px; } QTextEdit:enabled { background-color: #505050; border: 1px solid #4a88c7; color: #fcfcfc; } QComboBox { text-align: center; min-height: 36px; max-height: 36px; border: 1px solid #505050 } QComboBox:enabled { background-color: #505050 } /* Global Tab */ QTabBar::tab { height: 60px; width: 300px; font-size: 25px; background: qlineargradient(x1:0, y1: 0, x2: 0, y2: 1, stop: 0 #505050, stop: 1.0 #333333); border: 2px solid #505050; border-bottom-left-radius: 50%; border-bottom-right-radius: 50%; min-width: 8ex; padding: 2px; } QTabBar::tab:selected, QTabBar::tab:hover { border-top: 5px solid #4a88c7; background: #505050; } QTabWidget::pane { margin: 0 } /* Global TableView & ListView */ QTableView { border: none; alternate-background-color: #595959; selection-color: #fcfcfc; selection-background-color: #0078d8; margin: 5px 0 5 5; } QListView { border: none; margin: 5px; font-weight: bold } QListView::item { background: qlineargradient(spread:pad, x1: 0.5, y1: 0, x2: 0.5, y2: 1.0, stop: 0 #404040, stop: 0.5 #505050, stop: 1.0 #404040); min-height: 30px; border: 1px solid #505050; border-radius: 5px } QListView::item:selected { background: #365880; font-weight: bold; color: #fcfcfc; } QHeaderView::down-arrow { subcontrol-position: center right; image: url(":/icons/arrow-down.png"); padding-right: 8px; } QHeaderView::up-arrow { subcontrol-position: center right; image: url(":/icons/arrow-up.png"); padding-right: 8px; } QHeaderView::section { background-color: #595959; min-height: 50px; max-height: 50px; font-weight: Bold; font-size: 16px; border: 1px solid #323232; } QHeaderView::section:horizontal { border-bottom: 1px solid rgb(0, 170, 255); } QHeaderView::section:vertical { min-height: 36px; max-height: 36px; } QWidget#verSpaceLine { min-width: 2px; max-width: 2px; border-right: 1px solid #0078d8; margin-top: 6px; margin-bottom: 6px; } QLabel#endline { border-bottom: 1px solid grey } QLabel#warn { color: #930000; background: transparent; font-size: 20px; } QLabel#title { font-size: 30px; } /*------LoginWindow-----------------------------------------------