From 4e5dafc37eee4317390a3a724081dcbe01c7d066 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 15 Sep 2017 15:39:39 -0400 Subject: Commit a "scrollbar-simple.qss" file, and some WIP on updating X cursors on theme change (not working yet) --- .../lumina-theme-engine/qss/scrollbar-simple.qss | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src-qt5/core/lumina-theme-engine/qss/scrollbar-simple.qss (limited to 'src-qt5/core/lumina-theme-engine/qss/scrollbar-simple.qss') diff --git a/src-qt5/core/lumina-theme-engine/qss/scrollbar-simple.qss b/src-qt5/core/lumina-theme-engine/qss/scrollbar-simple.qss new file mode 100644 index 00000000..265ff20c --- /dev/null +++ b/src-qt5/core/lumina-theme-engine/qss/scrollbar-simple.qss @@ -0,0 +1,30 @@ +/* SCROLLBARS (NOTE: Changing 1 subcontrol means you have to change all of them)*/ +QScrollBar{ + background: palette(alternate-base); +} +QScrollBar:horizontal{ + margin: 0px 0px 0px 0px; +} +QScrollBar:vertical{ + margin: 0px 0px 0px 0px; +} +QScrollBar::handle{ + background: palette(base); + border: 1px solid transparent; + border-radius: 7px; +} +QScrollBar::handle:hover, QScrollBar::add-line:hover, QScrollBar::sub-line:hover{ + background: palette(highlight); +} +QScrollBar::add-line{ +subcontrol-origin: none; +} +QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical{ +height: 0px; +} +QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal{ +width: 0px; +} +QScrollBar::sub-line{ +subcontrol-origin: none; +} -- cgit