/* QWidget { border-radius: 0px; background: #FFFFFF; } */ /* ========================================================== * QPushButton * ========================================================== */ /* QWidget#widget_pBtn { border-top: 1px solid #E6E9F4; } */ QPushButton { font-weight: 400; font-size: 14px; text-align: center; } /********* 普通椭圆按钮三种状态效果 *********/ QPushButton#pBtn_Cancel { background: "#FFFFFF"; color: #3A3F63; border: 1px solid #E6E9F4; border-radius: 4px; } QPushButton#pBtn_Cancel:hover { background: "#FFFFFF"; color: #4458FE; border: 1px solid #4458FE; border-radius: 4px; } /********* 带有底色椭圆按钮三种状态效果 *********/ QPushButton#pBtn_Ok { color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF); border-radius: 4px; } QPushButton#pBtn_Ok:hover { color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF); border-radius: 4px; } /* ========================================================== * TimePartWidget - QListWidget * ========================================================== */ QListWidget { font-size: 14px; color: "#3A3F63"; border: none; border-right: 1px solid rgba(0, 0, 0, 0.06); background: #ffffff; outline: 0px; } QListView::item:hover { background-color: rgb(245,245,245); color: "#3A3F63"; } QListView::item:selected { background-color: rgb(227, 238, 255); color: "#3A3F63"; outline: none; } QScrollBar:vertical { border:none; background-color: "#e2e2e2"; width: 4px; } QScrollBar::handle:vertical { background: #e2e2e2; border-radius: 2px; } QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical { background: #ffffff;/*transparent;*/ border: none; } QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { background: #ffffff;/*transparent;*/ border: none; }