1
0

simplify setup.py using package_data

This commit is contained in:
ThomasV
2015-02-18 17:13:41 +01:00
parent 619ee02df8
commit b5ac7f2a7c
16 changed files with 22 additions and 109 deletions

View File

@@ -1,12 +0,0 @@
To add a new theme, simply create a new directory in the electrum data directory (either ./data or your system wide local data).
Inside your directory create a file called name.cfg with the name of that theme.
Create another file called style.css - this will be your CSS for the theme (see other themes for reference).
Documentation on Qt's stylesheets (used by Electrum):
Overview: http://qt-project.org/doc/qt-4.8/stylesheet.html
Examples: http://qt-project.org/doc/qt-4.8/stylesheet-examples.html
Reference manual: http://doc.qt.nokia.com/4.7-snapshot/stylesheet-reference.html

View File

@@ -1 +0,0 @@
Cleanlook

View File

@@ -1,62 +0,0 @@
#main_window
{
background: qlineargradient(x1: 0, y1: 0, x2:0,y2:1, stop: 0 white , stop: 1 #E8E8E8);
}
MiniWindow QPushButton {
color: #777;
border: 1px solid #CCC;
border-radius: 0px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 white, stop: 1 #E6E6E6);
min-height: 30px;
min-width: 30px;
}
#send_button{
color: #FFF;
border: 1px solid #3786E6;
border-radius: 4px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #72B2F8, stop: 1 #3484E6);
padding: 2px;
width: 20px;
}
#send_button:disabled{
color: #D3E8FE;
border: 1px solid #6DAEF7;
border-radius: 4px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #A5CFFA, stop: 1 #72B2F8);
}
#address_input, #amount_input, #label_input
{
color: #000;
padding: 5px;
border-radius: 5px;
min-height: 23px;
border: 1px solid #AAA9A9;
width: 200px;
}
#address_input[isValid=true]
{
color: #4D9948;
}
#address_input[isValid=false]
{
color: #CE4141;
}
#balance_label
{
color: #333;
}
#history
{
color: #888;
}

View File

@@ -1 +0,0 @@
Dark

View File

@@ -1,35 +0,0 @@
#main_window
{
background-image: url(:/icons/dark_background.png);
}
#address_input[readOnly=true], #amount_input[readOnly=true]
{
font: italic;
color: gray;
}
#address_input[readOnly=false], #amount_input[readOnly=false]
{
font: normal;
color: black;
}
#valid_address::indicator
{
width: 24px;
height: 24px;
}
#valid_address::indicator:checked
{
image: url(confirmed.png);
}
#valid_address::indicator:unchecked
{
image: url(unconfirmed.png);
}
#balance_label
{
color: white;
}

View File

@@ -1 +0,0 @@
Sahara

View File

@@ -1,102 +0,0 @@
#main_window
{
background: qlineargradient(x1: 0, y1: 0, x2:0,y2:1, stop: 0 white , stop: 1 #F2E3BE);
}
MiniWindow QPushButton {
color: #C1A76D;
border: 1px solid #A7811C;
border-radius: 0px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 white, stop: 1 #F2E3BE);
min-height: 25px;
min-width: 30px;
}
#send_button{
color: #FEEBA7;
border: 1px solid #AD8B35;
border-radius: 4px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #E0A035, stop: 1 #AD8B35);
min-width: 80px;
min-height: 23px;
padding: 2px;
}
#send_button:disabled{
color: #FEEDD3;
border: 1px solid #F7D46D;
border-radius: 4px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #FAEEA5, stop: 1 #DBC050);
min-width: 80px;
min-height: 23px;
padding: 2px;
}
#receive_button
{
color: #FEEBA7;
border: 1px solid #AD8B35;
border-radius: 4px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #E0A035, stop: 1 #AD8B35);
min-height: 25px;
min-width: 30px;
}
#receive_button[isActive=true]
{
color: #FEEBA7;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #E0A035, stop: 1 #987620);
}
#address_input, #amount_input
{
color: #000;
padding: 5px;
border-radius: 4px;
border: 1px solid #CBAE69;
width: 225px;
}
#address_input[isValid=true]
{
color: #4D9948;
padding: 5px;
border-radius: 4px;
border: 1px solid #CBAE69;
width: 225px;
margin-top: 4px;
}
#address_input[isValid=false]
{
color: #CE4141;
padding: 5px;
border-radius: 4px;
border: 1px solid #CBAE69;
width: 225px;
margin-top: 4px;
}
#address_input[isValid=placeholder]
{
color: #DEC58D;
padding: 5px;
border-radius: 4px;
border: 1px solid #CBAE69;
width: 225px;
margin-top: 4px;
}
#balance_label
{
color: #7E5907;
}
#history
{
color: #8B6914;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff