summaryrefslogtreecommitdiff
path: root/dist/qt_themes
diff options
context:
space:
mode:
authorGravatar Morph2020-08-15 15:16:55 -0400
committerGravatar Morph2020-08-26 02:32:32 -0400
commitfc505110f1860afcd774e7f9b3ac2e136eb22571 (patch)
tree0942fafc71c99bcddd1771055b7390795c814cc5 /dist/qt_themes
parentProject Mjölnir: Part 1 (diff)
downloadyuzu-fc505110f1860afcd774e7f9b3ac2e136eb22571.tar.gz
yuzu-fc505110f1860afcd774e7f9b3ac2e136eb22571.tar.xz
yuzu-fc505110f1860afcd774e7f9b3ac2e136eb22571.zip
qt_themes: Fix Midnight Blue theme
Co-authored-by: Its-Rei <kupfel@gmail.com>
Diffstat (limited to 'dist/qt_themes')
-rw-r--r--dist/qt_themes/qdarkstyle_midnight_blue/style.qss116
1 files changed, 57 insertions, 59 deletions
diff --git a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss
index 0ecdf271e..a714e1475 100644
--- a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss
+++ b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss
@@ -138,8 +138,6 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qstatusbar
138 138
139--------------------------------------------------------------------------- */ 139--------------------------------------------------------------------------- */
140QStatusBar { 140QStatusBar {
141 border: 1px solid #32414B;
142 /* Fixes Spyder #9120, #9121 */
143 background: #32414B; 141 background: #32414B;
144 /* Fixes #205, white vertical borders separating items */ 142 /* Fixes #205, white vertical borders separating items */
145} 143}
@@ -161,6 +159,7 @@ QStatusBar QToolTip {
161QStatusBar QLabel { 159QStatusBar QLabel {
162 /* Fixes Spyder #9120, #9121 */ 160 /* Fixes Spyder #9120, #9121 */
163 background: transparent; 161 background: transparent;
162 padding: 0px;
164} 163}
165 164
166/* QCheckBox -------------------------------------------------------------- 165/* QCheckBox --------------------------------------------------------------
@@ -365,28 +364,19 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar
365--------------------------------------------------------------------------- */ 364--------------------------------------------------------------------------- */
366QMenuBar { 365QMenuBar {
367 background-color: #32414B; 366 background-color: #32414B;
368 padding: 2px;
369 border: 1px solid #19232D;
370 color: #F0F0F0; 367 color: #F0F0F0;
371} 368}
372 369
373QMenuBar:focus {
374 border: 1px solid #148CD2;
375}
376
377QMenuBar::item { 370QMenuBar::item {
378 background: transparent; 371 background: transparent;
379 padding: 4px;
380} 372}
381 373
382QMenuBar::item:selected { 374QMenuBar::item:selected {
383 padding: 4px;
384 background: transparent; 375 background: transparent;
385 border: 0px solid #32414B; 376 border: 0px solid #32414B;
386} 377}
387 378
388QMenuBar::item:pressed { 379QMenuBar::item:pressed {
389 padding: 4px;
390 border: 0px solid #32414B; 380 border: 0px solid #32414B;
391 background-color: #148CD2; 381 background-color: #148CD2;
392 color: #F0F0F0; 382 color: #F0F0F0;
@@ -394,6 +384,7 @@ QMenuBar::item:pressed {
394 padding-bottom: 0px; 384 padding-bottom: 0px;
395} 385}
396 386
387
397/* QMenu ------------------------------------------------------------------ 388/* QMenu ------------------------------------------------------------------
398 389
399https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu 390https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu
@@ -480,7 +471,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
480 471
481--------------------------------------------------------------------------- */ 472--------------------------------------------------------------------------- */
482QAbstractItemView { 473QAbstractItemView {
483 alternate-background-color: #19232D; 474 alternate-background-color: #1f2933;
484 color: #F0F0F0; 475 color: #F0F0F0;
485 border: 1px solid #32414B; 476 border: 1px solid #32414B;
486 border-radius: 4px; 477 border-radius: 4px;
@@ -499,13 +490,13 @@ QAbstractScrollArea {
499 background-color: #19232D; 490 background-color: #19232D;
500 border: 1px solid #32414B; 491 border: 1px solid #32414B;
501 border-radius: 4px; 492 border-radius: 4px;
502 padding: 2px;
503 /* fix #159 */ 493 /* fix #159 */
504 min-height: 1.25em; 494 min-height: 1.25em;
505 /* fix #159 */ 495 /* fix #159 */
506 color: #F0F0F0; 496 color: #F0F0F0;
507} 497}
508 498
499
509QAbstractScrollArea:disabled { 500QAbstractScrollArea:disabled {
510 color: #787878; 501 color: #787878;
511} 502}
@@ -805,20 +796,22 @@ QAbstractSpinBox {
805} 796}
806 797
807QAbstractSpinBox:up-button { 798QAbstractSpinBox:up-button {
808 background-color: transparent #19232D; 799 background-color: #505F69;
809 subcontrol-origin: border; 800 subcontrol-origin: border;
810 subcontrol-position: top right; 801 subcontrol-position: top right;
811 border-left: 1px solid #32414B; 802 border-left: 1px solid #32414B;
812 border-bottom: 1px solid #32414B; 803 border-top: 1px solid #32414B;
804 border-right: 1px solid #32414B;
805 border-top-right-radius: 4px;
813 border-top-left-radius: 0; 806 border-top-left-radius: 0;
814 border-bottom-left-radius: 0; 807 border-bottom-left-radius: 0;
815 margin: 1px; 808 margin: 0px;
816 width: 12px; 809 width: 12px;
817 margin-bottom: -1px; 810 margin-bottom: 0px;
818} 811}
819 812
820QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off { 813QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off {
821 image: url(":/qss_icons/rc/arrow_up_disabled.png"); 814 image: url(":/qss_icons/rc/up_arrow.png");
822 height: 8px; 815 height: 8px;
823 width: 8px; 816 width: 8px;
824} 817}
@@ -828,20 +821,23 @@ QAbstractSpinBox::up-arrow:hover {
828} 821}
829 822
830QAbstractSpinBox:down-button { 823QAbstractSpinBox:down-button {
831 background-color: transparent #19232D; 824 background-color: #505F69;
832 subcontrol-origin: border; 825 subcontrol-origin: border;
833 subcontrol-position: bottom right; 826 subcontrol-position: bottom right;
834 border-left: 1px solid #32414B; 827 border-left: 1px solid #32414B;
828 border-right: 1px solid #32414B;
829 border-bottom: 1px solid #32414B;
835 border-top: 1px solid #32414B; 830 border-top: 1px solid #32414B;
836 border-top-left-radius: 0; 831 border-top-left-radius: 0;
837 border-bottom-left-radius: 0; 832 border-bottom-left-radius: 0;
838 margin: 1px; 833 border-bottom-right-radius: 4px;
834 margin: 0px;
839 width: 12px; 835 width: 12px;
840 margin-top: -1px; 836 margin-top: 0px;
841} 837}
842 838
843QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSpinBox::down-arrow:off { 839QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSpinBox::down-arrow:off {
844 image: url(":/qss_icons/rc/arrow_down_disabled.png"); 840 image: url(":/qss_icons/rc/down_arrow.png");
845 height: 8px; 841 height: 8px;
846 width: 8px; 842 width: 8px;
847} 843}
@@ -1197,6 +1193,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
1197 1193
1198--------------------------------------------------------------------------- */ 1194--------------------------------------------------------------------------- */
1199QComboBox { 1195QComboBox {
1196 background-color: #0f1922;
1200 border: 1px solid #32414B; 1197 border: 1px solid #32414B;
1201 border-radius: 4px; 1198 border-radius: 4px;
1202 selection-background-color: #1464A0; 1199 selection-background-color: #1464A0;
@@ -1214,7 +1211,7 @@ QComboBox {
1214QComboBox QAbstractItemView { 1211QComboBox QAbstractItemView {
1215 border: 1px solid #32414B; 1212 border: 1px solid #32414B;
1216 border-radius: 0; 1213 border-radius: 0;
1217 background-color: #19232D; 1214 background-color: #0f1922;
1218 selection-background-color: #1464A0; 1215 selection-background-color: #1464A0;
1219} 1216}
1220 1217
@@ -1283,7 +1280,12 @@ QComboBox::drop-down {
1283} 1280}
1284 1281
1285QComboBox::down-arrow { 1282QComboBox::down-arrow {
1286 image: url(":/qss_icons/rc/arrow_down_disabled.png"); 1283 image: url(":/qss_icons/rc/down_arrow.png");
1284 background-color: #505F69;
1285 padding: 6px 2px;
1286 border: 1px solid #32414B;
1287 border-top-right-radius: 4px;
1288 border-bottom-right-radius: 4px;
1287 height: 8px; 1289 height: 8px;
1288 width: 8px; 1290 width: 8px;
1289} 1291}
@@ -1557,12 +1559,12 @@ QTabBar::tab:right:!selected {
1557QTabBar::tab:top { 1559QTabBar::tab:top {
1558 background-color: #32414B; 1560 background-color: #32414B;
1559 color: #F0F0F0; 1561 color: #F0F0F0;
1562 min-width: 36px;
1560 margin-left: 2px; 1563 margin-left: 2px;
1561 padding-left: 4px; 1564 padding-left: 8px;
1562 padding-right: 4px; 1565 padding-right: 8px;
1563 padding-top: 2px; 1566 padding-top: 2px;
1564 padding-bottom: 2px; 1567 padding-bottom: 2px;
1565 min-width: 5px;
1566 border-bottom: 3px solid #32414B; 1568 border-bottom: 3px solid #32414B;
1567 border-top-left-radius: 3px; 1569 border-top-left-radius: 3px;
1568 border-top-right-radius: 3px; 1570 border-top-right-radius: 3px;
@@ -1586,16 +1588,16 @@ QTabBar::tab:top:!selected:hover {
1586 1588
1587QTabBar::tab:bottom { 1589QTabBar::tab:bottom {
1588 color: #F0F0F0; 1590 color: #F0F0F0;
1591 min-width: 36px;
1589 border-top: 3px solid #32414B; 1592 border-top: 3px solid #32414B;
1590 background-color: #32414B; 1593 background-color: #32414B;
1591 margin-left: 2px; 1594 margin-left: 2px;
1592 padding-left: 4px; 1595 padding-left: 8px;
1593 padding-right: 4px; 1596 padding-right: 8px;
1594 padding-top: 2px; 1597 padding-top: 2px;
1595 padding-bottom: 2px; 1598 padding-bottom: 2px;
1596 border-bottom-left-radius: 3px; 1599 border-bottom-left-radius: 3px;
1597 border-bottom-right-radius: 3px; 1600 border-bottom-right-radius: 3px;
1598 min-width: 5px;
1599} 1601}
1600 1602
1601QTabBar::tab:bottom:selected { 1603QTabBar::tab:bottom:selected {
@@ -1750,21 +1752,6 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlistview
1750https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtableview 1752https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtableview
1751 1753
1752--------------------------------------------------------------------------- */ 1754--------------------------------------------------------------------------- */
1753QTreeView:branch:selected, QTreeView:branch:hover {
1754 background: url(":/qss_icons/rc/transparent.png");
1755}
1756
1757QTreeView:branch:has-siblings:!adjoins-item {
1758 border-image: url(":/qss_icons/rc/branch_line.png") 0;
1759}
1760
1761QTreeView:branch:has-siblings:adjoins-item {
1762 border-image: url(":/qss_icons/rc/branch_more.png") 0;
1763}
1764
1765QTreeView:branch:!has-children:!has-siblings:adjoins-item {
1766 border-image: url(":/qss_icons/rc/branch_end.png") 0;
1767}
1768 1755
1769QTreeView:branch:has-children:!has-siblings:closed, QTreeView:branch:closed:has-children:has-siblings { 1756QTreeView:branch:has-children:!has-siblings:closed, QTreeView:branch:closed:has-children:has-siblings {
1770 border-image: none; 1757 border-image: none;
@@ -1898,21 +1885,21 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
1898 1885
1899--------------------------------------------------------------------------- */ 1886--------------------------------------------------------------------------- */
1900QHeaderView { 1887QHeaderView {
1901 background-color: #32414B; 1888 background-color: #19232D;
1902 border: 0px transparent #32414B; 1889 border: 0px transparent #19232D;
1903 padding: 0px; 1890 padding: 0px;
1904 margin: 0px; 1891 margin: 0px;
1905 border-radius: 0px; 1892 border-radius: 0px;
1906} 1893}
1907 1894
1908QHeaderView:disabled { 1895QHeaderView:disabled {
1909 background-color: #32414B; 1896 background-color: #19232D;
1910 border: 1px transparent #32414B; 1897 border: 1px transparent #19232D;
1911 padding: 2px; 1898 padding: 2px;
1912} 1899}
1913 1900
1914QHeaderView::section { 1901QHeaderView::section {
1915 background-color: #32414B; 1902 background-color: #19232D;
1916 color: #F0F0F0; 1903 color: #F0F0F0;
1917 padding: 2px; 1904 padding: 2px;
1918 border-radius: 0px; 1905 border-radius: 0px;
@@ -1932,11 +1919,11 @@ QHeaderView::section:checked:disabled {
1932QHeaderView::section::horizontal { 1919QHeaderView::section::horizontal {
1933 padding-left: 4px; 1920 padding-left: 4px;
1934 padding-right: 4px; 1921 padding-right: 4px;
1935 border-left: 1px solid #19232D; 1922 border-left: 1px solid #32414B;
1936} 1923}
1937 1924
1938QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one { 1925QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
1939 border-left: 1px solid #32414B; 1926 border-left: 1px solid #19232D;
1940} 1927}
1941 1928
1942QHeaderView::section::horizontal:disabled { 1929QHeaderView::section::horizontal:disabled {
@@ -1946,7 +1933,7 @@ QHeaderView::section::horizontal:disabled {
1946QHeaderView::section::vertical { 1933QHeaderView::section::vertical {
1947 padding-left: 4px; 1934 padding-left: 4px;
1948 padding-right: 4px; 1935 padding-right: 4px;
1949 border-top: 1px solid #19232D; 1936 border-top: 1px solid #32414B;
1950} 1937}
1951 1938
1952QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one { 1939QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
@@ -1960,7 +1947,7 @@ QHeaderView::section::vertical:disabled {
1960QHeaderView::down-arrow { 1947QHeaderView::down-arrow {
1961 /* Those settings (border/width/height/background-color) solve bug */ 1948 /* Those settings (border/width/height/background-color) solve bug */
1962 /* transparent arrow background and size */ 1949 /* transparent arrow background and size */
1963 background-color: #32414B; 1950 background-color: #19232D;
1964 border: none; 1951 border: none;
1965 height: 12px; 1952 height: 12px;
1966 width: 12px; 1953 width: 12px;
@@ -1970,7 +1957,7 @@ QHeaderView::down-arrow {
1970} 1957}
1971 1958
1972QHeaderView::up-arrow { 1959QHeaderView::up-arrow {
1973 background-color: #32414B; 1960 background-color: #19232D;
1974 border: none; 1961 border: none;
1975 height: 12px; 1962 height: 12px;
1976 width: 12px; 1963 width: 12px;
@@ -2274,17 +2261,28 @@ QGroupBox#groupConnectedController::indicator:unchecked {
2274 2261
2275QSpinBox#spinboxLStickRange, 2262QSpinBox#spinboxLStickRange,
2276QSpinBox#spinboxRStickRange { 2263QSpinBox#spinboxRStickRange {
2277 min-width: 53px; 2264 min-width: 38px;
2278} 2265}
2279 2266
2280QGroupBox#motionGroup::indicator, 2267QGroupBox#motionGroup::indicator,
2281QGroupBox#vibrationGroup::indicator { 2268QGroupBox#vibrationGroup::indicator {
2282 margin-left: 0px; 2269 margin-left: 0px;
2283} 2270}
2284 2271
2285QGroupBox#motionGroup::title, 2272QGroupBox#motionGroup::title,
2286QGroupBox#vibrationGroup::title { 2273QGroupBox#vibrationGroup::title {
2287spacing: 2px; 2274spacing: 2px;
2288 padding-left: 1px; 2275 padding-left: 1px;
2289 padding-right: 1px; 2276 padding-right: 1px;
2290} 2277}
2278
2279QListWidget#selectorList {
2280 background-color: #0f1922;
2281}
2282
2283QSpinBox,
2284QLineEdit,
2285QTreeView#hotkey_list,
2286QScrollArea#scrollArea QTreeView {
2287 background-color: #0f1922;
2288} \ No newline at end of file