黑色格调qss2

QWidget
{
    color: rgb(255, 255, 255);
    font: 20px "Microsoft Yahei";
}

QWidget#widget
{
    background-color: rgb(35, 35, 35);
    border: 1px solid rgb(45, 45, 45);
    border-radius: 2px;
    color: rgb(200, 200, 200);
}

QWidget#mainwidget_title
{
    background-color: rgb(50, 50, 50);
    border: 1px solid rgb(70, 70, 70);
    border-radius: 2px;
    color: rgb(200, 200, 200);
}

QWidget#widget_split
{
    background-color: rgb(56, 117, 246);
}

QLabel#label_mainsysName
{
    font: bold 22px "Microsoft Yahei";
}

QLabel#label_title, #label_titleTotal
{
    font: bold 20px "Microsoft Yahei";
}

/*QLineEdit Start*/
QLineEdit#lineEdit_search, #lineEdit_id, #lineEdit_date, #lineEdit_name, #lineEdit_content
{
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
}
QLineEdit#lineEdit_search:hover, #lineEdit_id:hover, #lineEdit_date:hover, #lineEdit_name:hover, #lineEdit_content:hover
{
    border: 1px solid rgb(21, 197, 212);
    color: rgb(200, 200, 200);
}
/*QLineEdit End*/

/*QTextEdit Start*/
QTextEdit
{
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
    font: 15px "Microsoft Yahei";
}
QTextEdit:hover
{
    border: 1px solid rgb(21,197, 212);
    color: rgb(200,200,200);
}
QTextEdit:disabled
{
    color: rgb(60, 60, 60);
    border: 1px solid rgb(60, 60, 60);
    background-color: rgb(20, 20, 20);
}
/*QTextEdit End*/

/*QPushButton Start*/
QPushButton
{
    background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 rgb(50, 50, 50), stop:1.0 rgb(35, 35, 35));
    color: rgb(200, 200, 200);
    border: 1px solid rgb(70, 70, 70);
    border-radius: 2px;
}
QPushButton:hover
{
    background-color: rgb(20, 59, 63);
    border: 1px solid rgb(21, 197, 212);
    color: rgb(200, 200, 200);
}
QPushButton:pressed
{
    background-color: rgb(50, 50, 50);
    border: 1px solid rgb(21, 197, 212);
}
QPushButton#btn_close
{
    border: 0px;
    background-color: transparent;
    background-image: url(:/close.png);
}
QPushButton#btn_min
{
    border: 0px;
    background-color: transparent;
    background-image: url(:/minimize.png);
}
QPushButton#btn_max
{
    border: 0px;
    background-color: transparent;
    background-image: url(:/maximize.png);
}
QPushButton#btn_sysupdate
{
    border: 0px;
    background-color: transparent;
    background-image: url(:/sysupdate.png);
}
QPushButton#btn_sysSetting
{
    border: 0px;
    background-color: transparent;
    background-image: url(:/setting.png);
}

QPushButton#btn_color
{
    border: 0px;
    background-color: transparent;
    background-image: url(:/skin.png);
}
/*QPushButton End*/

/*QTableWidget Start*/
QTableWidget#tableWidget
{
    color: rgb(200, 200, 200);
    background-color: rgb(35, 35, 35);
    gridline-color: rgb(35, 35, 35);
    border: 1px solid rgb(63, 63, 63);
    alternate-background-color:rgb(20, 55, 95);
    font: 20px "Microsoft Yahei";
}
QTableWidget#tableWidget::item
{
    border-right: 1px solid rgb(0, 0, 0);
    border-bottom: 1px solid rgb(0, 0, 0);
    border-left: 1px solid rgb(63, 63, 63);
    border-top: 1px solid rgb(63, 63, 63);
}

QTableWidget#tableWidget::item:selected
{
    background-color: rgb(50, 50, 50);
    border: 1px solid rgb(0, 0, 0);
    border-left: 0px;
    border-right: 0px;
}
QTableWidget#tableWidget::item:hover
{
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(60, 60, 60);
}

QHeaderView::section
{
    height: 40px;
    color: rgb(200, 200, 200);
    background-color: rgb(60, 60, 60);
    border: 1px solid rgb(76, 76, 76);
    font: bold 20px "Microsoft Yahei";
}

QTableWidget#tableWidget_event,#tableWidget_eventAll,#tableWidget_ul, #tableWidget_um
{
    color: rgb(200, 200, 200);
    gridline-color: rgb(35, 35, 35);
    background-color: rgb(35, 35, 35);
    border: 1px solid rgb(63, 63, 63);
    alternate-background-color:rgb(60, 60, 60);
    font: 20px "Microsoft Yahei";
}
QTableWidget#tableWidget_event::item, #tableWidget_eventAll::item,#tableWidget_ul::item, #tableWidget_um::item
{
    border-right: 1px solid rgb(0, 0, 0);
    border-bottom: 1px solid rgb(0, 0, 0);
    border-left: 1px solid rgb(63, 63, 63);
    border-top: 1px solid rgb(63, 63, 63);
}
QTableWidget#tableWidget_event::item:selected, #tableWidget_eventAll::item:selected,#tableWidget_ul::item:selected, #tableWidget_um::item:selected
{
    background-color: rgb(50, 50, 50);
    border: 1px solid rgb(0, 0, 0);
    border-left: 0px;
    border-right: 0px;
}
QTableWidget#tableWidget_event::item:hover, #tableWidget_eventAll::item:hover,#tableWidget_ul::item:hover, #tableWidget_um::item:hover
{
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(60, 60, 60);
}
/*QTableWidget End*/

/*QCheckBox Start*/
QCheckBox
{
    color: rgb(200, 200, 200);
    spacing: 8px;
    font: 15px "Microsoft Yahei";
}
QCheckBox::indicator:unchecked
{
    image: url(:/checkbox_dark_normal.png);
}
QCheckBox::indicator:unchecked:hover
{
    image: url(:/checkbox_dark_hover.png);
}
QCheckBox::indicator:checked
{
    image: url(:/checkbox_dark_pressed.png);
}
/*QCheckBox End*/

/*ÏÂÀ­Ê½×éºÏ¿ò*/
/*QComboBox Start*/
QComboBox
{
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
    background-color: rgb(20, 20, 20);
    font: 15px "Microsoft Yahei";
    combobox-popup: 0;
}

QComboBox:editable
{
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
    background-color: rgb(20, 20, 20);
}

QComboBox:checked
{
    background-color: rgb(20, 20, 20);
}

QComboBox::drop-down
{
    width: 20px;
    border: 1px solid rgb(100, 100, 100);
}

QComboBox::drop-down:disable
{
    border: none;
}
QComboBox QAbstractItemView
{
    outline: 0px;
    color: rgb(200, 200, 200);
    background-color: rgb(20, 20, 20);
    selection-background-color: rgb(60, 60, 60);
    selection-color: rgb(200, 200, 200);
}
QComboBox QAbstractItemView::item::hover    
{
    color: rgb(108, 216, 247 );
}
QComboBox:disabled

    color: rgba(100, 100, 100);
    border: 1px solid rgb(100, 100, 100);
    background-color: rgb(20, 20, 20);
}
QComboBox::down-arrow 
{
    image: url(:/combox_normal.png);
}
QComboBox::down-arrow:hover
{
    image: url(:/combox_hover.png);
}
QComboBox::down-arrow:checked
{
    image: url(:/combox_hover.png);
}
/*QComboBox End*/

/*QMenu Start*/
QMenu
{
    text-align: left;
    color: rgb(200, 200, 200);
    background-color: rgb(35, 35, 35);
    border: 1px solid rgb(100, 100, 100);
    font: 18px "Microsoft Yahei";
}
QMenu::item
{
    text-align: left;
    height: 32px;
    margin: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 30px;
    padding-right: 30px;
    border-width: 0px;
}
QMenu::item:selected
{
    color: rgb(200,200,200);
    background-color: rgb(20, 59, 63);
    border: 1px solid rgb(21, 197, 212);
}
/*QMenu End*/


QScrollBar:vertical
{
    border: 1px solid rgb(50, 50, 50);
    background-color: rgb(20, 20, 20);
    width: 34px;
    margin: 0px;
}

QScrollBar::add-line:vertical 
{
    image: url(:/slider_down_dark.png);
    subcontrol-position: bottom;
    subcontrol-origin: margin;
    /*margin-bottom:1px;*/
}
QScrollBar::sub-line:vertical
{
    image: url(:/slider_up_dark.png);
    subcontrol-position: top;
    subcontrol-origin: margin;
}
QScrollBar::handle:vertical
{
    background-color: rgb(50, 50, 50);
    min-height: 28px;  
    margin: 25 3 25 3;
}
QScrollBar::handle:vertical:hover
{
    background-color: rgb(80, 80, 80);
}
QScrollBar::handle:vertical:pressed
{
    background-color: rgb(120, 120, 120);
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
{
    background: none;
}


QScrollBar:horizontal
{
    border: 1px solid rgb(50, 50, 50);
    background-color: rgb(20, 20, 20);
    height: 34px;
    margin: 0px;
}
QScrollBar::add-line:horizontal
{
    image: url(:/slider_right_dark.png);
    subcontrol-position: right;
    subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal
{
    image: url(:/slider_left_dark.png);
    subcontrol-position: left;
    subcontrol-origin: margin;
}
QScrollBar::handle:horizontal
{
    background-color: rgb(50, 50, 50);
    min-width: 28px;  
    margin: 3 25 3 25;
}
QScrollBar::handle:horizontal:hover
{
    background-color: rgb(80, 80, 80);
}
QScrollBar::handle:horizontal:pressed
{
    background-color: rgb(120, 120, 120);
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
{
    background: none;
}

QWidget#widget_bg
{
    background-color: rgb(35, 35, 35);
    border: 1px solid rgb(45, 45, 45);
    border-radius: 2px;
    color: rgb(200, 200, 200);
    font: 15px "Microsoft Yahei";
}

QWidget#widget_title
{
    background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 rgb(50, 50, 50), stop:1.0 rgb(35, 35, 35));
}

QLabel#label_title
{
    font-size: 20px;
}

/*QLineEdit Start*/
QLineEdit#lineEdit_id, #lineEdit_name, #lineEdit_date
{
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
}
QLineEdit#lineEdit_id:hover, #lineEdit_name:hover, #lineEdit_date:hover
{
    border: 1px solid rgb(21, 197, 212);
    color: rgb(200, 200, 200);
}
/*QLineEdit End*/

/*QTextEdit Start*/
QTextEdit#textEdit
{
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
    font: 15px "Microsoft Yahei";
}
QTextEdit#textEdit:hover
{
    border: 1px solid rgb(21,197, 212);
    color: rgb(200,200,200);
}
/*QTextEdit End*/

/*QPushButton Start*/
QPushButton#btn_cancel, #btn_confirm
{
    background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 rgb(50, 50, 50), stop:1.0 rgb(35, 35, 35));
    color: rgb(200, 200, 200);
    border: 1px solid rgb(70, 70, 70);
    border-radius: 2px;
}
QPushButton#btn_cancel, #btn_confirm:hover
{
    background-color: rgb(20, 59, 63);
    border: 1px solid rgb(21, 197, 212);
    color: rgb(200, 200, 200);
}
QPushButton#btn_cancel, #btn_confirm:pressed
{
    background-color: rgb(50, 50, 50);
    border: 1px solid rgb(21, 197, 212);
}

/*QPushButton End*/


QLabel#label_tips
{
    color: rgb(255, 0, 0);
}

/*QLineEdit Start*/
QLineEdit#lineEdit_passwordNew, #lineEdit_passwordOrigin, #lineEdit_account
{
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
}
QLineEdit#lineEdit_passwordNew:hover, #lineEdit_passwordOrigin:hover, #lineEdit_account:hover
{
    border: 1px solid rgb(21, 197, 212);
    color: rgb(200, 200, 200);
}
/*QLineEdit End*/

/*QPushButton Start*/


/*QPushButton End*/


QWidget#ZU_Start
{
    background-color: rgb(12, 43, 69);
}


QLabel#label_sysName
{
    font: bold 70px "Microsoft Yahei";
}

QLabel#label_z, #label_m
{
    font: bold 20px "Microsoft Yahei";
}

/*QLineEdit Start*/
QLineEdit#lineEdit_name, #lineEdit_password
{
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
}
QLineEdit#lineEdit_name:hover, #lineEdit_password:hover
{
    border: 1px solid rgb(21, 197, 212);
    color: rgb(200, 200, 200);
}
/*QLineEdit End*/

/*QPushButton Start*/

QPushButton#btn_login
{
    font-size: 24px;
}

QPushButton#btn_modify
{
    border: 0px;
    background-color: transparent;
}
/*QPushButton End*/

QWidget#widget_tips
{
    background-color: rgba(40, 63, 85, 229);
    border-radius: 16px;
}

QLabel#labelTips
{
    font: 16px "΢ÈíÑźÚ";
    color: rgb(255, 255, 255);
}


/*QLineEdit Start*/
QLineEdit#lineEdit_manager, #lineEdit_name, #lineEdit_number, #lineEdit_source
{
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
}
QLineEdit#lineEdit_manager:hover, #lineEdit_name:hover, #lineEdit_number:hover, #lineEdit_source:hover
{
    border: 1px solid rgb(21, 197, 212);
    color: rgb(200, 200, 200);
}

QLineEdit#lineEdit_content, #lineEdit_version, #lineEdit_date, #lineEdit_author
{
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
}
QLineEdit#lineEdit_content:hover, #lineEdit_version:hover, #lineEdit_date:hover, #lineEdit_author:hover
{
    border: 1px solid rgb(21, 197, 212);
    color: rgb(200, 200, 200);
}
/*QLineEdit End*/

/*QPushButton Start*/


/*QPushButton End*/

QTableWidget#tableWidget
{
    color: rgb(200, 200, 200);
    background-color: rgb(35, 35, 35);
    selection-color: rgb(200, 200, 200);
    selection-background-color: rgb(60, 60, 60);
    border: 1px solid rgb(63, 63, 63);
    font: 15px "Microsoft Yahei";
}

QTableWidget#tableWidget::item
{
    border-right: 1px solid rgb(0, 0, 0);
    border-bottom: 1px solid rgb(0, 0, 0);
    border-left: 1px solid rgb(63, 63, 63);
    border-top: 1px solid rgb(63, 63, 63);
}

QTableWidget#tableWidget::item:selected
{
    background-color: rgb(50, 50, 50);
    border: 1px solid rgb(0, 0, 0);
    border-left: 0px;
    border-right: 0px;
}
QTableWidget#tableWidget::item:hover
{
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(60, 60, 60);
}

QHeaderView::section
{
    color: rgb(200, 200, 200);
    background-color: rgb(60, 60, 60);
    border: 1px solid rgb(76, 76, 76);
    font: 15px "Microsoft Yahei";
}

/*QLineEdit Start*/
QLineEdit#lineEdit_password, #lineEdit_account
{
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    border: 1px solid rgb(100, 100, 100);
}
QLineEdit#lineEdit_password:hover, #lineEdit_account:hover
{
    border: 1px solid rgb(21, 197, 212);
    color: rgb(200, 200, 200);
}
/*QLineEdit End*/

QPushButton#btn_add
{
    border: 0px;
    background-color: transparent;
    image: url(:/add.png);
}

QPushButton#btn_edit
{
    border: 0px;
    background-color: transparent;
    image: url(:/modify.png);
}

QPushButton#btn_delete
{
    border: 0px;
    background-color: transparent;
}
/*QDateEdit Start*/
QDateEdit 
{
    color:rgba(175, 175, 175, 255);
    padding-right: 5px; /* make room for the arrows */
    padding-left: 5px; /* make room for the arrows */
    border: 1px solid rgb(100, 100, 100);
    background-color: rgb(20, 20, 20);
    selection-color: rgba(15, 15, 15, 255);
    selection-background-color: rgba(21, 197, 212, 255);
}
QDateEdit:hover
{
    border: 1px solid rgb(21, 197, 212);
}
QDateEdit:pressed
{
    background-color: rgb(20, 20, 20);
}
QDateEdit:disabled
{
    color:rgba(60, 60, 60, 255);
    border: 1px solid rgba(60, 60, 60, 255);
}
QDateEdit::up-button
{
    subcontrol-origin: padding;
    subcontrol-position: top right; /* position at the top right corner */
    width: 20px;
    border: 1px solid rgb(100, 100, 100);
    border-top: transparent;
    border-right: transparent;
}
QDateEdit::up-button:hover 
{
    border: 1px solid rgb(21, 197, 212);
    border-top: transparent;
    border-right: transparent;
}
QDateEdit::up-button:disabled  
{
    border: 1px solid rgba(60, 60, 60, 255);
    border-top: transparent;
    border-right: transparent;
}
QDateEdit::up-arrow 
{
    image: url(:/upArrow_normal.png);
}
QDateEdit::up-arrow:pressed
{
    image: url(:/upArrow_pressed.png);
}
QDateEdit::up-arrow:disabled, QDateEdit::up-arrow:off  
{ /* off state when value is max*/
    image: url(:/upArrow_disable.png); 
}
QDateEdit::down-button 
{
    subcontrol-origin: padding;
    subcontrol-position: bottom right; 
    width: 20px;
    border: 1px solid rgb(100, 100, 100);
    border-bottom: transparent;
    border-right: transparent;
}
QDateEdit::down-button:hover
{
    border: 1px solid rgb(21, 197, 212);
    border-bottom: transparent;
    border-right: transparent;
}
QDateEdit::down-button:disabled
{
    border: 1px solid rgba(60, 60, 60, 255);
    border-bottom: transparent;
    border-right: transparent;
}
QDateEdit::down-arrow
{
   image: url(:/downArrow_normal.png);
}
QDateEdit::down-arrow:pressed
{
   image: url(:/downArrow_pressed.png);
}
QDateEdit::down-arrow:disabled,QDateEdit::down-arrow:off
{ /* off state when value in min */
   image: url(:/downArrow_disable.png);
}
QDateEdit::drop-down

    border: 1px solid rgb(100, 100, 100);
    background-color: rgb(20, 20, 20);
}
QDateEdit::drop-down::hover

    border: 1px solid rgb(21, 197, 212);
    background-color: rgb(20, 20, 20);
}
QDateEdit::drop-down::pressed

    border: 1px solid rgb(21, 197, 212);
    background-color: rgb(20, 20, 20);
}
QCalendarWidget QWidget
{
    background-color: rgb(20, 20, 20);
    color: rgb(255,255,255);
    selection-background-color: rgb(60, 60, 60);
}
QCalendarWidget QTableView
{
    alternate-background-color: rgb(60, 60, 60);
    color: rgb(255,255,255);
}
/*QDateEdit End*/
 

  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值