databasewidget.qss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /* ==========================================================
  2. * QLineEdit
  3. * ========================================================== */
  4. QLineEdit
  5. {
  6. background: #FFFFFF;
  7. border-radius: 4px;
  8. border: 1px solid #E6E9F4;
  9. padding-left: 12px;
  10. font-weight: 400;
  11. font-size: 14px;
  12. color: #3A3F63;
  13. }
  14. QLineEdit:hover,QLineEdit:focus
  15. {
  16. border: 1px solid #4458FE;
  17. }
  18. /* ==========================================================
  19. * QPushButton
  20. * ========================================================== */
  21. QPushButton
  22. {
  23. font-weight: 500;
  24. font-size: 14px;
  25. text-align: center;
  26. }
  27. /* QPushButton#pBtn_close
  28. {
  29. background: transparent;
  30. border-radius: 4px;
  31. qproperty-icon: url(:/ICON/ICON/Close_Light.png);
  32. qproperty-iconSize: 20px 20px;
  33. }
  34. QPushButton#pBtn_close[Hover = true]
  35. {
  36. background: transparent;
  37. border-radius: 4px;
  38. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  39. qproperty-iconSize: 20px 20px;
  40. border: 1px solid #4458FE;
  41. } */
  42. /********* 普通椭圆按钮三种状态效果 *********/
  43. /* QPushButton#pBtn_cancel, #pBtn_saveTotemplate
  44. {
  45. background: transparent;
  46. color: #3A3F63;
  47. border: 1px solid #E6E9F4;
  48. border-radius: 16px;
  49. }
  50. QPushButton#pBtn_cancel:hover, #pBtn_saveTotemplate:hover
  51. {
  52. background: transparent;
  53. color: #4458FE;
  54. border: 1px solid #4458FE;
  55. border-radius: 16px;
  56. } */
  57. /********* 带有底色椭圆按钮三种状态效果 *********/
  58. /* QPushButton#pBtn_ok
  59. {
  60. color:white;
  61. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  62. border-radius: 16px;
  63. }
  64. QPushButton#pBtn_ok:hover
  65. {
  66. color:white;
  67. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  68. border-radius: 16px;
  69. } */
  70. /********* 普通方框按钮三种状态效果 *********/
  71. QPushButton
  72. {
  73. background: transparent;
  74. color: #3A3F63;
  75. border: 1px solid #E6E9F4;
  76. border-radius: 4px;
  77. }
  78. QPushButton:hover
  79. {
  80. background: transparent;
  81. color: #4458FE;
  82. border: 1px solid #4458FE;
  83. border-radius: 4px;
  84. }
  85. /********* 带有底色方框按钮三种状态效果 *********/
  86. /* QPushButton#pBtn_addPlan
  87. {
  88. color:white;
  89. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  90. border-radius: 4px;
  91. }
  92. QPushButton#pBtn_addPlan:hover
  93. {
  94. color:white;
  95. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  96. border-radius: 4px;
  97. } */