mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
VerticalTabs: Add windows theme
This commit is contained in:
parent
2c731111d7
commit
06621a6f8a
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
|
||||
<path
|
||||
d="M 1.2726002,0 0,1.2726 3.2274005,4.4999998 0,7.727401 1.2726002,9 4.5000005,5.772599 7.7274004,9 9.0000004,7.727401 5.7726007,4.4999998 9.0000004,1.2726 7.7274004,0 4.5000005,3.2273999"
|
||||
style="fill:#e10c0c;fill-opacity:1;stroke:none"
|
||||
/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
|
||||
<path
|
||||
d="M 1.2726002,0 0,1.2726 3.2274005,4.4999998 0,7.727401 1.2726002,9 4.5000005,5.772599 7.7274004,9 9.0000004,7.727401 5.7726007,4.4999998 9.0000004,1.2726 7.7274004,0 4.5000005,3.2273999"
|
||||
style="fill:#e73c3c;fill-opacity:1;stroke:none"
|
||||
/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
|
||||
<path
|
||||
d="M 1.2726002,0 0,1.2726 3.2274005,4.4999998 0,7.727401 1.2726002,9 4.5000005,5.772599 7.7274004,9 9.0000004,7.727401 5.7726007,4.4999998 9.0000004,1.2726 7.7274004,0 4.5000005,3.2273999"
|
||||
style="fill:#a09e9e;fill-opacity:1;stroke:none"
|
||||
/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
155
src/plugins/VerticalTabs/data/themes/windows.css
Normal file
155
src/plugins/VerticalTabs/data/themes/windows.css
Normal file
@ -0,0 +1,155 @@
|
||||
/* Vertical Tabs Windows theme */
|
||||
|
||||
#verticaltabs-button-addtab
|
||||
{
|
||||
background : #dddddd;
|
||||
border: 1px solid #b2b2b2;
|
||||
margin-top: 2px;
|
||||
qproperty-themeIcon: "list-add";
|
||||
}
|
||||
|
||||
#verticaltabs-button-addtab:hover
|
||||
{
|
||||
background: #f3f3f3;
|
||||
}
|
||||
|
||||
/* Close button */
|
||||
TabTreeCloseButton
|
||||
{
|
||||
min-width: 11px;
|
||||
max-width: 11px;
|
||||
min-height: 9px;
|
||||
max-height: 9px;
|
||||
padding-right: 2px;
|
||||
|
||||
qproperty-showOnNormal: 1;
|
||||
qproperty-showOnHovered: 1;
|
||||
qproperty-showOnSelected: 1;
|
||||
}
|
||||
|
||||
#tabtree_tabbar::close-button
|
||||
{
|
||||
image: url(:verticaltabs/data/themes/windows-tab-close.svg);
|
||||
}
|
||||
|
||||
#tabtree_tabbar::close-button:hover
|
||||
{
|
||||
image: url(:verticaltabs/data/themes/windows-tab-close-h.svg);
|
||||
}
|
||||
|
||||
#tabtree_tabbar::close-button:pressed
|
||||
{
|
||||
image: url(:verticaltabs/data/themes/windows-tab-close-a.svg);
|
||||
}
|
||||
|
||||
/* TabListView */
|
||||
TabListView
|
||||
{
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
TabListView::item
|
||||
{
|
||||
border: 1px solid #b2b2b2;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
TabListView::item:selected
|
||||
{
|
||||
background : #ffffff;
|
||||
}
|
||||
|
||||
TabListView::item:!selected
|
||||
{
|
||||
background : #dddddd;
|
||||
}
|
||||
|
||||
TabListView::item:!selected:hover
|
||||
{
|
||||
background: #f3f3f3;
|
||||
}
|
||||
|
||||
TabListView::item:!first
|
||||
{
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
TabListView::item:only-one
|
||||
{
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
/* TabTreeView */
|
||||
TabTreeView
|
||||
{
|
||||
background: #ffffff;
|
||||
color: #000000;
|
||||
selection-color: #000000;
|
||||
qproperty-backgroundIndentation: 0;
|
||||
}
|
||||
|
||||
TabTreeView::item
|
||||
{
|
||||
max-height: 28px;
|
||||
}
|
||||
|
||||
TabTreeView::item
|
||||
{
|
||||
border: 1px solid #b2b2b2;
|
||||
}
|
||||
|
||||
TabTreeView::item:selected
|
||||
{
|
||||
background : #ffffff;
|
||||
}
|
||||
|
||||
TabTreeView::item:!selected
|
||||
{
|
||||
background : #dddddd;
|
||||
}
|
||||
|
||||
TabTreeView::item:!selected:hover
|
||||
{
|
||||
background: #f3f3f3;
|
||||
}
|
||||
|
||||
TabTreeView::item:!first
|
||||
{
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
TabTreeView::item:only-one
|
||||
{
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
/* ScrollBar */
|
||||
TabTreeView QScrollBar:vertical
|
||||
{
|
||||
background: #ffffff;
|
||||
border: 1px solid #b2b2b2;
|
||||
border-left: none;
|
||||
border-right: 1px solid #ffffff;
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
TabTreeView QScrollBar::handle:vertical
|
||||
{
|
||||
background: #dddddd;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
TabTreeView QScrollBar::handle:hover:vertical
|
||||
{
|
||||
background: #b2b2b2;
|
||||
}
|
||||
|
||||
TabTreeView QScrollBar::add-line:vertical
|
||||
{
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
TabTreeView QScrollBar::sub-line:vertical
|
||||
{
|
||||
height: 0px;
|
||||
}
|
@ -2,5 +2,9 @@
|
||||
<qresource prefix="/verticaltabs">
|
||||
<file>data/icon.svg</file>
|
||||
<file>data/themes/default.css</file>
|
||||
<file>data/themes/windows.css</file>
|
||||
<file>data/themes/windows-tab-close.svg</file>
|
||||
<file>data/themes/windows-tab-close-a.svg</file>
|
||||
<file>data/themes/windows-tab-close-h.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
Loading…
Reference in New Issue
Block a user