diff options
-rw-r--r-- | libLumina/themes/Lumina-default.qss.template | 35 | ||||
-rw-r--r-- | lumina-config/mainUI.ui | 22 |
2 files changed, 34 insertions, 23 deletions
diff --git a/libLumina/themes/Lumina-default.qss.template b/libLumina/themes/Lumina-default.qss.template index 6d55633b..edd7b73b 100644 --- a/libLumina/themes/Lumina-default.qss.template +++ b/libLumina/themes/Lumina-default.qss.template @@ -38,11 +38,14 @@ QLineEdit, QTextEdit, QTextBrowser, QPlainTextEdit, QSpinBox, QDateEdit, QDateTi } /* PAGES OF CONTAINER WIDGETS */ -QStackedWidget .QWidget, QTabWidget .QWidget, QToolBox > QScrollArea{ +QStackedWidget .QWidget, QTabWidget .QWidget{ background: %%ALTBASECOLOR%%; color: %%TEXTCOLOR%%; border: none; } +QToolBox::tab{ + color: %%TEXTCOLOR%%; +} /* MENU WIDGETS */ QMenuBar, QMenuBar::item, QToolBar, QStatusBar{ @@ -372,23 +375,37 @@ QPushButton:flat, QToolButton:flat{ border: 1px solid transparent; /* no border for a flat button */ } - QPushButton::hover, QToolButton::hover{ +QPushButton::hover, QToolButton::hover{ border: 1px solid %%ACCENTDISABLECOLOR%%; background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 %%HIGHLIGHTCOLOR%%); color: %%TEXTHIGHLIGHTCOLOR%%; - } - QRadioButton, QCheckBox{ +} +QRadioButton, QCheckBox{ padding: 2px; border: 1px solid transparent; border-radius: 3px; color: %%TEXTCOLOR%%; - } - QRadioButton::hover, QCheckBox:hover{ +} +QRadioButton::hover, QCheckBox:hover{ background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 %%HIGHLIGHTCOLOR%%); border: 1px solid %%ACCENTCOLOR%%; color: %%TEXTHIGHLIGHTCOLOR%%; - } - +} +QRadioButton::indicator, QCheckBox::indicator, QGroupBox::indicator{ + border: 1px solid %%ACCENTCOLOR%%; +} +QRadioButton::indicator{ + border-radius: 7px; +} +QRadioButton::indicator:checked{ + background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:1, fx:0.5, fy:0.5, stop:0 %%TEXTCOLOR%%, stop:0.25 %%TEXTCOLOR%%, stop:0.25001 transparent); +} +QCheckBox::indicator:checked, QGroupBox::indicator:checked{ + padding: 3px; + background-origin: content; + background-clip: content; + background: %%TEXTCOLOR%%; +} /* PROGRESSBAR */ QProgressBar{ @@ -451,7 +468,7 @@ QAbstractSpinBox::up-arrow{ /* CALENDER WIDGET */ /* (This is a special hack since there is no official support for stylesheets for this widget) */ QCalendarWidget QWidget#qt_calendar_navigationbar{ - background-color: %%ALTBASECOLOR%%; + background-color: %%ALTBASECOLOR%%; /*QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%PRIMARYDISABLECOLOR%%, stop: 1 %%PRIMARYCOLOR%%);*/ } QCalendarWidget QWidget{ background-color: %%BASECOLOR%%; diff --git a/lumina-config/mainUI.ui b/lumina-config/mainUI.ui index 9435da7f..534f6b9a 100644 --- a/lumina-config/mainUI.ui +++ b/lumina-config/mainUI.ui @@ -10,7 +10,7 @@ <x>0</x> <y>0</y> <width>579</width> - <height>421</height> + <height>424</height> </rect> </property> <property name="windowTitle"> @@ -106,7 +106,7 @@ <enum>QFrame::StyledPanel</enum> </property> <property name="currentIndex"> - <number>5</number> + <number>1</number> </property> <widget class="QWidget" name="page_desktop"> <layout class="QVBoxLayout" name="verticalLayout_3"> @@ -361,9 +361,6 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="styleSheet"> - <string notr="true">QWidget#page_panel2_appearance,#page_panel2_plugins{background: rgba(255,255,255,150); }</string> - </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> @@ -384,8 +381,8 @@ <rect> <x>0</x> <y>0</y> - <width>233</width> - <height>149</height> + <width>262</width> + <height>187</height> </rect> </property> <attribute name="label"> @@ -601,9 +598,6 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="styleSheet"> - <string notr="true">QWidget#page_panel1_appearance,#page_panel1_plugins{background: rgba(255,255,255,150); }</string> - </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> @@ -621,8 +615,8 @@ <rect> <x>0</x> <y>0</y> - <width>233</width> - <height>149</height> + <width>263</width> + <height>187</height> </rect> </property> <attribute name="label"> @@ -1604,8 +1598,8 @@ <rect> <x>0</x> <y>0</y> - <width>128</width> - <height>28</height> + <width>493</width> + <height>70</height> </rect> </property> <property name="sizePolicy"> |