diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2018-12-20 14:33:08 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-20 14:33:08 -0600 |
| commit | ed67ac211306bee2067178ace1a0a7fbcd0bea1b (patch) | |
| tree | 8fe31503ba20a436457c8c94d61f953b4aa067b4 /src/stylesheets/vs15 Dark.qss | |
| parent | 2232bdfc779b8575c8374a723d4d02a2b41fb352 (diff) | |
| parent | 9a33dc148054443cb0efd5916ff758fca5bc09e3 (diff) | |
Merge pull request #586 from ModOrganizer2/Develop
Release 2.1.6
Diffstat (limited to 'src/stylesheets/vs15 Dark.qss')
| -rw-r--r-- | src/stylesheets/vs15 Dark.qss | 749 |
1 files changed, 749 insertions, 0 deletions
diff --git a/src/stylesheets/vs15 Dark.qss b/src/stylesheets/vs15 Dark.qss new file mode 100644 index 00000000..8c4d354e --- /dev/null +++ b/src/stylesheets/vs15 Dark.qss @@ -0,0 +1,749 @@ +/*!************************************* + VS15 Dark +**************************************** + Author: chintsu_kun + Version: 2.0.2 + Licence: GNU General Public License v3.0 (https://www.gnu.org/licenses/gpl-3.0.en.html) + Url: https://github.com/nikolay-borzov/modorganizer-themes +**************************************** +*/ +/* For some reason applying background-color or border fixes paddings properties */ +QListWidget::item { + border-width: 0; } + +/* Don't override install label on download widget. + MO2 assigns color depending on download state */ +#installLabel { + color: none; } + +/* Make `background-color` work for :hover, :focus and :pressed states */ +QToolButton { + border: none; } + +/* Main Window */ +QWidget { + background-color: #2D2D30; + color: #F1F1F1; } + QWidget::disabled { + color: #656565; } + +/* Common */ +/* remove outline */ +* { + outline: 0; } + +*:disabled, +QListView::item:disabled, +*::item:selected:disabled { + color: #656565; } + +/* line heights */ +/* QTreeView#fileTree::item - currently have problem with size column vertical + text align */ +#bsaList::item, +#dataTree::item, +QTreeView#modList::item, +QTreeWidget#categoriesTree::item, +#tabConflicts QTreeWidget::item { + padding: 0.3em 0; } + +QListView::item, +QTreeView#espList::item { + padding: 0.3em; } + +/* to enable border color */ +QTreeView, +QListView, +QTextEdit, +QWebView, +QTableView { + border-style: solid; + border-width: 1px; } + +QAbstractItemView { + color: #DCDCDC; + background-color: #1E1E1E; + alternate-background-color: #262626; + border-color: #3F3F46; } + QAbstractItemView::item:selected, QAbstractItemView::item:selected:hover { + background-color: #3399FF; + color: #F1F1F1; } + +QAbstractItemView, +QListView, +QTreeView { + show-decoration-selected: 1; } + +QAbstractItemView::item:hover, +QListView::item:hover, +QTreeView::branch:hover, +QTreeWidget::item:hover { + background-color: rgba(51, 153, 255, 0.3); } + +QAbstractItemView::item:selected:disabled, +QListView::item:selected:disabled, +QTreeView::branch:selected:disabled, +QTreeWidget::item:selected:disabled { + background-color: rgba(51, 153, 255, 0.3); } + +QTreeView::branch:selected { + background-color: #3399FF; } + +QLabel { + background-color: transparent; } + +/* Left Pane & File Trees #QTreeView, #QListView*/ +QTreeView::branch:closed:has-children { + image: url(./vs15/branch-closed.png); } + +QTreeView::branch:open:has-children { + image: url(./vs15/branch-open.png); } + +/*QListView::item:hover { } +QListView::item:selected { }*/ +QListView::item { + color: #F1F1F1; } + +/* Text areas and text fields #QTextEdit, #QLineEdit, #QWebView */ +QTextEdit, +QWebView, +QLineEdit, +QAbstractSpinBox, +QAbstractSpinBox::up-button, +QAbstractSpinBox::down-button, +QComboBox { + background-color: #333337; + border-color: #3F3F46; } + +QLineEdit:hover, +QAbstractSpinBox:hover, +QTextEdit:hover, +QComboBox:hover, +QComboBox:editable:hover { + border-color: #007ACC; } + +QLineEdit:focus, +QAbstractSpinBox::focus, +QTextEdit:focus, +QComboBox:focus, +QComboBox:editable:focus, +QComboBox:on { + background-color: #3F3F46; + border-color: #3399FF; } + +QComboBox:on { + border-bottom-color: #3F3F46; } + +QLineEdit, +QAbstractSpinBox { + min-height: 15px; + padding: 2px; + border-style: solid; + border-width: 1px; } + +QLineEdit { + margin-top: 0; } + +/* clear button */ +QLineEdit QToolButton, +QLineEdit QToolButton:hover { + background: none; + margin-top: 1px; } + +QLineEdit#espFilterEdit QToolButton { + margin-top: -2px; + margin-bottom: 1px; } + +/* Drop-downs #QComboBox*/ +QComboBox { + min-height: 20px; + padding-left: 5px; + margin: 3px 0 1px 0; + border-style: solid; + border-width: 1px; } + QComboBox:editable { + padding-left: 3px; + /* to enable hover styles */ + background-color: transparent; } + QComboBox::drop-down { + width: 20px; + subcontrol-origin: padding; + subcontrol-position: top right; + border: none; + /* If you need to set style for drop-down button + &:on, + &:editable:hover { + background-color: red; + } */ } + QComboBox::down-arrow { + image: url(./vs15/combobox-down.png); } + QComboBox QAbstractItemView { + background-color: #1B1B1C; + selection-background-color: #3F3F46; + border-color: #3399FF; + border-style: solid; + border-width: 0 1px 1px 1px; } + +/* doesn't work http://stackoverflow.com/questions/13308341/qcombobox-abstractitemviewitem*/ +/*QComboBox QAbstractItemView:item { + padding: 10px; + margin: 10px; +}*/ +/* Toolbar */ +QToolBar { + border: none; } + +QToolBar::separator { + border-left-color: #222222; + border-right-color: #46464A; + border-width: 0 1px 0 1px; + border-style: solid; + width: 0; } + +QToolButton { + margin: 0 4px 0 4px; + padding: 5px; } + QToolButton:hover, QToolButton:focus { + background-color: #3E3E40; } + QToolButton:pressed { + background-color: #3399FF; } + +/* Group Boxes #QGroupBox */ +QGroupBox { + border-color: #3F3F46; + border-style: solid; + border-width: 1px; + padding: 1em .3em .3em .3em; + margin-top: .65em; } + +QGroupBox::title { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 2px; + left: 10px; } + +/* LCD Count */ +QLCDNumber { + border-color: #3F3F46; + border-style: solid; + border-width: 1px; } + +/* Buttons #QPushButton */ +QPushButton { + background-color: #333337; + border-color: #3F3F46; + min-height: 18px; + padding: 2px 5px; + border-style: solid; + border-width: 1px; } + +QPushButton:hover, +QPushButton:checked, +QPushButton:focus, +QAbstractSpinBox::up-button:hover, +QAbstractSpinBox::down-button:hover { + background-color: #007ACC; } + +QPushButton:pressed, +QPushButton:checked:hover, +QAbstractSpinBox::up-button:pressed, +QAbstractSpinBox::down-button:pressed { + background-color: #1C97EA; } + +QPushButton:disabled, +QAbstractSpinBox::up-button:disabled, +QAbstractSpinBox::down-button:disabled { + background-color: #333337; + border-color: #3F3F46; } + +QPushButton::menu-indicator { + image: url(./vs15/combobox-down.png); + subcontrol-origin: padding; + subcontrol-position: center right; + padding-right: 5%; } + +/* Dialog buttons */ +QDialog QPushButton, +QSlider::handle:horizontal, +QSlider::handle:vertical { + color: #000000; + background-color: #DDDDDD; + border-color: #707070; + border-style: solid; + border-width: 1px; } + +QDialog QPushButton:hover, +QSlider::handle:horizontal:hover, +QSlider::handle:vertical:hover, +QSlider::handle:horizontal:pressed, +QSlider::handle:vertical:pressed { + background-color: #BEE6FD; + border-color: #3C7FB1; } + +QSlider::handle:horizontal:focus:!pressed, +QSlider::handle:vertical:focus:!pressed, +QDialog QPushButton:focus, +QDialog QPushButton:checked { + background-color: #DDDDDD; + border-color: #3399FF; } + +QDialog QPushButton:disabled, +QSlider::handle:horizontal:disabled, +QSlider::handle:vertical:disabled { + background-color: #333337; + border-color: #3F3F46; } + +QDialog QPushButton { + min-width: 1.5em; + padding-left: .5em; + padding-right: .5em; } + +/* Check boxes and Radio buttons common #QCheckBox, #QRadioButton */ +QGroupBox::indicator, +QTreeView::indicator, +QCheckBox::indicator, +QRadioButton::indicator { + background-color: #2D2D30; + border-color: #3F3F46; + width: 13px; + height: 13px; + border-style: solid; + border-width: 1px; } + QGroupBox::indicator:hover, + QTreeView::indicator:hover, + QCheckBox::indicator:hover, + QRadioButton::indicator:hover { + background-color: #3F3F46; + border-color: #007ACC; } + +QGroupBox::indicator:checked, +QTreeView::indicator:checked, +QCheckBox::indicator:checked { + image: url(./vs15/checkbox-check.png); } + +QGroupBox::indicator:disabled, +QTreeView::indicator:checked:disabled, +QCheckBox::indicator:checked:disabled { + image: url(./vs15/checkbox-check-disabled.png); } + +/* Check boxes special */ +QTreeView#modList::indicator { + width: 15px; + height: 15px; } + +/* Radio buttons #QRadioButton */ +QRadioButton::indicator { + border-radius: 7px; } + QRadioButton::indicator::checked { + background-color: #B9B9BA; + border-width: 2px; + width: 11px; + height: 11px; } + QRadioButton::indicator::checked:hover { + border-color: #3F3F46; } + +/* Spinners #QSpinBox, #QDoubleSpinBox */ +QAbstractSpinBox { + margin: 1px; } + +QAbstractSpinBox::up-button, +QAbstractSpinBox::down-button { + border-style: solid; + border-width: 1px; + subcontrol-origin: padding; } + +QAbstractSpinBox::up-button { + subcontrol-position: top right; } + +QAbstractSpinBox::up-arrow { + image: url(./vs15/spinner-up.png); } + +QAbstractSpinBox::down-button { + subcontrol-position: bottom right; } + +QAbstractSpinBox::down-arrow { + image: url(./vs15/spinner-down.png); } + +/* Sliders #QSlider */ +QSlider::groove:horizontal { + background-color: #3F3F46; + border: none; + height: 8px; + margin: 2px 0; } + +QSlider::handle:horizontal { + width: .5em; + height: 2em; + margin: -7px 0; + subcontrol-origin: margin; } + +/* Scroll Bars #QAbstractScrollArea, #QScrollBar*/ +/* assigning background still leaves not filled area*/ +QAbstractScrollArea::corner { + background-color: transparent; } + +/* Horizontal */ +QScrollBar:horizontal { + height: 18px; + border: none; + margin: 0 23px 0 23px; } + +QScrollBar::handle:horizontal { + min-width: 32px; + margin: 4px 2px; } + +QScrollBar::add-line:horizontal { + width: 23px; + subcontrol-position: right; + subcontrol-origin: margin; } + +QScrollBar::sub-line:horizontal { + width: 23px; + subcontrol-position: left; + subcontrol-origin: margin; } + +/* Vertical */ +QScrollBar:vertical { + width: 20px; + border: none; + margin: 23px 0 23px 0; } + +QScrollBar::handle:vertical { + min-height: 32px; + margin: 2px 4px; } + +QScrollBar::add-line:vertical { + height: 23px; + subcontrol-position: bottom; + subcontrol-origin: margin; } + +QScrollBar::sub-line:vertical { + height: 23px; + subcontrol-position: top; + subcontrol-origin: margin; } + +/* Combined */ +QScrollBar { + background-color: #3E3E42; + border: none; } + +QScrollBar::handle { + background-color: #686868; } + +QScrollBar::add-line, +QScrollBar::sub-line { + background-color: #3E3E42; + border: none; } + +/*QScrollBar::add-line:horizontal:hover, +QScrollBar::sub-line:horizontal:hover, +QScrollBar::add-line:vertical:hover, +QScrollBar::sub-line:vertical:hover, +QScrollBar::add-line:horizontal:pressed, +QScrollBar::sub-line:horizontal:pressed, +QScrollBar::add-line:vertical:pressed, +QScrollBar::sub-line:vertical:pressed { }*/ +QScrollBar::handle:hover { + background: #9E9E9E; } + +QScrollBar::handle:pressed { + background: #EFEBEF; } + +QScrollBar::handle:disabled { + background: #555558; } + +QScrollBar::add-page, +QScrollBar::sub-page { + background: transparent; } + +QScrollBar::up-arrow:vertical { + image: url(./vs15/scrollbar-up.png); } + +QScrollBar::up-arrow:vertical:hover { + image: url(./vs15/scrollbar-up-hover.png); } + +QScrollBar::up-arrow:vertical:disabled { + image: url(./vs15/scrollbar-up-disabled.png); } + +QScrollBar::right-arrow:horizontal { + image: url(./vs15/scrollbar-right.png); } + +QScrollBar::right-arrow:horizontal:hover { + image: url(./vs15/scrollbar-right-hover.png); } + +QScrollBar::right-arrow:horizontal:disabled { + image: url(./vs15/scrollbar-right-disabled.png); } + +QScrollBar::down-arrow:vertical { + image: url(./vs15/scrollbar-down.png); } + +QScrollBar::down-arrow:vertical:hover { + image: url(./vs15/scrollbar-down-hover.png); } + +QScrollBar::down-arrow:vertical:disabled { + image: url(./vs15/scrollbar-down-disabled.png); } + +QScrollBar::left-arrow:horizontal { + image: url(./vs15/scrollbar-left.png); } + +QScrollBar::left-arrow:horizontal:hover { + image: url(./vs15/scrollbar-left-hover.png); } + +QScrollBar::left-arrow:horizontal:disabled { + image: url(./vs15/scrollbar-left-disabled.png); } + +/* Scroll Area #QScrollArea*/ +QScrollArea { + border-color: #3F3F46; + border-style: solid; + border-width: 1px; } + +/* Header Rows and Tables (Configure Mod Categories) #QTableView, #QHeaderView */ +QTableView { + gridline-color: #3F3F46; + selection-background-color: #3399FF; + selection-color: #F1F1F1; } + +QTableView QTableCornerButton::section { + background: #252526; + border-color: #3F3F46; + border-style: solid; + border-width: 0 1px 1px 0; } + +QHeaderView { + border: none; } + +QHeaderView::section { + background: #252526; + border-color: #3F3F46; + padding: 3px 5px; + border-style: solid; + border-width: 0 1px 1px 0; } + +QHeaderView::section:hover { + background: #3E3E40; + color: #F6F6F6; } + +/*QHeaderView::section:first { }*/ +QHeaderView::section:last { + border-right: 0; } + +QHeaderView::up-arrow { + image: url(./vs15/sort-asc.png); + margin-bottom: -37px; } + +QTreeView#downloadView QHeaderView::up-arrow { + margin-bottom: -32px; } + +QHeaderView::down-arrow { + image: url(./vs15/sort-desc.png); + margin-bottom: 0; } + +/* Context menus, toolbar drop-downs #QMenu */ +QMenu { + background-color: #1A1A1C; + border-color: #333337; + border-style: solid; + border-width: 1px; + padding: 2px; } + +QMenu::item { + background: transparent; + padding: 4px 20px; } + +QMenu::item:selected { + background-color: #333334; } + +QMenu::item:disabled { + background-color: transparent; } + +QMenu::separator { + background-color: #333337; + height: 1px; + margin: 1px 0; } + +QMenu::icon { + margin: 1px; } + +QMenu::right-arrow { + image: url(./vs15/sub-menu-arrow.png); + subcontrol-origin: padding; + subcontrol-position: center right; + padding-right: .5em; } + +QMenu QPushButton { + background-color: transparent; + border-color: #3F3F46; + margin: 1px 0 1px 0; } + +QMenu QCheckBox, +QMenu QRadioButton { + background-color: transparent; + padding: 5px 2px; } + +/* Tool tips #QToolTip, #SaveGameInfoWidget */ +QToolTip, +SaveGameInfoWidget { + background-color: #424245; + border-color: #4D4D50; + color: #F1F1F1; + border-style: solid; + border-width: 1px; + padding: 2px; } + +/* Progress Bars (Downloads) #QProgressBar */ +QProgressBar { + background-color: #E6E6E6; + color: #000; + border-color: #BCBCBC; + text-align: center; + border-style: solid; + border-width: 1px; + margin: 0 10px; } + +QProgressBar::chunk { + background: #06B025; } + +/* Right Pane and Tab Bars #QTabWidget, #QTabBar */ +QTabWidget::pane { + border-color: #3F3F46; + border-top-color: #007ACC; + top: 0; + border-style: solid; + border-width: 1px; } + +QTabWidget::pane:disabled { + border-top-color: #3F3F46; } + +/*QTabWidget::tab-bar { }*/ +QTabBar::tab { + background-color: transparent; + padding: 4px 1em; + border: none; } + +QTabBar::tab:hover { + background-color: #1C97EA; } + +QTabBar::tab:selected, +QTabBar::tab:selected:hover { + background-color: #007ACC; } + +QTabBar::tab:disabled { + background-color: transparent; + color: #656565; } + +QTabBar::tab:selected:disabled { + background-color: #3F3F46; } + +/* Scrollers */ +QTabBar QToolButton { + background-color: #333337; + border-color: #3F3F46; + padding: 1px; + margin: 0; + border-style: solid; + border-width: 1px; } + +QTabBar QToolButton:hover { + border-color: #007ACC; + border-width: 1px; + border-style: solid; } + +QTabBar QToolButton:disabled, +QTabBar QToolButton:pressed:hover { + background-color: #333337; } + +/*QTabBar::tear { }*/ +QTabBar::scroller { + width: 23px; + background-color: red; } + +QTabBar QToolButton::right-arrow { + image: url(./vs15/scrollbar-right.png); } + +QTabBar QToolButton::right-arrow:hover { + image: url(./vs15/scrollbar-right-hover.png); } + +QTabBar QToolButton::left-arrow { + image: url(./vs15/scrollbar-left.png); } + +QTabBar QToolButton::left-arrow:hover { + image: url(./vs15/scrollbar-left-hover.png); } + +/* Special styles */ +/* fix margins on tabs pane */ +QLineEdit#espFilterEdit { + margin: 0 0 6px 0; } + +QTreeView#downloadView { + margin: 4px 4px 0 4px; } + +QCheckBox#showHiddenBox { + margin: 0 0 4px 4px; } + +QLineEdit#downloadFilterEdit { + margin: 0 4px 4px 0; } + +QWidget#tabImages QPushButton { + background-color: transparent; + margin: 0 .3em; + padding: 0; } + +/* like dialog QPushButton*/ +QWidget#tabESPs QToolButton { + color: #000000; + background-color: #DDDDDD; + border-color: #707070; + border-style: solid; + border-width: 1px; } + +QWidget#tabESPs QToolButton:hover { + background-color: #BEE6FD; + border-color: #3C7FB1; } + +QWidget#tabESPs QToolButton:focus { + background-color: #DDDDDD; + border-color: #3399FF; } + +QWidget#tabESPs QToolButton:disabled { + background-color: #333337; + border-color: #3F3F46; } + +QTreeWidget#categoriesList { + /*min-width: 225px;*/ } + +QTreeWidget#categoriesList::item { + background-position: center left; + background-repeat: no-repeat; + padding: .35em 10px; } + +QTreeWidget#categoriesList::item:has-children { + background-image: url(./vs15/branch-closed.png); } + +QTreeWidget#categoriesList::item:has-children:open { + background-image: url(./vs15/branch-open.png); } + +QDialog#QueryOverwriteDialog QPushButton { + margin-left: .5em; } + +QDialog#PyCfgDialog QPushButton:hover { + background-color: #BEE6FD; } + +QLineEdit#modFilterEdit { + margin-top: 2px; } + +/* highlight unchecked BSAs */ +QWidget#bsaTab QTreeWidget::indicator:unchecked { + background-color: #3399FF; } + +/* increase version text field */ +QLineEdit#versionEdit { + max-width: 100px; } + +/* Dialogs width changes */ +/* increase width to prevent buttons cutting */ +QDialog#QueryOverwriteDialog { + min-width: 565px; } + +QDialog#ModInfoDialog { + min-width: 850px; } |
