After Graduate Update
This commit is contained in:
parent
b92a91ab37
commit
c6917dd85e
69 changed files with 7540 additions and 0 deletions
4
robbery/master_pol-module_1_2/app/res/colors.py
Normal file
4
robbery/master_pol-module_1_2/app/res/colors.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
MAIN_COLOR = "#FFFFFF"
|
||||
SECONDARY_COLOR = "#F4E8D3"
|
||||
ACCENT_COLOR = "#67BA80"
|
||||
ACCENT_COLOR_HOVER = "#529265"
|
||||
1
robbery/master_pol-module_1_2/app/res/fonts.py
Normal file
1
robbery/master_pol-module_1_2/app/res/fonts.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
MAIN_FONT = "Segoe UI"
|
||||
BIN
robbery/master_pol-module_1_2/app/res/imgs/master_pol.ico
Normal file
BIN
robbery/master_pol-module_1_2/app/res/imgs/master_pol.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
robbery/master_pol-module_1_2/app/res/imgs/master_pol.png
Normal file
BIN
robbery/master_pol-module_1_2/app/res/imgs/master_pol.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 158 KiB |
35
robbery/master_pol-module_1_2/app/res/styles.py
Normal file
35
robbery/master_pol-module_1_2/app/res/styles.py
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
from string import Template
|
||||
from res.colors import MAIN_COLOR, SECONDARY_COLOR, ACCENT_COLOR
|
||||
from res.fonts import MAIN_FONT
|
||||
|
||||
styles_template = Template(
|
||||
"""
|
||||
QWidget {
|
||||
font-family: {MAIN_FONT};
|
||||
background-color: {MAIN_COLOR}
|
||||
color: {SECONDARY_COLOR};
|
||||
}
|
||||
QPushButton {
|
||||
background-color: {ACCENT_COLOR};
|
||||
border: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
QPushButton:hover {
|
||||
background-color: {SECONDARY_COLOR};
|
||||
}
|
||||
QLineEdit {
|
||||
padding: 6px;
|
||||
border: 1px solid {ACCENT_COLOR};
|
||||
border-radius: 4px;
|
||||
background-color: white;
|
||||
}
|
||||
"""
|
||||
)
|
||||
|
||||
styles = styles_template.substitute(
|
||||
MAIN_FONT=MAIN_FONT,
|
||||
MAIN_COLOR=MAIN_COLOR,
|
||||
SECONDARY_COLOR=SECONDARY_COLOR,
|
||||
ACCENT_COLOR=ACCENT_COLOR,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue