combo_box.qss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ComboBox {
  2. border: 1px solid rgba(255, 255, 255, 24);
  3. border-radius: 5px;
  4. border-bottom: 1px solid rgba(255, 255, 255, 17);
  5. padding: 5px 31px 6px 11px;
  6. font: 14px 'Segoe UI', 'Microsoft YaHei';
  7. color: white;
  8. background-color: rgb(62, 63, 62);
  9. text-align: left;
  10. }
  11. ComboBox:hover {
  12. background-color: rgb(67, 68, 67);
  13. }
  14. ComboBox:pressed {
  15. background-color: rgb(56, 56, 56);
  16. border-bottom: 1px solid rgba(255, 255, 255, 24);
  17. color: rgba(255, 255, 255, 0.63);
  18. }
  19. ComboBoxMenu>MenuActionListWidget {
  20. border: 1px solid rgba(255, 255, 255, 0.1);
  21. border-radius: 9px;
  22. background-color: rgb(43, 43, 43);
  23. outline: none;
  24. font: 14px 'Segoe UI', 'Microsoft YaHei';
  25. }
  26. ComboBoxMenu>MenuActionListWidget::item {
  27. margin-top: 4px;
  28. padding-left: 10px;
  29. padding-right: 10px;
  30. border-radius: 5px;
  31. border: none;
  32. color: white;
  33. }
  34. ComboBoxMenu>MenuActionListWidget::disbled {
  35. padding-left: 10px;
  36. padding-right: 10px;
  37. border-radius: 5px;
  38. border: none;
  39. color: white;
  40. }
  41. ComboBoxMenu>MenuActionListWidget::item:hover {
  42. background-color: rgba(255, 255, 255, 0.08);
  43. }
  44. ComboBoxMenu>MenuActionListWidget::item:selected {
  45. background-color: rgba(255, 255, 255, 0.08);
  46. color: white;
  47. }
  48. ComboBoxMenu>MenuActionListWidget::item:selected:active {
  49. background-color: rgba(255, 255, 255, 0.06);
  50. color: rgba(255, 255, 255, 0.7);
  51. }