From 63a66c87546baeadb70f60184a96970efb00e56a Mon Sep 17 00:00:00 2001 From: Al12rs Date: Sun, 28 Oct 2018 19:11:44 +0100 Subject: Added VS2015 and Skyrim Stylesheets, courtesy of chintsu! --- src/stylesheets/skyrim.qss | 635 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 635 insertions(+) create mode 100644 src/stylesheets/skyrim.qss (limited to 'src/stylesheets/skyrim.qss') diff --git a/src/stylesheets/skyrim.qss b/src/stylesheets/skyrim.qss new file mode 100644 index 00000000..727c70af --- /dev/null +++ b/src/stylesheets/skyrim.qss @@ -0,0 +1,635 @@ +/*!************************************* + Skyrim +**************************************** + Author: chintsu_kun + Version: 2.0.0 + 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 +**************************************** +*/ +QWidget { + background-color: #000; + color: #F1F1F1; } + +/* Common */ +/* fix: fo some reason applying background-color or border fixes paddings properties */ +QListView::item, +QTreeView#espList::item, +QTreeWidget#categoriesList::item { + border-width: 0; } + +* { + /* remove outline */ + outline: 0; + /* text highlight */ + selection-background-color: #000; + selection-color: white; } + +/* disabled text */ +*:disabled, +QListView::item:disabled, +*::item:selected:disabled { + color: #656565; } + +/* line heights */ +QListView::item, +QTreeWidget::item, +QTreeView::item { + padding: .3em 0; } + +/* +QTreeView#modList::item, +QTreeWidget#categoriesTree::item, +#tabConflicts QTreeWidget::item, +QListView::item, +QTreeView#espList::item, +QTreeView#treeContent::item { + padding: .3em 0; +}*/ +QAbstractItemView { + color: #C0C0C0; + background-color: #000; + alternate-background-color: #000; + border-color: #A6A8AB; } + +QAbstractItemView, +QListView, +QTreeView { + show-decoration-selected: 1; } + +QAbstractItemView::item:hover, +QListView::item:hover, +QTreeView::branch:hover, +QTreeWidget::item:hover { + color: #fff; + background-color: #121212; } + +QAbstractItemView::item:disabled:hover, +QListView::item:disabled:hover, +QTreeView::branch:disabled:hover, +QTreeWidget::item:disabled:hover { + background-color: red; } + +QAbstractItemView::item:selected:disabled, +QListView::item:selected:disabled, +QTreeView::branch:selected:disabled, +QTreeWidget::item:selected:disabled { + background-color: #121212; } + +QAbstractItemView::item:selected { + background-color: #5F5F5E; + color: #fff; } + +/* Trees and Lists #QTreeView, #QListView*/ +QTreeView::branch:selected { + background-color: #5F5F5E; } + +QTreeView::branch:closed:has-children { + image: url(./skyrim/arrow-right.png); } + +QTreeView::branch:open:has-children { + image: url(./skyrim/branch-opened.png); } + +/*QListView::item:hover { } +QListView::item:selected { }*/ +QListView::item { + color: #C0C0C0; } + +/* Text areas and text fields #QTextEdit, #QLineEdit, #QWebView */ +/* Common */ +QLabel { + background-color: transparent; } + QLabel#installLabel { + font-weight: bold; } + +/* Font size */ +QLabel, +QTextEdit, +QLineEdit, +QWebView, +QComboBox, +QComboBox:editable, +QAbstractSpinBox, +QGroupBox, +QCheckBox, +QRadioButton { + font-size: 14px; } + +QTextEdit, +QLineEdit, +QWebView, +QComboBox, +QComboBox:editable, +QAbstractSpinBox { + border: none; + background-color: #141414; } + QTextEdit:hover, QTextEdit:focus, + QLineEdit:hover, + QLineEdit:focus, + QWebView:hover, + QWebView:focus, + QComboBox:hover, + QComboBox:focus, + QComboBox:editable:hover, + QComboBox:editable:focus, + QAbstractSpinBox:hover, + QAbstractSpinBox:focus { + background-color: #212121; } + +QLineEdit, +QAbstractSpinBox { + min-height: 24px; + padding: 2px; + border: none; } + +QLineEdit { + margin-top: 0; + /* clear button */ + /* increase version textfield width */ + /* fix margins on tabs pane */ } + QLineEdit QToolButton, + QLineEdit QToolButton:hover { + background: none; + margin-top: 1px; } + QLineEdit#espFilterEdit QToolButton { + margin-top: -2px; + margin-bottom: 1px; } + QLineEdit#modFilterEdit { + margin-top: 2px; } + QLineEdit#versionEdit { + max-width: 90px; } + QLineEdit#espFilterEdit { + margin: 0 0 6px 0; } + QLineEdit#downloadView { + margin: 4px 4px 0 4px; } + QLineEdit#showHiddenBox { + margin: 0 0 4px 4px; } + QLineEdit#downloadFilterEdit { + margin: 0 4px 4px 0; } + +/* Dropdowns #QComboBox*/ +QComboBox { + min-height: 20px; + padding-left: 5px; + margin: 3px 0 1px 0; + border-style: solid; } + QComboBox, QComboBox:editable { + border-width: 5px; + border-color: transparent; + border-image: url(./skyrim/border-image1.png) 6 repeat repeat; } + QComboBox:on { + background-color: #212121; } + QComboBox:editable { + padding-left: 3px; } + QComboBox::drop-down { + width: 20px; + subcontrol-origin: padding; + subcontrol-position: top right; + border: none; } + QComboBox::down-arrow { + image: url(./skyrim/arrow-down.png); } + QComboBox QAbstractItemView { + background-color: #000; + selection-background-color: #212121; } + +/* Toolbar */ +QToolBar { + border: none; } + QToolBar::separator { + image: url(./skyrim/separator.png); } + +QToolButton { + margin: 0 4px 0 4px; + padding: 5px; + /* need this to make background-color works*/ + border: none; + /* scrollers */ } + QToolButton:hover, QToolButton:focus { + background-color: #121212; } + QToolButton:pressed { + background-color: #5F5F5E; } + QToolButton::menu-indicator { + image: url(./skyrim/arrow-down.png); + margin: 0 4px 4px 0; } + QToolButton::menu-indicator:pressed, QToolButton::menu-indicator:open { + image: url(./skyrim/arrow-right.png); } + QTabBar QToolButton { + background-color: #000; + padding: 1px; + margin: 0; } + QTabBar QToolButton::right-arrow { + image: url(./skyrim/arrow-right.png); } + QTabBar QToolButton::left-arrow { + image: url(./skyrim/arrow-left.png); } + +/* Group Boxes #QGroupBox */ +QGroupBox { + padding: 1em .3em .3em .3em; + margin-top: .65em; + border-width: 5px; + border-color: transparent; + border-image: url(./skyrim/border-image2.png) 5 repeat repeat; } + QGroupBox::title { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 5px; + left: 10px; } + +/* LCD Count */ +QLCDNumber { + border-color: #A6A8AB; + border-style: solid; + border-width: 1px; } + +/* Buttons #QPushButton */ +QPushButton { + min-height: 18px; + padding: 2px 5px; + border-style: solid; + background-color: transparent; + border-width: 0 15px 0 15px; + border-color: transparent; + /*&:focus { }*/ + /* dialog buttons */ + /* show categories */ + /* run */ + /* unlock */ + /* mod info dialog images tab */ + /* add some space between buttons */ } + QPushButton:hover, QPushButton:checked:hover { + border-image: url(./skyrim/button-border.png) 0 15 repeat; } + QPushButton:checked { + border-image: url(./skyrim/button-checked-border.png) 0 15 repeat; } + QPushButton:disabled { + color: #656565; } + QPushButton::menu-indicator { + image: url(./skyrim/arrow-down.png); + subcontrol-origin: padding; + subcontrol-position: center right; + padding-right: 5%; } + QDialog QPushButton { + font-weight: bold; + font-size: 15px; + min-width: 1.5em; + padding-left: .5em; + padding-right: .5em; } + QPushButton#displayCategoriesBtn { + min-width: 20px; } + QPushButton#startButton:hover { + border-image: url(./skyrim/button-big-border.png) 0 15 repeat; } + QPushButton#startButton:checked { + border-image: url(./skyrim/button-big-border.png) 0 15 repeat; } + QPushButton#unlockButton { + margin: 10px 20px; } + QPushButton + QPushButton { + margin: 10px 0 0 0; } + QWidget#tabImages QPushButton { + background-color: transparent; + border: none; + margin: 0 .3em; + padding: 0; } + QWidget#tabImages QPushButton:hover { + background-color: #121212; } + QDialog#QueryOverwriteDialog QPushButton { + margin-left: 0.5em; } + #ProfilesDialog QPushButton { + margin-bottom: 0.5em; } + #ProfilesDialog QPushButton#closeButton { + margin-bottom: 0; } + #EditExecutablesDialog QPushButton#addButton, + #EditExecutablesDialog QPushButton#removeButton { + margin-bottom: 0.5em; + margin-top: 1em; } + +/* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ +/*common*/ +QGroupBox::indicator, +QTreeView::indicator, +QCheckBox::indicator { + background-color: transparent; + border: none; + width: 20px; + height: 20px; } + QGroupBox::indicator:checked, QGroupBox::indicator:indeterminate, + QTreeView::indicator:checked, + QTreeView::indicator:indeterminate, + QCheckBox::indicator:checked, + QCheckBox::indicator:indeterminate { + image: url(./skyrim/checkbox-checked.png); } + QGroupBox::indicator:checked:hover, QGroupBox::indicator:indeterminate:hover, + QTreeView::indicator:checked:hover, + QTreeView::indicator:indeterminate:hover, + QCheckBox::indicator:checked:hover, + QCheckBox::indicator:indeterminate:hover { + image: url(./skyrim/checkbox-checked-hover.png); } + QGroupBox::indicator:checked:disabled, QGroupBox::indicator:indeterminate:disabled, + QTreeView::indicator:checked:disabled, + QTreeView::indicator:indeterminate:disabled, + QCheckBox::indicator:checked:disabled, + QCheckBox::indicator:indeterminate:disabled { + image: url(./skyrim/checkbox-checked-disabled.png); } + QGroupBox::indicator:unchecked, + QTreeView::indicator:unchecked, + QCheckBox::indicator:unchecked { + image: url(./skyrim/checkbox.png); } + QGroupBox::indicator:unchecked:hover, + QTreeView::indicator:unchecked:hover, + QCheckBox::indicator:unchecked:hover { + image: url(./skyrim/checkbox-hover.png); } + QGroupBox::indicator:unchecked:disabled, + QTreeView::indicator:unchecked:disabled, + QCheckBox::indicator:unchecked:disabled { + image: url(./skyrim/checkbox-disabled.png); } + +/* Checkboxes special */ +QTreeWidget#bsaList::indicator { + width: 10px; + height: 15px; } + QTreeWidget#bsaList::indicator:checked { + image: url(./skyrim/checkbox-alt-checked.png); } + QTreeWidget#bsaList::indicator:unchecked { + image: url(./skyrim/checkbox-alt-unchecked.png); } + QTreeWidget#bsaList::indicator:unchecked:hover { + image: url(./skyrim/checkbox-alt-unchecked-hover.png); } + +/* Radio buttons #QRadioButton */ +QRadioButton::indicator { + width: 16px; + height: 16px; } + QRadioButton::indicator::checked { + image: url(./skyrim/radio-checked.png); } + QRadioButton::indicator::unchecked { + image: url(./skyrim/radio.png); } + QRadioButton::indicator::unchecked:hover { + image: url(./skyrim/radio-hover.png); } + +/* Spinners #QSpinBox, #QDoubleSpinBox */ +QAbstractSpinBox { + margin: 1px; } + QAbstractSpinBox::up-button, QAbstractSpinBox::down-button { + border-style: solid; + border-width: 1px; + subcontrol-origin: padding; } + QAbstractSpinBox::up-button:hover, QAbstractSpinBox::down-button:hover { + background-color: #141414; } + QAbstractSpinBox::up-button { + subcontrol-position: top right; } + QAbstractSpinBox::down-button { + subcontrol-position: bottom right; } + QAbstractSpinBox::up-arrow { + image: url(./skyrim/arrow-up.png); } + QAbstractSpinBox::down-arrow { + image: url(./skyrim/arrow-down.png); } + +/* Scroll Bars #QAbstractScrollArea, #QScrollBar*/ +/* assigning background still leaves not filled area*/ +QAbstractScrollArea::corner { + background-color: transparent; } + +QScrollBar { + background-color: transparent; + border: none; } + QScrollBar:horizontal { + height: 12px; + border: none; + margin: 0 17px 0 17px; } + QScrollBar:vertical { + width: 12px; + border: none; + margin: 17px 0 17px 0; } + QScrollBar::handle { + border: 1px solid rgba(243, 243, 243, 0.88); + background-color: rgba(255, 255, 255, 0.6); } + QScrollBar::handle:horizontal { + min-width: 32px; + margin: 1px 0 1px 0; } + QScrollBar::handle:vertical { + min-height: 32px; + margin: 0 1px 0 1px; } + QScrollBar::add-line, QScrollBar::sub-line { + background-color: transparent; + border: none; + subcontrol-origin: margin; } + QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { + width: 17px; } + QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical { + height: 17px; } + QScrollBar::add-line:horizontal { + subcontrol-position: right; } + QScrollBar::add-line:vertical { + subcontrol-position: bottom; } + QScrollBar::sub-line:horizontal { + subcontrol-position: left; } + QScrollBar::sub-line:vertical { + subcontrol-position: top; } + QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { + background: url(./skyrim/scrollbar-horizontal.png) center center repeat-x; } + QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: url(./skyrim/scrollbar-vertical.png) center center repeat-y; } + QScrollBar::up-arrow:vertical { + image: url(./skyrim/scrollbar-up.png); } + QScrollBar::down-arrow:vertical { + image: url(./skyrim/scrollbar-down.png); } + QScrollBar::right-arrow:horizontal { + image: url(./skyrim/scrollbar-right.png); } + QScrollBar::left-arrow:horizontal { + image: url(./skyrim/scrollbar-left.png); } + +/* Scroll Area #QScrollArea*/ +QScrollArea { + border-color: transparent; + border-style: solid; + border-width: 1px; } + +/* Sliders #QSlider */ +QSlider::groove:horizontal { + background: url(./skyrim/scrollbar-horizontal.png) repeat-x; + border-style: solid; + border-width: 0 17px; + border-color: transparent; + height: 12px; + margin: 0; + border-image: url(./skyrim/slider-border.png) 0 17 round; } + +QSlider::handle:horizontal { + background: url(./skyrim/slider-handle.png); + width: 18px; + height: 20px; + margin: -4px 0; + subcontrol-origin: margin; } + +/* Header Rows and Tables (Configure Mod Categories) #QTableView, #QHeaderView */ +QTableView { + gridline-color: transparent; + selection-background-color: #5F5F5E; + selection-color: #C0C0C0; } + QTableView QTableCornerButton::section { + background-color: transparent; + border-color: #A6A8AB; + border-style: solid; + border-width: 0 1px 1px 0; } + +QHeaderView { + border: none; } + QHeaderView::section { + background-color: transparent; + border-color: #A6A8AB; + /* 17px to have some place for sort indicator */ + padding: 3px 17px 3px 5px; + border-style: solid; } + QHeaderView::section:horizontal { + border-width: 0 0 1px 0; } + QHeaderView::section:vertical { + border-width: 0 1px 0 0; } + QHeaderView::section:hover { + background: #121212; + color: #fff; } + QHeaderView::up-arrow, QHeaderView::down-arrow { + subcontrol-origin: content; + subcontrol-position: center right; + width: 7px; + height: 7px; + margin-right: 7px; } + QHeaderView::up-arrow { + image: url(./skyrim/arrow-up.png); } + QHeaderView::down-arrow { + image: url(./skyrim/arrow-down.png); } + +/* Context menus, toolbar dropdowns #QMenu */ +QMenu { + background-color: transparent; + border-width: 17px; + border-style: solid; + border-color: transparent; + border-image: url(./skyrim/border-image.png) 27 repeat repeat; } + QMenu::item, + QMenu QPushButton { + padding: 6px 20px; } + QMenu::item:selected { + background-color: #121212; } + QMenu::item:disabled { + background-color: transparent; } + QMenu::separator { + height: 3px; + margin: 1px 0; + background: url(./skyrim/context-menu-separator.png) repear-x; } + QMenu::icon { + margin: 1px; } + QMenu::right-arrow { + image: url(./skyrim/arrow-right.png); + subcontrol-origin: padding; + subcontrol-position: center right; + padding-right: .5em; } + QMenu QPushButton { + /* cancel styles */ + border: none; + text-align: left; } + QMenu QPushButton:hover { + background-color: #121212; } + QMenu QCheckBox, + QMenu QRadioButton { + background-color: transparent; + padding: 5px 2px; } + +/* Tooltips #QToolTip, #SaveGameInfoWidget */ +QToolTip { + background-color: transparent; + color: #C0C0C0; + padding: 0; + border-width: 17px; + border-style: solid; + border-color: transparent; + border-image: url(./skyrim/border-image.png) 27 repeat repeat; } + +SaveGameInfoWidget { + background-color: #121212; + color: #C0C0C0; } + +/* Progress Bars (Downloads) #QProgressBar */ +QProgressBar { + background-color: transparent; + color: transparent; + height: 14px; + margin: 0 10px; + border-width: 4px 21px; + border-style: solid; + border-color: transparent; + border-image: url(./skyrim/progress-bar-border.png) 4 21 repeat repeat; } + +QProgressBar::chunk { + /* + background: url(./skyrim/progress-bar-chunk.png) center center repear-x qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #95BED9, stop:0.124153 #6EB9CE, stop:0.78781 #474E86); + */ + background: url(./skyrim/progress-bar-chunk.png) center center repear-x qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #95BED9, stop:0.78781 #6EB9CE); } + +/* Right Pane and Tab Bars #QTabWidget, #QTabBar */ +QTabWidget::pane { + border-color: #A6A8AB; + top: 0; + border-width: 5px; + border-color: transparent; + border-image: url(./skyrim/border-image2.png) 5 repeat repeat; } + +QTabBar { + text-transform: uppercase; + max-height: 22px; } + QTabBar::tab { + color: #C0C0C0; + background-color: transparent; + padding: 4px .5em; + margin: 0 0 .3em 0; + border-style: solid; + border-width: 0 15px 0 15px; + border-color: transparent; } + QTabBar::tab:hover { + color: #fff; } + QTabBar::tab:selected { + color: #fff; + border-image: url(./skyrim/button-checked-border.png) 0 15 repeat; } + QTabBar::tab:disabled { + color: #656565; } + QTabBar::scroller { + width: 23px; } + +/* Border images */ +ModListView, +QTreeView, +ModListView#modList, +QTreeWidget, +QListView, +QTableView, +QDialog#LockedDialog { + border-width: 20px; + border-style: solid; + border-color: transparent; + border-image: url(./skyrim/border-image.png) 27 repeat repeat; } + +/* Special styles */ +/* increase categories tab width */ +QTreeWidget#categoriesList { + min-width: 200px; } + QTreeWidget#categoriesList::item { + background-position: center left; + background-repeat: no-repeat; + padding: .35em 10px; } + QTreeWidget#categoriesList::item:has-children { + background-image: url(./skyrim/arrow-right.png); } + QTreeWidget#categoriesList::item:has-children:open { + background-image: url(./skyrim/branch-opened.png); } + +/* Dialogs width changes */ +/* increase width to prevent buttons cutting */ +QDialog#QueryOverwriteDialog { + min-width: 565px; } + +QDialog#ModInfoDialog { + min-width: 940px; } + +QDialog#BainComplexInstallerDialog { + min-width: 500px; } + +QDialog#EditExecutablesDialog { + min-width: 500px; } + +QDialog#SettingsDialog { + min-width: 670px; } -- cgit v1.3.1 From 78cd0110d3b84af0b6eda12ea6134595d9fce47f Mon Sep 17 00:00:00 2001 From: Al12rs Date: Fri, 2 Nov 2018 19:29:50 +0100 Subject: Updated Skyrim and VS15 theme to fix highlighting on ESPlist. --- src/stylesheets/skyrim.qss | 11 +++++------ src/stylesheets/vs15 Dark-Green.qss | 29 +++++++++++++++-------------- src/stylesheets/vs15 Dark-Orange.qss | 34 +++++++++++++++------------------- src/stylesheets/vs15 Dark-Purple.qss | 34 +++++++++++++++------------------- src/stylesheets/vs15 Dark-Red.qss | 34 +++++++++++++++------------------- src/stylesheets/vs15 Dark-Yellow.qss | 34 +++++++++++++++------------------- src/stylesheets/vs15 Dark.qss | 33 +++++++++++++++------------------ 7 files changed, 95 insertions(+), 114 deletions(-) (limited to 'src/stylesheets/skyrim.qss') diff --git a/src/stylesheets/skyrim.qss b/src/stylesheets/skyrim.qss index 727c70af..85a5b79c 100644 --- a/src/stylesheets/skyrim.qss +++ b/src/stylesheets/skyrim.qss @@ -2,7 +2,7 @@ Skyrim **************************************** Author: chintsu_kun - Version: 2.0.0 + Version: 2.0.1 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 **************************************** @@ -12,10 +12,9 @@ QWidget { color: #F1F1F1; } /* Common */ -/* fix: fo some reason applying background-color or border fixes paddings properties */ -QListView::item, -QTreeView#espList::item, -QTreeWidget#categoriesList::item { +/* FIX: For some reason applying background-color or border fixes paddings + properties */ +QListWidget::item { border-width: 0; } * { @@ -167,7 +166,7 @@ QLineEdit { QLineEdit#downloadFilterEdit { margin: 0 4px 4px 0; } -/* Dropdowns #QComboBox*/ +/* Drop-downs #QComboBox*/ QComboBox { min-height: 20px; padding-left: 5px; diff --git a/src/stylesheets/vs15 Dark-Green.qss b/src/stylesheets/vs15 Dark-Green.qss index 0fbcc896..f1e3b4a9 100644 --- a/src/stylesheets/vs15 Dark-Green.qss +++ b/src/stylesheets/vs15 Dark-Green.qss @@ -2,12 +2,11 @@ VS15 Dark **************************************** Author: chintsu_kun - Version: 1.3.1 + Version: 2.0.1 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 **************************************** */ -/* or #434346*/ /* Main Window */ QWidget { background-color: #2D2D30; @@ -16,10 +15,9 @@ QWidget { color: #656565; } /* Common */ -/* FIX: For some reason applying background-color or border fixes paddings properties */ -QListView::item, -QTreeView#espList::item, -QTreeWidget#categoriesList::item { +/* FIX: For some reason applying background-color or border fixes paddings + properties. Otherwise padding is only applied when item is hovered */ +QListWidget::item { border-width: 0; } /* remove outline */ @@ -32,7 +30,10 @@ QListView::item:disabled, color: #656565; } /* line heights */ -/* QTreeView#fileTree::item - currently have problem with size column vertical text align */ +/* 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 { @@ -146,7 +147,7 @@ QLineEdit#espFilterEdit QToolButton { margin-top: -2px; margin-bottom: 1px; } -/* Dropdowns #QComboBox*/ +/* Drop-downs #QComboBox*/ QComboBox { min-height: 20px; padding-left: 5px; @@ -162,7 +163,7 @@ QComboBox { subcontrol-origin: padding; subcontrol-position: top right; border: none; - /* If you need to set style for drop down button + /* If you need to set style for drop-down button &:on, &:editable:hover { background-color: red; @@ -295,8 +296,8 @@ QDialog QPushButton { padding-left: .5em; padding-right: .5em; } -/* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ -/*common*/ +/* Check boxes and Radio buttons common #QCheckBox, #QRadioButton */ +/* common */ QGroupBox::indicator, QTreeView::indicator, QCheckBox::indicator, @@ -324,7 +325,7 @@ QTreeView::indicator:checked:disabled, QCheckBox::indicator:checked:disabled { image: url(./vs15/checkbox-check-disabled.png); } -/* Checkboxes special */ +/* Check boxes special */ QTreeView#modList::indicator { width: 15px; height: 15px; } @@ -537,7 +538,7 @@ QHeaderView::down-arrow { image: url(./vs15/sort-desc.png); margin-bottom: 0; } -/* Context menus, toolbar dropdowns #QMenu */ +/* Context menus, toolbar drop-downs #QMenu */ QMenu { background-color: #1A1A1C; border-color: #333337; @@ -734,7 +735,7 @@ QLineEdit#modFilterEdit { QWidget#bsaTab QTreeWidget::indicator:unchecked { background-color: #009933; } -/* increase version textfield */ +/* increase version text field */ QLineEdit#versionEdit { max-width: 100px; } diff --git a/src/stylesheets/vs15 Dark-Orange.qss b/src/stylesheets/vs15 Dark-Orange.qss index 3a4eb86b..0b3808e7 100644 --- a/src/stylesheets/vs15 Dark-Orange.qss +++ b/src/stylesheets/vs15 Dark-Orange.qss @@ -2,18 +2,12 @@ VS15 Dark **************************************** Author: chintsu_kun - Version: 1.3.1 + Version: 2.0.1 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 **************************************** */ -/* or #434346*/ /*base*/ -/*#3399FF*/ -/*#007ACC*/ -/*#1C97EA*/ -/*#3C7FB1*/ -/*#BEE6FD*/ /* Main Window */ QWidget { background-color: #2D2D30; @@ -22,10 +16,9 @@ QWidget { color: #656565; } /* Common */ -/* FIX: For some reason applying background-color or border fixes paddings properties */ -QListView::item, -QTreeView#espList::item, -QTreeWidget#categoriesList::item { +/* FIX: For some reason applying background-color or border fixes paddings + properties. Otherwise padding is only applied when item is hovered */ +QListWidget::item { border-width: 0; } /* remove outline */ @@ -38,7 +31,10 @@ QListView::item:disabled, color: #656565; } /* line heights */ -/* QTreeView#fileTree::item - currently have problem with size column vertical text align */ +/* 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 { @@ -152,7 +148,7 @@ QLineEdit#espFilterEdit QToolButton { margin-top: -2px; margin-bottom: 1px; } -/* Dropdowns #QComboBox*/ +/* Drop-downs #QComboBox*/ QComboBox { min-height: 20px; padding-left: 5px; @@ -168,7 +164,7 @@ QComboBox { subcontrol-origin: padding; subcontrol-position: top right; border: none; - /* If you need to set style for drop down button + /* If you need to set style for drop-down button &:on, &:editable:hover { background-color: red; @@ -301,8 +297,8 @@ QDialog QPushButton { padding-left: .5em; padding-right: .5em; } -/* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ -/*common*/ +/* Check boxes and Radio buttons common #QCheckBox, #QRadioButton */ +/* common */ QGroupBox::indicator, QTreeView::indicator, QCheckBox::indicator, @@ -330,7 +326,7 @@ QTreeView::indicator:checked:disabled, QCheckBox::indicator:checked:disabled { image: url(./vs15/checkbox-check-disabled.png); } -/* Checkboxes special */ +/* Check boxes special */ QTreeView#modList::indicator { width: 15px; height: 15px; } @@ -543,7 +539,7 @@ QHeaderView::down-arrow { image: url(./vs15/sort-desc.png); margin-bottom: 0; } -/* Context menus, toolbar dropdowns #QMenu */ +/* Context menus, toolbar drop-downs #QMenu */ QMenu { background-color: #1A1A1C; border-color: #333337; @@ -740,7 +736,7 @@ QLineEdit#modFilterEdit { QWidget#bsaTab QTreeWidget::indicator:unchecked { background-color: #CC6600; } -/* increase version textfield */ +/* increase version text field */ QLineEdit#versionEdit { max-width: 100px; } diff --git a/src/stylesheets/vs15 Dark-Purple.qss b/src/stylesheets/vs15 Dark-Purple.qss index c186ae55..33212038 100644 --- a/src/stylesheets/vs15 Dark-Purple.qss +++ b/src/stylesheets/vs15 Dark-Purple.qss @@ -2,18 +2,12 @@ VS15 Dark **************************************** Author: chintsu_kun - Version: 1.3.1 + Version: 2.0.1 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 **************************************** */ -/* or #434346*/ /*base*/ -/*#3399FF*/ -/*#007ACC*/ -/*#1C97EA*/ -/*#3C7FB1*/ -/*#BEE6FD*/ /* Main Window */ QWidget { background-color: #2D2D30; @@ -22,10 +16,9 @@ QWidget { color: #656565; } /* Common */ -/* FIX: For some reason applying background-color or border fixes paddings properties */ -QListView::item, -QTreeView#espList::item, -QTreeWidget#categoriesList::item { +/* FIX: For some reason applying background-color or border fixes paddings + properties. Otherwise padding is only applied when item is hovered */ +QListWidget::item { border-width: 0; } /* remove outline */ @@ -38,7 +31,10 @@ QListView::item:disabled, color: #656565; } /* line heights */ -/* QTreeView#fileTree::item - currently have problem with size column vertical text align */ +/* 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 { @@ -152,7 +148,7 @@ QLineEdit#espFilterEdit QToolButton { margin-top: -2px; margin-bottom: 1px; } -/* Dropdowns #QComboBox*/ +/* Drop-downs #QComboBox*/ QComboBox { min-height: 20px; padding-left: 5px; @@ -168,7 +164,7 @@ QComboBox { subcontrol-origin: padding; subcontrol-position: top right; border: none; - /* If you need to set style for drop down button + /* If you need to set style for drop-down button &:on, &:editable:hover { background-color: red; @@ -301,8 +297,8 @@ QDialog QPushButton { padding-left: .5em; padding-right: .5em; } -/* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ -/*common*/ +/* Check boxes and Radio buttons common #QCheckBox, #QRadioButton */ +/* common */ QGroupBox::indicator, QTreeView::indicator, QCheckBox::indicator, @@ -330,7 +326,7 @@ QTreeView::indicator:checked:disabled, QCheckBox::indicator:checked:disabled { image: url(./vs15/checkbox-check-disabled.png); } -/* Checkboxes special */ +/* Check boxes special */ QTreeView#modList::indicator { width: 15px; height: 15px; } @@ -543,7 +539,7 @@ QHeaderView::down-arrow { image: url(./vs15/sort-desc.png); margin-bottom: 0; } -/* Context menus, toolbar dropdowns #QMenu */ +/* Context menus, toolbar drop-downs #QMenu */ QMenu { background-color: #1A1A1C; border-color: #333337; @@ -740,7 +736,7 @@ QLineEdit#modFilterEdit { QWidget#bsaTab QTreeWidget::indicator:unchecked { background-color: #7E2AD2; } -/* increase version textfield */ +/* increase version text field */ QLineEdit#versionEdit { max-width: 100px; } diff --git a/src/stylesheets/vs15 Dark-Red.qss b/src/stylesheets/vs15 Dark-Red.qss index 18ef91f0..bc264fa0 100644 --- a/src/stylesheets/vs15 Dark-Red.qss +++ b/src/stylesheets/vs15 Dark-Red.qss @@ -2,18 +2,12 @@ VS15 Dark **************************************** Author: chintsu_kun - Version: 1.3.1 + Version: 2.0.1 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 **************************************** */ -/* or #434346*/ /*base*/ -/*#3399FF*/ -/*#007ACC*/ -/*#1C97EA*/ -/*#3C7FB1*/ -/*#BEE6FD*/ /* Main Window */ QWidget { background-color: #2D2D30; @@ -22,10 +16,9 @@ QWidget { color: #656565; } /* Common */ -/* FIX: For some reason applying background-color or border fixes paddings properties */ -QListView::item, -QTreeView#espList::item, -QTreeWidget#categoriesList::item { +/* FIX: For some reason applying background-color or border fixes paddings + properties. Otherwise padding is only applied when item is hovered */ +QListWidget::item { border-width: 0; } /* remove outline */ @@ -38,7 +31,10 @@ QListView::item:disabled, color: #656565; } /* line heights */ -/* QTreeView#fileTree::item - currently have problem with size column vertical text align */ +/* 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 { @@ -152,7 +148,7 @@ QLineEdit#espFilterEdit QToolButton { margin-top: -2px; margin-bottom: 1px; } -/* Dropdowns #QComboBox*/ +/* Drop-downs #QComboBox*/ QComboBox { min-height: 20px; padding-left: 5px; @@ -168,7 +164,7 @@ QComboBox { subcontrol-origin: padding; subcontrol-position: top right; border: none; - /* If you need to set style for drop down button + /* If you need to set style for drop-down button &:on, &:editable:hover { background-color: red; @@ -301,8 +297,8 @@ QDialog QPushButton { padding-left: .5em; padding-right: .5em; } -/* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ -/*common*/ +/* Check boxes and Radio buttons common #QCheckBox, #QRadioButton */ +/* common */ QGroupBox::indicator, QTreeView::indicator, QCheckBox::indicator, @@ -330,7 +326,7 @@ QTreeView::indicator:checked:disabled, QCheckBox::indicator:checked:disabled { image: url(./vs15/checkbox-check-disabled.png); } -/* Checkboxes special */ +/* Check boxes special */ QTreeView#modList::indicator { width: 15px; height: 15px; } @@ -543,7 +539,7 @@ QHeaderView::down-arrow { image: url(./vs15/sort-desc.png); margin-bottom: 0; } -/* Context menus, toolbar dropdowns #QMenu */ +/* Context menus, toolbar drop-downs #QMenu */ QMenu { background-color: #1A1A1C; border-color: #333337; @@ -740,7 +736,7 @@ QLineEdit#modFilterEdit { QWidget#bsaTab QTreeWidget::indicator:unchecked { background-color: #990000; } -/* increase version textfield */ +/* increase version text field */ QLineEdit#versionEdit { max-width: 100px; } diff --git a/src/stylesheets/vs15 Dark-Yellow.qss b/src/stylesheets/vs15 Dark-Yellow.qss index e7976e42..6a67a327 100644 --- a/src/stylesheets/vs15 Dark-Yellow.qss +++ b/src/stylesheets/vs15 Dark-Yellow.qss @@ -2,18 +2,12 @@ VS15 Dark **************************************** Author: chintsu_kun - Version: 1.3.1 + Version: 2.0.1 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 **************************************** */ -/* or #434346*/ /*base*/ -/*#3399FF*/ -/*#007ACC*/ -/*#1C97EA*/ -/*#3C7FB1*/ -/*#BEE6FD*/ /* Main Window */ QWidget { background-color: #2D2D30; @@ -22,10 +16,9 @@ QWidget { color: #656565; } /* Common */ -/* FIX: For some reason applying background-color or border fixes paddings properties */ -QListView::item, -QTreeView#espList::item, -QTreeWidget#categoriesList::item { +/* FIX: For some reason applying background-color or border fixes paddings + properties. Otherwise padding is only applied when item is hovered */ +QListWidget::item { border-width: 0; } /* remove outline */ @@ -38,7 +31,10 @@ QListView::item:disabled, color: #656565; } /* line heights */ -/* QTreeView#fileTree::item - currently have problem with size column vertical text align */ +/* 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 { @@ -152,7 +148,7 @@ QLineEdit#espFilterEdit QToolButton { margin-top: -2px; margin-bottom: 1px; } -/* Dropdowns #QComboBox*/ +/* Drop-downs #QComboBox*/ QComboBox { min-height: 20px; padding-left: 5px; @@ -168,7 +164,7 @@ QComboBox { subcontrol-origin: padding; subcontrol-position: top right; border: none; - /* If you need to set style for drop down button + /* If you need to set style for drop-down button &:on, &:editable:hover { background-color: red; @@ -301,8 +297,8 @@ QDialog QPushButton { padding-left: .5em; padding-right: .5em; } -/* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ -/*common*/ +/* Check boxes and Radio buttons common #QCheckBox, #QRadioButton */ +/* common */ QGroupBox::indicator, QTreeView::indicator, QCheckBox::indicator, @@ -330,7 +326,7 @@ QTreeView::indicator:checked:disabled, QCheckBox::indicator:checked:disabled { image: url(./vs15/checkbox-check-disabled.png); } -/* Checkboxes special */ +/* Check boxes special */ QTreeView#modList::indicator { width: 15px; height: 15px; } @@ -543,7 +539,7 @@ QHeaderView::down-arrow { image: url(./vs15/sort-desc.png); margin-bottom: 0; } -/* Context menus, toolbar dropdowns #QMenu */ +/* Context menus, toolbar drop-downs #QMenu */ QMenu { background-color: #1A1A1C; border-color: #333337; @@ -740,7 +736,7 @@ QLineEdit#modFilterEdit { QWidget#bsaTab QTreeWidget::indicator:unchecked { background-color: #9A9A00; } -/* increase version textfield */ +/* increase version text field */ QLineEdit#versionEdit { max-width: 100px; } diff --git a/src/stylesheets/vs15 Dark.qss b/src/stylesheets/vs15 Dark.qss index a88a7edf..f43e3631 100644 --- a/src/stylesheets/vs15 Dark.qss +++ b/src/stylesheets/vs15 Dark.qss @@ -2,17 +2,12 @@ VS15 Dark **************************************** Author: chintsu_kun - Version: 1.3.1 + Version: 2.0.1 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 **************************************** */ -/* or #434346*/ /*base*/ -/*$color-text-box-border-focus: #3399FF; = $color-input-border-focus*/ -/*$color-text-box-border-hover: #007ACC; = $color-input-border-hover*/ -/*$color-combo-box-hover-border: #007ACC;*/ -/*$color-check-box-hover-border: #007ACC; = $color-input-border-hover*/ /* Main Window */ QWidget { background-color: #2D2D30; @@ -21,10 +16,9 @@ QWidget { color: #656565; } /* Common */ -/* FIX: For some reason applying background-color or border fixes paddings properties */ -QListView::item, -QTreeView#espList::item, -QTreeWidget#categoriesList::item { +/* FIX: For some reason applying background-color or border fixes paddings + properties. Otherwise padding is only applied when item is hovered */ +QListWidget::item { border-width: 0; } /* remove outline */ @@ -37,7 +31,10 @@ QListView::item:disabled, color: #656565; } /* line heights */ -/* QTreeView#fileTree::item - currently have problem with size column vertical text align */ +/* 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 { @@ -151,7 +148,7 @@ QLineEdit#espFilterEdit QToolButton { margin-top: -2px; margin-bottom: 1px; } -/* Dropdowns #QComboBox*/ +/* Drop-downs #QComboBox*/ QComboBox { min-height: 20px; padding-left: 5px; @@ -167,7 +164,7 @@ QComboBox { subcontrol-origin: padding; subcontrol-position: top right; border: none; - /* If you need to set style for drop down button + /* If you need to set style for drop-down button &:on, &:editable:hover { background-color: red; @@ -300,8 +297,8 @@ QDialog QPushButton { padding-left: .5em; padding-right: .5em; } -/* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ -/*common*/ +/* Check boxes and Radio buttons common #QCheckBox, #QRadioButton */ +/* common */ QGroupBox::indicator, QTreeView::indicator, QCheckBox::indicator, @@ -329,7 +326,7 @@ QTreeView::indicator:checked:disabled, QCheckBox::indicator:checked:disabled { image: url(./vs15/checkbox-check-disabled.png); } -/* Checkboxes special */ +/* Check boxes special */ QTreeView#modList::indicator { width: 15px; height: 15px; } @@ -542,7 +539,7 @@ QHeaderView::down-arrow { image: url(./vs15/sort-desc.png); margin-bottom: 0; } -/* Context menus, toolbar dropdowns #QMenu */ +/* Context menus, toolbar drop-downs #QMenu */ QMenu { background-color: #1A1A1C; border-color: #333337; @@ -739,7 +736,7 @@ QLineEdit#modFilterEdit { QWidget#bsaTab QTreeWidget::indicator:unchecked { background-color: #3399FF; } -/* increase version textfield */ +/* increase version text field */ QLineEdit#versionEdit { max-width: 100px; } -- cgit v1.3.1 From bde2e5fca14b5fe705db53cab18209112491b4fc Mon Sep 17 00:00:00 2001 From: Al12rs Date: Fri, 9 Nov 2018 17:15:04 +0100 Subject: Improved Skyrim.qss theme performance. --- src/stylesheets/skyrim.qss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/stylesheets/skyrim.qss') diff --git a/src/stylesheets/skyrim.qss b/src/stylesheets/skyrim.qss index 85a5b79c..4091bbe0 100644 --- a/src/stylesheets/skyrim.qss +++ b/src/stylesheets/skyrim.qss @@ -12,7 +12,7 @@ QWidget { color: #F1F1F1; } /* Common */ -/* FIX: For some reason applying background-color or border fixes paddings +/* FIX: For some reason applying background-color or border fixes paddings properties */ QListWidget::item { border-width: 0; } @@ -567,7 +567,9 @@ QTabWidget::pane { top: 0; border-width: 5px; border-color: transparent; - border-image: url(./skyrim/border-image2.png) 5 repeat repeat; } + /*AL12: Changed the "5 repeat repeat" to "4 repeat repeat" as 5 seems to kill + performance for some reason.*/ + border-image: url(./skyrim/border-image2.png) 4 repeat repeat; } QTabBar { text-transform: uppercase; -- cgit v1.3.1 From 92cdf4124362478a60869b071d728a96a6a14566 Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Tue, 11 Dec 2018 20:48:16 -0600 Subject: Update Skyrim theme by chintsu_kun to v2.1.0 --- src/stylesheets/skyrim.qss | 234 +++++++++++++++++++++++---------------------- 1 file changed, 119 insertions(+), 115 deletions(-) (limited to 'src/stylesheets/skyrim.qss') diff --git a/src/stylesheets/skyrim.qss b/src/stylesheets/skyrim.qss index 4091bbe0..e4d87499 100644 --- a/src/stylesheets/skyrim.qss +++ b/src/stylesheets/skyrim.qss @@ -2,54 +2,77 @@ Skyrim **************************************** Author: chintsu_kun - Version: 2.0.1 + Version: 2.1.0 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; } + QWidget { background-color: #000; color: #F1F1F1; } -/* Common */ -/* FIX: For some reason applying background-color or border fixes paddings - properties */ -QListWidget::item { - border-width: 0; } - * { - /* remove outline */ + /* Remove outline */ outline: 0; - /* text highlight */ + /* Text highlight */ selection-background-color: #000; selection-color: white; } -/* disabled text */ +/* Disabled text */ *:disabled, QListView::item:disabled, *::item:selected:disabled { color: #656565; } -/* line heights */ +/* Line heights */ QListView::item, QTreeWidget::item, QTreeView::item { - padding: .3em 0; } + padding: 0.3em 0; } + +/* Increase row height to fit inputs */ +#modList::item, +#settingsTree::item, +#pluginSettingsList::item, +#espList::item { + min-height: 34px; + padding: 0; } + #modList::item QComboBox, + #modList::item QLineEdit, + #modList::item QComboBox:editable, + #modList::item QAbstractSpinBox, + #settingsTree::item QComboBox, + #settingsTree::item QLineEdit, + #settingsTree::item QComboBox:editable, + #settingsTree::item QAbstractSpinBox, + #pluginSettingsList::item QComboBox, + #pluginSettingsList::item QLineEdit, + #pluginSettingsList::item QComboBox:editable, + #pluginSettingsList::item QAbstractSpinBox, + #espList::item QComboBox, + #espList::item QLineEdit, + #espList::item QComboBox:editable, + #espList::item QAbstractSpinBox { + margin: 2px; } -/* -QTreeView#modList::item, -QTreeWidget#categoriesTree::item, -#tabConflicts QTreeWidget::item, -QListView::item, -QTreeView#espList::item, -QTreeView#treeContent::item { - padding: .3em 0; -}*/ QAbstractItemView { color: #C0C0C0; background-color: #000; alternate-background-color: #000; - border-color: #A6A8AB; } + border-color: #999; } QAbstractItemView, QListView, @@ -63,12 +86,6 @@ QTreeWidget::item:hover { color: #fff; background-color: #121212; } -QAbstractItemView::item:disabled:hover, -QListView::item:disabled:hover, -QTreeView::branch:disabled:hover, -QTreeWidget::item:disabled:hover { - background-color: red; } - QAbstractItemView::item:selected:disabled, QListView::item:selected:disabled, QTreeView::branch:selected:disabled, @@ -89,17 +106,12 @@ QTreeView::branch:closed:has-children { QTreeView::branch:open:has-children { image: url(./skyrim/branch-opened.png); } -/*QListView::item:hover { } -QListView::item:selected { }*/ QListView::item { color: #C0C0C0; } /* Text areas and text fields #QTextEdit, #QLineEdit, #QWebView */ -/* Common */ QLabel { background-color: transparent; } - QLabel#installLabel { - font-weight: bold; } /* Font size */ QLabel, @@ -114,14 +126,17 @@ QCheckBox, QRadioButton { font-size: 14px; } +/* Inputs */ QTextEdit, QLineEdit, QWebView, QComboBox, QComboBox:editable, QAbstractSpinBox { + min-height: 24px; border: none; - background-color: #141414; } + background-color: #141414; + padding: 3px 5px; } QTextEdit:hover, QTextEdit:focus, QLineEdit:hover, QLineEdit:focus, @@ -135,17 +150,11 @@ QAbstractSpinBox { QAbstractSpinBox:focus { background-color: #212121; } -QLineEdit, -QAbstractSpinBox { - min-height: 24px; - padding: 2px; - border: none; } - QLineEdit { margin-top: 0; - /* clear button */ - /* increase version textfield width */ - /* fix margins on tabs pane */ } + /* Clear button */ + /* Increase version text field width */ + /* Fix margins on tabs pane */ } QLineEdit QToolButton, QLineEdit QToolButton:hover { background: none; @@ -168,14 +177,8 @@ QLineEdit { /* Drop-downs #QComboBox*/ QComboBox { - min-height: 20px; padding-left: 5px; - margin: 3px 0 1px 0; - border-style: solid; } - QComboBox, QComboBox:editable { - border-width: 5px; - border-color: transparent; - border-image: url(./skyrim/border-image1.png) 6 repeat repeat; } + margin: 3px 0 1px 0; } QComboBox:on { background-color: #212121; } QComboBox:editable { @@ -200,9 +203,7 @@ QToolBar { QToolButton { margin: 0 4px 0 4px; padding: 5px; - /* need this to make background-color works*/ - border: none; - /* scrollers */ } + /* Scrollers */ } QToolButton:hover, QToolButton:focus { background-color: #121212; } QToolButton:pressed { @@ -225,9 +226,7 @@ QToolButton { QGroupBox { padding: 1em .3em .3em .3em; margin-top: .65em; - border-width: 5px; - border-color: transparent; - border-image: url(./skyrim/border-image2.png) 5 repeat repeat; } + border: 1px solid #999; } QGroupBox::title { subcontrol-origin: margin; subcontrol-position: top left; @@ -236,7 +235,7 @@ QGroupBox { /* LCD Count */ QLCDNumber { - border-color: #A6A8AB; + border-color: #999; border-style: solid; border-width: 1px; } @@ -248,15 +247,12 @@ QPushButton { background-color: transparent; border-width: 0 15px 0 15px; border-color: transparent; - /*&:focus { }*/ - /* dialog buttons */ - /* show categories */ - /* run */ - /* unlock */ - /* mod info dialog images tab */ - /* add some space between buttons */ } + /* Dialog buttons */ + /* Show categories */ + /* Run */ + /* Mod info dialog images tab */ } QPushButton:hover, QPushButton:checked:hover { - border-image: url(./skyrim/button-border.png) 0 15 repeat; } + border-image: url(./skyrim/button-border.png) 0 15 no-repeat; } QPushButton:checked { border-image: url(./skyrim/button-checked-border.png) 0 15 repeat; } QPushButton:disabled { @@ -282,26 +278,17 @@ QPushButton { margin: 10px 20px; } QPushButton + QPushButton { margin: 10px 0 0 0; } - QWidget#tabImages QPushButton { + #tabImages QPushButton { background-color: transparent; border: none; margin: 0 .3em; padding: 0; } - QWidget#tabImages QPushButton:hover { + #tabImages QPushButton:hover { background-color: #121212; } - QDialog#QueryOverwriteDialog QPushButton { - margin-left: 0.5em; } - #ProfilesDialog QPushButton { - margin-bottom: 0.5em; } - #ProfilesDialog QPushButton#closeButton { - margin-bottom: 0; } - #EditExecutablesDialog QPushButton#addButton, - #EditExecutablesDialog QPushButton#removeButton { - margin-bottom: 0.5em; - margin-top: 1em; } - -/* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ -/*common*/ + #settingsTree::item QPushButton { + border-image: none; } + +/* Check boxes and Radio buttons common #QCheckBox, #QRadioButton */ QGroupBox::indicator, QTreeView::indicator, QCheckBox::indicator { @@ -340,7 +327,7 @@ QCheckBox::indicator { QCheckBox::indicator:unchecked:disabled { image: url(./skyrim/checkbox-disabled.png); } -/* Checkboxes special */ +/* Check boxes special */ QTreeWidget#bsaList::indicator { width: 10px; height: 15px; } @@ -381,13 +368,14 @@ QAbstractSpinBox { image: url(./skyrim/arrow-down.png); } /* Scroll Bars #QAbstractScrollArea, #QScrollBar*/ -/* assigning background still leaves not filled area*/ +/* Assigning background still leaves not filled area */ QAbstractScrollArea::corner { background-color: transparent; } QScrollBar { background-color: transparent; - border: none; } + border: none; + /* Since QTextEdit:hover doesn't work set focus input background */ } QScrollBar:horizontal { height: 12px; border: none; @@ -433,6 +421,11 @@ QScrollBar { image: url(./skyrim/scrollbar-right.png); } QScrollBar::left-arrow:horizontal { image: url(./skyrim/scrollbar-left.png); } + QTextEdit QScrollBar::up-arrow:vertical, + QTextEdit QScrollBar::down-arrow:vertical, + QTextEdit QScrollBar::right-arrow:horizontal, + QTextEdit QScrollBar::left-arrow:horizontal { + background-color: #212121; } /* Scroll Area #QScrollArea*/ QScrollArea { @@ -464,7 +457,7 @@ QTableView { selection-color: #C0C0C0; } QTableView QTableCornerButton::section { background-color: transparent; - border-color: #A6A8AB; + border-color: #999; border-style: solid; border-width: 0 1px 1px 0; } @@ -472,7 +465,7 @@ QHeaderView { border: none; } QHeaderView::section { background-color: transparent; - border-color: #A6A8AB; + border-color: #999; /* 17px to have some place for sort indicator */ padding: 3px 17px 3px 5px; border-style: solid; } @@ -494,13 +487,9 @@ QHeaderView { QHeaderView::down-arrow { image: url(./skyrim/arrow-down.png); } -/* Context menus, toolbar dropdowns #QMenu */ +/* Context menus, toolbar drop-downs #QMenu */ QMenu { - background-color: transparent; - border-width: 17px; - border-style: solid; - border-color: transparent; - border-image: url(./skyrim/border-image.png) 27 repeat repeat; } + background-color: transparent; } QMenu::item, QMenu QPushButton { padding: 6px 20px; } @@ -520,7 +509,7 @@ QMenu { subcontrol-position: center right; padding-right: .5em; } QMenu QPushButton { - /* cancel styles */ + /* Cancel styles */ border: none; text-align: left; } QMenu QPushButton:hover { @@ -530,15 +519,11 @@ QMenu { background-color: transparent; padding: 5px 2px; } -/* Tooltips #QToolTip, #SaveGameInfoWidget */ +/* Tool tips #QToolTip, #SaveGameInfoWidget */ QToolTip { background-color: transparent; color: #C0C0C0; - padding: 0; - border-width: 17px; - border-style: solid; - border-color: transparent; - border-image: url(./skyrim/border-image.png) 27 repeat repeat; } + padding: 0; } SaveGameInfoWidget { background-color: #121212; @@ -554,22 +539,13 @@ QProgressBar { border-style: solid; border-color: transparent; border-image: url(./skyrim/progress-bar-border.png) 4 21 repeat repeat; } - -QProgressBar::chunk { - /* - background: url(./skyrim/progress-bar-chunk.png) center center repear-x qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #95BED9, stop:0.124153 #6EB9CE, stop:0.78781 #474E86); - */ - background: url(./skyrim/progress-bar-chunk.png) center center repear-x qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #95BED9, stop:0.78781 #6EB9CE); } + QProgressBar::chunk { + background: url(./skyrim/progress-bar-chunk.png) center center repeat-x qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #95BED9, stop:0.78781 #6EB9CE); } /* Right Pane and Tab Bars #QTabWidget, #QTabBar */ QTabWidget::pane { - border-color: #A6A8AB; - top: 0; - border-width: 5px; - border-color: transparent; - /*AL12: Changed the "5 repeat repeat" to "4 repeat repeat" as 5 seems to kill - performance for some reason.*/ - border-image: url(./skyrim/border-image2.png) 4 repeat repeat; } + border: none; + top: 0; } QTabBar { text-transform: uppercase; @@ -601,12 +577,17 @@ QListView, QTableView, QDialog#LockedDialog { border-width: 20px; - border-style: solid; + border-color: transparent; + border-image: url(./skyrim/border-image.png) 27 repeat repeat; } + +QMenu, +QToolTip { + border-width: 17px; border-color: transparent; border-image: url(./skyrim/border-image.png) 27 repeat repeat; } /* Special styles */ -/* increase categories tab width */ +/* Increase categories tab width */ QTreeWidget#categoriesList { min-width: 200px; } QTreeWidget#categoriesList::item { @@ -618,8 +599,25 @@ QTreeWidget#categoriesList { QTreeWidget#categoriesList::item:has-children:open { background-image: url(./skyrim/branch-opened.png); } -/* Dialogs width changes */ -/* increase width to prevent buttons cutting */ +/* Add some space around buttons */ +#QueryOverwriteDialog QPushButton { + margin-left: 0.5em; } + +#SimpleInstallDialog QPushButton { + margin-top: 0.5em; } + +#ProfilesDialog QPushButton { + margin-bottom: 0.5em; } + +#ProfilesDialog QPushButton#closeButton { + margin-bottom: 0; } + +#EditExecutablesDialog QPushButton#addButton, +#EditExecutablesDialog QPushButton#removeButton { + margin-bottom: 0.5em; + margin-top: 1em; } + +/* Increase dialogs width to prevent buttons cutting */ QDialog#QueryOverwriteDialog { min-width: 565px; } @@ -634,3 +632,9 @@ QDialog#EditExecutablesDialog { QDialog#SettingsDialog { min-width: 670px; } + +QDialog#CredentialsDialog { + min-width: 400px; } + +#pluginsList { + min-width: 260px; } -- cgit v1.3.1