QWidget { font-size: 14px; color: #3A3F63; line-height: 22px; text-align: left; font-style: normal; text-transform: none; } QWidget#DialogBase { background: transparent; border: none; } /* 整体背景 */ QWidget#widget_background { background: #FFFFFF; border-radius: 8px 8px 8px 8px; } QPushButton { color: #3A3F63; line-height: 22px; text-align: center; font-style: normal; text-transform: none; } /*=============================================================== * widget_Top ================================================================*/ QWidget#widget_top { border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-bottom: 1px solid #E6E9F4; } QLabel#label_X1 { text-align: center; color: #F53F3F; } QLabel#label_title { font-weight: 500; font-size: 18px; color: #3A3F63; line-height: 27px; text-align: left; font-style: normal; text-transform: uppercase; } /* ========================================================== * QPushButton * ========================================================== */ QPushButton { font-weight: 500; font-size: 14px; text-align: center; } QPushButton#pBtn_Close { background: transparent; border-radius: 4px; qproperty-icon: url(:/icon/close.png); qproperty-iconSize: 32px 32px; } QPushButton#pBtn_Close[Hover = true] { background: transparent; border-radius: 4px; qproperty-icon: url(:/icon/close_hover.png); qproperty-iconSize: 32px 32px; border: 1px solid #4458FE; } /********* 普通椭圆按钮三种状态效果 *********/ QPushButton#pBtn_Cancel { background: transparent; color: #3A3F63; border: 1px solid #E6E9F4; border-radius: 16px; } QPushButton#pBtn_Cancel:hover { background: transparent; color: #4458FE; border: 1px solid #4458FE; border-radius: 16px; } /********* 带有底色椭圆按钮三种状态效果 *********/ QPushButton#pBtn_OK { color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF); border-radius: 16px; } QPushButton#pBtn_OK:hover { color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF); border-radius: 16px; } /********* 普通方框按钮三种状态效果 *********/ /* QPushButton#pBtn_compareItem, #pBtn_restore { background: transparent; color: #3A3F63; border: 1px solid #E6E9F4; border-radius: 4px; } QPushButton#pBtn_compareItem:hover, #pBtn_restore:hover { background: transparent; color: #4458FE; border: 1px solid #4458FE; border-radius: 4px; } */ /********* 带有底色方框按钮三种状态效果 *********/ /* QPushButton#pBtn_addPlan { color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF); border-radius: 4px; } QPushButton#pBtn_addPlan:hover { color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF); border-radius: 4px; } */