mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-11 12:15:12 +00:00
- Improved tab look
This commit is contained in:
parent
45b9c6335c
commit
892bb4c432
BIN
src/Icons/skin/tabs.gif
Normal file
BIN
src/Icons/skin/tabs.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
@ -102,6 +102,7 @@
|
|||||||
<file>Icons/skin/seeding.png</file>
|
<file>Icons/skin/seeding.png</file>
|
||||||
<file>Icons/skin/settings.png</file>
|
<file>Icons/skin/settings.png</file>
|
||||||
<file>Icons/skin/stalled.png</file>
|
<file>Icons/skin/stalled.png</file>
|
||||||
|
<file>Icons/skin/tabs.gif</file>
|
||||||
<file>Icons/skin/url.png</file>
|
<file>Icons/skin/url.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
@ -71,7 +71,7 @@ for root, dirs, files in os.walk('Icons'):
|
|||||||
if 'skin_unused' in dirs:
|
if 'skin_unused' in dirs:
|
||||||
dirs.remove('skin_unused')
|
dirs.remove('skin_unused')
|
||||||
for file in files:
|
for file in files:
|
||||||
if splitext(file)[-1] in ('.png', '.jpg'):
|
if splitext(file)[-1] in ('.png', '.jpg', '.gif'):
|
||||||
icons_list.append(join(root, file))
|
icons_list.append(join(root, file))
|
||||||
|
|
||||||
output = '''<!DOCTYPE RCC><RCC version="1.0">
|
output = '''<!DOCTYPE RCC><RCC version="1.0">
|
||||||
|
@ -1,24 +1,51 @@
|
|||||||
|
|
||||||
|
.toolbarTabs {
|
||||||
|
padding: 0 5px 2px 2px;
|
||||||
|
background: url(../images/skin/tabs.gif) repeat-x;
|
||||||
|
background-position: left -70px;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
.mootabs_title {
|
.mootabs_title {
|
||||||
list-style-image: none;
|
padding-top: 1px;
|
||||||
list-style-type: none;
|
list-style: none;
|
||||||
margin: 0px;
|
margin: 0;
|
||||||
padding: 0px;
|
padding: 0;
|
||||||
height: 24px;
|
line-height: 16px;
|
||||||
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mootabs_title li {
|
.mootabs_title li {
|
||||||
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
background-color: #ddd;
|
margin: 0 0 5px 0;
|
||||||
padding: 2px 8px 2px 8px;
|
cursor: pointer;
|
||||||
margin-right: 2px;
|
background: url(../images/skin/tabs.gif) repeat-x;
|
||||||
cursor: pointer;
|
background-position: left -35px;
|
||||||
height: 24px;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mootabs_title li.active {
|
.mootabs_title li.active {
|
||||||
background-color: #f1f1f1;
|
background: url(../images/skin/tabs.gif) repeat-x;
|
||||||
|
background-position: left 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mootabs_title li a {
|
||||||
|
display: block;
|
||||||
|
margin-left: 8px;
|
||||||
|
padding: 6px 16px 5px 10px;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: normal;
|
||||||
|
color: #141414;
|
||||||
|
background: url(../images/skin/tabs.gif) repeat-x;
|
||||||
|
background-position: right -35px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mootabs_title li.active a {
|
||||||
|
color: #141414;
|
||||||
|
font-weight: bold;
|
||||||
|
background: url(../images/skin/tabs.gif) repeat-x;
|
||||||
|
background-position: right 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mootabs_panel {
|
.mootabs_panel {
|
||||||
|
@ -65,10 +65,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="myTabs">
|
<div id="myTabs" class="toolbarTabs">
|
||||||
<ul class="mootabs_title">
|
<ul class="mootabs_title">
|
||||||
<li title="Tab1">Downloads</li>
|
<li title="Tab1"><a>Downloads</a></li>
|
||||||
<li title="Tab2">Uploads</li>
|
<li title="Tab2"><a>Uploads</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="mochaPageWrapper">
|
<div id="mochaPageWrapper">
|
||||||
<div id="mochaPage">
|
<div id="mochaPage">
|
||||||
|
Loading…
Reference in New Issue
Block a user