QProgressBar#progressBar { border:0px solid white; text-align:center; color:black; } QProgressBar#progressBar:chunk { background-color:#3FABBA; width:20px; } QProgressBar#progressBar QLineEdit { border:none; color:black; padding-left:5px; font-size:16px; background-color:transparent; } QLabel{ color:black; font-family:'Microsoft YaHei'; font-size:12px; } /*----QPushButton样式表*/ #pushButton_ok, #pushButton_cancel, #pbt_DOM, #pbt_DSM , #pbt_Label, #pbt_PRE, #pbt_Moudle { font-family:'Microsoft YaHei'; font-size:12px; background-color: #ffffff; border: 1px solid #dcdfe6; padding: 2px; border-radius: 5px; max-height:20px; } #pushButton_ok, #pushButton_cancel{ min-width:36px; } #pushButton_ok:hover, #pushButton_cancel:hover, #pbt_DOM:hover, #pbt_DSM:hover ,#pbt_Label:hover, #pbt_PRE:hover, #pbt_Moudle:hover { background-color: #ecf5ff; color: #409eff; } #pushButton_ok:pressed, #pushButton_cancel:pressed, #pbt_DOM:pressed, #pbt_DSM:pressed ,#pbt_Label:pressed, #pbt_PRE:pressed, #pbt_Moudle:pressed { border: 1px solid #3a8ee6; color: #409eff; } #pushButton_ok:checked, #pushButton_cancel:checked, #pbt_DOM:checked, #pbt_DSM:checked ,#pbt_Label:checked, #pbt_PRE:checked, #pbt_Moudle:checked{ border: 1px solid #3a8ee6; color: #409eff; } #pushButton_ok:focus, #pushButton_cancel:focus, #pbt_DOM:focus, #pbt_DSM:focus ,#pbt_Label:focus, #pbt_PRE:focus, #pbt_Moudle:focus{ border: 1px solid #3a8ee6; color: #409eff; outline: none; } /*----QLineEdit样式*/ #line_DOM, #line_DSM, #line_Label, #line_PRE, #line_Moudle{ border:0px; border-bottom: 1px solid #B3B3B3; font-family:'Microsoft YaHei'; font-size:12px; background-color:transparent; } #line_DOM:hover, #line_DSM:hover, #line_Label:hover, #line_PRE:hover, #line_Moudle:hover{ border-bottom: 2px solid #66A3FF; } #line_DOM:focus, #line_DSM:focus, #line_Label:focus, #line_PRE:focus, #line_Moudle:focus{ border-bottom: 2px solid #7666FF; }