OneSettingItem.qss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. QWidget
  2. {
  3. font-family: 思源黑体M;
  4. text-align: left;
  5. font-style: normal;
  6. background: transparent;
  7. }
  8. QLabel
  9. {
  10. font-weight: 400;
  11. font-size: 14px;
  12. color: #D2D2D2;
  13. line-height: 21px;
  14. text-align: left;
  15. font-style: normal;
  16. }
  17. /***************** QComboBox下拉框 ****************/
  18. QComboBox
  19. {
  20. background: transparent;
  21. border-radius: 4px;
  22. border: 1px solid rgba(255,255,255,0.15);
  23. font-weight: 400;
  24. font-size: 14px;
  25. color: #D2D2D2;
  26. padding-left: 12px;
  27. }
  28. QComboBox:hover, QComboBox:on
  29. {
  30. border: 1px solid #438EFF;
  31. }
  32. /*下拉箭头样式*/
  33. QComboBox::down-arrow
  34. {
  35. height: 16px;
  36. width: 16px;
  37. image: url(:/Standard_ICON/DownArrow.png);
  38. }
  39. QComboBox::drop-down
  40. {
  41. background-color:transparent;
  42. padding-right:12px;
  43. }
  44. /* 下拉后,整个下拉窗体样式 */
  45. QComboBox QAbstractItemView
  46. {
  47. margin: 8px;
  48. font-size: 14px;
  49. background-color: #5C5E61;
  50. outline:0px;
  51. border-radius: 4px;
  52. }
  53. /* 下拉后,整个下拉窗体每项的样式 */
  54. QComboBox QAbstractItemView::item
  55. {
  56. border-radius: 4px;
  57. color: #D2D2D2;
  58. height: 32px;
  59. background-color: #5C5E61;
  60. font-weight: 400;
  61. font-size: 14px;
  62. padding-left: 11px;
  63. }
  64. QComboBox QAbstractItemView::item:hover
  65. {
  66. font-weight: 400;
  67. color: #FFFFFF;
  68. background-color: #438EFF;
  69. }
  70. QComboBox QAbstractItemView::item:selected
  71. {
  72. font-weight: 400;
  73. color: #FFFFFF;
  74. background-color: #438EFF;
  75. }
  76. /**************** LineEdit *********************/
  77. QLineEdit
  78. {
  79. background: #3A3940;
  80. border-radius: 4px;
  81. border: 1px solid #595959;
  82. }
  83. /***************** 背景色块 ****************/
  84. QWidget#widget_bg
  85. {
  86. background: #3A3940;
  87. border-radius: 4px;
  88. border: 1px solid #595959;
  89. }
  90. QPushButton#pBtn_background
  91. {
  92. background: #2D2D31;
  93. border-radius: 2px;
  94. }