summaryrefslogtreecommitdiff
path: root/src/stylesheets
diff options
context:
space:
mode:
authorKrzysztof Starecki <krzysztof.starecki@gmail.com>2018-12-31 18:48:53 +0100
committerKrzysztof Starecki <krzysztof.starecki@gmail.com>2018-12-31 18:48:53 +0100
commitb8babae78a452071c3a707347d21a06fef759bab (patch)
treebd1a9bf2a14f260c828bf8ead5dd358c8d966bc2 /src/stylesheets
parent412a0620820d26294ddbc306b137692c65e8e980 (diff)
Fix download layout bug, port most of remaining themes
Diffstat (limited to 'src/stylesheets')
-rw-r--r--src/stylesheets/Paper Automata.qss27
-rw-r--r--src/stylesheets/Paper Dark by 6788.qss35
-rw-r--r--src/stylesheets/Paper Light by 6788.qss5
-rw-r--r--src/stylesheets/dark.qss9
-rw-r--r--src/stylesheets/dracula.qss22
-rw-r--r--src/stylesheets/skyrim.qss10
-rw-r--r--src/stylesheets/vs15 Dark-Green.qss14
-rw-r--r--src/stylesheets/vs15 Dark-Orange.qss14
-rw-r--r--src/stylesheets/vs15 Dark-Purple.qss14
-rw-r--r--src/stylesheets/vs15 Dark-Red.qss14
-rw-r--r--src/stylesheets/vs15 Dark-Yellow.qss14
-rw-r--r--src/stylesheets/vs15 Dark.qss14
12 files changed, 135 insertions, 57 deletions
diff --git a/src/stylesheets/Paper Automata.qss b/src/stylesheets/Paper Automata.qss
index 748e589e..572d3313 100644
--- a/src/stylesheets/Paper Automata.qss
+++ b/src/stylesheets/Paper Automata.qss
@@ -893,29 +893,28 @@ DownloadListWidget {
background: transparent;
}
-DownloadListWidget QFrame,
-DownloadListWidgetCompact,
-DownloadListWidgetCompact QLabel {
- /* an entry on the Downloads tab */
+DownloadListWidget::item:!selected {
background: #DAD4BB;
}
-DownloadListWidget QFrame#frame {
- /* outer box of an entry on the Downloads tab */
- border: 2px solid #DAD4BB;
+DownloadListWidget[downloadView=standard]::item {
+ padding: 15px;
+ margin-bottom: 2px;
}
-DownloadListWidget QLabel#installLabel {
- /* installed/done label */
- color: none;
+QProgressBar[downloadView=standard] {
+ margin: 4px 0px 6px 0px;
}
/* Compact Downloads View */
-DownloadListWidgetCompact,
-DownloadListWidgetCompact QLabel {
- /* an entry on the Downloads tab */
- background: #DAD4BB;
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px 4px 6px 4px;
+ margin-bottom: 2px;
+}
+
+QProgressBar[downloadView=compact] {
+ margin: 1px 0px 3px 0px;
}
/* Categories Filter */
diff --git a/src/stylesheets/Paper Dark by 6788.qss b/src/stylesheets/Paper Dark by 6788.qss
index 9f4db66f..ae6ea77b 100644
--- a/src/stylesheets/Paper Dark by 6788.qss
+++ b/src/stylesheets/Paper Dark by 6788.qss
@@ -919,29 +919,30 @@ QSlider::handle:hover {
background: #242424;
}
-DownloadListWidget QFrame,
-DownloadListWidgetCompact,
-DownloadListWidgetCompact QLabel {
- /* an entry on the Downloads tab */
- background: #141414;
+DownloadListWidget[downloadView=standard]::item {
+ padding: 15px;
+ border-bottom: 2px solid #666666;
}
-DownloadListWidget#frame {
- /* outer box of an entry on the Downloads tab */
- border: none;
-}
-
-#installLabel {
- /* installed/done label */
- color: none;
+QProgressBar[downloadView=standard] {
+ background: transparent;
+ border: 2px solid #666666;
+ border-radius: 8px;
+ margin: 4px 0px 6px 0px;
}
/* Compact Downloads View */
-DownloadListWidgetCompact,
-DownloadListWidgetCompact QLabel {
- /* an entry on the Downloads tab */
- background: #141414;
+DownloadListWidget[downloadView=compact]::item {
+ padding: 3px;
+ border-bottom: 2px solid #666666;
+}
+
+QProgressBar[downloadView=compact] {
+ background: transparent;
+ border: 2px solid gray;
+ border-radius: 8px;
+ margin: 1px 0px 3px 0px;
}
/* Categories Filter */
diff --git a/src/stylesheets/Paper Light by 6788.qss b/src/stylesheets/Paper Light by 6788.qss
index 3193b817..5e69b79d 100644
--- a/src/stylesheets/Paper Light by 6788.qss
+++ b/src/stylesheets/Paper Light by 6788.qss
@@ -940,11 +940,6 @@ QProgressBar[downloadView=standard] {
margin: 4px 0px 6px 0px;
}
-QLabel[downloadProgress] {
- qproperty-alignment: AlignCenter;
- padding-bottom: 3px;
-}
-
/* Compact Downloads View */
DownloadListWidget[downloadView=compact]::item {
diff --git a/src/stylesheets/dark.qss b/src/stylesheets/dark.qss
index d5a7aedf..5bbb0f0c 100644
--- a/src/stylesheets/dark.qss
+++ b/src/stylesheets/dark.qss
@@ -257,7 +257,6 @@ QProgressBar
QProgressBar::chunk
{
background-color: #427683;
- width: 20px;
}
QTabBar::tab
@@ -366,4 +365,12 @@ QTreeView::branch:open:has-children:has-siblings
DownloadListWidget QLabel#installLabel {
color: none;
+}
+
+DownloadListWidget[downloadView=standard]::item {
+ padding: 16px;
+}
+
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px;
} \ No newline at end of file
diff --git a/src/stylesheets/dracula.qss b/src/stylesheets/dracula.qss
index 99cf918d..33ce5f66 100644
--- a/src/stylesheets/dracula.qss
+++ b/src/stylesheets/dracula.qss
@@ -394,4 +394,24 @@ SaveGameInfoWidget {
DownloadListWidget QLabel#installLabel {
color: none;
-} \ No newline at end of file
+}
+
+DownloadListWidget[downloadView=standard]::item {
+ padding: 16px;
+}
+
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px;
+}
+
+QProgressBar
+{
+ border: 2px solid grey;
+ border-radius: 5px;
+ text-align: center;
+}
+
+QProgressBar::chunk
+{
+ background-color: #427683;
+}
diff --git a/src/stylesheets/skyrim.qss b/src/stylesheets/skyrim.qss
index e4d87499..d36eac57 100644
--- a/src/stylesheets/skyrim.qss
+++ b/src/stylesheets/skyrim.qss
@@ -534,7 +534,7 @@ QProgressBar {
background-color: transparent;
color: transparent;
height: 14px;
- margin: 0 10px;
+ margin: 0 0px;
border-width: 4px 21px;
border-style: solid;
border-color: transparent;
@@ -542,6 +542,14 @@ QProgressBar {
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); }
+DownloadListWidget[downloadView=standard]::item {
+ padding: 15px;
+}
+
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px;
+}
+
/* Right Pane and Tab Bars #QTabWidget, #QTabBar */
QTabWidget::pane {
border: none;
diff --git a/src/stylesheets/vs15 Dark-Green.qss b/src/stylesheets/vs15 Dark-Green.qss
index 5427b38a..10f923cb 100644
--- a/src/stylesheets/vs15 Dark-Green.qss
+++ b/src/stylesheets/vs15 Dark-Green.qss
@@ -532,8 +532,8 @@ QHeaderView::up-arrow {
image: url(./vs15/sort-asc.png);
margin-bottom: -37px; }
-QTreeView#downloadView QHeaderView::up-arrow {
- margin-bottom: -32px; }
+DownloadListWidget QHeaderView::up-arrow {
+ margin-bottom: -47px; }
QHeaderView::down-arrow {
image: url(./vs15/sort-desc.png);
@@ -599,11 +599,19 @@ QProgressBar {
text-align: center;
border-style: solid;
border-width: 1px;
- margin: 0 10px; }
+ margin: 0 0px; }
QProgressBar::chunk {
background: #06B025; }
+DownloadListWidget[downloadView=standard]::item {
+ padding: 16px;
+}
+
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px;
+}
+
/* Right Pane and Tab Bars #QTabWidget, #QTabBar */
QTabWidget::pane {
border-color: #3F3F46;
diff --git a/src/stylesheets/vs15 Dark-Orange.qss b/src/stylesheets/vs15 Dark-Orange.qss
index fe65ece0..bbde1f82 100644
--- a/src/stylesheets/vs15 Dark-Orange.qss
+++ b/src/stylesheets/vs15 Dark-Orange.qss
@@ -533,8 +533,8 @@ QHeaderView::up-arrow {
image: url(./vs15/sort-asc.png);
margin-bottom: -37px; }
-QTreeView#downloadView QHeaderView::up-arrow {
- margin-bottom: -32px; }
+DownloadListWidget QHeaderView::up-arrow {
+ margin-bottom: -47px; }
QHeaderView::down-arrow {
image: url(./vs15/sort-desc.png);
@@ -600,11 +600,19 @@ QProgressBar {
text-align: center;
border-style: solid;
border-width: 1px;
- margin: 0 10px; }
+ margin: 0 0px; }
QProgressBar::chunk {
background: #06B025; }
+DownloadListWidget[downloadView=standard]::item {
+ padding: 16px;
+}
+
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px;
+}
+
/* Right Pane and Tab Bars #QTabWidget, #QTabBar */
QTabWidget::pane {
border-color: #3F3F46;
diff --git a/src/stylesheets/vs15 Dark-Purple.qss b/src/stylesheets/vs15 Dark-Purple.qss
index eb2e8b82..faad7297 100644
--- a/src/stylesheets/vs15 Dark-Purple.qss
+++ b/src/stylesheets/vs15 Dark-Purple.qss
@@ -533,8 +533,8 @@ QHeaderView::up-arrow {
image: url(./vs15/sort-asc.png);
margin-bottom: -37px; }
-QTreeView#downloadView QHeaderView::up-arrow {
- margin-bottom: -32px; }
+DownloadListWidget QHeaderView::up-arrow {
+ margin-bottom: -47px; }
QHeaderView::down-arrow {
image: url(./vs15/sort-desc.png);
@@ -600,11 +600,19 @@ QProgressBar {
text-align: center;
border-style: solid;
border-width: 1px;
- margin: 0 10px; }
+ margin: 0px 0px; }
QProgressBar::chunk {
background: #06B025; }
+DownloadListWidget[downloadView=standard]::item {
+ padding: 16px;
+}
+
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px;
+}
+
/* Right Pane and Tab Bars #QTabWidget, #QTabBar */
QTabWidget::pane {
border-color: #3F3F46;
diff --git a/src/stylesheets/vs15 Dark-Red.qss b/src/stylesheets/vs15 Dark-Red.qss
index ee363e0b..2ffcff68 100644
--- a/src/stylesheets/vs15 Dark-Red.qss
+++ b/src/stylesheets/vs15 Dark-Red.qss
@@ -533,8 +533,8 @@ QHeaderView::up-arrow {
image: url(./vs15/sort-asc.png);
margin-bottom: -37px; }
-QTreeView#downloadView QHeaderView::up-arrow {
- margin-bottom: -32px; }
+DownloadListWidget QHeaderView::up-arrow {
+ margin-bottom: -47px; }
QHeaderView::down-arrow {
image: url(./vs15/sort-desc.png);
@@ -600,11 +600,19 @@ QProgressBar {
text-align: center;
border-style: solid;
border-width: 1px;
- margin: 0 10px; }
+ margin: 0 0px; }
QProgressBar::chunk {
background: #06B025; }
+DownloadListWidget[downloadView=standard]::item {
+ padding: 16px;
+}
+
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px;
+}
+
/* Right Pane and Tab Bars #QTabWidget, #QTabBar */
QTabWidget::pane {
border-color: #3F3F46;
diff --git a/src/stylesheets/vs15 Dark-Yellow.qss b/src/stylesheets/vs15 Dark-Yellow.qss
index 08dbe758..24afe005 100644
--- a/src/stylesheets/vs15 Dark-Yellow.qss
+++ b/src/stylesheets/vs15 Dark-Yellow.qss
@@ -533,8 +533,8 @@ QHeaderView::up-arrow {
image: url(./vs15/sort-asc.png);
margin-bottom: -37px; }
-QTreeView#downloadView QHeaderView::up-arrow {
- margin-bottom: -32px; }
+DownloadListWidget QHeaderView::up-arrow {
+ margin-bottom: -47px; }
QHeaderView::down-arrow {
image: url(./vs15/sort-desc.png);
@@ -600,11 +600,19 @@ QProgressBar {
text-align: center;
border-style: solid;
border-width: 1px;
- margin: 0 10px; }
+ margin: 0 0px; }
QProgressBar::chunk {
background: #06B025; }
+DownloadListWidget[downloadView=standard]::item {
+ padding: 16px;
+}
+
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px;
+}
+
/* Right Pane and Tab Bars #QTabWidget, #QTabBar */
QTabWidget::pane {
border-color: #3F3F46;
diff --git a/src/stylesheets/vs15 Dark.qss b/src/stylesheets/vs15 Dark.qss
index 8c4d354e..6a551775 100644
--- a/src/stylesheets/vs15 Dark.qss
+++ b/src/stylesheets/vs15 Dark.qss
@@ -532,8 +532,8 @@ QHeaderView::up-arrow {
image: url(./vs15/sort-asc.png);
margin-bottom: -37px; }
-QTreeView#downloadView QHeaderView::up-arrow {
- margin-bottom: -32px; }
+DownloadListWidget QHeaderView::up-arrow {
+ margin-bottom: -47px; }
QHeaderView::down-arrow {
image: url(./vs15/sort-desc.png);
@@ -599,11 +599,19 @@ QProgressBar {
text-align: center;
border-style: solid;
border-width: 1px;
- margin: 0 10px; }
+ margin: 0 0px; }
QProgressBar::chunk {
background: #06B025; }
+DownloadListWidget[downloadView=standard]::item {
+ padding: 16px;
+}
+
+DownloadListWidget[downloadView=compact]::item {
+ padding: 4px;
+}
+
/* Right Pane and Tab Bars #QTabWidget, #QTabBar */
QTabWidget::pane {
border-color: #3F3F46;