forked from DeckerSU/KomodoOcean
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qt: move more code to actual stylesheet
will deal with html styling at a later date
- Loading branch information
1 parent
8089acd
commit fe79e9d
Showing
17 changed files
with
124 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,3 +165,5 @@ src/cryptoconditions/src/stamp-h1 | |
configure.ac.patch | ||
|
||
src/gui/komodoku/ | ||
|
||
launchTest.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
/* Global Styles */ | ||
/* * = everything (if we don't set it then we want it to be this) */ | ||
/* setting this as a default lets us know what isn't themed and */ | ||
/* lets the baseline consistently be whatever we want it to be */ | ||
* { | ||
background: white; | ||
background-color: white; | ||
color: black; | ||
font-weight: normal; | ||
} | ||
/* All QFrame look like this unless we style them specific later */ | ||
QFrame { border: none; } | ||
|
||
QFrame { | ||
border: none; | ||
} | ||
|
||
/* Highlight in context menu */ | ||
QValidatedLineEdit { selection-background-color: green; } | ||
|
||
/* makes tool buttons match Komodo logo colors */ | ||
QToolButton { background: QLinearGradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #1B467C, stop: 1 #00EDD3); } | ||
|
||
QToolButton { | ||
background: QLinearGradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #1B467C, stop: 1 #00EDD3); | ||
QMenu::item:selected{ | ||
background-color: darkgreen; | ||
color: white; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,72 @@ | ||
/* no need to hard code stylesheets and bury them */ | ||
QStatusBar QLabel { | ||
color: black; | ||
} | ||
QStatusBar QLabel { color: black; } | ||
|
||
/* The whole bar - both the status and overlay (since generic global) */ | ||
/* Yes, this was intended to only match specific styles; however, it needs to be here for obvious reasons */ | ||
QProgressBar { | ||
background-color: #e8e8e8; | ||
background-color: gainsboro; | ||
border: 1px solid grey; | ||
border-radius: 7px; | ||
padding: 1px; | ||
text-align: center; | ||
} | ||
|
||
/* incremental part */ | ||
QProgressBar::chunk { | ||
background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #FF8000, stop: 1 orange); | ||
background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 chocolate, stop: 1 orange); | ||
border-radius: 7px; | ||
margin: 0px; | ||
} | ||
/* Payments */ | ||
/* note: currently payTo is NOT validated on entry like lineEditCoinControlChange(change address) is | ||
presumably to decrease checks if multiple payees to just when send button clicked */ | ||
AmountSpinBox, QValidatedLineEdit { color: black; } | ||
AmountSpinBox[valid="true"], QValidatedLineEdit[valid="true"] { background-color: white; } | ||
AmountSpinBox[valid="false"], QValidatedLineEdit[valid="false"] { background-color: lightcoral; } | ||
|
||
/* helps limit popup items - numbers represent states and not numerical digits */ | ||
QComboBox { combobox-popup: 0; } | ||
|
||
/* Error status based on setProperty */ | ||
QLabel[urgent=true] { color: red; } | ||
QLabel[urgent=false] { color: black; } | ||
QLabel[waiting=true] { color: tomato; } | ||
QLabel[passing=true] { color: green; } | ||
|
||
/* this isn't pulled, but here as a reminder from when taking care of html */ | ||
#messagesWidget { background-color: white; } | ||
|
||
/* ModalOverlay */ | ||
/* outer "border" */ | ||
#bgWidget { background: rgba(0,0,0,220); } | ||
/* words */ | ||
#contentWidget QLabel { color: rgb(40,40,40); } | ||
/* center "pane" */ | ||
#contentWidget { | ||
background: rgba(255,255,255,240); | ||
border-radius: 6px; | ||
} | ||
|
||
/* Overview page */ | ||
/* release notice */ | ||
#labelAlerts { | ||
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); | ||
color: #000000; | ||
qproperty-wordWrap: true; | ||
margin: 3; | ||
} | ||
/* tx history list */ | ||
#listTransactions { background: transparent; } | ||
|
||
/* SendCoinsDialog (both t and z, since they have same item names) */ | ||
/* these could be separated out by calling out dialog by name */ | ||
/* eg: | ||
ZSendCoinsDialog #labelCoinControlFeatures { color: blue; } | ||
*/ | ||
#labelCoinControlFeatures, #labelFeeHeadline, #labelCoinControlInsuffFunds { font-weight: bold; } | ||
#labelCoinControlInsuffFunds { | ||
color: red; | ||
margin: 5; | ||
} | ||
|
||
/* 1st run */ | ||
#welcomeLabel { font-style:italic; } |
Oops, something went wrong.