From 25d70e557a9cb4350f6efbf4d8a9d3c19d6cb737 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sat, 3 Feb 2018 20:20:21 +0100 Subject: [PATCH] VerticalTabs: Add Simple theme --- .../VerticalTabs/data/themes/simple.css | 39 +++++++++++++++++++ src/plugins/VerticalTabs/verticaltabs.qrc | 1 + 2 files changed, 40 insertions(+) create mode 100644 src/plugins/VerticalTabs/data/themes/simple.css diff --git a/src/plugins/VerticalTabs/data/themes/simple.css b/src/plugins/VerticalTabs/data/themes/simple.css new file mode 100644 index 000000000..3acd83bc5 --- /dev/null +++ b/src/plugins/VerticalTabs/data/themes/simple.css @@ -0,0 +1,39 @@ +/* Vertical Tabs Simple theme */ + +/* TabListView */ +TabListView::item +{ + border-right: 1px solid palette(alternate-base); +} + +TabListView::item:selected +{ + background : palette(mid) +} + +TabListView::item:!selected:hover +{ + background : palette(alternate-base) +} + +/* TabTreeView */ +TabTreeView +{ + qproperty-backgroundIndentation: 0; + selection-color: palette(text) +} + +TabTreeView::item +{ + border-bottom: 1px solid palette(alternate-base); +} + +TabTreeView::item:selected +{ + background : palette(mid) +} + +TabTreeView::item:!selected:hover +{ + background : palette(alternate-base) +} diff --git a/src/plugins/VerticalTabs/verticaltabs.qrc b/src/plugins/VerticalTabs/verticaltabs.qrc index bd2192dcc..31e557f4d 100644 --- a/src/plugins/VerticalTabs/verticaltabs.qrc +++ b/src/plugins/VerticalTabs/verticaltabs.qrc @@ -6,5 +6,6 @@ data/themes/windows-tab-close.svg data/themes/windows-tab-close-a.svg data/themes/windows-tab-close-h.svg + data/themes/simple.css