Author: mir3x
Date: Mon Dec 19 19:27:08 2016
New Revision: 34729

URL: http://svn.gna.org/viewcvs/freeciv?rev=34729&view=rev
Log:
Qt client - some minor themes changes

See patch #8050


Modified:
    trunk/data/themes/gui-qt/Classic/resource.qss
    trunk/data/themes/gui-qt/Necrophos/resource.qss
    trunk/data/themes/gui-qt/NightStalker/resource.qss

Modified: trunk/data/themes/gui-qt/Classic/resource.qss
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/themes/gui-qt/Classic/resource.qss?rev=34729&r1=34728&r2=34729&view=diff
==============================================================================
--- trunk/data/themes/gui-qt/Classic/resource.qss       (original)
+++ trunk/data/themes/gui-qt/Classic/resource.qss       Mon Dec 19 19:27:08 2016
@@ -449,6 +449,16 @@
   background: #e1cea1;
 }
 
+city_dialog QFrame {
+  border: none
+}
+
+city_dialog QGroupBox {
+  border-radius: 5px;
+  margin-top: 2.5ex;
+  border: 1px solid #a5a5a5;
+}
+
 QCheckBox:disabled, QRadioButton:disabled {
   background-color: transparent;
   color: #7b7b7b;
@@ -766,6 +776,13 @@
   selection-color: rgba(85, 25, 25, 185);
 }
 
+unit_hud_selector {
+  color: white;
+  background-image:url(LittleFingerpattern.png);
+  border: 2px solid #a5a5a5;
+}
+
+
 hud_action {
   selection-background-color:  rgba(221, 204, 161, 220);
   color: rgb(5,5,185);

Modified: trunk/data/themes/gui-qt/Necrophos/resource.qss
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/themes/gui-qt/Necrophos/resource.qss?rev=34729&r1=34728&r2=34729&view=diff
==============================================================================
--- trunk/data/themes/gui-qt/Necrophos/resource.qss     (original)
+++ trunk/data/themes/gui-qt/Necrophos/resource.qss     Mon Dec 19 19:27:08 2016
@@ -47,22 +47,33 @@
   background: #006633;
 }
 
+
 QPushButton {
   color: black;
   background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #fefefe 
,stop: 1 #eaeaea);
-  border: 1px solid #a5a5a5;
-  border-radius: 6px;
+  border: 2px solid #a5a5a5;
+  border-radius: 0px;
   padding: 2px;
 }
 
 QPushButton:hover {
-  color: white;
-  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2ebd26, 
stop: 1 #29aa22);
-  border: 1px solid black;
+  color: black;
+  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f5f5f5, 
stop: 1 #e9ffe5);
+  border: 2px solid #0e8706;
 }
 
 QPushButton:disabled {
   background: #c2c2c2;
+}
+
+QPushButton:default {
+  padding: 2px;
+}
+
+city_dialog QPushButton:hover {
+  color: black;
+  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f5f5f5, 
stop: 1 #ededed);
+  border: 2px solid #0e8706;
 }
 
 QLabel {
@@ -80,13 +91,13 @@
   padding: 0 0;
   color: black;
   selection-color: white;
-  selection-background-color:  #2ebd26;
+  selection-background-color:  #5d8869;
 }
 
 QTableWidget::item:selected {
   border: none;
   padding: 0 0;
-  background: #2ebd26;
+  background: #5d8869;
 }
 
 
@@ -216,7 +227,11 @@
 
 QMenu::item:selected {
   color: white;
-  background-color: #29aa22;
+  background-color: #5d8869;
+}
+
+QMenu::separator {
+  background: #595959;
 }
 
 minimap_view
@@ -374,20 +389,20 @@
   padding: 0 0;
   color: black;
   selection-color: white;
-  selection-background-color:  #2ebd26;
+  selection-background-color:  #5d8869;
 }
 
 QTreeView::item:selected {
   border: none;
   padding: 0 0;
-  background: #2ebd26;
+  background: #5d8869;
 }
 
 
 QItemDelegate:selected {
   border: none;
   padding: 0 0;
-  background-color: #2ebd26;
+  background-color: #5d8869;
 }
 
 QToolTip {
@@ -435,7 +450,7 @@
 
 QGroupBox {
   color: black;
-  background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 
#d6d6d6, stop: 1 #ebebeb);
+  background-color: #dcdcdc;
   border: 1px solid #808080;
   border-radius: 5px;
   margin-top: 2ex;
@@ -472,6 +487,16 @@
 
 city_dialog QScrollArea {
   background: #c5c5c5;
+}
+
+city_dialog QFrame {
+  border: none
+}
+
+city_dialog QGroupBox {
+  border-radius: 5px;
+  margin-top: 2ex;
+  border: 1px solid #a5a5a5;
 }
 
 science_report QScrollArea {
@@ -559,7 +584,7 @@
 
 QTreeWidget::item:selected {
   border: none;
-  background: #2ebd26;
+  background: #5d8869;
 }
 
 
@@ -621,7 +646,7 @@
 
 messagewdg QTableWidget::item:hover {
   color: white;
-  background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 
#2ebd26, stop: 1 #29aa22);
+  background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 
#5d8869, stop: 1 #5d8869);
   border-radius: 9px;
 }
 
@@ -681,6 +706,30 @@
   selection-color: rgba(85, 25, 25, 185);
 }
 
+hud_message_box QDialogButtonBox QPushButton {
+  border-radius: 0px;
+  padding: 0px;
+  min-width: 160px;
+}
+
+unit_hud_selector {
+  color: white;
+  background-image:url(LittleFingersun.png);
+  border: 2px solid #a5a5a5;
+}
+
+unit_hud_selector QGroupBox {
+  color: white;
+  background-image:url(LittleFingerpattern.png);
+  border: 1px solid #a5a5a5;
+  border-radius: 5px;
+  margin-top: 2ex;
+}
+
+unit_hud_selector QLabel {
+  color: white;
+}
+
 hud_action {
   selection-background-color: rgba(0, 200, 0, 220);
   color: rgb(5,5,185);
@@ -698,3 +747,7 @@
   selection-background-color: rgba(0, 0, 75,165);
   alternate-background-color: #dcffcf;
 }
+
+unit_item, impr_item {
+  selection-background-color: #5d8869;
+}

Modified: trunk/data/themes/gui-qt/NightStalker/resource.qss
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/themes/gui-qt/NightStalker/resource.qss?rev=34729&r1=34728&r2=34729&view=diff
==============================================================================
--- trunk/data/themes/gui-qt/NightStalker/resource.qss  (original)
+++ trunk/data/themes/gui-qt/NightStalker/resource.qss  Mon Dec 19 19:27:08 2016
@@ -91,7 +91,7 @@
   border: 2px solid #0000AA;
 }
 
-unit_hud_selector QPushButton {
+unit_hud_selector, tax_rates_dialog QPushButton {
   color: #FFFFFF;
   background: #323843;
   border: 2px solid #47515f;
@@ -100,7 +100,8 @@
   min-width: 160px;
 }
 
-unit_hud_selector QPushButton:hover {
+
+unit_hud_selector, tax_rates_dialog QPushButton:hover {
   color: white;
   background: #414a57;
   border: 2px solid #3399FF;
@@ -306,9 +307,21 @@
   border-radius: 9px;
 }
 
+
 minimap_view
 {
   selection-background-color: #1155BB;
+}
+
+QTreeWidget {
+  color: white;
+  background-color: #353b47;
+  border: none;
+}
+
+QTreeWidget::item:selected {
+  border: none;
+  background: #3399FF;
 }
 
 QComboBox QAbstractItemView {
@@ -686,16 +699,6 @@
   background: #3399FF; min-width: 20px
 }
 
-QTreeWidget {
-  color: white;
-  background-color: #353b47;
-  border: none;
-}
-
-QTreeWidget::item:selected {
-  border: none;
-  background: #3399FF;
-}
 
 fc_game_tab_widget {
    background-image:url(LittleFingerpattern-game.png);
@@ -703,23 +706,29 @@
 
 help_widget QTextBrowser
 {
-  background-color: #353b47;
+  background-color: #414a57;
   color: white;
 }
 
 help_widget QWidget
 {
-  background-color: #353b47;
+  background-color: #414a57;
+  color: white;
+}
+
+help_widget QTreeWidget
+{
+  background-color: #414a57;
   color: white;
 }
 
 help_widget QScrollArea QFrame {
-  background-color: #353b47;
+  background-color: #414a57;
   color: white;
 }
 
 help_widget QScrollArea {
-  background-color: #353b47;
+  background-color: #414a57;
   color: white;
 }
 
@@ -832,3 +841,9 @@
   selection-background-color: rgba(0, 0, 75,165);
   alternate-background-color: #0000AA;
 }
+
+tax_rates_dialog {
+  color: white;
+  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgba(0, 0, 
75,195) stop:1 rgba(25, 25, 45, 225));
+  border: 2px solid #0000AA;
+}


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to