diff -r 26c739440bef -r d23742ccf92b QTfrontend/res/css/qt.css --- a/QTfrontend/res/css/qt.css Fri Mar 16 16:35:08 2018 +0100 +++ b/QTfrontend/res/css/qt.css Fri Mar 16 19:05:11 2018 +0100 @@ -56,6 +56,19 @@ border-color: yellow; } +TeamShowWidget QPushButton { +icon-size: 48px; +text-align: left; +background-color: #0d0544; +color: orange; +font: bold; +border-width: 2px; +margin: 6px 0px 6px 0px; +} +TeamShowWidget QPushButton:disabled { +color: #a0a0a0; +} + QToolButton { background-color: #11084A; } @@ -76,6 +89,11 @@ #mapPreview { background-color: #0d0544; } +#mapPreview:disabled{ +border-color: #a0a0a0; +background-color: #0d0544; +color: #ffffff; +} QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView, QSpinBox, QToolBox::tab, QComboBox, QComboBox QAbstractItemView, @@ -111,10 +129,6 @@ border-top-left-radius: 0px; } -QLineEdit:disabled, QSpinBox:disabled { -border-color: gray; -} - GameCFGWidget { border: none; } @@ -166,10 +180,16 @@ QSpinBox::up-arrow { image: url(":/res/spin_up.png"); } +QSpinBox::up-arrow:disabled { +image: url(":/res/spin_up_disabled.png"); +} QSpinBox::down-arrow { image: url(":/res/spin_down.png"); } +QSpinBox::down-arrow:disabled { +image: url(":/res/spin_down_disabled.png"); +} QSpinBox::down-button { background: transparent; @@ -192,6 +212,9 @@ QComboBox::down-arrow { image: url(":/res/dropdown.png"); } +QComboBox::down-arrow:disabled { +image: url(":/res/dropdown_disabled.png"); +} VertScrArea { background-position: bottom center; @@ -287,6 +310,11 @@ :disabled{ color: #a0a0a0; +border-color: #a0a0a0; +} +QListWidget:item:selected:disabled, QListView:item:selected:disabled{ +color: rgba(13, 5, 68, 70%); +background-color: #a0a0a0; } SquareLabel, ItemNum { background-color: #000000; @@ -297,6 +325,9 @@ margin: 2px 0px; background-color: #ffcc00; } +QSlider::groove::horizontal:disabled { +background-color: #a0a0a0; +} QSlider::handle::horizontal { border: 0px; @@ -306,6 +337,9 @@ height: 6px; border-radius: 3px; } +QSlider::handle::horizontal:disabled { +background-color: #a0a0a0; +} HatButton, ThemeButton { text-align: left;