/**
Copyright (c) 2020 The Dash Core developers
Distributed under the MIT/X11 software license, see the accompanying
file COPYING or http://www.opensource.org/licenses/mit-license.php.

---------------------------------------------------------------------

This file contains all changes for the dash theme "Traditional".

NOTE: This file gets not appended to the general.css. The Traditional
theme is a standalone theme which just fixes some bugs in the OS default
depiction of the Qt elements.

Loaded in GUIUtil::loadStyleSheet() in guitil.cpp.
**/

/* do not modify! section updated by update-css-files.py
<colors>

# Used colors in traditional.css for commit 44de8a93f2

#00000000
#222222
#333
#fff
#008de4
#047ac2
#a84832
#ccfafafa

</colors>
*/

/******************************************************
QToolBar / QToolButton
******************************************************/

QToolBar QLabel#lblToolbarLogo {
    padding: 12px;
    image: url(':/images/cosanta_logo_toolbar_blue');
    height: 2.5em;
}

/******************************************************
QPushButton - Special case, tabbar replacement buttons
******************************************************/

/* Debug window buttons */
#btnInfo,
#btnConsole,
#btnNetTraffic,
#btnPeers,
#btnRepair,
/* Options dialog buttons */
#btnMain,
#btnWallet,
#btnCoinJoin,
#btnNetwork,
#btnDisplay,
#btnAppearance,
/* Sign/Verify dialog buttons */
#btnSignMessage,
#btnVerifyMessage {
    background: none;
    border-radius: 0px;
    border-bottom: 3px solid red;
    padding-bottom: 5px;
    background-color: #00000000;
    border-color: #008de4;
}

/* Debug window buttons */
#btnInfo:hover:checked,
#btnConsole:hover:checked,
#btnNetTraffic:hover:checked,
#btnPeers:hover:checked,
#btnRepair:hover:checked,
/* Options dialog buttons */
#btnMain:hover:checked,
#btnWallet:hover:checked,
#btnCoinJoin:hover:checked,
#btnNetwork:hover:checked,
#btnDisplay:hover:checked,
#btnAppearance:hover:checked,
/* Sign/Verify dialog buttons */
#btnSignMessage:hover:checked,
#btnVerifyMessage:hover:checked {
    border: none;
    border-radius: 0px;
    border-bottom: 3px solid red;
    background-color: #00000000;
    border-color: #333;
}

/* Debug window buttons */
#btnInfo:hover:!checked,
#btnConsole:hover:!checked,
#btnNetTraffic:hover:!checked,
#btnPeers:hover:!checked,
#btnRepair:hover:!checked,
/* Options dialog buttons */
#btnMain:hover:!checked,
#btnWallet:hover:!checked,
#btnCoinJoin:hover:!checked,
#btnNetwork:hover:!checked,
#btnDisplay:hover:!checked,
#btnAppearance:hover:!checked,
/* Sign/Verify dialog buttons */
#btnSignMessage:hover:!checked,
#btnVerifyMessage:hover:!checked {
    border: none;
    border-radius: 0px;
    border-bottom: 3px solid red;
    background-color: #00000000;
    border-color: #047ac2;
}

/* Debug window buttons */
#btnInfo:checked,
#btnConsole:checked,
#btnNetwork:checked,
#btnPeers:checked,
#btnRepair:checked,
/* Options dialog buttons */
#btnMain:checked,
#btnWallet:checked,
#btnCoinJoin:checked,
#btnNetwork:checked,
#btnDisplay:checked,
#btnAppearance:checked,
/* Sign/Verify dialog buttons */
#btnSignMessage:checked,
#btnVerifyMessage:checked {
    border: none;
    border-radius: 0px;
    border-bottom: 3px solid red;
    background-color: #00000000;
    border-color: #333;
}

/******************************************************
QTabWidget - Info sub-tab segmented control
******************************************************/

QTabWidget#tabWidgetInfo::pane {
    border: none;
    margin-top: 6px;
}

QTabWidget#tabWidgetInfo QTabBar::tab {
    background-color: transparent;
    border: 1px solid #008de4;
    border-right: none;
    padding: 3px 12px;
    color: #a7a7a7;
}

QTabWidget#tabWidgetInfo QTabBar::tab:first {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

QTabWidget#tabWidgetInfo QTabBar::tab:last {
    border-right: 1px solid #008de4;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

QTabWidget#tabWidgetInfo QTabBar::tab:only-one {
    border-right: 1px solid #008de4;
    border-radius: 4px;
}

QTabWidget#tabWidgetInfo QTabBar::tab:selected {
    background-color: #008de4;
    border-color: #008de4;
    color: #ffffff;
}

QTabWidget#tabWidgetInfo QTabBar::tab:hover:!selected {
    background-color: rgba(0, 141, 228, 25);
    color: #333;
}

/******************************************************
ModalOverlay
******************************************************/

QWidget#bgWidget { /* The frame overlaying the overview-page */
    padding-left: 10px;
    padding-right: 10px;
    background-color: #ccfafafa;
}

QWidget#contentWidget { /* The actual content with the text/buttons/etc... */
    background-color: #fff;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    border: 1px solid;
    border-radius: 6px;
}

/******************************************************
AppearanceSetup
******************************************************/

QDialog#AppearanceSetup {
    min-width: 600px;
    max-width: 600px;
    min-height: 400px;
    max-height: 400px;
}

QDialog#AppearanceSetup > QFrame {
    border-bottom: 1px solid red;
}

QDialog#AppearanceSetup > QLabel#lblHeading {
    min-height: 50px;
    max-height: 50px;
}

QDialog#AppearanceSetup > QLabel#lblSubHeading {
    min-height: 30px;
    max-height: 30px;
}

QDialog#AppearanceSetup > AppearanceWidget {
    min-height: 250px;
    max-height: 250px;
}

/******************************************************
AppearanceWidget
******************************************************/

AppearanceWidget #lblTheme,
AppearanceWidget #lblFontFamily,
AppearanceWidget #lblFontScale,
AppearanceWidget #lblFontWeightNormal,
AppearanceWidget #lblFontWeightBold,
AppearanceWidget #lblSmaller,
AppearanceWidget #lblBigger,
AppearanceWidget #lblBolderNormal,
AppearanceWidget #lblBolderBold,
AppearanceWidget #lblLighterNormal,
AppearanceWidget #lblLighterBold {
    min-height: 40px;
}

AppearanceWidget #lblTheme,
AppearanceWidget #lblFontFamily,
AppearanceWidget #lblFontScale,
AppearanceWidget #lblFontWeightNormal,
AppearanceWidget #lblFontWeightBold {
    min-width: 280px;
    max-width: 280px;
}

/******************************************************
OptionsDialog
******************************************************/

QDialog#OptionsDialog {
    min-width: 650px;
}

QDialog#OptionsDialog QCheckBox#connectSocksTor,
QDialog#OptionsDialog QLabel#overriddenByCommandLineInfoLabel {
    min-width: 550px;
}

/******************************************************
OverviewPage
******************************************************/

QWidget#OverviewPage QLabel#labelAlerts {
     background-color: #c79304;
     color: #222222;
     border-radius: 5px;
     padding: 5px;
 }

QWidget .QFrame#frame .QLabel#labelWalletStatus, /* Wallet Sync Status */
QWidget .QFrame#frameCoinJoin .QLabel#labelCoinJoinSyncStatus, /* CoinJoin Sync Status */
QWidget .QFrame#frame_2 .QLabel#labelTransactionsStatus { /* Recent Transactions Sync Status */
    color: #a84832;
}

QWidget .QFrame#frame_2 QListView { /* Transaction List */
    background: #00000000;
    min-width: 430px;
    margin-right: 10px;
}

/******************************************************
RPCConsole
******************************************************/

QWidget#RPCConsole QLabel#label_alerts {
    background-color: #c79304;
    color: #222222;
    border-radius: 5px;
    padding: 5px;
}

/******************************************************
SendCoinsDialog
******************************************************/

QDialog#SendCoinsDialog QLabel#labelBalance {
    margin-left: 0px;
    padding-left: 0px;
}

QDialog#SendCoinsDialog .QFrame#frameCoinControl .QLabel#labelCoinControlInsuffFunds { /* Insufficient Funds Label */
    color: #a84832;
}
