diff --git a/src/mainApp.py b/src/mainApp.py index 90fc596..b8c1957 100644 --- a/src/mainApp.py +++ b/src/mainApp.py @@ -8,9 +8,9 @@ import os import signal -from PyQt5.QtCore import pyqtSignal, QSettings +from PyQt5.QtCore import pyqtSignal, QSettings, QFile, QTextStream from PyQt5.QtGui import QIcon -from PyQt5.QtWidgets import QMainWindow, QAction +from PyQt5.QtWidgets import QMainWindow, QAction, QApplication from database import Database from misc import printDbg, initLogs, saveCacheSettings, readCacheSettings, getVersion @@ -50,6 +50,7 @@ def __init__(self, imgDir, app, start_args): # Register the signal handlers signal.signal(signal.SIGTERM, service_shutdown) signal.signal(signal.SIGINT, service_shutdown) + self.set_customtheme_ifneeded() # Get version and title self.version = getVersion() @@ -73,6 +74,41 @@ def __init__(self, imgDir, app, start_args): # Initialize user interface self.initUI(imgDir) + def set_customtheme_ifneeded(self): + self.settings = settings = QSettings('PIVX', 'PET4L') + themeindex = settings.value("qt_theme",0) + use_dark_theme = themeindex == 1 + + # Add switcher for Qtum core style themes on electrum + use_qtum_theme1 = themeindex == 2 + use_qtum_theme2 = themeindex == 3 + use_qtum_theme3 = themeindex == 4 + if use_dark_theme: + try: + import qdarkstyle + self.app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5()) + except BaseException as e: + use_dark_theme = False + print(f'Error setting dark theme: {repr(e)}') + if use_qtum_theme1: + try: + self.app.setStyleSheet(open('src/styles/theme1/app.css').read()) + except BaseException as e: + use_dark_theme = False + print(f'Error setting Qtum theme: {repr(e)}') + if use_qtum_theme2: + try: + self.app.setStyleSheet(open('src/styles/theme2/app.css').read()) + except BaseException as e: + use_dark_theme = False + print(f'Error setting Qtum theme: {repr(e)}') + if use_qtum_theme3: + try: + self.app.setStyleSheet(open('src/styles/theme3/app.css').read()) + except BaseException as e: + use_dark_theme = False + print(f'Error setting Qtum theme: {repr(e)}') + def initUI(self, imgDir): # Set title and geometry @@ -84,7 +120,7 @@ def initUI(self, imgDir): self.script_icon = QIcon(os.path.join(imgDir, 'icon_script.png')) self.setWindowIcon(self.spmtIcon) # Create main window - self.mainWindow = MainWindow(self, imgDir) + self.mainWindow = MainWindow(self, imgDir,self.app) self.setCentralWidget(self.mainWindow) # Add RPC server menu mainMenu = self.menuBar() diff --git a/src/mainWindow.py b/src/mainWindow.py index cd0d94b..5188866 100644 --- a/src/mainWindow.py +++ b/src/mainWindow.py @@ -10,10 +10,10 @@ from time import strftime, gmtime import threading -from PyQt5.QtCore import pyqtSignal, Qt, QThread +from PyQt5.QtCore import pyqtSignal, Qt, QThread, QTextStream, QFile, QSettings from PyQt5.QtGui import QPixmap, QColor, QPalette, QTextCursor, QFont, QIcon from PyQt5.QtWidgets import QWidget, QPushButton, QHBoxLayout, QGroupBox, QVBoxLayout, \ - QFileDialog, QTextEdit, QTabWidget, QLabel, QSplitter + QFileDialog, QTextEdit, QTabWidget, QLabel, QSplitter, QApplication from apiClient import ApiClient from constants import starting_height, DefaultCache, wqueue @@ -45,13 +45,13 @@ class MainWindow(QWidget): # signal: UTXO list has been reloaded (emitted by load_utxos_thread in tabRewards) sig_UTXOsLoaded = pyqtSignal() - def __init__(self, parent, imgDir): + def __init__(self, parent, imgDir,app): super(QWidget, self).__init__(parent) self.parent = parent self.imgDir = imgDir self.runInThread = ThreadFuns.runInThread self.lock = threading.Lock() - + self.app = app ###-- Create clients and statuses self.hwStatus = 0 self.hwModel = 0 @@ -168,6 +168,7 @@ def connButtons(self): self.header.button_checkRpc.clicked.connect(lambda: self.onCheckRpc()) self.header.button_checkHw.clicked.connect(lambda: self.onCheckHw()) self.header.rpcClientsBox.currentIndexChanged.connect(self.onChangeSelectedRPC) + self.header.changeTheme.currentIndexChanged.connect(self.onChangeTheme) self.header.hwDevices.currentIndexChanged.connect(self.onChangeSelectedHW) ##-- Connect signals self.sig_clearRPCstatus.connect(self.clearRPCstatus) @@ -309,10 +310,46 @@ def onChangeSelectedRPC(self, i): self.parent.cache['selectedRPC_index'] = persistCacheSetting('cache_RPCindex',i) self.runInThread(self.updateRPCstatus, (True,), ) + def onChangeTheme(self, i): + # Don't update when we are clearing the box + self.toggle_stylesheet(i) + + def onCleanConsole(self): self.consoleArea.clear() + def toggle_stylesheet(self,i): + ''' + Toggle the stylesheet to use the desired path in the Qt resource + system (prefixed by `:/`) or generically (a path to a file on + system). + + :path: A full path to a resource or file on system + ''' + #theme1 - dark + #theme2 hyrid + #theme3 pivx light + # get the QApplication instance, or crash if not set + app = self.app + self.settings = settings = QSettings('PIVX', 'PET4L') + settings.setValue("qt_theme",i) + if app is None: + raise RuntimeError("No Qt Application found.") + #get path for index + if i == 0: + path = "" + elif i == 1: + import qdarkstyle + path = qdarkstyle.load_stylesheet_pyqt5() + elif i == 2: + path = open('src/styles/theme3/app.css').read() + elif i == 3: + path = open('src/styles/theme2/app.css').read() + elif i == 4: + path = open('src/styles/theme1/app.css').read() + + app.setStyleSheet(path) def onSaveConsole(self): timestamp = strftime('%Y-%m-%d_%H-%M-%S', gmtime(now())) diff --git a/src/qt/.DS_Store b/src/qt/.DS_Store new file mode 100644 index 0000000..35325d5 Binary files /dev/null and b/src/qt/.DS_Store differ diff --git a/src/qt/dlg_signmessage.py b/src/qt/dlg_signmessage.py index 7baf9f4..8e17443 100644 --- a/src/qt/dlg_signmessage.py +++ b/src/qt/dlg_signmessage.py @@ -382,7 +382,7 @@ def __init__(self): # row2b fromAddress/fromSpath row2b = QHBoxLayout() self.hwAccountSpingBox = QSpinBox() - self.hwAccountSpingBox.setFixedWidth(50) + self.hwAccountSpingBox.setFixedWidth(70) self.hwAccountSpingBox.setToolTip("account number of the hardware wallet.\nIf unsure put 0") self.hwAccountSpingBox.setValue(0) row2b.addWidget(QLabel("Account n.")) diff --git a/src/qt/guiHeader.py b/src/qt/guiHeader.py index a31bbbc..c61cd9c 100644 --- a/src/qt/guiHeader.py +++ b/src/qt/guiHeader.py @@ -6,7 +6,7 @@ import os -from PyQt5.QtCore import Qt +from PyQt5.QtCore import Qt, QSettings from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import QPushButton, QLabel, QGridLayout, QHBoxLayout, QComboBox, QWidget @@ -34,6 +34,19 @@ def __init__(self, caller, *args, **kwargs): self.rpcLed.setToolTip("%s" % caller.rpcStatusMess) self.rpcLed.setPixmap(caller.ledGrayH_icon) self.centralBox.addWidget(self.rpcLed, 0, 3) + self.changeTheme = QComboBox() + self.changeTheme.setToolTip("Select UI Theme") + self.changeTheme.addItem("Light",0) + self.changeTheme.addItem("Dark",1) + self.changeTheme.addItem("PIVX Light Hybrid",2) + self.changeTheme.addItem("PIVX Hybrid",3) + self.changeTheme.addItem("PIVX Dark",4) + self.settings = settings = QSettings('PIVX', 'PET4L') + self.changeTheme.setCurrentIndex(settings.value("qt_theme",0)) + labeltheme = QLabel("UI Theme") + self.centralBox.addWidget(labeltheme, 3, 0) + self.centralBox.addWidget(self.changeTheme, 3, 1) + self.lastPingBox = QWidget() sp_retain = QSizePolicy() sp_retain.setRetainSizeWhenHidden(True) diff --git a/src/qt/gui_tabRewards.py b/src/qt/gui_tabRewards.py index f93fcba..d053f99 100644 --- a/src/qt/gui_tabRewards.py +++ b/src/qt/gui_tabRewards.py @@ -37,27 +37,27 @@ def initRewardsForm(self): line1.addWidget(QLabel("Account HW")) self.edt_hwAccount = QSpinBox() self.edt_hwAccount.setMaximum(9999) - self.edt_hwAccount.setFixedWidth(50) + self.edt_hwAccount.setFixedWidth(70) self.edt_hwAccount.setToolTip("account number of the hardware wallet.\nIf unsure put 0") self.edt_hwAccount.setValue(0) line1.addWidget(self.edt_hwAccount) line1.addWidget(QLabel("spath from")) self.edt_spathFrom = QSpinBox() self.edt_spathFrom.setMaximum(9999) - self.edt_spathFrom.setFixedWidth(50) + self.edt_spathFrom.setFixedWidth(70) self.edt_spathFrom.setToolTip("starting address n.") self.edt_spathFrom.setValue(0) line1.addWidget(self.edt_spathFrom) line1.addWidget(QLabel("spath to")) self.edt_spathTo = QSpinBox() self.edt_spathTo.setMaximum(9999) - self.edt_spathTo.setFixedWidth(50) + self.edt_spathTo.setFixedWidth(70) self.edt_spathTo.setToolTip("ending address n.") self.edt_spathTo.setValue(10) line1.addWidget(self.edt_spathTo) line1.addWidget(QLabel("internal/external")) self.edt_internalExternal = QSpinBox() - self.edt_internalExternal.setFixedWidth(50) + self.edt_internalExternal.setFixedWidth(70) self.edt_internalExternal.setToolTip("ending address n.") self.edt_internalExternal.setValue(0) self.edt_internalExternal.setMaximum(1) diff --git a/src/styles/.DS_Store b/src/styles/.DS_Store new file mode 100644 index 0000000..31594ce Binary files /dev/null and b/src/styles/.DS_Store differ diff --git a/src/styles/theme1/app-icons/bg.png b/src/styles/theme1/app-icons/bg.png new file mode 100755 index 0000000..f46d13a Binary files /dev/null and b/src/styles/theme1/app-icons/bg.png differ diff --git a/src/styles/theme1/app-icons/cb_up_down_arrow.png b/src/styles/theme1/app-icons/cb_up_down_arrow.png new file mode 100755 index 0000000..7364c81 Binary files /dev/null and b/src/styles/theme1/app-icons/cb_up_down_arrow.png differ diff --git a/src/styles/theme1/app-icons/checkbox_checked.png b/src/styles/theme1/app-icons/checkbox_checked.png new file mode 100644 index 0000000..ba6b0ff Binary files /dev/null and b/src/styles/theme1/app-icons/checkbox_checked.png differ diff --git a/src/styles/theme1/app-icons/checkbox_checked_disabled.png b/src/styles/theme1/app-icons/checkbox_checked_disabled.png new file mode 100644 index 0000000..84580a6 Binary files /dev/null and b/src/styles/theme1/app-icons/checkbox_checked_disabled.png differ diff --git a/src/styles/theme1/app-icons/checkbox_checked_hover.png b/src/styles/theme1/app-icons/checkbox_checked_hover.png new file mode 100644 index 0000000..020d228 Binary files /dev/null and b/src/styles/theme1/app-icons/checkbox_checked_hover.png differ diff --git a/src/styles/theme1/app-icons/checkbox_indeterminate.png b/src/styles/theme1/app-icons/checkbox_indeterminate.png new file mode 100644 index 0000000..43dcb40 Binary files /dev/null and b/src/styles/theme1/app-icons/checkbox_indeterminate.png differ diff --git a/src/styles/theme1/app-icons/checkbox_indeterminate_disabled.png b/src/styles/theme1/app-icons/checkbox_indeterminate_disabled.png new file mode 100644 index 0000000..141731a Binary files /dev/null and b/src/styles/theme1/app-icons/checkbox_indeterminate_disabled.png differ diff --git a/src/styles/theme1/app-icons/checkbox_indeterminate_hover.png b/src/styles/theme1/app-icons/checkbox_indeterminate_hover.png new file mode 100644 index 0000000..247d366 Binary files /dev/null and b/src/styles/theme1/app-icons/checkbox_indeterminate_hover.png differ diff --git a/src/styles/theme1/app-icons/checkbox_unchecked.png b/src/styles/theme1/app-icons/checkbox_unchecked.png new file mode 100644 index 0000000..af18b4a Binary files /dev/null and b/src/styles/theme1/app-icons/checkbox_unchecked.png differ diff --git a/src/styles/theme1/app-icons/checkbox_unchecked_disabled.png b/src/styles/theme1/app-icons/checkbox_unchecked_disabled.png new file mode 100644 index 0000000..2fd0ec1 Binary files /dev/null and b/src/styles/theme1/app-icons/checkbox_unchecked_disabled.png differ diff --git a/src/styles/theme1/app-icons/checkbox_unchecked_hover.png b/src/styles/theme1/app-icons/checkbox_unchecked_hover.png new file mode 100644 index 0000000..918d475 Binary files /dev/null and b/src/styles/theme1/app-icons/checkbox_unchecked_hover.png differ diff --git a/src/styles/theme1/app-icons/down_arrow.png b/src/styles/theme1/app-icons/down_arrow.png new file mode 100644 index 0000000..0a77d70 Binary files /dev/null and b/src/styles/theme1/app-icons/down_arrow.png differ diff --git a/src/styles/theme1/app-icons/down_arrow_disabled.png b/src/styles/theme1/app-icons/down_arrow_disabled.png new file mode 100755 index 0000000..bbe1023 Binary files /dev/null and b/src/styles/theme1/app-icons/down_arrow_disabled.png differ diff --git a/src/styles/theme1/app-icons/down_arrow_hover.png b/src/styles/theme1/app-icons/down_arrow_hover.png new file mode 100644 index 0000000..166de5d Binary files /dev/null and b/src/styles/theme1/app-icons/down_arrow_hover.png differ diff --git a/src/styles/theme1/app-icons/down_arrow_unit.png b/src/styles/theme1/app-icons/down_arrow_unit.png new file mode 100644 index 0000000..22497bd Binary files /dev/null and b/src/styles/theme1/app-icons/down_arrow_unit.png differ diff --git a/src/styles/theme1/app-icons/message_critical.png b/src/styles/theme1/app-icons/message_critical.png new file mode 100644 index 0000000..952c285 Binary files /dev/null and b/src/styles/theme1/app-icons/message_critical.png differ diff --git a/src/styles/theme1/app-icons/message_info.png b/src/styles/theme1/app-icons/message_info.png new file mode 100644 index 0000000..ce746e6 Binary files /dev/null and b/src/styles/theme1/app-icons/message_info.png differ diff --git a/src/styles/theme1/app-icons/message_question.png b/src/styles/theme1/app-icons/message_question.png new file mode 100755 index 0000000..7127820 Binary files /dev/null and b/src/styles/theme1/app-icons/message_question.png differ diff --git a/src/styles/theme1/app-icons/message_warning.png b/src/styles/theme1/app-icons/message_warning.png new file mode 100644 index 0000000..693ccea Binary files /dev/null and b/src/styles/theme1/app-icons/message_warning.png differ diff --git a/src/styles/theme1/app-icons/radiobutton_checked.png b/src/styles/theme1/app-icons/radiobutton_checked.png new file mode 100755 index 0000000..0964ca4 Binary files /dev/null and b/src/styles/theme1/app-icons/radiobutton_checked.png differ diff --git a/src/styles/theme1/app-icons/radiobutton_checked_disabled.png b/src/styles/theme1/app-icons/radiobutton_checked_disabled.png new file mode 100755 index 0000000..91e51d8 Binary files /dev/null and b/src/styles/theme1/app-icons/radiobutton_checked_disabled.png differ diff --git a/src/styles/theme1/app-icons/radiobutton_checked_hover.png b/src/styles/theme1/app-icons/radiobutton_checked_hover.png new file mode 100755 index 0000000..86d7d32 Binary files /dev/null and b/src/styles/theme1/app-icons/radiobutton_checked_hover.png differ diff --git a/src/styles/theme1/app-icons/radiobutton_unchecked.png b/src/styles/theme1/app-icons/radiobutton_unchecked.png new file mode 100755 index 0000000..6043468 Binary files /dev/null and b/src/styles/theme1/app-icons/radiobutton_unchecked.png differ diff --git a/src/styles/theme1/app-icons/radiobutton_unchecked_disabled.png b/src/styles/theme1/app-icons/radiobutton_unchecked_disabled.png new file mode 100755 index 0000000..e53c0a4 Binary files /dev/null and b/src/styles/theme1/app-icons/radiobutton_unchecked_disabled.png differ diff --git a/src/styles/theme1/app-icons/radiobutton_unchecked_hover.png b/src/styles/theme1/app-icons/radiobutton_unchecked_hover.png new file mode 100755 index 0000000..feaca70 Binary files /dev/null and b/src/styles/theme1/app-icons/radiobutton_unchecked_hover.png differ diff --git a/src/styles/theme1/app-icons/slider_switcher.png b/src/styles/theme1/app-icons/slider_switcher.png new file mode 100644 index 0000000..448fe49 Binary files /dev/null and b/src/styles/theme1/app-icons/slider_switcher.png differ diff --git a/src/styles/theme1/app-icons/slider_switcher_disabled.png b/src/styles/theme1/app-icons/slider_switcher_disabled.png new file mode 100755 index 0000000..f61646d Binary files /dev/null and b/src/styles/theme1/app-icons/slider_switcher_disabled.png differ diff --git a/src/styles/theme1/app-icons/slider_switcher_hover.png b/src/styles/theme1/app-icons/slider_switcher_hover.png new file mode 100644 index 0000000..e0a0476 Binary files /dev/null and b/src/styles/theme1/app-icons/slider_switcher_hover.png differ diff --git a/src/styles/theme1/app-icons/spinBox.png b/src/styles/theme1/app-icons/spinBox.png new file mode 100644 index 0000000..97a8cb3 Binary files /dev/null and b/src/styles/theme1/app-icons/spinBox.png differ diff --git a/src/styles/theme1/app-icons/spinBoxDisabled.png b/src/styles/theme1/app-icons/spinBoxDisabled.png new file mode 100755 index 0000000..0db6bc1 Binary files /dev/null and b/src/styles/theme1/app-icons/spinBoxDisabled.png differ diff --git a/src/styles/theme1/app-icons/spinBoxFocus.png b/src/styles/theme1/app-icons/spinBoxFocus.png new file mode 100644 index 0000000..87dbe4b Binary files /dev/null and b/src/styles/theme1/app-icons/spinBoxFocus.png differ diff --git a/src/styles/theme1/app-icons/spinBoxHover.png b/src/styles/theme1/app-icons/spinBoxHover.png new file mode 100644 index 0000000..176d81a Binary files /dev/null and b/src/styles/theme1/app-icons/spinBoxHover.png differ diff --git a/src/styles/theme1/app-icons/splash_bg.png b/src/styles/theme1/app-icons/splash_bg.png new file mode 100644 index 0000000..ad9da37 Binary files /dev/null and b/src/styles/theme1/app-icons/splash_bg.png differ diff --git a/src/styles/theme1/app-icons/toolbutton_down_arrow.png b/src/styles/theme1/app-icons/toolbutton_down_arrow.png new file mode 100755 index 0000000..81d3203 Binary files /dev/null and b/src/styles/theme1/app-icons/toolbutton_down_arrow.png differ diff --git a/src/styles/theme1/app-icons/toolbutton_right_arrow.png b/src/styles/theme1/app-icons/toolbutton_right_arrow.png new file mode 100755 index 0000000..bed059a Binary files /dev/null and b/src/styles/theme1/app-icons/toolbutton_right_arrow.png differ diff --git a/src/styles/theme1/app-icons/up_arrow.png b/src/styles/theme1/app-icons/up_arrow.png new file mode 100644 index 0000000..f401d77 Binary files /dev/null and b/src/styles/theme1/app-icons/up_arrow.png differ diff --git a/src/styles/theme1/app-icons/up_arrow_disabled.png b/src/styles/theme1/app-icons/up_arrow_disabled.png new file mode 100755 index 0000000..09e47d7 Binary files /dev/null and b/src/styles/theme1/app-icons/up_arrow_disabled.png differ diff --git a/src/styles/theme1/app-icons/up_arrow_hover.png b/src/styles/theme1/app-icons/up_arrow_hover.png new file mode 100644 index 0000000..05ebfa7 Binary files /dev/null and b/src/styles/theme1/app-icons/up_arrow_hover.png differ diff --git a/src/styles/theme1/app.css b/src/styles/theme1/app.css new file mode 100755 index 0000000..c284990 --- /dev/null +++ b/src/styles/theme1/app.css @@ -0,0 +1,1207 @@ +/*-------------------------------------------- +Widget CSS +--------------------------------------------*/ +QWidget{ + outline: none; +} +/*-------------------------------------------- +Main Window CSS +--------------------------------------------*/ +QMainWindow{ + background-color: #1f1f1f; + border: 0px solid transparent; + background-image: url("src/styles/theme1/app-icons/bg"); + background-position: bottom left; + background-repeat: no-repeat; +} +QMainWindow .QFrame{ + border: 1px solid transparent; +} +QDialog .QFrame{ + border: 1px solid transparent; +} +QMainWindow::separator { + width: 0px; + height: 0px; + padding: 0px; + margin: 0px; +} +QMainWindow +#frameOtherTokens, +#frameRecentTransactions, +#frameRequest, +#frameFee{ + background-color: #2e2e2e; +} +QMainWindow .QFrame#frameContract{ + background-color: #2a2a2a; +} +QFrame#hLine, +#hLine2, +#hLine3, +#hLine4{ + border-top: 1px solid #404041; +} +QFrame#hContractLine, +#hContractLine2{ + border-top: 1px solid transparent; +} +QFrame#vLine, +#vLine2{ + border-left: 1px solid #404041; +} +WalletFrame{ + background-color: #272727; +} +QDialog{ + background-color: #272727; +} +QLabel{ + color: #ffffff; +} +QLabel::disabled{ + color: rgba(255, 255, 255, 10%); +} +QLabel#labelTotal, +#labelWatchTotal, +#labelGeneral, +#labelNetwork, +#labelBlockChain, +#labelMempoolTitle{ + color: #6b04e8; +} +QLabel#overriddenByCommandLineLabel{ + color: #bdbdbd; +} +NavigationBar #labelLogo{ + image:url(":/icons/logo"); +} +.QFrame#frameBlocks { + background: transparent; +} +NavigationBar #hLineLogo, +NavigationBar #hLineStatus{ + border-top: 1px solid rgba(255, 255, 255, 10%); +} +/*-------------------------------------------- +Line Edit CSS +--------------------------------------------*/ +QLineEdit{ + border: 1px solid #5a5a5d; + border-radius: 12px; + background-color: #282828; + color: #bdbdbd; + padding: 4px; +} +QLineEdit::hover:!read-only{ + border: 1px solid #7e7e7e; +} +QLineEdit::focus:!read-only{ + border: 1px solid #7e7e7e; +} +QLineEdit::disabled{ + border: 1px solid rgba(59, 59, 59, 40%); + color: rgba(150, 150, 150, 10%); +} +QAbstractItemView#autoCompleterPopup{ + background-color: #2e2e2e; + border: none; + padding: 4px; +} +QAbstractItemView#autoCompleterPopup::item{ + border: none; + border-radius: 10px; + background-color: #2e2e2e; + color: #ffffff; + padding: 4px; + padding-left: 10px; +} +QAbstractItemView#autoCompleterPopup::item:selected { + background-color: #545454; + color: #ffffff; + padding: 4px; +} +/*-------------------------------------------- +List Viev CSS +--------------------------------------------*/ +QListView { + background-color: #2e2e2e; + border: none; +} +/*-------------------------------------------- +Combo Box CSS +--------------------------------------------*/ +QComboBox { + border: 1px solid #5a5a5d; + border-radius: 12px; + background-color: #2a2a2a; + color: #ffffff; + padding: 4px; + padding-left: 10px; + padding-right: 8px; + combobox-popup: 0; +} +QComboBox:hover { + border: 1px solid #7e7e7e; +} +QComboBox:drop-down { + border: 0px; + border-left: 1px solid #686868; + margin-left: -8px; +} +QComboBox:down-arrow { + image: url("src/styles/theme1/app-icons/down_arrow"); + width: 6px; + height: 10px; + top: 1px; +} +QComboBox QAbstractItemView::item { + border: none; + border-radius: 10px; + background-color: #2e2e2e; + color: #ffffff; + padding: 4px; + padding-left: 10px; +} +QComboBox QAbstractItemView::item:selected { + background-color: #545454; + color: #ffffff; + padding: 4px; +} +QComboBox QAbstractItemView{ + background-color: #2e2e2e; + border: none; + border-top: 1px solid #727272; + border-bottom: 1px solid #727272; + border-radius: 10px; + padding: 4px; + margin-top: 3px; + margin-bottom: 3px; +} +QComboBox::disabled { + border: 1px solid rgba(59, 59, 59, 40%); + color: rgba(255, 255, 255, 10%); +} +QComboBox:drop-down:disabled { + border-left: 1px solid rgba(59, 59, 59, 40%); +} +QComboBox::down-arrow:disabled { + image: url("src/styles/theme1/app-icons/down_arrow_disabled"); +} +/*-------------------------------------------- +Group Box CSS +--------------------------------------------*/ +QGroupBox +{ + border: 0px solid transparent; + margin-top: 20px; + background-color: #2e2e2e; +} +QGroupBox::title { + color: #ffffff; + subcontrol-position: top left; + left: -3px; + padding: -40px 3px 0px 3px; +} +QGroupBox::title:disabled { + color: rgba(255, 255, 255, 10%); +} +QGroupBox#groupBoxExpert { + background-color: transparent; +} +/*-------------------------------------------- +Slider CSS +--------------------------------------------*/ +QSlider { + border: none; + background-color: none; +} +QSlider:horizontal{ + min-height: 36px; +} +QSlider::groove:horizontal { + background-color: transparent; + height: 20px; + left: 16px; + right: 7px; +} +QSlider::handle:horizontal { + background-image: url("src/styles/theme1/app-icons/slider_switcher"); + background-repeat: none; + margin: 2px -10px -2px; +} +QSlider::handle:horizontal:active { + background-image: url("src/styles/theme1/app-icons/slider_switcher_hover"); + background-repeat: none; + margin: 2px -10px -2px; +} +QSlider::add-page:horizontal { + margin: 9px -8px; + border: none; + background: #d7d7d7; + border-right: 1px solid #ababab; +} +QSlider::sub-page:horizontal { + margin: 9px -9px; + border: none; + background: #7957d5; + border-left: 1px solid #8449a9; +} +QSlider::add-page:horizontal:disabled { + background: rgba(215, 215, 215, 40%); + border-right: 1px solid rgba(171, 171, 171, 40%); +} +QSlider::sub-page:horizontal:disabled { + background: rgba(87, 178, 213, 40%); + border-left: 1px solid rgba(73, 142, 169, 40%); +} +QSlider::handle:horizontal:disabled { + background-image: url("src/styles/theme1/app-icons/slider_switcher_disabled"); +} +/*-------------------------------------------- +Spin Box CSS +--------------------------------------------*/ +QAbstractSpinBox { + padding: 4px; + background-color: #282828; + background-position: right; + background-repeat: no-repeat; + border: 1px solid #5a5a5d; + border-radius: 12px; + color: #bdbdbd; + padding-left: 12px; +} +QAbstractSpinBox:hover { + border: 1px solid #7e7e7e; +} +QAbstractSpinBox::up-button { + border: none; + border-left: 1px solid #686868; + width: 22px; + background-color: transparent; + border-top-right-radius: 12px; +} +QAbstractSpinBox::down-button { + border: none; + border-left: 1px solid #686868; + margin-top: -1px; + width: 22px; + background-color: transparent; + border-bottom-right-radius: 12px; +} +QAbstractSpinBox::up-arrow { + image: url("src/styles/theme1/app-icons/up_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-top: 5px; +} +QAbstractSpinBox::down-arrow { + image: url("src/styles/theme1/app-icons/down_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 5px; +} +QAbstractSpinBox::up-arrow:hover{ + image: url("src/styles/theme1/app-icons/up_arrow_hover"); +} +QAbstractSpinBox::down-arrow:hover{ + image: url("src/styles/theme1/app-icons/down_arrow_hover"); +} +QAbstractSpinBox::disabled { + border: 1px solid rgba(59, 59, 59, 40%); + color: rgba(189, 189, 189, 10%); +} +QAbstractSpinBox::up-button:disabled { + border-left: 1px solid rgba(59, 59, 59, 40%); +} +QAbstractSpinBox::down-button:disabled { + border-left: 1px solid rgba(59, 59, 59, 40%); +} +QAbstractSpinBox::up-arrow:disabled, +QAbstractSpinBox::up-arrow:off { + image: url("src/styles/theme1/app-icons/up_arrow_disabled"); +} +QAbstractSpinBox::down-arrow:disabled, +QAbstractSpinBox::down-arrow:off { + image: url("src/styles/theme1/app-icons/down_arrow_disabled"); +} +/*-------------------------------------------- +Scroll Area CSS +--------------------------------------------*/ +QAbstractScrollArea::corner { + background: #222222; + border: 0px; +} +/*-------------------------------------------- +Scroll Bar Vertical CSS +--------------------------------------------*/ +QScrollBar{ + background: none; +} +QScrollBar:up-arrow:vertical, QScrollBar::down-arrow:vertical { + qproperty-visible: false; +} +QScrollBar::add-line:vertical { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::sub-line:vertical { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: rgba(255, 255, 255, 0.0); +} +QScrollBar:vertical { + border-radius: 0px; + background: #222222; + width: 16px; + padding: 5px 4px; +} +QScrollBar::handle:vertical { + border: none; + background: #2e2e2e; + border-radius: 4px; + min-height: 35px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(46, 46, 46, 40%); +} +QTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; + background: #222222; + width: 19px; + padding: 10px 4px; +} +QTextEdit QScrollBar::handle:vertical { + border: none; + background: #2e2e2e; + border-radius: 5px; + min-height: 30px; +} +QTextEdit QScrollBar::handle:vertical:disabled { + background: rgba(46, 46, 46, 40%); +} +QPlainTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; + background: #222222; + width: 19px; + padding: 10px 4px; +} +QPlainTextEdit QScrollBar::handle:vertical { + border: none; + background: #2e2e2e; + border-radius: 5px; + min-height: 30px; +} +QPlainTextEdit QScrollBar::handle:vertical:disabled { + background: rgba(46, 46, 46, 40%); +} +QComboBox QScrollBar:vertical { + border-radius: 7px; + background: #222222; + width: 16px; + padding: 5px 4px; +} +QComboBox QScrollBar::handle:vertical { + border: none; + background: #2e2e2e; + border-radius: 4px; + min-height: 35px; +} +QComboBox QScrollBar::handle:vertical:disabled { + background: rgba(46, 46, 46, 40%); +} +/*-------------------------------------------- +Scroll Bar Horizontal CSS +--------------------------------------------*/ +QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal { + qproperty-visible: false; +} +QScrollBar::add-line:horizontal { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::sub-line:horizontal { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { + background: rgba(255, 255, 255, 0.0); +} +QScrollBar:horizontal { + border-radius: 0px; + background: #222222; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #2e2e2e; + border-radius: 4px; + min-width: 30px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(46, 46, 46, 40%); +} +/*-------------------------------------------- +Table View CSS +--------------------------------------------*/ +QHeaderView{ + color: white; + background-color: transparent; + border: none; +} +QHeaderView:section{ + padding: 6px 20px 6px 6px; + border: none; + background-color: #2e2e2e; +} +QHeaderView::down-arrow { + image: url("src/styles/theme1/app-icons/down_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 1px; +} +QHeaderView::up-arrow { + image: url("src/styles/theme1/app-icons/up_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 1px; +} +QTableView{ + color: #C5C5C5; + background-color: #2e2e2e; + alternate-background-color: #393939; + border: none; + font: normal; + qproperty-showGrid: false; + qproperty-alternatingRowColors: true; + qproperty-selectionBehavior: SelectRows; +} +QTableView::item{ + border: none; +} +QTableView::item:selected{ + qproperty-showGrid: false; + background: rgba(0, 138, 200, 40%); + color: white; +} +QHeaderView::disabled{ + color: rgba(255, 255, 255, 10%); +} +QHeaderView::down-arrow:disabled { + image: url("src/styles/theme1/app-icons/down_arrow_disabled"); + width: 6px; + height: 4px; +} +QHeaderView::up-arrow:disabled { + image: url("src/styles/theme1/app-icons/up_arrow_disabled"); + width: 6px; + height: 4px; +} +QTableView::disabled{ + color: rgba(197, 197, 197, 10%); +} +/*-------------------------------------------- +QTextEdit CSS +--------------------------------------------*/ +QTextEdit { + border: 1px solid #5a5a5d; + border-radius: 12px; + background-color: #282828; + color: #bdbdbd; + padding-left: 5px; +} +QTextEdit::hover:!read-only{ + border: 1px solid #7e7e7e; +} +QTextEdit::focus:!read-only{ + border: 1px solid #7e7e7e; +} +QTextEdit::disabled { + border: 1px solid rgba(90, 90, 93, 40%); + color: rgba(42, 42, 42, 10%); +} +/*-------------------------------------------- +QPlainTextEdit CSS +--------------------------------------------*/ +QPlainTextEdit { + border: 1px solid #5a5a5d; + border-radius: 12px; + background-color: #282828; + color: #bdbdbd; + padding-left: 5px; +} +QPlainTextEdit::hover:!read-only{ + border: 1px solid #7e7e7e; +} +QPlainTextEdit::focus:!read-only{ + border: 1px solid #7e7e7e; +} +QPlainTextEdit::disabled { + border: 1px solid rgba(90, 90, 93, 40%); + color: rgba(42, 42, 42, 10%); +} +/*-------------------------------------------- +Status Bar CSS +--------------------------------------------*/ +QStatusBar{ + background: #ebebeb; +} +QStatusBar QLabel{ + border: 1px solid transparent; + color: black; + font: 10pt; +} +QStatusBar::item { + border: none; +} +QStatusBar QLabel::disabled{ + border: 1px solid transparent; + color: rgba(0, 0, 0, 10%); +} +UnitDisplayStatusBarControl { + color: #ababab; + background: rgba(25, 25, 25, 80%); + border: 1px solid #5a5a5d; + border-radius: 12px; + font: 16px; + padding: 0px; +} +UnitDisplayStatusBarControl QMenu::item { + border: none; + border-radius: 10px; + background-color: #2e2e2e; + color: #ffffff; + padding: 4px; + padding-left: 10px; +} +UnitDisplayStatusBarControl QMenu::item:selected { + background-color: #545454; + color: #ffffff; + padding: 4px; +} +UnitDisplayStatusBarControl QMenu{ + background-color: #2e2e2e; + border: none; + border-top: 1px solid #727272; + border-bottom: 1px solid #727272; + border-radius: 10px; + padding: 4px; + margin: 0px; +} +/*-------------------------------------------- +Progress Bar CSS +--------------------------------------------*/ +QProgressBar { + background-color: #2e2e2e; + border: 1px solid #2e2e2e; + font: 10pt; + color: white; + border-radius: 0px; + text-align: center; +} +QProgressBar::chunk { + background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #007cb3, stop: 1 #029ce0); + border-radius: 0px; +} +QProgressBar::disabled { + border: 1px solid rgba(46, 46, 46, 40%); + color: rgba(255, 255, 255, 10%); +} +/*-------------------------------------------- +Tab Bar CSS +--------------------------------------------*/ +QTabBar::tab { + background-color: transparent; + color: rgba(255, 255, 255, 60%); + padding: 10px 15px; + border-width: 0px; + border-radius: 0px; + border-style: none; + border-bottom: 5px solid transparent; +} +QTabBar::tab:selected { + color: white; + border-bottom: 5px solid rgba(0, 138, 200, 40%); +} +QTabBar::tab:hover:!selected { + color: rgba(255, 255, 255, 85%); + border-bottom: 5px solid rgba(0, 138, 200, 90%); +} +QTabBar::tab:disabled { + color: rgba(255, 255, 255, 30%); +} +QTabWidget::pane { + border: none; + border-top: none; + background-color: #2e2e2e; +} +TitleBar QTabBar::tab { + padding: 5px 10px; +} +/*-------------------------------------------- +MenuBar CSS +--------------------------------------------*/ +QMenuBar { + background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #cacaca, stop: 1 #aaaaaa); +} +QMenuBar::item { + background-color: transparent; + padding: 5px 6px; + border-radius: 4px; + color: #696869; +} +QMenuBar::item:selected { + border: none; + color: #232121; +} +QMenuBar::item:disabled { + color: rgba(105, 104, 105, 10%); +} +/*-------------------------------------------- +Menu CSS +--------------------------------------------*/ +QMenu{ + border: none; +} +QMenu::item { + border: none; + padding: 5px 32px; + background-color: #deddde; + color: #636363; +} +QMenu::item:selected { + background-color: #cfcfcf; + color:#232121; +} +QMenu::separator{ + height: 1px; + background-color: #d2d1d2; +} +QMenu::icon{ + margin-left: 15px; +} +QMenu::item:disabled { + color: #a6a6a6; +} +/*-------------------------------------------- +Check Box CSS +--------------------------------------------*/ +QCheckBox{ + color: #bdbdbd; + outline-style: none; +} +QCheckBox:hover, QCheckBox:checked { + color: #ffffff; +} +QCheckBox:disabled { + color: rgba(255, 255, 255, 10%); +} +QCheckBox::indicator { + width: 16px; + height: 16px; +} +QCheckBox::indicator::unchecked { + image: url(src/styles/theme1/app-icons/checkbox_unchecked); +} +QCheckBox::indicator::checked { + image: url(src/styles/theme1/app-icons/checkbox_checked); +} +QCheckBox:indicator:indeterminate { + image: url(src/styles/theme1/app-icons/checkbox_indeterminate); +} +QCheckBox::indicator::unchecked:hover { + image: url(src/styles/theme1/app-icons/checkbox_unchecked_hover); +} +QCheckBox::indicator::checked:hover { + image: url(src/styles/theme1/app-icons/checkbox_checked_hover); +} +QCheckBox:indicator:indeterminate:hover { + image: url(src/styles/theme1/app-icons/checkbox_indeterminate_hover); +} +QCheckBox:indicator:unchecked:disabled { + image: url(src/styles/theme1/app-icons/checkbox_unchecked_disabled); +} +QCheckBox:indicator:checked:disabled { + image: url(src/styles/theme1/app-icons/checkbox_checked_disabled); +} +QCheckBox:indicator:indeterminate:disabled { + image: url(src/styles/theme1/app-icons/checkbox_indeterminate_disabled); +} +/*-------------------------------------------- +Radio Button CSS +--------------------------------------------*/ +QRadioButton{ + color: #bdbdbd; + outline-style: none; +} +QRadioButton:hover, QRadioButton:checked { + color: #ffffff; +} +QRadioButton:disabled { + color: rgba(255, 255, 255, 10%); +} +QRadioButton::indicator { + width: 16px; + height: 16px; +} +QRadioButton::indicator::unchecked { + image: url(src/styles/theme1/app-icons/radiobutton_unchecked); +} +QRadioButton::indicator::checked { + image: url(src/styles/theme1/app-icons/radiobutton_checked); +} +QRadioButton::indicator::unchecked:hover { + image: url(src/styles/theme1/app-icons/radiobutton_unchecked_hover); +} +QRadioButton::indicator::checked:hover { + image: url(src/styles/theme1/app-icons/radiobutton_checked_hover); +} +QRadioButton:indicator:unchecked:disabled { + image: url(src/styles/theme1/app-icons/radiobutton_unchecked_disabled); +} +QRadioButton:indicator:checked:disabled { + image: url(src/styles/theme1/app-icons/radiobutton_checked_disabled); +} +/*-------------------------------------------- +Dialogs CSS +--------------------------------------------*/ +QWidget#buttonsContainer { + background: #ebeef3; +} +QWidget#buttonsContainerWhite, +#buttonsContainerWhite_ { + background: #ffffff; +} +QWidget#ReceiveRequestDialog { + background: #272727; +} +QTextEdit#outUri { + border: none; +} +/*-------------------------------------------- +System Tray Message CSS +--------------------------------------------*/ +QBalloonTip{ + background: #e1e1e1; + color: #5a5a5d; + border-color: #5a5a5d; +} +QBalloonTip QLabel{ + color: #5a5a5d; +} +QBalloonTip QPushButton{ + padding: 0px; + min-width: 0em; + background: transparent; + border-radius: 0px; +} +QBalloonTip QPushButton:hover{ + background: transparent; +} +QBalloonTip QPushButton:pressed { + background: transparent; +} +QBalloonTip QPushButton::disabled { + background: transparent; +} +/*-------------------------------------------- +Push Button CSS +--------------------------------------------*/ +QPushButton { + color: white; + background: #029ce0; + border: none; + border-radius: 12px; + min-width: 5em; + padding: 6px; + margin: 0px; +} +QPushButton:hover{ + background: #0188c4; +} +QPushButton:pressed { + background: #007cb3; + color: #a4d1f0; +} +QPushButton::disabled { + color: rgba(255, 255, 255, 40%); + background: rgba(2, 156, 224, 60%); +} +/*-------------------------------------------- +Scroll Area CSS +--------------------------------------------*/ +QScrollArea { + background: transparent; + border:none; +} +QWidget#scrollAreaWidgetContents, QWidget#detailWidget { + background: #2e2e2e; +} +.ABIFunctionField{ + background: transparent; +} +/*-------------------------------------------- +Debug Dialog CSS +--------------------------------------------*/ +QWidget#RPCConsole{ + background-color: #272727; +} +/*-------------------------------------------- +Shut Down Window CSS +--------------------------------------------*/ +QWidget#shutdownWindow{ + background-color: #272727; +} +/*-------------------------------------------- +Tool Button CSS +--------------------------------------------*/ +QToolButton { + background-color: transparent; + padding: 6px; + border: none; +} +QToolButton::hover{ + background-color: rgba(89, 89, 92, 20%); + border-top: 1px solid #2c2c2c; + border-bottom: 1px solid #2c2c2c; + padding-top: 5px; + padding-bottom: 5px; +} +QToolButton::pressed{ + background-color: rgba(89, 89, 92, 30%); +} +QToolButton::disabled{ + background-color: transparent; +} +/*-------------------------------------------- +Calendar CSS +--------------------------------------------*/ +QDateTimeEdit{ + padding: 4px; + background-image: url("src/styles/theme1/app-icons/spinBoxHover"); +} +QDateTimeEdit:drop-down { + border: none; +} +QDateTimeEdit::down-arrow:hover, QDateTimeEdit:down-arrow { + image: url("src/styles/theme1/app-icons/cb_up_down_arrow"); + width: 6px; + height: 10px; + top: 1px; +} +QCalendarWidget QWidget{ + border-radius: 0px; +} +#qt_calendar_navigationbar{ + background: #6b04e8; +} +QCalendarWidget QAbstractSpinBox { + min-width: 0px; + border-radius: 0px; +} +QCalendarWidget QAbstractSpinBox::up-button{ + border-radius: 0px; +} +QCalendarWidget QAbstractSpinBox::down-button{ + border-radius: 0px; +} +QCalendarWidget QMenu{ + padding: 0px; +} +/* normal days */ +QCalendarWidget QAbstractItemView +{ + background-color: #373535; + alternate-background-color: #2E2C2C; + color: #ffffff; + padding-bottom:-1px; +} +QCalendarWidget QAbstractItemView:disabled { + color: #535353; +} +/*-------------------------------------------- +Modal Overlay CSS +--------------------------------------------*/ +#ModalOverlay QProgressBar { + background-color: #e3e2e3; + border: 1px solid #e3e2e3; + font: 1pt; + color: transparent; + border-radius: 0px; + height: 16px; +} +#ModalOverlay QProgressBar::chunk { + border-radius: 0px; +} +#ModalOverlay QLabel { + color: black; +} +#ModalOverlay #labelNumberOfBlocksLeft, +#ModalOverlay #labelLastBlockTime, +#ModalOverlay #labelSyncDone, +#ModalOverlay #labelProgressIncrease, +#ModalOverlay #labelEstimatedTimeLeft, +#ModalOverlay #labelMessage { + color: #9c9c9c; +} +#ModalOverlay #labelNote { + font: 20pt; +} +#contentWidget{ + background: white; + border-radius: 12px; +} +#contentWidget #buttonsContainerWhite{ + border-bottom-right-radius: 12px; + border-bottom-left-radius: 12px; +} +/*-------------------------------------------- +Watch Only Widget CSS +--------------------------------------------*/ +#watchOnlyWidget QAbstractItemView::item, +#watchOnlyWidget QAbstractItemView::item:selected, +#watchOnlyWidget QAbstractItemView{ + padding-left: 0px; + padding: 4px; +} +#watchOnlyWidget { + padding-left: 0px; + padding-right: 0px; + padding: 4px; +} +/*-------------------------------------------- +Tab Bar close button CSS +--------------------------------------------*/ +QToolButton#tabBarTool { + padding: 2px; +} +QToolButton#tabBarTool::hover{ + padding-top: 1px; + padding-bottom: 1px; +} +/*-------------------------------------------- +Stake Page Widget CSS +--------------------------------------------*/ +#StakePage QLabel{ + color: #9c9c9c; +} +#frameStakeInfo { + background-color: #2e2e2e; + border: 1px dotted #9c9c9c; + color: #9c9c9c; + border-radius: 4px; + margin-top: 20px; +} +#frameStakeInfo #labelAssets{ + color: #6b04e8; + font: 17pt; +} +#frameStakeInfo #labelHeight, +#frameStakeInfo #labelWeight, +#frameStakeInfo #labelReward, +#frameStakeInfo #labelROI, +#frameStakeInfo #labelStaking{ + color: white; +} +#frameStakeInfo #hLine{ + border-top: 1px solid #404041; +} +/*-------------------------------------------- +Overview Page Widget CSS +--------------------------------------------*/ +#widgetPending #vLine, +#widgetImmature #vLine_2, +#widgetStake #vLine_3, +#widgetWatchPending #vLine_4, +#widgetWatchImmature #vLine_5, +#widgetWatchStake #vLine_6{ + border-left: 1px solid #404041; +} +#widgetStatus #labelLogo{ + width: 32px; + height: 32px; + border-radius: 16px; + background-color: transparent; + image:url(":/icons/bitcoin"); + margin-top: 4px; +} +#widgetRecent #showMoreButton{ + min-width: 3em; + padding: 1px; + border-radius: 8px; + min-height: 16px; + font: 8pt; +} +#widgetTransaction #buttonSend, +#widgetTransaction #buttonReceive{ + padding: 6px; + min-width: 8em; + border-radius: 18px; +} +/*-------------------------------------------- +Token Page Widget CSS +--------------------------------------------*/ +#labelTokenAddressText, +#labelTokenBalanceText{ + color: #969696; +} +#labelTokenBalance{ + color: white; +} +#widgetQRFrame{ + background-color: white; + border-radius: 20px; +} +#widgetQRFrame::disabled{ + background-color: rgba(255, 255, 255, 20%); +} +#widgetQRMargin{ + background-color: #2e2e2e; + border-radius: 20px; + border: 1px solid #9c9c9c; +} +#widgetQRMargin::disabled{ + background-color: rgba(46, 46, 46, 20%); + border: 1px solid rgba(156, 156, 156, 20%); +} +#tokenItemFrame{ + background-color: #393939; + border-radius: 6px; +} +TokenListWidget{ + background-color: #2e2e2e; +} +TokenItemWidget #tokenName, +#labelNewToken{ + color: #C5C5C5; + font: 13pt; +} +TokenItemWidget #tokenBalance{ + color: white; + font: 13pt; +} +TokenItemWidget #senderAddress{ + color: #9c9c9c; + font: 10pt; +} +TokenItemWidget #tokenLogo{ + background-color: #575757; + border-radius: 20px; +} +#coinControlContentsWidget{ + background-color: #2e2e2e; +} +/*-------------------------------------------- +Tree view CSS +--------------------------------------------*/ +QTreeWidget { + background-color:rgba(0,0,0,0); + selection-background-color: #1c536c; + show-decoration-selected:0; +} +QTreeView{ + color: #C5C5C5; + background-color: #2e2e2e; + alternate-background-color: #393939; + border: none; + font: normal; + qproperty-showGrid: false; + qproperty-selectionBehavior: SelectRows; +} +QTreeView::item{ + border: none; + padding: 4px; +} +QTreeView::item:selected{ + qproperty-showGrid: false; + background: #1c536c; + color: white; +} +QTreeView::disabled{ + color: rgba(197, 197, 197, 10%); +} +/*-------------------------------------------- +Scroll bar dark CSS +--------------------------------------------*/ +QScrollBar:vertical { + background: #222222; + width: 16px; + padding: 5px 4px; +} +QScrollBar::handle:vertical { + border: none; + background: #2e2e2e; + border-radius: 4px; + min-height: 35px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(46, 46, 46, 40%); +} + +QScrollBar:horizontal { + background: #222222; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #2e2e2e; + border-radius: 4px; + min-width: 35px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(46, 46, 46, 40%); +} +/*-------------------------------------------- +Check Box CSS +--------------------------------------------*/ +QTreeView::indicator { + width: 16px; + height: 16px; +} +QTreeView::indicator::unchecked { + image: url(src/styles/theme1/app-icons/checkbox_unchecked); +} +QTreeView::indicator::checked { + image: url(src/styles/theme1/app-icons/checkbox_checked); +} +QTreeView:indicator:indeterminate { + image: url(src/styles/theme1/app-icons/checkbox_indeterminate); +} +QTreeView::indicator::unchecked:hover { + image: url(src/styles/theme1/app-icons/checkbox_unchecked_hover); +} +QTreeView::indicator::checked:hover { + image: url(src/styles/theme1/app-icons/checkbox_checked_hover); +} +QTreeView:indicator:indeterminate:hover { + image: url(src/styles/theme1/app-icons/checkbox_indeterminate_hover); +} +QTreeView:indicator:unchecked:disabled { + image: url(src/styles/theme1/app-icons/checkbox_unchecked_disabled); +} +QTreeView:indicator:checked:disabled { + image: url(src/styles/theme1/app-icons/checkbox_checked_disabled); +} +QTreeView:indicator:indeterminate:disabled { + image: url(src/styles/theme1/app-icons/checkbox_indeterminate_disabled); +} diff --git a/src/styles/theme1/buttondark.css b/src/styles/theme1/buttondark.css new file mode 100755 index 0000000..6425da2 --- /dev/null +++ b/src/styles/theme1/buttondark.css @@ -0,0 +1,24 @@ +/*-------------------------------------------- +Button Black CSS +--------------------------------------------*/ +QPushButton { + color: white; + background: #575757; + border: 1px solid #2d2d2e; + border-radius: 12px; + padding: 6px; +} +QPushButton:hover{ + border: 1px solid #bababb; + color: #000000; +} +QPushButton:pressed { + background: #7a7a7b; + border: none; + color: #c4c4c4; +} +QPushButton::disabled { + color: rgba(255, 255, 255, 10%); + background: rgba(87, 87, 87, 40%); + border: 1px solid rgba(45, 45, 46, 40%); +} diff --git a/src/styles/theme1/buttongray.css b/src/styles/theme1/buttongray.css new file mode 100755 index 0000000..e7e3236 --- /dev/null +++ b/src/styles/theme1/buttongray.css @@ -0,0 +1,23 @@ +/*-------------------------------------------- +Button Blue CSS +--------------------------------------------*/ +QPushButton { + color: white; + background: #57b1d4; + border: none; + border-radius: 12px; + min-width: 5em; + padding: 6px; + margin: 0px; +} +QPushButton:hover{ + background: #6cc1e2; +} +QPushButton:pressed { + background: #029ce0; + color: #a4d1f0; +} +QPushButton::disabled { + color: rgba(255, 255, 255, 40%); + background: rgba(87, 177, 212, 60%); +} diff --git a/src/styles/theme1/buttonlight.css b/src/styles/theme1/buttonlight.css new file mode 100755 index 0000000..fb98583 --- /dev/null +++ b/src/styles/theme1/buttonlight.css @@ -0,0 +1,26 @@ +/*-------------------------------------------- +Button White CSS +--------------------------------------------*/ +QPushButton { + color: #5a5a5d; + background: #ffffff; + border-bottom: 1px solid #bababb; + border-radius: 12px; + padding: 6px; +} +QPushButton:hover{ + border: 1px solid #cdcdce; + color: #5a5a5d; + padding-top: 5px; +} +QPushButton:pressed { + background: #bdbdbe; + border: none; + color: #ffffff; +} +QPushButton:disabled { + background: #f7f7f7; + border: 1px solid #cdcdce; + color: #b3b3b4; + padding-top: 5px; +} diff --git a/src/styles/theme1/buttontransparent.css b/src/styles/theme1/buttontransparent.css new file mode 100644 index 0000000..5290e3e --- /dev/null +++ b/src/styles/theme1/buttontransparent.css @@ -0,0 +1,23 @@ +/*-------------------------------------------- +Push Button Transparent CSS +--------------------------------------------*/ +QPushButton { + background-color: transparent; + padding: 6px; + border: none; + min-width: 0px; + border-radius: 0px; +} +QPushButton::hover{ + background-color: rgba(89, 89, 92, 20%); + border-top: 1px solid #2c2c2c; + border-bottom: 1px solid #2c2c2c; + padding-top: 5px; + padding-bottom: 5px; +} +QPushButton::pressed{ + background-color: rgba(89, 89, 92, 30%); +} +QPushButton::disabled{ + background-color: transparent; +} diff --git a/src/styles/theme1/buttontransparentbordered.css b/src/styles/theme1/buttontransparentbordered.css new file mode 100644 index 0000000..e6f7309 --- /dev/null +++ b/src/styles/theme1/buttontransparentbordered.css @@ -0,0 +1,23 @@ +/*-------------------------------------------- +Button Transparent bordered CSS +--------------------------------------------*/ +QPushButton { + color: white; + background-color: transparent; + border: 1px solid #545454; + border-radius: 12px; + min-width: 5em; + padding: 6px; + margin: 0px; +} +QPushButton:hover{ + border: 1px solid #7e7e7e; +} +QPushButton:pressed { + border: 1px solid #6b6b6b; + color: rgba(255, 255, 255, 80%); +} +QPushButton::disabled { + color: rgba(255, 255, 255, 40%); + border-color: rgba(90, 90, 93, 60%); +} diff --git a/src/styles/theme1/config.ini b/src/styles/theme1/config.ini new file mode 100644 index 0000000..d45bd3d --- /dev/null +++ b/src/styles/theme1/config.ini @@ -0,0 +1,64 @@ +[appstyle] +link-color=#2d9ad0 +message-critical-icon=src/styles/theme1/app-icons/message_critical +message-info-icon=src/styles/theme1/app-icons/message_info +message-question-icon=src/styles/theme1/app-icons/message_question +message-warning-icon=src/styles/theme1/app-icons/message_warning +message-icon-height=49 +message-icon-weight=45 + +[tokenviewdelegate] +token-size=54 +symbol-width=60 +margin=5 +background-color-selected=#009ee5 +background-color=#383938 +hline-color=#2e2e2e +foreground-color=#dddddd +amount-color=#ffffff + +[splashscreen] +foreground-color=#ffffff +background-color=#030509 +logo-frame-color=transparent +background-image=src/styles/theme1/app-icons/splash_bg + +[platformstyle] +version=1 +single-color=#008ac8 +text-color=#e6f0f0 +table-color-normal=#ffffff +table-color-input=#2fa5df +table-color-inout=#40bb00 +table-color-output=#40bb00 +table-color-error=#d02e49 +multi-states-icon-color1=#ffffff +multi-states-icon-color2=#2d2d2d +multi-states-icon-color3=#5a5a5d + +[tknviewdelegate] +background-color=#383938 +hline-color=#2e2e2e +foreground-color=#dedede + +[txviewdelegate] +background-color-selected=#0096c3 +background-color=#393939 +alternate-background-color=#2e2e2e +foreground-color=#dedede +foreground-color-selected=#ffffff +amount-color=#ffffff + +[unitdisplaystatusbarcontrol] +menu-margin=5 +icon-height=10 +icon-width=10 +icon-path=src/styles/theme1/app-icons/down_arrow_unit + +[guiconstants] +color-unconfirmed=#808080 +color-negative=#ffffff +color-bareaddress=#8C8C8C +color-tx-status-openuntildate=#4040ff +color-tx-status-danger=#c86464 +color-black=#000000 diff --git a/src/styles/theme1/invalid.css b/src/styles/theme1/invalid.css new file mode 100755 index 0000000..34ab88c --- /dev/null +++ b/src/styles/theme1/invalid.css @@ -0,0 +1,33 @@ +/*-------------------------------------------- +Main Window CSS +--------------------------------------------*/ +QLineEdit{ + border: 3px solid #d02e49; padding: 2px; +} +QTextEdit{ + border: 3px solid #d02e49; padding: 2px; +} +QAbstractSpinBox{ + border: 3px solid #d02e49; padding: 1px; +} +QValidatedTextEdit{ + border: 3px solid #d02e49; + padding: 0px -2px 0px 3px; +} +QValidatedTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; + width: 19px; + padding: 8px 2px 8px 6px; + margin: 0px 2px 0px -2px; +} +QComboBox { + border: 3px solid #d02e49; padding: 2px 6px 2px 8px; +} +QComboBox:drop-down { + margin-left: -6px; +} +QComboBox QLineEdit{ + border: none; padding: 0px; background: transparent; +} diff --git a/src/styles/theme1/navbutton.css b/src/styles/theme1/navbutton.css new file mode 100755 index 0000000..bba3265 --- /dev/null +++ b/src/styles/theme1/navbutton.css @@ -0,0 +1,22 @@ +/*-------------------------------------------- +Tool Button Black CSS +--------------------------------------------*/ +QToolButton { + color: rgba(255, 255, 255, 60%); + background: rgba(45, 45, 45, 85%); + border: 0px solid transparent; + border-radius: 0px; + padding: 10px; +} +QToolButton:pressed, QToolButton:hover:pressed, QToolButton:checked { + color: rgba(255, 255, 255, 85%); + background: rgba(0, 158, 229, 85%); +} +QToolButton:hover:!checked { + color: rgba(45, 45, 45, 85%); + background: rgba(227, 240, 239, 85%); +} +QToolButton:disabled { + color: rgba(255, 255, 255, 10%); + background: rgba(45, 45, 45, 40%); +} diff --git a/src/styles/theme1/navgroupbutton.css b/src/styles/theme1/navgroupbutton.css new file mode 100755 index 0000000..999885c --- /dev/null +++ b/src/styles/theme1/navgroupbutton.css @@ -0,0 +1,26 @@ +/*-------------------------------------------- +Tool Button Black CSS +--------------------------------------------*/ +QToolButton { + color: rgba(255, 255, 255, 60%); + background: rgba(45, 45, 45, 85%); + border: 0px solid transparent; + border-radius: 0px; + padding: 10px 20px 10px 10px; +} +QToolButton:pressed, QToolButton:hover:pressed, QToolButton:checked { + color: rgba(255, 255, 255, 85%); + background: #009ee5; + padding: 3px 20px 5px 10px; + background-image: url("src/styles/theme1/app-icons/toolbutton_down_arrow"); + background-position: center right; + background-repeat: no-repeat; +} +QToolButton:hover:!checked { + color: rgba(45, 45, 45, 85%); + background: rgba(227, 240, 239, 85%); +} +QToolButton:disabled { + color: rgba(255, 255, 255, 10%); + background: rgba(45, 45, 45, 40%); +} diff --git a/src/styles/theme1/navsubgroupbutton.css b/src/styles/theme1/navsubgroupbutton.css new file mode 100755 index 0000000..cc55ba0 --- /dev/null +++ b/src/styles/theme1/navsubgroupbutton.css @@ -0,0 +1,26 @@ +/*-------------------------------------------- +Tool Button Black CSS +--------------------------------------------*/ +QToolButton { + color: rgba(255, 255, 255, 50%); + background: #008ac8; + border: 0px solid transparent; + border-radius: 0px; + padding: 6px 20px 6px 6px; + text-align: right; +} +QToolButton:pressed, QToolButton:hover:pressed, QToolButton:checked { + color: rgba(255, 255, 255, 90%); + background: #008ac8; + background-image: url("src/styles/theme1/app-icons/toolbutton_right_arrow"); + background-position: center right; + background-repeat: no-repeat; +} +QToolButton:hover:!checked { + color: rgba(255, 255, 255, 70%); + background: #008ac8; +} +QToolButton:disabled { + color: rgba(255, 255, 255, 10%); + background: rgba(0, 138, 200, 40%); +} diff --git a/src/styles/theme1/scrollbardark.css b/src/styles/theme1/scrollbardark.css new file mode 100644 index 0000000..2d90ae7 --- /dev/null +++ b/src/styles/theme1/scrollbardark.css @@ -0,0 +1,47 @@ +/*-------------------------------------------- +Scroll bar dark CSS +--------------------------------------------*/ +QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; + background: #222222; + width: 19px; + padding: 10px 4px; +} +QScrollBar::handle:vertical { + border: none; + background: #2e2e2e; + border-radius: 5px; + min-height: 30px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(46, 46, 46, 40%); +} + +QScrollBar:horizontal { + background: #222222; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #2e2e2e; + border-radius: 4px; + min-width: 35px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(46, 46, 46, 40%); +} +#autoCompleterPopup QScrollBar:vertical { + border-radius: 0px; + background: #222222; + width: 16px; + padding: 5px 4px; +} +#autoCompleterPopup QScrollBar::handle:vertical { + border: none; + background: #2e2e2e; + border-radius: 4px; + min-height: 35px; +} diff --git a/src/styles/theme1/scrollbarlight.css b/src/styles/theme1/scrollbarlight.css new file mode 100644 index 0000000..3e833bd --- /dev/null +++ b/src/styles/theme1/scrollbarlight.css @@ -0,0 +1,21 @@ +/*-------------------------------------------- +Scroll Bar Vertical CSS +--------------------------------------------*/ +QTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 9px; + border-bottom-right-radius: 9px; + border-left: 1px solid #6a6a6d; + background: #747474; + width: 19px; + padding: 10px 4px; +} +QTextEdit QScrollBar::handle:vertical { + border: 1px solid #646464; + background: #4c4c4c; + border-radius: 5px; + min-height: 30px; +} +QTextEdit QScrollBar::handle:vertical:disabled { + background: rgba(76, 76, 76, 40%); +} diff --git a/src/styles/theme1/tableviewlight.css b/src/styles/theme1/tableviewlight.css new file mode 100644 index 0000000..eb8cdf5 --- /dev/null +++ b/src/styles/theme1/tableviewlight.css @@ -0,0 +1,88 @@ +/*-------------------------------------------- +Table View light CSS +--------------------------------------------*/ +QHeaderView{ + color: #5a5a5d; + background-color: #e1e1e1; + border: none; +} +QHeaderView:section{ + padding: 6px 20px 6px 6px; + border: none; + background-color: transparent; +} +QHeaderView::down-arrow { + image: url("src/styles/theme1/app-icons/down_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 1px; +} +QHeaderView::up-arrow { + image: url("src/styles/theme1/app-icons/up_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 1px; +} +QTableView{ + background-color: #f3f3f3; + alternate-background-color: #ededed; + border: 1px solid #919192; + font: normal; + qproperty-showGrid: false; + qproperty-alternatingRowColors: true; + qproperty-selectionBehavior: SelectRows; +} +QTableView::item{ + border: none; + color: #989898; +} +QTableView::item:selected{ + qproperty-showGrid: false; + background-color: #ffffff; + color: #5a5a5d; +} + +/*-------------------------------------------- +Scroll Bar Vertical CSS +--------------------------------------------*/ +QScrollBar:vertical { + border-radius: 0px; + border-left: 1px solid #6a6a6d; + background: #747474; + width: 19px; + padding: 10px 4px; +} +QScrollBar::handle:vertical { + border: 1px solid #646464; + background: #4c4c4c; + border-radius: 5px; + min-height: 30px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(76, 76, 76, 40%); +} +/*-------------------------------------------- +Scroll Bar Horizontal CSS +--------------------------------------------*/ +QScrollBar:horizontal { + border-radius: 0px; + border-left: 1px solid #6a6a6d; + background: #747474; + height: 19px; + padding: 4px 10px; +} +QScrollBar::handle:horizontal { + border: 1px solid #646464; + background: #4c4c4c; + border-radius: 5px; + min-height: 30px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(76, 76, 76, 40%); +} +QAbstractScrollArea::corner { + background: #747474; + border: 0px; +} diff --git a/src/styles/theme1/treeview.css b/src/styles/theme1/treeview.css new file mode 100644 index 0000000..cefc0de --- /dev/null +++ b/src/styles/theme1/treeview.css @@ -0,0 +1,95 @@ +/*-------------------------------------------- +Tree view CSS +--------------------------------------------*/ +QTreeWidget { + background-color:rgba(0,0,0,0); + selection-background-color: #1c536c; + show-decoration-selected:0; +} +QTreeView{ + color: #C5C5C5; + background-color: #2e2e2e; + alternate-background-color: #393939; + border: none; + font: normal; + qproperty-showGrid: false; + qproperty-selectionBehavior: SelectRows; +} +QTreeView::item{ + border: none; + padding: 4px; +} +QTreeView::item:selected{ + qproperty-showGrid: false; + background: #1c536c; + color: white; +} +QTreeView::disabled{ + color: rgba(197, 197, 197, 10%); +} +/*-------------------------------------------- +Scroll bar dark CSS +--------------------------------------------*/ +QScrollBar:vertical { + background: #222222; + width: 16px; + padding: 5px 4px; +} +QScrollBar::handle:vertical { + border: none; + background: #2e2e2e; + border-radius: 4px; + min-height: 35px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(46, 46, 46, 40%); +} + +QScrollBar:horizontal { + background: #222222; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #2e2e2e; + border-radius: 4px; + min-width: 35px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(46, 46, 46, 40%); +} +/*-------------------------------------------- +Check Box CSS +--------------------------------------------*/ +QTreeView::indicator { + width: 16px; + height: 16px; +} +QTreeView::indicator::unchecked { + image: url(src/styles/theme1/app-icons/checkbox_unchecked); +} +QTreeView::indicator::checked { + image: url(src/styles/theme1/app-icons/checkbox_checked); +} +QTreeView:indicator:indeterminate { + image: url(src/styles/theme1/app-icons/checkbox_indeterminate); +} +QTreeView::indicator::unchecked:hover { + image: url(src/styles/theme1/app-icons/checkbox_unchecked_hover); +} +QTreeView::indicator::checked:hover { + image: url(src/styles/theme1/app-icons/checkbox_checked_hover); +} +QTreeView:indicator:indeterminate:hover { + image: url(src/styles/theme1/app-icons/checkbox_indeterminate_hover); +} +QTreeView:indicator:unchecked:disabled { + image: url(src/styles/theme1/app-icons/checkbox_unchecked_disabled); +} +QTreeView:indicator:checked:disabled { + image: url(src/styles/theme1/app-icons/checkbox_checked_disabled); +} +QTreeView:indicator:indeterminate:disabled { + image: url(src/styles/theme1/app-icons/checkbox_indeterminate_disabled); +} diff --git a/src/styles/theme2/app-icons/bg.png b/src/styles/theme2/app-icons/bg.png new file mode 100644 index 0000000..c290f18 Binary files /dev/null and b/src/styles/theme2/app-icons/bg.png differ diff --git a/src/styles/theme2/app-icons/cb_up_down_arrow.png b/src/styles/theme2/app-icons/cb_up_down_arrow.png new file mode 100644 index 0000000..0fdbfb8 Binary files /dev/null and b/src/styles/theme2/app-icons/cb_up_down_arrow.png differ diff --git a/src/styles/theme2/app-icons/checkbox_checked.png b/src/styles/theme2/app-icons/checkbox_checked.png new file mode 100644 index 0000000..ef421dc Binary files /dev/null and b/src/styles/theme2/app-icons/checkbox_checked.png differ diff --git a/src/styles/theme2/app-icons/checkbox_checked_disabled.png b/src/styles/theme2/app-icons/checkbox_checked_disabled.png new file mode 100644 index 0000000..5bf957a Binary files /dev/null and b/src/styles/theme2/app-icons/checkbox_checked_disabled.png differ diff --git a/src/styles/theme2/app-icons/checkbox_checked_hover.png b/src/styles/theme2/app-icons/checkbox_checked_hover.png new file mode 100644 index 0000000..b9d7a87 Binary files /dev/null and b/src/styles/theme2/app-icons/checkbox_checked_hover.png differ diff --git a/src/styles/theme2/app-icons/checkbox_indeterminate.png b/src/styles/theme2/app-icons/checkbox_indeterminate.png new file mode 100644 index 0000000..71cad2a Binary files /dev/null and b/src/styles/theme2/app-icons/checkbox_indeterminate.png differ diff --git a/src/styles/theme2/app-icons/checkbox_indeterminate_disabled.png b/src/styles/theme2/app-icons/checkbox_indeterminate_disabled.png new file mode 100644 index 0000000..34762de Binary files /dev/null and b/src/styles/theme2/app-icons/checkbox_indeterminate_disabled.png differ diff --git a/src/styles/theme2/app-icons/checkbox_indeterminate_hover.png b/src/styles/theme2/app-icons/checkbox_indeterminate_hover.png new file mode 100644 index 0000000..100d15e Binary files /dev/null and b/src/styles/theme2/app-icons/checkbox_indeterminate_hover.png differ diff --git a/src/styles/theme2/app-icons/checkbox_unchecked.png b/src/styles/theme2/app-icons/checkbox_unchecked.png new file mode 100644 index 0000000..3fdef4e Binary files /dev/null and b/src/styles/theme2/app-icons/checkbox_unchecked.png differ diff --git a/src/styles/theme2/app-icons/checkbox_unchecked_disabled.png b/src/styles/theme2/app-icons/checkbox_unchecked_disabled.png new file mode 100644 index 0000000..6dc766b Binary files /dev/null and b/src/styles/theme2/app-icons/checkbox_unchecked_disabled.png differ diff --git a/src/styles/theme2/app-icons/checkbox_unchecked_hover.png b/src/styles/theme2/app-icons/checkbox_unchecked_hover.png new file mode 100644 index 0000000..10c4c12 Binary files /dev/null and b/src/styles/theme2/app-icons/checkbox_unchecked_hover.png differ diff --git a/src/styles/theme2/app-icons/down_arrow.png b/src/styles/theme2/app-icons/down_arrow.png new file mode 100644 index 0000000..7b6ab54 Binary files /dev/null and b/src/styles/theme2/app-icons/down_arrow.png differ diff --git a/src/styles/theme2/app-icons/down_arrow_disabled.png b/src/styles/theme2/app-icons/down_arrow_disabled.png new file mode 100644 index 0000000..bbb17ab Binary files /dev/null and b/src/styles/theme2/app-icons/down_arrow_disabled.png differ diff --git a/src/styles/theme2/app-icons/down_arrow_hover.png b/src/styles/theme2/app-icons/down_arrow_hover.png new file mode 100644 index 0000000..953601e Binary files /dev/null and b/src/styles/theme2/app-icons/down_arrow_hover.png differ diff --git a/src/styles/theme2/app-icons/down_arrow_unit.png b/src/styles/theme2/app-icons/down_arrow_unit.png new file mode 100644 index 0000000..617e4c5 Binary files /dev/null and b/src/styles/theme2/app-icons/down_arrow_unit.png differ diff --git a/src/styles/theme2/app-icons/radiobutton_checked.png b/src/styles/theme2/app-icons/radiobutton_checked.png new file mode 100644 index 0000000..45a763d Binary files /dev/null and b/src/styles/theme2/app-icons/radiobutton_checked.png differ diff --git a/src/styles/theme2/app-icons/radiobutton_checked_disabled.png b/src/styles/theme2/app-icons/radiobutton_checked_disabled.png new file mode 100644 index 0000000..db0d24d Binary files /dev/null and b/src/styles/theme2/app-icons/radiobutton_checked_disabled.png differ diff --git a/src/styles/theme2/app-icons/radiobutton_checked_hover.png b/src/styles/theme2/app-icons/radiobutton_checked_hover.png new file mode 100644 index 0000000..f964433 Binary files /dev/null and b/src/styles/theme2/app-icons/radiobutton_checked_hover.png differ diff --git a/src/styles/theme2/app-icons/radiobutton_unchecked.png b/src/styles/theme2/app-icons/radiobutton_unchecked.png new file mode 100644 index 0000000..158df38 Binary files /dev/null and b/src/styles/theme2/app-icons/radiobutton_unchecked.png differ diff --git a/src/styles/theme2/app-icons/radiobutton_unchecked_disabled.png b/src/styles/theme2/app-icons/radiobutton_unchecked_disabled.png new file mode 100644 index 0000000..f47ed63 Binary files /dev/null and b/src/styles/theme2/app-icons/radiobutton_unchecked_disabled.png differ diff --git a/src/styles/theme2/app-icons/radiobutton_unchecked_hover.png b/src/styles/theme2/app-icons/radiobutton_unchecked_hover.png new file mode 100644 index 0000000..436dce5 Binary files /dev/null and b/src/styles/theme2/app-icons/radiobutton_unchecked_hover.png differ diff --git a/src/styles/theme2/app-icons/right_arrow.png b/src/styles/theme2/app-icons/right_arrow.png new file mode 100644 index 0000000..9eea3fb Binary files /dev/null and b/src/styles/theme2/app-icons/right_arrow.png differ diff --git a/src/styles/theme2/app-icons/slider_switcher.png b/src/styles/theme2/app-icons/slider_switcher.png new file mode 100644 index 0000000..448fe49 Binary files /dev/null and b/src/styles/theme2/app-icons/slider_switcher.png differ diff --git a/src/styles/theme2/app-icons/slider_switcher_disabled.png b/src/styles/theme2/app-icons/slider_switcher_disabled.png new file mode 100644 index 0000000..f61646d Binary files /dev/null and b/src/styles/theme2/app-icons/slider_switcher_disabled.png differ diff --git a/src/styles/theme2/app-icons/slider_switcher_hover.png b/src/styles/theme2/app-icons/slider_switcher_hover.png new file mode 100644 index 0000000..e0a0476 Binary files /dev/null and b/src/styles/theme2/app-icons/slider_switcher_hover.png differ diff --git a/src/styles/theme2/app-icons/splash_bg.png b/src/styles/theme2/app-icons/splash_bg.png new file mode 100644 index 0000000..547596d Binary files /dev/null and b/src/styles/theme2/app-icons/splash_bg.png differ diff --git a/src/styles/theme2/app-icons/up_arrow.png b/src/styles/theme2/app-icons/up_arrow.png new file mode 100644 index 0000000..10c4392 Binary files /dev/null and b/src/styles/theme2/app-icons/up_arrow.png differ diff --git a/src/styles/theme2/app-icons/up_arrow_disabled.png b/src/styles/theme2/app-icons/up_arrow_disabled.png new file mode 100644 index 0000000..de45283 Binary files /dev/null and b/src/styles/theme2/app-icons/up_arrow_disabled.png differ diff --git a/src/styles/theme2/app-icons/up_arrow_hover.png b/src/styles/theme2/app-icons/up_arrow_hover.png new file mode 100644 index 0000000..96af855 Binary files /dev/null and b/src/styles/theme2/app-icons/up_arrow_hover.png differ diff --git a/src/styles/theme2/app.css b/src/styles/theme2/app.css new file mode 100755 index 0000000..22deb56 --- /dev/null +++ b/src/styles/theme2/app.css @@ -0,0 +1,1265 @@ +/*-------------------------------------------- +Widget CSS +--------------------------------------------*/ +QWidget{ + outline: none; +} +/*-------------------------------------------- +Main Window CSS +--------------------------------------------*/ +QMainWindow{ + background-color: #332549; + border: 0px solid transparent; + background-image: url("src/styles/theme2/app-icons/bg"); + background-position: bottom left; + background-repeat: no-repeat; +} + +QMainWindow .QFrame{ + border: 1px solid transparent; +} +QDialog .QFrame{ + border: 1px solid transparent; +} +QMainWindow::separator { + width: 0px; + height: 0px; + padding: 0px; + margin: 0px; +} +QMainWindow .QFrame#frameBalances, +#frameOtherTokens, +#frameRecentTransactions, +#frameRequest, +#frameFee{ + background-color: #2c1d43; +} +QMainWindow .QFrame#frameContract{ + background-color: #2c1d43; +} +QFrame#hLine, +#hLine2, +#hLine3, +#hLine4{ + border-top: 1px solid transparent; +} +QFrame#hContractLine, +#hContractLine2, +#OverviewPage #hLine{ + border-top: 4px solid #332549; +} +QFrame#vLine, +#vLine2{ + border-left: 1px solid transparent; +} +WalletFrame{ + background-color: #2c1d43; +} +QDialog{ + background-color: #2c1d43; +} +QLabel{ + color: #856fab; +} +QLabel::disabled{ + color: rgba(111, 128, 171, 20%); +} +QLabel#labelGeneral, +#labelNetwork, +#labelBlockChain, +#labelMempoolTitle{ + color: #6b04e8; +} +.QWidget#widget_header{ + background-color: #332549; +} +QLabel#overriddenByCommandLineLabel{ + color: #856fab; +} +NavigationBar #labelLogo{ + image:url(":/icons/logo"); +} +NavigationBar #hLineLogo, +NavigationBar #hLineStatus{ + border-top: 1px solid #2c1d43; +} +/*-------------------------------------------- +Line Edit CSS +--------------------------------------------*/ +QLineEdit{ + border: 1px solid #64497A; + border-radius: 14px; + background-color: #261a3a; + color: #856fab; + padding: 4px; +} +QLineEdit::hover:!read-only{ + border: 1px solid #5d6b8f; +} +QLineEdit::focus:!read-only{ + border: 1px solid #5d6b8f; +} +QLineEdit::disabled{ + border: 1px solid rgba(23, 35, 62, 40%); + color: rgba(111, 128, 171, 20%); +} +QAbstractItemView#autoCompleterPopup{ + background-color: #64497A; + border: none; + padding: 4px; +} +QAbstractItemView#autoCompleterPopup::item{ + background-color: #64497A; + color: #261a3a; + padding: 4px; + padding-left: 10px; +} +QAbstractItemView#autoCompleterPopup::item:selected { + background-color: #261a3a; + color: #ffffff; +} +/*-------------------------------------------- +List Viev CSS +--------------------------------------------*/ +QListView { + background-color: #2c1d43; + border: none; +} +/*-------------------------------------------- +Combo Box CSS +--------------------------------------------*/ +QComboBox { + border: 1px solid #64497A; + border-radius: 14px; + background-color: #261a3a; + color: #856fab; + padding: 4px; + padding-left: 10px; + padding-right: 8px; + combobox-popup: 0; +} +QComboBox:hover { + border: 1px solid #5d6b8f; +} +QComboBox:drop-down { + border: 0px; + border-left: 1px solid #64497A; + margin-left: -8px; +} +QComboBox:down-arrow { + image: url("src/styles/theme2/app-icons/down_arrow"); + width: 6px; + height: 10px; + top: 1px; +} +QComboBox QAbstractItemView::item { + background-color: #64497A; + color: #261a3a; + padding: 4px; + padding-left: 10px; +} +QComboBox QAbstractItemView::item:selected { + background-color: #261a3a; + color: #ffffff; +} +QComboBox QAbstractItemView{ + background-color: #64497A; + border: none; + border-radius: 6px; + padding: 6px 0px; + margin-top: 5px; + margin-bottom: 3px; +} +QComboBox::disabled { + border: 1px solid rgba(23, 35, 62, 40%); + color: rgba(111, 128, 171, 20%); +} +QComboBox:drop-down:disabled { + border-left: 1px solid rgba(23, 35, 62, 40%); +} +QComboBox::down-arrow:disabled { + image: url("src/styles/theme2/app-icons/down_arrow_disabled"); +} +/*-------------------------------------------- +Group Box CSS +--------------------------------------------*/ +QGroupBox +{ + border: 0px solid transparent; + margin-top: 20px; + background-color: #2c1d43; +} +QGroupBox::title { + color: #856fab; + subcontrol-position: top left; + left: -3px; + padding: -40px 3px 0px 3px; +} +QGroupBox::title:disabled { + color: rgba(111, 128, 171, 20%); +} +QGroupBox#groupBoxExpert { + background-color: transparent; +} +/*-------------------------------------------- +Slider CSS +--------------------------------------------*/ +QSlider { + border: none; + background-color: none; +} +QSlider:horizontal{ + min-height: 36px; +} +QSlider::groove:horizontal { + background-color: transparent; + height: 20px; + left: 16px; + right: 7px; +} +QSlider::handle:horizontal { + background-image: url("src/styles/theme2/app-icons/slider_switcher"); + background-repeat: none; + margin: 2px -10px -2px; +} +QSlider::handle:horizontal:active { + background-image: url("src/styles/theme2/app-icons/slider_switcher_hover"); + background-repeat: none; + margin: 2px -10px -2px; +} +QSlider::add-page:horizontal { + margin: 9px -8px; + border: none; + background: #d7d7d7; + border-right: 1px solid #ababab; +} +QSlider::sub-page:horizontal { + margin: 9px -9px; + border: none; + background: #7957d5; + border-left: 1px solid #8449a9; +} +QSlider::add-page:horizontal:disabled { + background: rgba(215, 215, 215, 40%); + border-right: 1px solid rgba(171, 171, 171, 40%); +} +QSlider::sub-page:horizontal:disabled { + background: rgba(87, 178, 213, 40%); + border-left: 1px solid rgba(73, 142, 169, 40%); +} +QSlider::handle:horizontal:disabled { + background-image: url("src/styles/theme2/app-icons/slider_switcher_disabled"); +} +/*-------------------------------------------- +Spin Box CSS +--------------------------------------------*/ +QAbstractSpinBox { + padding: 4px; + background-color: #261a3a; + background-position: right; + background-repeat: no-repeat; + border: 1px solid #64497A; + border-radius: 14px; + color: #856fab; + padding-left: 12px; +} +QAbstractSpinBox:hover { + border: 1px solid #5d6b8f; +} +QAbstractSpinBox::up-button { + border: none; + border-left: 1px solid #64497A; + width: 22px; + background-color: transparent; + border-top-right-radius: 12px; +} +QAbstractSpinBox::down-button { + border: none; + border-left: 1px solid #64497A; + margin-top: -1px; + width: 22px; + background-color: transparent; + border-bottom-right-radius: 12px; +} +QAbstractSpinBox::up-arrow { + image: url("src/styles/theme2/app-icons/up_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-top: 5px; +} +QAbstractSpinBox::down-arrow { + image: url("src/styles/theme2/app-icons/down_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 5px; +} +QAbstractSpinBox::up-arrow:hover{ + image: url("src/styles/theme2/app-icons/up_arrow_hover"); +} +QAbstractSpinBox::down-arrow:hover{ + image: url("src/styles/theme2/app-icons/down_arrow_hover"); +} +QAbstractSpinBox::disabled { + border: 1px solid rgba(23, 35, 62, 40%); + color: rgba(189, 189, 189, 10%); +} +QAbstractSpinBox::up-button:disabled { + border-left: 1px solid rgba(23, 35, 62, 40%); +} +QAbstractSpinBox::down-button:disabled { + border-left: 1px solid rgba(23, 35, 62, 40%); +} +QAbstractSpinBox::up-arrow:disabled, +QAbstractSpinBox::up-arrow:off { + image: url("src/styles/theme2/app-icons/up_arrow_disabled"); +} +QAbstractSpinBox::down-arrow:disabled, +QAbstractSpinBox::down-arrow:off { + image: url("src/styles/theme2/app-icons/down_arrow_disabled"); +} +/*-------------------------------------------- +Scroll Area CSS +--------------------------------------------*/ +QAbstractScrollArea::corner { + background: #2c1d43; + border: 0px; +} +/*-------------------------------------------- +Scroll Bar Vertical CSS +--------------------------------------------*/ +QScrollBar{ + background: none; +} +QScrollBar:up-arrow:vertical, QScrollBar::down-arrow:vertical { + qproperty-visible: false; +} +QScrollBar::add-line:vertical { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::sub-line:vertical { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: rgba(255, 255, 255, 0.0); +} +QScrollBar:vertical { + border-radius: 0px; + background: #2c1d43; + width: 16px; + padding: 5px 4px; +} +QScrollBar::handle:vertical { + border: none; + background: #64497A; + border-radius: 4px; + min-height: 45px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(29, 40, 67, 40%); +} +QTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; + background: #261a3a; + width: 12px; + padding: 5px 0px 5px 2px; +} +QTextEdit QScrollBar::handle:vertical { + border: none; + background: #64497A; + border-radius: 5px; + min-height: 30px; +} +QTextEdit QScrollBar::handle:vertical:disabled { + background: rgba(29, 40, 67, 40%); +} +QPlainTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; + background: #261a3a; + width: 12px; + padding: 5px 0px 5px 2px; +} +QPlainTextEdit QScrollBar::handle:vertical { + border: none; + background: #64497A; + border-radius: 5px; + min-height: 30px; +} +QPlainTextEdit QScrollBar::handle:vertical:disabled { + background: rgba(29, 40, 67, 40%); +} +QComboBox QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; + background: #64497A; + width: 10px; + padding: 0px 0px; +} +QComboBox QScrollBar::handle:vertical { + border: none; + background: #261a3a; + border-radius: 5px; + min-height: 30px; +} +QComboBox QScrollBar::handle:vertical:disabled { + background: rgba(29, 40, 67, 40%); +} +/*-------------------------------------------- +Scroll Bar Horizontal CSS +--------------------------------------------*/ +QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal { + qproperty-visible: false; +} +QScrollBar::add-line:horizontal { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::sub-line:horizontal { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { + background: rgba(255, 255, 255, 0.0); +} +QScrollBar:horizontal { + border-radius: 0px; + background: #2c1d43; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #64497A; + border-radius: 4px; + min-width: 45px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(29, 40, 67, 40%); +} +/*-------------------------------------------- +Table View CSS +--------------------------------------------*/ +QHeaderView{ + color: #856fab; + background-color: transparent; + border: none; +} +QHeaderView:section{ + padding: 6px 20px 6px 6px; + border: none; + background-color: #332549; +} +QHeaderView::down-arrow { + image: url("src/styles/theme2/app-icons/down_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 1px; +} +QHeaderView::up-arrow { + image: url("src/styles/theme2/app-icons/up_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 1px; +} +QTableView{ + color: #856fab; + background-color: #2c1d43; + border: none; + font: normal; + qproperty-alternatingRowColors: false; + qproperty-selectionBehavior: SelectRows; +} +QTableView::item{ + border: none; +} +QTableView::item:selected{ + background: #7c4fdd; + color: #ffffff; +} +QHeaderView::disabled{ + color: rgba(111, 128, 171, 20%); +} +QHeaderView::down-arrow:disabled { + image: url("src/styles/theme2/app-icons/down_arrow_disabled"); + width: 6px; + height: 4px; +} +QHeaderView::up-arrow:disabled { + image: url("src/styles/theme2/app-icons/up_arrow_disabled"); + width: 6px; + height: 4px; +} +QTableView::disabled{ + color: rgba(111, 128, 171, 20%); +} +/*-------------------------------------------- +QTextEdit CSS +--------------------------------------------*/ +QTextEdit { + border: 1px solid #64497A; + border-radius: 14px; + background-color: #261a3a; + color: #ffffff; + padding-left: 5px; +} +QTextEdit::hover:!read-only{ + border: 1px solid #5d6b8f; +} +QTextEdit::focus:!read-only{ + border: 1px solid #5d6b8f; +} +QTextEdit::disabled { + border: 1px solid rgba(90, 90, 93, 40%); + color: rgba(42, 42, 42, 10%); +} +/*-------------------------------------------- +QPlainTextEdit CSS +--------------------------------------------*/ +QPlainTextEdit { + border: 1px solid #64497A; + border-radius: 14px; + background-color: #261a3a; + color: #ffffff; + padding-left: 5px; +} +QPlainTextEdit::hover:!read-only{ + border: 1px solid #5d6b8f; +} +QPlainTextEdit::focus:!read-only{ + border: 1px solid #5d6b8f; +} +QPlainTextEdit::disabled { + border: 1px solid rgba(90, 90, 93, 40%); + color: rgba(42, 42, 42, 10%); +} +/*-------------------------------------------- +Status Bar CSS +--------------------------------------------*/ +QStatusBar{ + background: #29334e; + color: #856fab; +} +QStatusBar QLabel{ + border: 1px solid transparent; + color: #856fab; + font: 10pt; +} +QStatusBar::item { + border: none; +} +QStatusBar QLabel::disabled{ + border: 1px solid transparent; + color: rgba(111, 128, 171, 20%); +} +UnitDisplayStatusBarControl { + color: #856fab; + background: transparent; + border: 1px solid #3B4767; + border-radius: 12px; + font: 16px; + padding: 0px; +} +UnitDisplayStatusBarControl QMenu::item { + background-color: #64497A; + color: #261a3a; + padding: 4px; + padding-left: 10px; +} +UnitDisplayStatusBarControl QMenu::item:selected { + background-color: #261a3a; + color: #ffffff; +} +UnitDisplayStatusBarControl QMenu{ + background-color: #64497A; + border: none; + border-radius: 6px; + padding: 10px 0px; + margin: 0px; +} +/*-------------------------------------------- +Progress Bar CSS +--------------------------------------------*/ +QProgressBar { + background-color: #261a3a; + font: 10pt; + color: #94ccf2; + border-radius: 0px; + text-align: center; +} +QProgressBar::chunk { + background-color: #7c4fdd; + border-radius: 0px; +} +QProgressBar::disabled { + color: rgba(111, 128, 171, 20%); +} +/*-------------------------------------------- +Tab Bar CSS +--------------------------------------------*/ +QTabBar::tab { + background-color: transparent; + color: #906cba; + padding: 11px 0px; + border-width: 0px; + border-radius: 0px; + border-style: none; + border-bottom: 3px solid transparent; + margin-left: 10px; + margin-right: 10px; +} +QTabBar::tab:selected { + color: #906cba; + border-bottom: 3px solid #906cba; +} +QTabBar::tab:hover:!selected { + color: #8318e0; + border-bottom: 3px solid #8318e0; +} +QTabBar::tab:disabled { + color: rgba(111, 128, 171, 20%); +} +QTabWidget::pane { + border: none; + border-top: none; + background-color: #2c1d43; +} +TitleBar QTabBar::tab { + padding: 5px 0px; +} +#widgetTitle, #widgetWallet { + background-color: #2c1d43; +} +/*-------------------------------------------- +MenuBar CSS +--------------------------------------------*/ +QMenuBar { + background: #29334e; +} +QMenuBar::item { + background-color: transparent; + padding: 5px 6px; + border-radius: 4px; + color: #856fab; +} +QMenuBar::item:selected { + border: none; + color: #7c4fdd; +} +QMenuBar::item:disabled { + color: rgba(111, 128, 171, 20%); +} +/*-------------------------------------------- +Menu CSS +--------------------------------------------*/ +QMenu{ + border: none; +} +QMenu::item { + border: none; + padding: 5px 32px; + background-color: #64497A; + color: #261a3a; +} +QMenu::item:selected { + background-color: #261a3a; + color:#ffffff; +} +QMenu::separator{ + height: 1px; + background-color: #3d4c6d; +} +QMenu::icon{ + margin-left: 15px; +} +QMenu::item:disabled { + color: rgba(26, 35, 58, 30%); +} +/*-------------------------------------------- +Check Box CSS +--------------------------------------------*/ +QCheckBox{ + color: #856fab; + outline-style: none; +} +QCheckBox:hover, QCheckBox:checked { + color: #856fab; +} +QCheckBox:disabled { + color: rgba(111, 128, 171, 20%); +} +QCheckBox::indicator { + width: 16px; + height: 16px; +} +QCheckBox::indicator::unchecked { + image: url(src/styles/theme2/app-icons/checkbox_unchecked); +} +QCheckBox::indicator::checked { + image: url(src/styles/theme2/app-icons/checkbox_checked); +} +QCheckBox:indicator:indeterminate { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate); +} +QCheckBox::indicator::unchecked:hover { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_hover); +} +QCheckBox::indicator::checked:hover { + image: url(src/styles/theme2/app-icons/checkbox_checked_hover); +} +QCheckBox:indicator:indeterminate:hover { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_hover); +} +QCheckBox:indicator:unchecked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_disabled); +} +QCheckBox:indicator:checked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_checked_disabled); +} +QCheckBox:indicator:indeterminate:disabled { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_disabled); +} +/*-------------------------------------------- +Radio Button CSS +--------------------------------------------*/ +QRadioButton{ + color: #856fab; + outline-style: none; +} +QRadioButton:hover, QRadioButton:checked { + color: #856fab; +} +QRadioButton:disabled { + color: rgba(111, 128, 171, 20%); +} +QRadioButton::indicator { + width: 16px; + height: 16px; +} +QRadioButton::indicator::unchecked { + image: url(src/styles/theme2/app-icons/radiobutton_unchecked); +} +QRadioButton::indicator::checked { + image: url(src/styles/theme2/app-icons/radiobutton_checked); +} +QRadioButton::indicator::unchecked:hover { + image: url(src/styles/theme2/app-icons/radiobutton_unchecked_hover); +} +QRadioButton::indicator::checked:hover { + image: url(src/styles/theme2/app-icons/radiobutton_checked_hover); +} +QRadioButton:indicator:unchecked:disabled { + image: url(src/styles/theme2/app-icons/radiobutton_unchecked_disabled); +} +QRadioButton:indicator:checked:disabled { + image: url(src/styles/theme2/app-icons/radiobutton_checked_disabled); +} + +/*-------------------------------------------- +Dialogs CSS +--------------------------------------------*/ +QWidget#buttonsContainer { + background: #19233c; +} +QWidget#buttonsContainerWhite, +#buttonsContainerWhite_ { + background: #19233c; +} +QWidget#ReceiveRequestDialog { + background: #2c1d43; +} +QTextEdit#outUri { + border: none; +} +/*-------------------------------------------- +System Tray Message CSS +--------------------------------------------*/ +QBalloonTip{ + background: #e1e1e1; + color: #64497A; + border-color: #64497A; +} +QBalloonTip QLabel{ + color: #64497A; +} +QBalloonTip QPushButton{ + padding: 0px; + min-width: 0em; + background: transparent; + border-radius: 0px; +} +QBalloonTip QPushButton:hover{ + background: transparent; +} +QBalloonTip QPushButton:pressed { + background: transparent; +} +QBalloonTip QPushButton::disabled { + background: transparent; +} +/*-------------------------------------------- +Push Button CSS +--------------------------------------------*/ +QPushButton { + color: #7c4fdd; + background: transparent; + border: 1px solid #64497A; + border-radius: 14px; + min-width: 5em; + padding: 6px; + margin: 0px; +} +QPushButton:hover{ + border: 1px solid #5d6b8f; +} +QPushButton:pressed { + background: #7246d9; + color: #ffffff; +} +QPushButton::disabled { + color: rgba(79, 159, 221, 40%); + background: rgba(25, 40, 73, 60%); + border: 1px solid rgba(70, 88, 127, 40%); +} +/*-------------------------------------------- +Scroll Area CSS +--------------------------------------------*/ +QScrollArea { + background: transparent; + border:none; +} +QWidget#scrollAreaWidgetContents, QWidget#detailWidget { + background: #2c1d43; +} +.ABIFunctionField{ + background: transparent; +} +/*-------------------------------------------- +Debug Dialog CSS +--------------------------------------------*/ +QWidget#RPCConsole{ + background-color: #2c1d43; +} +/*-------------------------------------------- +Shut Down Window CSS +--------------------------------------------*/ +QWidget#shutdownWindow{ + background-color: #2c1d43; +} +/*-------------------------------------------- +Tool Button CSS +--------------------------------------------*/ +QToolButton { + background-color: transparent; + padding: 6px; + border: none; +} +QToolButton::hover{ + background-color: rgba(73, 88, 122, 20%); + padding-top: 5px; + padding-bottom: 5px; +} +QToolButton::pressed{ + background-color: rgba(73, 88, 122, 30%); +} +QToolButton::disabled{ + background-color: transparent; +} +/*-------------------------------------------- +Calendar CSS +--------------------------------------------*/ +QDateTimeEdit{ + padding: 4px; +} +QDateTimeEdit:drop-down { + border: 0px; + border-left: 1px solid #64497A; + margin-left: -8px; +} +QDateTimeEdit::down-arrow:hover, QDateTimeEdit:down-arrow { + image: url("src/styles/theme2/app-icons/cb_up_down_arrow"); + width: 6px; + height: 10px; + top: 1px; +} +QCalendarWidget QWidget{ + border-radius: 0px; +} +#qt_calendar_navigationbar{ + background: #6b04e8; +} +QCalendarWidget QAbstractSpinBox { + min-width: 0px; + border-radius: 0px; +} +QCalendarWidget QAbstractSpinBox::up-button{ + border-radius: 0px; +} +QCalendarWidget QAbstractSpinBox::down-button{ + border-radius: 0px; +} +QCalendarWidget QMenu{ + padding: 0px; +} +/* normal days */ +QCalendarWidget QAbstractItemView +{ + background-color: #373535; + alternate-background-color: #2E2C2C; + color: #856fab; + padding-bottom:-1px; +} +QCalendarWidget QAbstractItemView:disabled { + color: #535353; +} +/*-------------------------------------------- +Modal Overlay CSS +--------------------------------------------*/ +#ModalOverlay QProgressBar { + background-color: #261a3a; + border: none; + font: 1pt; + color: transparent; + border-radius: 4px; + height: 9px; +} +#ModalOverlay QProgressBar::chunk { + background-color: #7c4fdd; + border-radius: 4px; +} +#ModalOverlay QLabel { + color: #856fab; +} +#ModalOverlay #labelNumberOfBlocksLeft, +#ModalOverlay #labelLastBlockTime, +#ModalOverlay #labelSyncDone, +#ModalOverlay #labelProgressIncrease, +#ModalOverlay #labelEstimatedTimeLeft{ + color: #47587d; +} +#ModalOverlay #labelNote { + font: 20pt; +} +#contentWidget{ + background: #332549; + border-radius: 14px; +} +#contentWidget #buttonsContainerWhite{ + border-bottom-right-radius: 12px; + border-bottom-left-radius: 12px; +} +/*-------------------------------------------- +Watch Only Widget CSS +--------------------------------------------*/ +#watchOnlyWidget{ + padding: 4px; +} +#watchOnlyWidget QAbstractItemView::item, +#watchOnlyWidget QAbstractItemView::item:selected { + padding: 4px; + padding-left: 8px; + padding-right: 8px; +} +#watchOnlyWidget QAbstractItemView { + padding: 4px; + padding-left: 0px; + padding-right: 0px; +} +/*-------------------------------------------- +Tab Bar close button CSS +--------------------------------------------*/ +QToolButton#tabBarTool { + padding: 2px; +} +QToolButton#tabBarTool::hover{ + padding-top: 1px; + padding-bottom: 1px; +} +/*-------------------------------------------- +Stake Page Widget CSS +--------------------------------------------*/ +#StakePage QLabel{ + color: #47587d; +} +#frameStakeInfo { + background-color: #222f4b; + border: 1px dotted #47587d; + color: #47587d; + border-radius: 4px; +} +#frameStakeInfo #labelAssets{ + color: white; + font: 17pt; +} +#frameStakeInfo #labelHeight, +#frameStakeInfo #labelWeight, +#frameStakeInfo #labelReward, +#frameStakeInfo #labelROI, +#frameStakeInfo #labelStaking{ + color: #856fab; +} +#frameStakeInfo #hLine{ + border-top: 1px solid #1a2845; +} +/*-------------------------------------------- +Overview Page Widget CSS +--------------------------------------------*/ +#widgetWallet #widgetTotal QLabel, +#widgetWatch #widgetWatchTotal QLabel{ + color: white; + font: 23pt; +} +#widgetPending #vLine, +#widgetImmature #vLine_2, +#widgetStake #vLine_3, +#widgetWatchPending #vLine_4, +#widgetWatchImmature #vLine_5, +#widgetWatchStake #vLine_6{ + border-left: 1px solid rgba(111, 128, 171, 60%); +} +#widgetStatus #labelLogo{ + width: 32px; + height: 32px; + border-radius: 16px; + background-color: #1d3456; + image:url(":/icons/bitcoin"); + padding: 5px; +} +#widgetRecent #showMoreButton{ + min-width: 3em; + padding: 1px; + border-radius: 8px; + min-height: 16px; + font: 8pt; +} +#widgetTransaction #buttonSend, +#widgetTransaction #buttonReceive{ + padding: 6px; + min-width: 8em; + border-radius: 18px; +} +/*-------------------------------------------- +Token Page Widget CSS +--------------------------------------------*/ +#labelTokenBalance{ + color: white; +} +#widgetQRFrame{ + background-color: white; + border-radius: 20px; +} +#widgetQRFrame::disabled{ + background-color: rgba(255, 255, 255, 20%); +} +#widgetQRMargin{ + background-color: #263450; + border-radius: 20px; + border: 1px solid #384869; +} +#widgetQRMargin::disabled{ + background-color: rgba(38, 52, 80, 20%); + border: 1px solid rgba(56, 72, 105, 20%); +} +#tokenItemFrame{ + background-color: #222f4b; + border-radius: 6px; +} +TokenListWidget{ + background-color: #1a2845; +} +TokenItemWidget #tokenName{ + color: #856fab; + font: 13pt; +} +TokenItemWidget #tokenBalance{ + color: white; + font: 13pt; +} +TokenItemWidget #senderAddress{ + color: #64497A; + font: 10pt; +} +TokenItemWidget #tokenLogo{ + background-color: #334263; + border-radius: 20px; +} +/*-------------------------------------------- +Send Coins Dialog CSS +--------------------------------------------*/ +SendCoinsDialog #labelBalance{ + color: white; +} +SendCoinsDialog QScrollArea{ + border: 1px solid #261a3a; + border-radius: 5px; +} +SendCoinsDialog #scrollAreaWidgetContents{ + margin: 3px; +} +QFrame #frameFee, +QWidget #coinControlContentsWidget{ + border: 1px solid #261a3a; + border-radius: 5px; +} +SendCoinsDialog QScrollBar:vertical{ + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} +SendCoinsDialog QScrollBar:horizontal{ + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} +SendCoinsDialog QAbstractScrollArea::corner { + border-bottom-right-radius: 5px; +} +#SendCoinsEntry #hLine{ + border-top: 1px solid rgba(111, 128, 171, 60%); +} +/*-------------------------------------------- +Table View light CSS +--------------------------------------------*/ +QHeaderView{ + color: #64497A; + background-color: #261a3a; + border-top-left-radius: 6px; + border-top-right-radius: 6px; +} +QHeaderView:section{ + background-color: #261a3a; + margin-top: 3px; +} +QHeaderView::down-arrow { + margin-top: 3px; +} +QHeaderView::up-arrow { + margin-top: 3px; +} +QTableView{ + background-color: #261a3a; + border: 1px solid #64497A; + border-radius: 6px; +} +QScrollBar:vertical { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} +QScrollBar:horizontal { + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; +} +QAbstractScrollArea::corner { + border-bottom-right-radius: 6px; +} +/*-------------------------------------------- +Tree view CSS +--------------------------------------------*/ +QTreeWidget { + background-color:rgba(0,0,0,0); + selection-background-color: #7c4fdd; + show-decoration-selected:0; +} +QTreeView{ + color: #856fab; + background-color: #2c1d43; + alternate-background-color: #2c1d43; + border: none; + font: normal; + qproperty-alternatingRowColors: false; + qproperty-selectionBehavior: SelectRows; +} +QTreeView::item{ + border: none; + padding: 4px; +} +QTreeView::item:selected{ + background: #7c4fdd; + color: #ffffff; +} +QTreeView::disabled{ + color: rgba(111, 128, 171, 20%); +} +/*-------------------------------------------- +Scroll bar dark CSS +--------------------------------------------*/ +QScrollBar:vertical { + border-radius: 0px; + background: #2c1d43; + width: 16px; + padding: 5px 4px; +} +QScrollBar::handle:vertical { + border: none; + background: #64497A; + border-radius: 4px; + min-height: 45px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(29, 40, 67, 40%); +} + +QScrollBar:horizontal { + border-radius: 0px; + background: #2c1d43; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #64497A; + border-radius: 4px; + min-width: 45px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(29, 40, 67, 40%); +} +/*-------------------------------------------- +Treeview CSS +--------------------------------------------*/ +QTreeView::indicator { + width: 16px; + height: 16px; +} +QTreeView::indicator::unchecked { + image: url(src/styles/theme2/app-icons/checkbox_unchecked); +} +QTreeView::indicator::checked { + image: url(src/styles/theme2/app-icons/checkbox_checked); +} +QTreeView:indicator:indeterminate { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate); +} +QTreeView::indicator::unchecked:hover { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_hover); +} +QTreeView::indicator::checked:hover { + image: url(src/styles/theme2/app-icons/checkbox_checked_hover); +} +QTreeView:indicator:indeterminate:hover { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_hover); +} +QTreeView:indicator:unchecked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_disabled); +} +QTreeView:indicator:checked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_checked_disabled); +} +QTreeView:indicator:indeterminate:disabled { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_disabled); +} \ No newline at end of file diff --git a/src/styles/theme2/buttontransparent.css b/src/styles/theme2/buttontransparent.css new file mode 100644 index 0000000..ac64a35 --- /dev/null +++ b/src/styles/theme2/buttontransparent.css @@ -0,0 +1,21 @@ +/*-------------------------------------------- +Push Button Transparent CSS +--------------------------------------------*/ +QPushButton { + background-color: transparent; + padding: 6px; + border: none; + min-width: 0px; + border-radius: 0px; +} +QPushButton::hover{ + background-color: rgba(73, 88, 122, 20%); + padding-top: 5px; + padding-bottom: 5px; +} +QPushButton::pressed{ + background-color: rgba(73, 88, 122, 30%); +} +QPushButton::disabled{ + background-color: transparent; +} diff --git a/src/styles/theme2/config.ini b/src/styles/theme2/config.ini new file mode 100644 index 0000000..e658cab --- /dev/null +++ b/src/styles/theme2/config.ini @@ -0,0 +1,80 @@ +[appstyle] +link-color=#2d9ad0 +message-critical-icon=src/styles/theme1/app-icons/message_critical +message-info-icon=src/styles/theme1/app-icons/message_info +message-question-icon=src/styles/theme1/app-icons/message_question +message-warning-icon=src/styles/theme1/app-icons/message_warning +message-icon-height=49 +message-icon-weight=45 +button_text_upper=0 + +[splashscreen] +foreground-color=#a275e0 +background-color=#222f4b +foreground-color-statusbar=#ffffff +logo-frame-color=#332549 +background-image=src/styles/theme2/app-icons/splash_bg + +[platformstyle] +version=2 +single-color=#008ac8 +text-color=#e6f0f0 +menu-color=#261a3a +table-color-normal=#856fab +table-color-input=#856fab +table-color-inout=#856fab +table-color-output=#856fab +table-color-error=#856fab +multi-states-icon-color1=#7c4fdd +multi-states-icon-color2=#856fab +multi-states-icon-color3=#ffffff + +[txviewdelegate] +background-color-selected=#009ee5 +background-color=#2c1d43 +alternate-background-color=#2c1d43 +foreground-color=#856fab +foreground-color-selected=#ffffff +amount-color=#856fab + +[transactiondesc] +item-name-color=#45587d +item-color=#856fab +item-font-bold=0 + +[tokentransactiondesc] +item-name-color=#45587d +item-color=#856fab +item-font-bold=0 + +[navigationbar] +logo-space=20 + +[navtoolbutton] +color-enabled=#856fab +color-pressed=#7c4fdd +color-hover=#7388b7 +color-disabled=#7b8fbf +sub-icon=src/styles/theme2/app-icons/right_arrow +sub-padding-right=10 +sub-padding-left=70 +sub-alignment=1 +sub-icon-height=6 +sub-icon-width=3 + +[unitdisplaystatusbarcontrol] +menu-margin=5 +icon-height=10 +icon-width=10 +icon-path=src/styles/theme2/app-icons/down_arrow_unit + +[modaloverlay] +warning-icon-color=#856fab + +[guiconstants] +color-unconfirmed=#47587d +color-negative=#cba1ff +color-bareaddress=#4c5d82 +color-tx-status-openuntildate=#2020ff +color-tx-status-danger=#ff4b54 +color-black=#00001f diff --git a/src/styles/theme2/invalid.css b/src/styles/theme2/invalid.css new file mode 100755 index 0000000..6b62e70 --- /dev/null +++ b/src/styles/theme2/invalid.css @@ -0,0 +1,33 @@ +/*-------------------------------------------- +Main Window CSS +--------------------------------------------*/ +QLineEdit{ + border: 3px solid #ff4b54; padding: 2px; +} +QTextEdit{ + border: 3px solid #ff4b54; padding: 2px; +} +QAbstractSpinBox{ + border: 3px solid #ff4b54; padding: 1px; +} +QValidatedTextEdit{ + border: 3px solid #ff4b54; + padding: 0px -2px 0px 3px; +} +QValidatedTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; + width: 19px; + padding: 8px 2px 8px 6px; + margin: 0px 2px 0px -2px; +} +QComboBox { + border: 3px solid #ff4b54; padding: 2px 6px 2px 8px; +} +QComboBox:drop-down { + margin-left: -6px; +} +QComboBox QLineEdit{ + border: none; padding: 0px; background: transparent; +} diff --git a/src/styles/theme2/navbutton.css b/src/styles/theme2/navbutton.css new file mode 100755 index 0000000..50bc0a9 --- /dev/null +++ b/src/styles/theme2/navbutton.css @@ -0,0 +1,24 @@ +/*-------------------------------------------- +Tool Button Black CSS +--------------------------------------------*/ +QToolButton { + color: #856fab; + background: transparent; + border: 0px solid transparent; + border-radius: 0px; + padding: 10px; +} +QToolButton:checked { + border-right: 3px solid #7c4fdd; +} +QToolButton:pressed, QToolButton:hover:pressed, QToolButton:checked { + color: #7c4fdd; + background: #1e2b47; +} +QToolButton:hover:!checked { + color: #7388b7; + background: #25314e; +} +QToolButton:disabled { + color: rgba(111, 128, 171, 20%); +} diff --git a/src/styles/theme2/navgroupbutton.css b/src/styles/theme2/navgroupbutton.css new file mode 100755 index 0000000..e23471b --- /dev/null +++ b/src/styles/theme2/navgroupbutton.css @@ -0,0 +1,25 @@ +/*-------------------------------------------- +Tool Button Black CSS +--------------------------------------------*/ +QToolButton { + color: #856fab; + background: transparent; + border: 0px solid transparent; + border-radius: 0px; + padding: 10px 20px 10px 10px; +} +QToolButton:checked { + border-right: 3px solid #7c4fdd; + padding: 3px 20px 5px 10px; +} +QToolButton:pressed, QToolButton:hover:pressed, QToolButton:checked { + color: #7c4fdd; + background: #1e2b47; +} +QToolButton:hover:!checked { + color: #7388b7; + background: #25314e; +} +QToolButton:disabled { + color: rgba(111, 128, 171, 20%); +} diff --git a/src/styles/theme2/navsubgroupbutton.css b/src/styles/theme2/navsubgroupbutton.css new file mode 100755 index 0000000..5aef554 --- /dev/null +++ b/src/styles/theme2/navsubgroupbutton.css @@ -0,0 +1,21 @@ +/*-------------------------------------------- +Tool Button Black CSS +--------------------------------------------*/ +QToolButton { + color: #856fab; + background: #1e2b47; + border: 0px solid transparent; + border-radius: 0px; + padding: 6px 20px 6px 6px; + border-right: 3px solid #7c4fdd; +} +QToolButton:pressed, QToolButton:hover:pressed, QToolButton:checked { + color: #7c4fdd; +} +QToolButton:hover:!checked { + color: #7388b7; + background: #25314e; +} +QToolButton:disabled { + color: rgba(111, 128, 171, 20%); +} diff --git a/src/styles/theme2/scrollbardark.css b/src/styles/theme2/scrollbardark.css new file mode 100644 index 0000000..b47064c --- /dev/null +++ b/src/styles/theme2/scrollbardark.css @@ -0,0 +1,48 @@ +/*-------------------------------------------- +Scroll bar dark CSS +--------------------------------------------*/ +QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; + background: #261a3a; + width: 12px; + padding: 5px 0px 5px 2px; +} +QScrollBar::handle:vertical { + border: none; + background: #64497A; + border-radius: 5px; + min-height: 30px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(29, 40, 67, 40%); +} + +QScrollBar:horizontal { + background: #261a3a; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #64497A; + border-radius: 4px; + min-width: 35px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(29, 40, 67, 40%); +} +#autoCompleterPopup QScrollBar:vertical { + border-radius: 0px; + background: transparent; + width: 13px; + padding: 0px 0px; + margin-left: 3px; +} +#autoCompleterPopup QScrollBar::handle:vertical { + border: none; + background: #261a3a; + border-radius: 5px; + min-height: 30px; +} diff --git a/src/styles/theme2/tableviewlight.css b/src/styles/theme2/tableviewlight.css new file mode 100644 index 0000000..2362f4b --- /dev/null +++ b/src/styles/theme2/tableviewlight.css @@ -0,0 +1,35 @@ +/*-------------------------------------------- +Table View light CSS +--------------------------------------------*/ +QHeaderView{ + color: #64497A; + background-color: #261a3a; + border-top-left-radius: 6px; + border-top-right-radius: 6px; +} +QHeaderView:section{ + background-color: #261a3a; + margin-top: 3px; +} +QHeaderView::down-arrow { + margin-top: 3px; +} +QHeaderView::up-arrow { + margin-top: 3px; +} +QTableView{ + background-color: #261a3a; + border: 1px solid #64497A; + border-radius: 6px; +} +QScrollBar:vertical { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} +QScrollBar:horizontal { + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; +} +QAbstractScrollArea::corner { + border-bottom-right-radius: 6px; +} diff --git a/src/styles/theme2/treeview.css b/src/styles/theme2/treeview.css new file mode 100644 index 0000000..c4cdd6e --- /dev/null +++ b/src/styles/theme2/treeview.css @@ -0,0 +1,98 @@ +/*-------------------------------------------- +Tree view CSS +--------------------------------------------*/ +QTreeWidget { + background-color:rgba(0,0,0,0); + selection-background-color: #7c4fdd; + show-decoration-selected:0; +} +QTreeView{ + color: #856fab; + background-color: #2c1d43; + alternate-background-color: #2c1d43; + border: none; + font: normal; + qproperty-showGrid: false; + qproperty-alternatingRowColors: false; + qproperty-selectionBehavior: SelectRows; +} +QTreeView::item{ + border: none; + padding: 4px; +} +QTreeView::item:selected{ + qproperty-showGrid: false; + background: #7c4fdd; + color: #ffffff; +} +QTreeView::disabled{ + color: rgba(111, 128, 171, 20%); +} +/*-------------------------------------------- +Scroll bar dark CSS +--------------------------------------------*/ +QScrollBar:vertical { + border-radius: 0px; + background: #2c1d43; + width: 16px; + padding: 5px 4px; +} +QScrollBar::handle:vertical { + border: none; + background: #64497A; + border-radius: 4px; + min-height: 45px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(29, 40, 67, 40%); +} + +QScrollBar:horizontal { + border-radius: 0px; + background: #2c1d43; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #64497A; + border-radius: 4px; + min-width: 45px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(29, 40, 67, 40%); +} +/*-------------------------------------------- +Check Box CSS +--------------------------------------------*/ +QTreeView::indicator { + width: 16px; + height: 16px; +} +QTreeView::indicator::unchecked { + image: url(src/styles/theme2/app-icons/checkbox_unchecked); +} +QTreeView::indicator::checked { + image: url(src/styles/theme2/app-icons/checkbox_checked); +} +QTreeView:indicator:indeterminate { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate); +} +QTreeView::indicator::unchecked:hover { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_hover); +} +QTreeView::indicator::checked:hover { + image: url(src/styles/theme2/app-icons/checkbox_checked_hover); +} +QTreeView:indicator:indeterminate:hover { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_hover); +} +QTreeView:indicator:unchecked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_disabled); +} +QTreeView:indicator:checked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_checked_disabled); +} +QTreeView:indicator:indeterminate:disabled { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_disabled); +} diff --git a/src/styles/theme3/app-icons/bg.png b/src/styles/theme3/app-icons/bg.png new file mode 100644 index 0000000..fa75342 Binary files /dev/null and b/src/styles/theme3/app-icons/bg.png differ diff --git a/src/styles/theme3/app-icons/down_arrow_unit.png b/src/styles/theme3/app-icons/down_arrow_unit.png new file mode 100644 index 0000000..f44082c Binary files /dev/null and b/src/styles/theme3/app-icons/down_arrow_unit.png differ diff --git a/src/styles/theme3/app-icons/splash_bg.png b/src/styles/theme3/app-icons/splash_bg.png new file mode 100644 index 0000000..f9af943 Binary files /dev/null and b/src/styles/theme3/app-icons/splash_bg.png differ diff --git a/src/styles/theme3/app.css b/src/styles/theme3/app.css new file mode 100644 index 0000000..144b3fa --- /dev/null +++ b/src/styles/theme3/app.css @@ -0,0 +1,1137 @@ +/*-------------------------------------------- +Widget CSS +--------------------------------------------*/ +QWidget{ + outline: none; +} +/*-------------------------------------------- +Main Window CSS +--------------------------------------------*/ +QMainWindow{ + background-color: #5c3e85; + border: 0px solid transparent; + background-image: url("src/styles/theme3/app-icons/bg"); + background-position: bottom left; + background-repeat: no-repeat; +} +QMainWindow .QFrame{ + border: 1px solid transparent; +} +QDialog .QFrame{ + border: 1px solid transparent; +} +QMainWindow::separator { + width: 0px; + height: 0px; + padding: 0px; + margin: 0px; +} +QMainWindow .QFrame#frameBalances, +#frameOtherTokens, +#frameRecentTransactions, +#frameRequest, +#frameFee{ + background-color: #f1e6ff; +} +QMainWindow .QFrame#frameContract{ + background-color: #f1e6ff; +} +QFrame#hLine, +#hLine2, +#hLine3, +#hLine4{ + border-top: 1px solid transparent; +} +QFrame#hContractLine, +#hContractLine2, +#OverviewPage #hLine{ + border-top: 4px solid #e4ebf5; +} +QFrame#vLine, +#vLine2{ + border-left: 1px solid transparent; +} +WalletFrame{ + background-color: #f1e6ff; +} +QDialog{ + background-color: #f1e6ff; +} +QLabel{ + color: #cba1ff; +}cba1ff +QLabel::disabled{ + color: rgba(107, 128, 175, 20%); +} +QLabel#labelGeneral,cba1ff +#labelNetwork, +#labelBlockChain, +#labelMempoolTitle{ + color: #6b04e8; +} +.QWidget#widget_header{ + background-color: #e4ebf5; +} +QLabel#overriddenByCommandLineLabel{ + color: #cba1ff; +} +NavigationBar #labelLogo{ + image:url(":/icons/logo"); +} +NavigationBar #hLineLogo, +NavigationBar #hLineStatus{ + border-top: 1px solid #9d61e1; +} +/*-------------------------------------------- +Line Edit CSS +--------------------------------------------*/ +QLineEdit{ + border: 1px solid #d5dde9; + border-radius: 14px; + background-color: #ffffff; + color: #cba1ff; + padding: 4px; +} +QLineEdit::hover:!read-only{ + border: 1px solid #cbd5e1; +} +QLineEdit::focus:!read-only{ + border: 1px solid #cbd5e1; +} +QLineEdit::disabled{ + border: 1px solid rgba(209, 219, 231, 40%); + color: rgba(107, 128, 175, 20%); +} +QAbstractItemView#autoCompleterPopup{ + background-color: #e4ebf5; + border: none; + padding: 4px; +} +QAbstractItemView#autoCompleterPopup::item{ + background-color: #e4ebf5; + color: #cba1ff; + padding: 4px; + padding-left: 10px; +} +QAbstractItemView#autoCompleterPopup::item:selected { + background-color: #cba1ff; + color: #ffffff; +} +/*-------------------------------------------- +List Viev CSS +--------------------------------------------*/ +QListView { + background-color: #f1e6ff; + border: none; +} +/*-------------------------------------------- +Combo Box CSS +--------------------------------------------*/ +QComboBox { + border: 1px solid #d5dde9; + background-color: #ffffff; + border-radius: 14px; + color: #cba1ff; + padding: 4px; + padding-left: 10px; + padding-right: 8px; + combobox-popup: 0; +} +QComboBox:hover { + border: 1px solid #cbd5e1; +} +QComboBox:drop-down { + border: 0px; + border-left: 1px solid #d5dde9; + margin-left: -8px; +} +QComboBox:down-arrow { + image: url("src/styles/theme2/app-icons/down_arrow"); + width: 6px; + height: 10px; + top: 1px; +} +QComboBox QAbstractItemView::item { + background-color: #d5dde9; + color: #cba1ff; + padding: 4px; + padding-left: 10px; +} +QComboBox QAbstractItemView::item:selected { + background-color: #cba1ff; + color: #ffffff; +} +QComboBox QAbstractItemView{ + background-color: #d5dde9; + border: none; + border-radius: 6px; + padding: 6px 0px; + margin-top: 5px; + margin-bottom: 3px; +} +QComboBox::disabled { + border: 1px solid rgba(209, 219, 231, 40%); + color: rgba(107, 128, 175, 20%); +} +QComboBox:drop-down:disabled { + border-left: 1px solid rgba(209, 219, 231, 40%); +} +QComboBox::down-arrow:disabled { + image: url("src/styles/theme2/app-icons/down_arrow_disabled"); +} +/*-------------------------------------------- +Group Box CSS +--------------------------------------------*/ +QGroupBox +{ + border: 0px solid transparent; + margin-top: 20px; + background-color: #f1e6ff; +} +QGroupBox::title { + color: #cba1ff; + subcontrol-position: top left; + left: -3px; + padding: -40px 3px 0px 3px; +} +QGroupBox::title:disabled { + color: rgba(107, 128, 175, 20%); +} +QGroupBox#groupBoxExpert { + background-color: transparent; +} +/*-------------------------------------------- +Slider CSS +--------------------------------------------*/ +QSlider { + border: none; + background-color: none; +} +QSlider:horizontal{ + min-height: 36px; +} +QSlider::groove:horizontal { + background-color: transparent; + height: 20px; + left: 16px; + right: 7px; +} +QSlider::handle:horizontal { + background-image: url("src/styles/theme2/app-icons/slider_switcher"); + background-repeat: none; + margin: 2px -10px -2px; +} +QSlider::handle:horizontal:active { + background-image: url("src/styles/theme2/app-icons/slider_switcher_hover"); + background-repeat: none; + margin: 2px -10px -2px; +} +QSlider::add-page:horizontal { + margin: 9px -8px; + border: none; + background: #d7d7d7; + border-right: 1px solid #ababab; +} +QSlider::sub-page:horizontal { + margin: 9px -9px; + border: none; + background: #7957d5; + border-left: 1px solid #8449a9; +} +QSlider::add-page:horizontal:disabled { + background: rgba(215, 215, 215, 40%); + border-right: 1px solid rgba(171, 171, 171, 40%); +} +QSlider::sub-page:horizontal:disabled { + background: rgba(87, 178, 213, 40%); + border-left: 1px solid rgba(73, 142, 169, 40%); +} +QSlider::handle:horizontal:disabled { + background-image: url("src/styles/theme2/app-icons/slider_switcher_disabled"); +} +/*-------------------------------------------- +Spin Box CSS +--------------------------------------------*/ +QAbstractSpinBox { + padding: 4px; + background-color: #ffffff; + background-position: right; + background-repeat: no-repeat; + border: 1px solid #d5dde9; + border-radius: 14px; + color: #cba1ff; + padding-left: 12px; +} +QAbstractSpinBox:hover { + border: 1px solid #cbd5e1; +} +QAbstractSpinBox::up-button { + border: none; + border-left: 1px solid #d5dde9; + width: 22px; + background-color: transparent; + border-top-right-radius: 12px; +} +QAbstractSpinBox::down-button { + border: none; + border-left: 1px solid #d5dde9; + margin-top: -1px; + width: 22px; + background-color: transparent; + border-bottom-right-radius: 12px; +} +QAbstractSpinBox::up-arrow { + image: url("src/styles/theme2/app-icons/up_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-top: 5px; +} +QAbstractSpinBox::down-arrow { + image: url("src/styles/theme2/app-icons/down_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 5px; +} +QAbstractSpinBox::up-arrow:hover{ + image: url("src/styles/theme2/app-icons/up_arrow_hover"); +} +QAbstractSpinBox::down-arrow:hover{ + image: url("src/styles/theme2/app-icons/down_arrow_hover"); +} +QAbstractSpinBox::disabled { + border: 1px solid rgba(209, 219, 231, 40%); + color: rgba(107, 128, 175, 10%); +} +QAbstractSpinBox::up-button:disabled { + border-left: 1px solid rgba(209, 219, 231, 40%); +} +QAbstractSpinBox::down-button:disabled { + border-left: 1px solid rgba(209, 219, 231, 40%); +} +QAbstractSpinBox::up-arrow:disabled, +QAbstractSpinBox::up-arrow:off { + image: url("src/styles/theme2/app-icons/up_arrow_disabled"); +} +QAbstractSpinBox::down-arrow:disabled, +QAbstractSpinBox::down-arrow:off { + image: url("src/styles/theme2/app-icons/down_arrow_disabled"); +} +/*-------------------------------------------- +Scroll Area CSS +--------------------------------------------*/ +QAbstractScrollArea::corner { + background: #ffffff; + border: 0px; +} +/*-------------------------------------------- +Scroll Bar Vertical CSS +--------------------------------------------*/ +QScrollBar{ + background: none; +} +QScrollBar:up-arrow:vertical, QScrollBar::down-arrow:vertical { + qproperty-visible: false; +} +QScrollBar::add-line:vertical { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::sub-line:vertical { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: rgba(255, 255, 255, 0.0); +} +QScrollBar:vertical { + border-radius: 0px; + background: #ffffff; + width: 16px; + padding: 5px 4px; +} +QScrollBar::handle:vertical { + border: none; + background: #d5dde9; + border-radius: 4px; + min-height: 45px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(209, 219, 231, 40%); +} +QTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; + background: #ffffff; + width: 12px; + padding: 5px 0px 5px 2px; +} +QTextEdit QScrollBar::handle:vertical { + border: none; + background: #d5dde9; + border-radius: 5px; + min-height: 30px; +} +QTextEdit QScrollBar::handle:vertical:disabled { + background: rgba(209, 219, 231, 40%); +} +QPlainTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; + background: #ffffff; + width: 12px; + padding: 5px 0px 5px 2px; +} +QPlainTextEdit QScrollBar::handle:vertical { + border: none; + background: #d5dde9; + border-radius: 5px; + min-height: 30px; +} +QPlainTextEdit QScrollBar::handle:vertical:disabled { + background: rgba(209, 219, 231, 40%); +} +QComboBox QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; + background: #d5dde9; + width: 10px; + padding: 0px 0px; +} +QComboBox QScrollBar::handle:vertical { + border: none; + background: #ffffff; + border-radius: 5px; + min-height: 30px; +} +QComboBox QScrollBar::handle:vertical:disabled { + background: rgba(209, 219, 231, 40%); +} +/*-------------------------------------------- +Scroll Bar Horizontal CSS +--------------------------------------------*/ +QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal { + qproperty-visible: false; +} +QScrollBar::add-line:horizontal { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::sub-line:horizontal { + qproperty-visible: false; + border: none; + background: none; + height: 0px; +} +QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { + background: rgba(255, 255, 255, 0.0); +} +QScrollBar:horizontal { + border-radius: 0px; + background: #ffffff; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #d5dde9; + border-radius: 4px; + min-width: 45px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(209, 219, 231, 40%); +} +/*-------------------------------------------- +Table View CSS +--------------------------------------------*/ +QHeaderView{ + color: #cba1ff; + background-color: transparent; + border: none; +} +QHeaderView:section{ + padding: 6px 20px 6px 6px; + border: none; + background-color: #e4ebf5; +} +QHeaderView::down-arrow { + image: url("src/styles/theme2/app-icons/down_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 1px; +} +QHeaderView::up-arrow { + image: url("src/styles/theme2/app-icons/up_arrow"); + width: 6px; + height: 4px; + margin-right: 5px; + margin-bottom: 1px; +} +QTableView{ + color: #cba1ff; + background-color: #ffffff; + border: none; + font: normal; + qproperty-showGrid: false; + qproperty-alternatingRowColors: false; + qproperty-selectionBehavior: SelectRows; +} +QTableView::item{ + border: none; +} +QTableView::item:selected{ + qproperty-showGrid: false; + background: #7526e3; + color: #ffffff; +} +QHeaderView::disabled{ + color: rgba(107, 128, 175, 20%); +} +QHeaderView::down-arrow:disabled { + image: url("src/styles/theme2/app-icons/down_arrow_disabled"); + width: 6px; + height: 4px; +} +QHeaderView::up-arrow:disabled { + image: url("src/styles/theme2/app-icons/up_arrow_disabled"); + width: 6px; + height: 4px; +} +QTableView::disabled{ + color: rgba(107, 128, 175, 20%); +} +/*-------------------------------------------- +QTextEdit CSS +--------------------------------------------*/ +QTextEdit { + border: 1px solid #d5dde9; + border-radius: 14px; + background-color: #ffffff; + color: #000000; + padding-left: 5px; +} +QTextEdit::hover:!read-only{ + border: 1px solid #cbd5e1; +} +QTextEdit::focus:!read-only{ + border: 1px solid #cbd5e1; +} +QTextEdit::disabled { + border: 1px solid rgba(209, 219, 231, 40%); + color: rgba(0, 0, 0, 10%); +} +/*-------------------------------------------- +QPlainTextEdit CSS +--------------------------------------------*/ +QPlainTextEdit { + border: 1px solid #d5dde9; + border-radius: 14px; + background-color: #ffffff; + color: #000000; + padding-left: 5px; +} +QPlainTextEdit::hover:!read-only{ + border: 1px solid #cbd5e1; +} +QPlainTextEdit::focus:!read-only{ + border: 1px solid #cbd5e1; +} +QPlainTextEdit::disabled { + border: 1px solid rgba(209, 219, 231, 40%); + color: rgba(0, 0, 0, 10%); +} +/*-------------------------------------------- +Status Bar CSS +--------------------------------------------*/ +QStatusBar{ + background: #e4ebf5; + color: #cba1ff; +} +QStatusBar QLabel{ + border: 1px solid transparent; + color: #cba1ff; + font: 10pt; +} +QStatusBar::item { + border: none; +} +QStatusBar QLabel::disabled{ + border: 1px solid transparent; + color: rgba(107, 128, 175, 20%); +} +UnitDisplayStatusBarControl { + color: #ffffff; + background: transparent; + border: 1px solid #73bdec; + border-radius: 12px; + font: 16px; + padding: 0px; +} +UnitDisplayStatusBarControl QMenu::item { + background-color: #d5dde9; + color: #cba1ff; + padding: 4px; + padding-left: 10px; +} +UnitDisplayStatusBarControl QMenu::item:selected { + background-color: #cba1ff; + color: #ffffff; +} +UnitDisplayStatusBarControl QMenu{ + background-color: #d5dde9; + border: none; + border-radius: 6px; + padding: 10px 0px; + margin: 0px; +} +/*-------------------------------------------- +Progress Bar CSS +--------------------------------------------*/ +QProgressBar { + background-color: #f1e6ff; + font: 10pt; + color: #94ccf2; + border-radius: 0px; + text-align: center; +} +QProgressBar::chunk { + background-color: #7526e3; + border-radius: 0px; +} +QProgressBar::disabled { + color: rgba(107, 128, 175, 20%); +} +/*-------------------------------------------- +Tab Bar CSS +--------------------------------------------*/ +QTabBar::tab { + background-color: transparent; + color: #906cba; + padding: 11px 0px; + border-width: 0px; + border-radius: 0px; + border-style: none; + border-bottom: 3px solid transparent; + margin-left: 10px; + margin-right: 10px; +} +QTabBar::tab:selected { + color: #906cba; + border-bottom: 3px solid #906cba; +} +QTabBar::tab:hover:!selected { + color: #8318e0; + border-bottom: 3px solid #8318e0; +} +QTabBar::tab:disabled { + color: rgba(107, 128, 175, 20%); +} +QTabWidget::pane { + border: none; + border-top: none; + background-color: #f1e6ff; +} +TitleBar QTabBar::tab { + padding: 5px 0px; +} +#widgetTitle, #widgetWallet { + background-color: #f1e6ff; +} +/*-------------------------------------------- +MenuBar CSS +--------------------------------------------*/ +QMenuBar { + background: #e4ebf5; +} +QMenuBar::item { + background-color: transparent; + padding: 5px 6px; + border-radius: 4px; + color: #cba1ff; +} +QMenuBar::item:selected { + border: none; + color: #7526e3; +} +QMenuBar::item:disabled { + color: rgba(107, 128, 175, 20%); +} +/*-------------------------------------------- +Menu CSS +--------------------------------------------*/ +QMenu{ + border: none; +} +QMenu::item { + border: none; + padding: 5px 32px; + background-color: #d5dde9; + color: #cba1ff; +} +QMenu::item:selected { + background-color: #cba1ff; + color:#ffffff; +} +QMenu::separator{ + height: 1px; + background-color: #c3cdd9; +} +QMenu::icon{ + margin-left: 15px; +} +QMenu::item:disabled { + color: rgba(107, 128, 175, 30%); +} +/*-------------------------------------------- +Check Box CSS +--------------------------------------------*/ +QCheckBox{ + color: #cba1ff; + outline-style: none; +} +QCheckBox:hover, QCheckBox:checked { + color: #cba1ff; +} +QCheckBox:disabled { + color: rgba(107, 128, 175, 20%); +} +QCheckBox::indicator { + width: 16px; + height: 16px; +} +QCheckBox::indicator::unchecked { + image: url(src/styles/theme2/app-icons/checkbox_unchecked); +} +QCheckBox::indicator::checked { + image: url(src/styles/theme2/app-icons/checkbox_checked); +} +QCheckBox:indicator:indeterminate { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate); +} +QCheckBox::indicator::unchecked:hover { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_hover); +} +QCheckBox::indicator::checked:hover { + image: url(src/styles/theme2/app-icons/checkbox_checked_hover); +} +QCheckBox:indicator:indeterminate:hover { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_hover); +} +QCheckBox:indicator:unchecked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_disabled); +} +QCheckBox:indicator:checked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_checked_disabled); +} +QCheckBox:indicator:indeterminate:disabled { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_disabled); +} +/*-------------------------------------------- +Radio Button CSS +--------------------------------------------*/ +QRadioButton{ + color: #cba1ff; + outline-style: none; +} +QRadioButton:hover, QRadioButton:checked { + color: #cba1ff; +} +QRadioButton:disabled { + color: rgba(107, 128, 175, 20%); +} +QRadioButton::indicator { + width: 16px; + height: 16px; +} +QRadioButton::indicator::unchecked { + image: url(src/styles/theme2/app-icons/radiobutton_unchecked); +} +QRadioButton::indicator::checked { + image: url(src/styles/theme2/app-icons/radiobutton_checked); +} +QRadioButton::indicator::unchecked:hover { + image: url(src/styles/theme2/app-icons/radiobutton_unchecked_hover); +} +QRadioButton::indicator::checked:hover { + image: url(src/styles/theme2/app-icons/radiobutton_checked_hover); +} +QRadioButton:indicator:unchecked:disabled { + image: url(src/styles/theme2/app-icons/radiobutton_unchecked_disabled); +} +QRadioButton:indicator:checked:disabled { + image: url(src/styles/theme2/app-icons/radiobutton_checked_disabled); +} +/*-------------------------------------------- +Dialogs CSS +--------------------------------------------*/ +QWidget#buttonsContainer { + background: #ffffff; +} +QWidget#buttonsContainerWhite, +#buttonsContainerWhite_ { + background: #ffffff; +} +QWidget#ReceiveRequestDialog { + background: #f1e6ff; +} +QTextEdit#outUri { + border: none; +} +/*-------------------------------------------- +System Tray Message CSS +--------------------------------------------*/ +QBalloonTip{ + background: #e1e1e1; + color: #d5dde9; + border-color: #d5dde9; +} +QBalloonTip QLabel{ + color: #d5dde9; +} +QBalloonTip QPushButton{ + padding: 0px; + min-width: 0em; + background: transparent; + border-radius: 0px; +} +QBalloonTip QPushButton:hover{ + background: transparent; +} +QBalloonTip QPushButton:pressed { + background: transparent; +} +QBalloonTip QPushButton::disabled { + background: transparent; +} +/*-------------------------------------------- +Push Button CSS +--------------------------------------------*/ +QPushButton { + color: #7526e3; + background: transparent; + border: 1px solid #d5dde9; + border-radius: 14px; + min-width: 5em; + padding: 6px; + margin: 0px; +} +QPushButton:hover{ + border: 1px solid #cbd5e1; +} +QPushButton:pressed { + background: #7314df; + color: #ffffff; +} +QPushButton::disabled { + color: rgba(38, 161, 227, 40%); + background: rgba(255, 255, 255, 60%); + border: 1px solid rgba(209, 219, 231, 40%); +} +/*-------------------------------------------- +Scroll Area CSS +--------------------------------------------*/ +QScrollArea { + background: transparent; + border:none; +} +QWidget#scrollAreaWidgetContents, QWidget#detailWidget { + background: #f1e6ff; +} +.ABIFunctionField{ + background: transparent; +} +/*-------------------------------------------- +Debug Dialog CSS +--------------------------------------------*/ +QWidget#RPCConsole{ + background-color: #f1e6ff; +} +/*-------------------------------------------- +Shut Down Window CSS +--------------------------------------------*/ +QWidget#shutdownWindow{ + background-color: #f1e6ff; +} +/*-------------------------------------------- +Tool Button CSS +--------------------------------------------*/ +QToolButton { + background-color: transparent; + padding: 6px; + border: none; +} +QToolButton::hover{ + background-color: rgba(73, 88, 122, 20%); + padding-top: 5px; + padding-bottom: 5px; +} +QToolButton::pressed{ + background-color: rgba(73, 88, 122, 30%); +} +QToolButton::disabled{ + background-color: transparent; +} +/*-------------------------------------------- +Calendar CSS +--------------------------------------------*/ +QDateTimeEdit{ + padding: 4px; +} +QDateTimeEdit:drop-down { + border: 0px; + border-left: 1px solid #d5dde9; + margin-left: -8px; +} +QDateTimeEdit::down-arrow:hover, QDateTimeEdit:down-arrow { + image: url("src/styles/theme2/app-icons/cb_up_down_arrow"); + width: 6px; + height: 10px; + top: 1px; +} +QCalendarWidget QWidget{ + border-radius: 0px; +} +#qt_calendar_navigationbar{ + background: #6b04e8; +} +QCalendarWidget QAbstractSpinBox { + min-width: 0px; + border-radius: 0px; +} +QCalendarWidget QAbstractSpinBox::up-button{ + border-radius: 0px; +} +QCalendarWidget QAbstractSpinBox::down-button{ + border-radius: 0px; +} +QCalendarWidget QMenu{ + padding: 0px; +} +/* normal days */ +QCalendarWidget QAbstractItemView +{ + background-color: #373535; + alternate-background-color: #2E2C2C; + color: #cba1ff; + padding-bottom:-1px; +} +QCalendarWidget QAbstractItemView:disabled { + color: #535353; +} +/*-------------------------------------------- +Modal Overlay CSS +--------------------------------------------*/ +#ModalOverlay QProgressBar { + background-color: #ffffff; + border: none; + font: 1pt; + color: transparent; + border-radius: 4px; + height: 9px; +} +#ModalOverlay QProgressBar::chunk { + background-color: #7526e3; + border-radius: 4px; +} +#ModalOverlay QLabel { + color: #cba1ff; +} +#ModalOverlay #labelNumberOfBlocksLeft, +#ModalOverlay #labelLastBlockTime, +#ModalOverlay #labelSyncDone, +#ModalOverlay #labelProgressIncrease, +#ModalOverlay #labelEstimatedTimeLeft{ + color: #b5bfd7; +} +#ModalOverlay #labelNote { + font: 20pt; +} +#contentWidget{ + background: #e4ebf5; + border-radius: 14px; +} +#contentWidget #buttonsContainerWhite{ + border-bottom-right-radius: 12px; + border-bottom-left-radius: 12px; +} +/*-------------------------------------------- +Watch Only Widget CSS +--------------------------------------------*/ +#watchOnlyWidget{ + padding: 4px; +} +#watchOnlyWidget QAbstractItemView::item, +#watchOnlyWidget QAbstractItemView::item:selected { + padding: 4px; + padding-left: 8px; + padding-right: 8px; +} +#watchOnlyWidget QAbstractItemView { + padding: 4px; + padding-left: 0px; + padding-right: 0px; +} +/*-------------------------------------------- +Tab Bar close button CSS +--------------------------------------------*/ +QToolButton#tabBarTool { + padding: 2px; +} +QToolButton#tabBarTool::hover{ + padding-top: 1px; + padding-bottom: 1px; +} +/*-------------------------------------------- +Stake Page Widget CSS +--------------------------------------------*/ +#StakePage QLabel{ + color: #b5bfd7; +} +#frameStakeInfo { + background-color: #ffffff; + border: 1px dotted #b5bfd7; + color: #b5bfd7; + border-radius: 4px; +} +#frameStakeInfo #labelAssets{ + color: #000000; + font: 17pt; +} +#frameStakeInfo #labelHeight, +#frameStakeInfo #labelWeight, +#frameStakeInfo #labelReward, +#frameStakeInfo #labelROI, +#frameStakeInfo #labelStaking{ + color: #cba1ff; +} +#frameStakeInfo #hLine{ + border-top: 1px solid #e4ebf5; +} +/*-------------------------------------------- +Overview Page Widget CSS +--------------------------------------------*/ +#widgetWallet #widgetTotal QLabel, +#widgetWatch #widgetWatchTotal QLabel{ + color: #000000; + font: 23pt; +} +#widgetPending #vLine, +#widgetImmature #vLine_2, +#widgetStake #vLine_3, +#widgetWatchPending #vLine_4, +#widgetWatchImmature #vLine_5, +#widgetWatchStake #vLine_6{ + border-left: 1px solid rgba(107, 128, 175, 60%); +} +#widgetStatus #labelLogo{ + width: 32px; + height: 32px; + border-radius: 16px; + background-color: #ffffff; + image:url(":/icons/bitcoin"); + padding: 5px; + border: 1px solid #e3eaf3; +} + +#widgetRecent #showMoreButton{ + min-width: 3em; + padding: 1px; + border-radius: 8px; + min-height: 16px; + font: 8pt; +} +#widgetTransaction #buttonSend, +#widgetTransaction #buttonReceive{ + padding: 6px; + min-width: 8em; + border-radius: 18px; + border: 1px solid #a275e0; +} +/*-------------------------------------------- +Token Page Widget CSS +--------------------------------------------*/ +#labelTokenBalance{ + color: #000000; +} +#widgetQRFrame{ + background-color: #ffffff; + border-radius: 20px; +} +#widgetQRFrame::disabled{ + background-color: rgba(255, 255, 255, 20%); +} +#widgetQRMargin{ + background-color: #ffffff; + border-radius: 20px; + border: 1px solid #d5dde9; +} +#widgetQRMargin::disabled{ + background-color: rgba(255, 255, 255, 20%); + border: 1px solid rgba(209, 219, 231, 20%); +} +#tokenItemFrame{ + background-color: #ffffff; + border-radius: 6px; +} +TokenListWidget{ + background-color: #e4ebf5; +} +TokenItemWidget #tokenName{ + color: #cba1ff; + font: 13pt; +} +TokenItemWidget #tokenBalance{ + color: #000000; + font: 13pt; +} +TokenItemWidget #senderAddress{ + color: #d5dde9; + font: 10pt; +} +TokenItemWidget #tokenLogo{ + background-color: #a1daff; + border-radius: 20px; +} +/*-------------------------------------------- +Send Coins Dialog CSS +--------------------------------------------*/ +SendCoinsDialog #labelBalance{ + color: #000000; +} +SendCoinsDialog QScrollArea{ + border: 1px solid #d5dde9; + border-radius: 5px; +} +SendCoinsDialog #scrollAreaWidgetContents{ + margin: 3px; +} +QFrame #frameFee, +QWidget #coinControlContentsWidget{ + border: 1px solid #d5dde9; + border-radius: 5px; +} +SendCoinsDialog QScrollBar:vertical{ + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} +SendCoinsDialog QScrollBar:horizontal{ + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} +SendCoinsDialog QAbstractScrollArea::corner { + border-bottom-right-radius: 5px; +} +#SendCoinsEntry #hLine{ + border-top: 1px solid rgba(107, 128, 175, 60%); +} \ No newline at end of file diff --git a/src/styles/theme3/buttontransparent.css b/src/styles/theme3/buttontransparent.css new file mode 100644 index 0000000..86ab6d8 --- /dev/null +++ b/src/styles/theme3/buttontransparent.css @@ -0,0 +1,21 @@ +/*-------------------------------------------- +Push Button Transparent CSS +--------------------------------------------*/ +QPushButton { + background-color: transparent; + padding: 6px; + border: none; + min-width: 0px; + border-radius: 0px; +} +QPushButton::hover{ + background-color: rgba(73, 88, 122, 20%); + padding-top: 5px; + padding-bottom: 5px; +} +QPushButton::pressed{ + background-color: rgba(73, 88, 122, 30%); +} +QPushButton::disabled{ + background-color: transparent; +} diff --git a/src/styles/theme3/config.ini b/src/styles/theme3/config.ini new file mode 100644 index 0000000..06ecd03 --- /dev/null +++ b/src/styles/theme3/config.ini @@ -0,0 +1,79 @@ +[appstyle] +link-color=#2d9ad0 +message-critical-icon=src/styles/theme1/app-icons/message_critical +message-info-icon=src/styles/theme1/app-icons/message_info +message-question-icon=src/styles/theme1/app-icons/message_question +message-warning-icon=src/styles/theme1/app-icons/message_warning +message-icon-height=49 +message-icon-weight=45 +button_text_upper=0 + +[splashscreen] +foreground-color=#ffffff +background-color=#a275e0 +logo-frame-color=#a275e0 +background-image=src/styles/theme3/app-icons/splash_bg + +[platformstyle] +version=3 +single-color=#008ac8 +text-color=#e6f0f0 +menu-color=#cba1ff +table-color-normal=#856fab +table-color-input=#856fab +table-color-inout=#856fab +table-color-output=#856fab +table-color-error=#856fab +multi-states-icon-color1=#a275e0 +multi-states-icon-color2=#cba1ff +multi-states-icon-color3=#ffffff + +[txviewdelegate] +background-color-selected=#7314df +background-color=#f1f7fe +alternate-background-color=#f1f7fe +foreground-color=#cba1ff +foreground-color-selected=#ffffff +amount-color=#cba1ff + +[transactiondesc] +item-name-color=#45587d +item-color=#856fab +item-font-bold=0 + +[tokentransactiondesc] +item-name-color=#45587d +item-color=#856fab +item-font-bold=0 + +[navigationbar] +logo-space=20 + +[navtoolbutton] +color-enabled=#58abdf +color-pressed=#ffffff +color-hover=#94ccf2 +color-disabled=#73accf +sub-icon=src/styles/theme2/app-icons/right_arrow +sub-padding-right=10 +sub-padding-left=70 +sub-alignment=1 +sub-icon-height=6 +sub-icon-width=3 + +[unitdisplaystatusbarcontrol] +menu-margin=5 +icon-height=10 +icon-width=10 +icon-path=src/styles/theme3/app-icons/down_arrow_unit + +[modaloverlay] +warning-icon-color=#856fab + +[guiconstants] +color-unconfirmed=#47587d +color-negative=#cba1ff +color-bareaddress=#4c5d82 +color-tx-status-openuntildate=#2020ff +color-tx-status-danger=#ff4b54 +color-black=#00001f diff --git a/src/styles/theme3/invalid.css b/src/styles/theme3/invalid.css new file mode 100755 index 0000000..6b62e70 --- /dev/null +++ b/src/styles/theme3/invalid.css @@ -0,0 +1,33 @@ +/*-------------------------------------------- +Main Window CSS +--------------------------------------------*/ +QLineEdit{ + border: 3px solid #ff4b54; padding: 2px; +} +QTextEdit{ + border: 3px solid #ff4b54; padding: 2px; +} +QAbstractSpinBox{ + border: 3px solid #ff4b54; padding: 1px; +} +QValidatedTextEdit{ + border: 3px solid #ff4b54; + padding: 0px -2px 0px 3px; +} +QValidatedTextEdit QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; + width: 19px; + padding: 8px 2px 8px 6px; + margin: 0px 2px 0px -2px; +} +QComboBox { + border: 3px solid #ff4b54; padding: 2px 6px 2px 8px; +} +QComboBox:drop-down { + margin-left: -6px; +} +QComboBox QLineEdit{ + border: none; padding: 0px; background: transparent; +} diff --git a/src/styles/theme3/navbutton.css b/src/styles/theme3/navbutton.css new file mode 100755 index 0000000..1479fa9 --- /dev/null +++ b/src/styles/theme3/navbutton.css @@ -0,0 +1,24 @@ +/*-------------------------------------------- +Tool Button Black CSS +--------------------------------------------*/ +QToolButton { + color: #ffffff; + background: transparent; + border: 0px solid transparent; + border-radius: 0px; + padding: 10px; +} +QToolButton:checked { + border-right: 3px solid #006daf; +} +QToolButton:pressed, QToolButton:hover:pressed, QToolButton:checked { + color: #ffffff; + background: #0088d0; +} +QToolButton:hover:!checked { + color: #ffffff; + background: #58a7e6; +} +QToolButton:disabled { + color: rgba(255, 255, 255, 20%); +} diff --git a/src/styles/theme3/navgroupbutton.css b/src/styles/theme3/navgroupbutton.css new file mode 100755 index 0000000..1b21be6 --- /dev/null +++ b/src/styles/theme3/navgroupbutton.css @@ -0,0 +1,25 @@ +/*-------------------------------------------- +Tool Button Black CSS +--------------------------------------------*/ +QToolButton { + color: #ffffff; + background: transparent; + border: 0px solid transparent; + border-radius: 0px; + padding: 10px 20px 10px 10px; +} +QToolButton:checked { + border-right: 3px solid #006daf; + padding: 3px 20px 5px 10px; +} +QToolButton:pressed, QToolButton:hover:pressed, QToolButton:checked { + color: #ffffff; + background: #0088d0; +} +QToolButton:hover:!checked { + color: #ffffff; + background: #58a7e6; +} +QToolButton:disabled { + color: rgba(255, 255, 255, 20%); +} diff --git a/src/styles/theme3/navsubgroupbutton.css b/src/styles/theme3/navsubgroupbutton.css new file mode 100755 index 0000000..678c5d3 --- /dev/null +++ b/src/styles/theme3/navsubgroupbutton.css @@ -0,0 +1,21 @@ +/*-------------------------------------------- +Tool Button Black CSS +--------------------------------------------*/ +QToolButton { + color: #58abdf; + background: #0088d0; + border: 0px solid transparent; + border-radius: 0px; + padding: 6px 20px 6px 6px; + border-right: 3px solid #006daf; +} +QToolButton:pressed, QToolButton:hover:pressed, QToolButton:checked { + color: #ffffff; +} +QToolButton:hover:!checked { + color: #94ccf2; + background: #1d90d9; +} +QToolButton:disabled { + color: rgba(255, 255, 255, 20%); +} diff --git a/src/styles/theme3/scrollbardark.css b/src/styles/theme3/scrollbardark.css new file mode 100644 index 0000000..e78a212 --- /dev/null +++ b/src/styles/theme3/scrollbardark.css @@ -0,0 +1,48 @@ +/*-------------------------------------------- +Scroll bar dark CSS +--------------------------------------------*/ +QScrollBar:vertical { + border-radius: 0px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; + background: #ffffff; + width: 12px; + padding: 5px 0px 5px 2px; +} +QScrollBar::handle:vertical { + border: none; + background: #d5dde9; + border-radius: 5px; + min-height: 30px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(209, 219, 231, 40%); +} + +QScrollBar:horizontal { + background: #ffffff; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #d5dde9; + border-radius: 4px; + min-width: 35px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(209, 219, 231, 40%); +} +#autoCompleterPopup QScrollBar:vertical { + border-radius: 0px; + background: transparent; + width: 13px; + padding: 0px 0px; + margin-left: 3px; +} +#autoCompleterPopup QScrollBar::handle:vertical { + border: none; + background: #ffffff; + border-radius: 5px; + min-height: 30px; +} diff --git a/src/styles/theme3/tableviewlight.css b/src/styles/theme3/tableviewlight.css new file mode 100644 index 0000000..0c9ea7f --- /dev/null +++ b/src/styles/theme3/tableviewlight.css @@ -0,0 +1,35 @@ +/*-------------------------------------------- +Table View light CSS +--------------------------------------------*/ +QHeaderView{ + color: #d5dde9; + background-color: #ffffff; + border-top-left-radius: 6px; + border-top-right-radius: 6px; +} +QHeaderView:section{ + background-color: #ffffff; + margin-top: 3px; +} +QHeaderView::down-arrow { + margin-top: 3px; +} +QHeaderView::up-arrow { + margin-top: 3px; +} +QTableView{ + background-color: #ffffff; + border: 1px solid #d5dde9; + border-radius: 6px; +} +QScrollBar:vertical { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} +QScrollBar:horizontal { + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; +} +QAbstractScrollArea::corner { + border-bottom-right-radius: 6px; +} diff --git a/src/styles/theme3/treeview.css b/src/styles/theme3/treeview.css new file mode 100644 index 0000000..a174839 --- /dev/null +++ b/src/styles/theme3/treeview.css @@ -0,0 +1,98 @@ +/*-------------------------------------------- +Tree view CSS +--------------------------------------------*/ +QTreeWidget { + background-color:rgba(0,0,0,0); + selection-background-color: #7526e3; + show-decoration-selected:0; +} +QTreeView{ + color: #cba1ff; + background-color: #ffffff; + alternate-background-color: #ffffff; + border: none; + font: normal; + qproperty-showGrid: false; + qproperty-alternatingRowColors: false; + qproperty-selectionBehavior: SelectRows; +} +QTreeView::item{ + border: none; + padding: 4px; +} +QTreeView::item:selected{ + qproperty-showGrid: false; + background: #7526e3; + color: #ffffff; +} +QTreeView::disabled{ + color: rgba(107, 128, 175, 20%); +} +/*-------------------------------------------- +Scroll bar dark CSS +--------------------------------------------*/ +QScrollBar:vertical { + border-radius: 0px; + background: #ffffff; + width: 16px; + padding: 5px 4px; +} +QScrollBar::handle:vertical { + border: none; + background: #d5dde9; + border-radius: 4px; + min-height: 45px; +} +QScrollBar::handle:vertical:disabled { + background: rgba(209, 219, 231, 40%); +} + +QScrollBar:horizontal { + border-radius: 0px; + background: #ffffff; + height: 16px; + padding: 4px 5px; +} +QScrollBar::handle:horizontal { + border: none; + background: #d5dde9; + border-radius: 4px; + min-width: 45px; +} +QScrollBar::handle:horizontal:disabled { + background: rgba(209, 219, 231, 40%); +} +/*-------------------------------------------- +Check Box CSS +--------------------------------------------*/ +QTreeView::indicator { + width: 16px; + height: 16px; +} +QTreeView::indicator::unchecked { + image: url(src/styles/theme2/app-icons/checkbox_unchecked); +} +QTreeView::indicator::checked { + image: url(src/styles/theme2/app-icons/checkbox_checked); +} +QTreeView:indicator:indeterminate { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate); +} +QTreeView::indicator::unchecked:hover { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_hover); +} +QTreeView::indicator::checked:hover { + image: url(src/styles/theme2/app-icons/checkbox_checked_hover); +} +QTreeView:indicator:indeterminate:hover { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_hover); +} +QTreeView:indicator:unchecked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_unchecked_disabled); +} +QTreeView:indicator:checked:disabled { + image: url(src/styles/theme2/app-icons/checkbox_checked_disabled); +} +QTreeView:indicator:indeterminate:disabled { + image: url(src/styles/theme2/app-icons/checkbox_indeterminate_disabled); +}