diff options
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/qt_themes/default/style.qss | 14 | ||||
| -rw-r--r-- | dist/qt_themes/qdarkstyle/style.qss | 71 | ||||
| -rw-r--r-- | dist/qt_themes/qdarkstyle_midnight_blue/style.qss | 81 | 
3 files changed, 63 insertions, 103 deletions
diff --git a/dist/qt_themes/default/style.qss b/dist/qt_themes/default/style.qss index b6dd2063d..836dd25ca 100644 --- a/dist/qt_themes/default/style.qss +++ b/dist/qt_themes/default/style.qss @@ -1,3 +1,7 @@ +QAbstractSpinBox { +    min-height: 19px; +} +  QPushButton#TogglableStatusBarButton {      color: #959595;      border: 1px solid transparent; @@ -35,10 +39,10 @@ QPushButton#RendererStatusBarButton:!checked {  }  QPushButton#buttonRefreshDevices { -    min-width: 20px; -    min-height: 20px; -    max-width: 20px; -    max-height: 20px; +    min-width: 21px; +    min-height: 21px; +    max-width: 21px; +    max-height: 21px;  }  QWidget#bottomPerGameInput, @@ -71,7 +75,7 @@ QWidget#middleControllerApplet {  QWidget#topPerGameInput QComboBox,  QWidget#middleControllerApplet QComboBox { -    width: 123px; +    width: 120px;  }  QWidget#connectedControllers { diff --git a/dist/qt_themes/qdarkstyle/style.qss b/dist/qt_themes/qdarkstyle/style.qss index 66026e8be..aca6531ac 100644 --- a/dist/qt_themes/qdarkstyle/style.qss +++ b/dist/qt_themes/qdarkstyle/style.qss @@ -99,12 +99,19 @@ QGroupBox::indicator:unchecked:disabled {  }  QRadioButton { -    spacing: 5px; -    outline: none;      color: #eff0f1; +    spacing: 3px; +    padding: 0px; +    border: none; +    outline: none;      margin-bottom: 2px;  } +QGroupBox QRadioButton { +    padding-left: 0px; +    padding-right: 7px; +} +  QRadioButton:disabled {      color: #76797C;  } @@ -522,13 +529,12 @@ QToolButton#qt_toolbar_ext_button {  QPushButton {      color: #eff0f1; -    border-width: 1px; -    border-color: #54575B; -    border-style: solid; -    padding: 6px 4px; +    border: 1px solid #54575B;      border-radius: 2px; +    padding: 5px 0px 5px 0px;      outline: none;      min-width: 100px; +    min-height: 13px;      background-color: #232629;  } @@ -553,8 +559,9 @@ QComboBox {      selection-background-color: #3daee9;      border: 1px solid #54575B;      border-radius: 2px; -    padding: 4px 6px; -    min-width: 75px; +    padding: 0px 4px 0px 4px; +    min-width: 60px; +    min-height: 23px;      background-color: #232629;  } @@ -608,26 +615,26 @@ QComboBox::down-arrow:focus {  }  QAbstractSpinBox { -    padding: 4px 6px;      border: 1px solid #54575B;      background-color: #232629;      color: #eff0f1;      border-radius: 2px; -    min-width: 75px; +    min-width: 52px; +    min-height: 23px;  }  QAbstractSpinBox:up-button {      background-color: transparent;      subcontrol-origin: border;      subcontrol-position: center right; -    left: -6px; +    left: -2px;  }  QAbstractSpinBox:down-button {      background-color: transparent;      subcontrol-origin: border;      subcontrol-position: center left; -    right: -6px; +    right: -2px;  }  QAbstractSpinBox::up-arrow, @@ -1277,34 +1284,17 @@ QPushButton#RendererStatusBarButton:!checked {  }  QPushButton#buttonRefreshDevices { -    min-width: 24px; -    min-height: 24px; -    max-width: 24px; -    max-height: 24px; +    min-width: 23px; +    min-height: 23px; +    max-width: 23px; +    max-height: 23px;      padding: 0px 0px;  }  QSpinBox#spinboxLStickRange, -QSpinBox#spinboxRStickRange { -    padding: 4px 0px 5px 0px; -    min-width: 63px; -} - +QSpinBox#spinboxRStickRange,  QSpinBox#vibrationSpin { -    padding: 4px 0px 5px 0px; -    min-width: 63px; -} - -QSpinBox#spinboxLStickRange:up-button, -QSpinBox#spinboxRStickRange:up-button, -QSpinBox#vibrationSpin:up-button { -    left: -2px; -} - -QSpinBox#spinboxLStickRange:down-button, -QSpinBox#spinboxRStickRange:down-button, -QSpinBox#vibrationSpin:down-button { -    right: -1px; +    min-width: 68px;  }  QGroupBox#motionGroup::indicator, @@ -1340,16 +1330,7 @@ QWidget#middleControllerApplet {  QWidget#topPerGameInput QComboBox,  QWidget#middleControllerApplet QComboBox { -    width: 119px; -} - -QRadioButton#radioDocked { -    margin-left: -3px; -} - - -QRadioButton#radioUndocked { -    margin-right: 5px; +    width: 120px;  }  QWidget#connectedControllers { diff --git a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss index c6318ba4e..ad032a966 100644 --- a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss +++ b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss @@ -172,8 +172,8 @@ QCheckBox {    color: #F0F0F0;    spacing: 4px;    outline: none; -  padding-top: 4px; -  padding-bottom: 4px; +  padding-top: 2px; +  padding-bottom: 2px;  }  QCheckBox:focus { @@ -239,7 +239,7 @@ QGroupBox {    border: 1px solid #32414B;    border-radius: 4px;    margin-top: 12px; -  padding: 4px; +  padding: 2px;  }  QGroupBox::title { @@ -247,7 +247,7 @@ QGroupBox::title {    subcontrol-position: top left;    padding-left: 3px;    padding-right: 5px; -  padding-top: 4px; +  padding-top: 2px;  }  QGroupBox::indicator { @@ -298,6 +298,11 @@ QRadioButton {    outline: none;  } +QGroupBox QRadioButton { +  padding-left: 0px; +  padding-right: 7px; +} +  QRadioButton:focus {    border: none;  } @@ -321,7 +326,6 @@ QRadioButton QWidget {  QRadioButton::indicator {    border: none;    outline: none; -  margin-left: 4px;    height: 16px;    width: 16px;  } @@ -785,14 +789,8 @@ QAbstractSpinBox {    background-color: #19232D;    border: 1px solid #32414B;    color: #F0F0F0; -  /* This fixes 103, 111 */ -  padding-top: 2px; -  /* This fixes 103, 111 */ -  padding-bottom: 2px; -  padding-left: 4px; -  padding-right: 4px;    border-radius: 4px; -  /* min-width: 5px; removed to fix 109 */ +  min-height: 19px;  }  QAbstractSpinBox:up-button { @@ -997,10 +995,11 @@ QPushButton {    border: 1px solid #32414B;    color: #F0F0F0;    border-radius: 4px; -  padding: 3px; +  padding: 3px 0px 3px 0px;    outline: none;    /* Issue #194 - Special case of QPushButton inside dialogs, for better UI */    min-width: 80px; +  min-height: 13px;  }  QPushButton:disabled { @@ -1008,14 +1007,14 @@ QPushButton:disabled {    border: 1px solid #32414B;    color: #787878;    border-radius: 4px; -  padding: 3px; +  padding: 3px 0px 3px 0px;  }  QPushButton:checked {    background-color: #32414B;    border: 1px solid #32414B;    border-radius: 4px; -  padding: 3px; +  padding: 3px 0px 3px 0px;    outline: none;  } @@ -1024,7 +1023,7 @@ QPushButton:checked:disabled {    border: 1px solid #32414B;    color: #787878;    border-radius: 4px; -  padding: 3px; +  padding: 3px 0px 3px 0px;    outline: none;  } @@ -1197,15 +1196,9 @@ QComboBox {    border: 1px solid #32414B;    border-radius: 4px;    selection-background-color: #1464A0; -  padding-left: 4px; -  padding-right: 36px; -  /* 4 + 16*2 See scrollbar size */ -  /* Fixes #103, #111 */ -  min-height: 1.5em; -  /* padding-top: 2px;     removed to fix #132 */ -  /* padding-bottom: 2px;  removed to fix #132 */ -  /* min-width: 75px;      removed to fix #109 */ -  /* Needed to remove indicator - fix #132 */ +  padding: 0px 4px 0px 4px; +  min-width: 60px; +  min-height: 19px;  }  QComboBox QAbstractItemView { @@ -2198,16 +2191,17 @@ QPushButton#RendererStatusBarButton:!checked {  }  QPushButton#buttonRefreshDevices { -  min-width: 20px; -  min-height: 20px; -  max-width: 20px; -  max-height: 20px; +  min-width: 19px; +  min-height: 19px; +  max-width: 19px; +  max-height: 19px;    padding: 0px 0px;  }  QSpinBox#spinboxLStickRange, -QSpinBox#spinboxRStickRange { -  min-width: 38px; +QSpinBox#spinboxRStickRange, +QSpinBox#vibrationSpin { +  min-width: 68px;  }  QGroupBox#motionGroup::indicator, @@ -2260,26 +2254,7 @@ QWidget#middleControllerApplet {  QWidget#topPerGameInput QComboBox,  QWidget#middleControllerApplet QComboBox { -  padding-right: 2px; -  width: 127px; -} - -QGroupBox#handheldGroup { -  padding-left: 0px; -} - -QRadioButton#radioDocked { -  margin-left: -1px; -  padding-left: 0px; -} - -QRadioButton#radioDocked::indicator { -  margin-left: 0px; -} - - -QRadioButton#radioUndocked { -  margin-right: 2px; +  width: 120px;  }  QWidget#connectedControllers { @@ -2352,7 +2327,7 @@ QCheckBox#checkboxPlayer5Connected,  QCheckBox#checkboxPlayer6Connected,  QCheckBox#checkboxPlayer7Connected,  QCheckBox#checkboxPlayer8Connected { -    spacing: 0px; +  spacing: 0px;  }  QWidget#connectedControllers QLabel { @@ -2427,7 +2402,7 @@ QCheckBox#checkboxPlayer7Connected::indicator,  QCheckBox#checkboxPlayer8Connected::indicator {    width: 14px;    height: 14px; -  margin-left: 2px; +  margin-left: 0px;  }  QWidget#Player1LEDs QCheckBox::indicator:checked,  | 
