QWidget#m_widget{ border-radius:10px; background-color: #1b1b1b; color:#F0F0F0F0; } QPushButton#btn_opt{ image:url(:/res/img/xsteam.png); width:35px; height:35px; border:none; } QLabel{ color:#F2F2F2; } QPushButton{ height:25px; } QComboBox{ height:25px; } QPushButton:hover{ padding-left:1px; padding-top:1px; } QPushButton#BTN_DOWNLOAD{ width:25px; height:25px; image:url(":/res/img/btn/btn_download.png"); } QPushButton#BTN_SETS{ width:25px; height:25px; image:url(":/res/img/btn/btn_setting.png"); } QPushButton#BTN_UPDATE{ width:25px; height:25px; image:url(":/res/img/btn/btn_update.png"); } QPushButton#BTN_ABOUT{ width:25px; height:25px; image:url(":/res/img/btn/btn_about.png"); } QGroupBox { color: #F2F2F2; } QTableView#GAME_INFO_TABLE::item:selected { background-color: #0078d4; } QMenu { background-color: #444; color: #fff; border: 1px solid #666; } QMenu::item { padding: 2px 20px 2px 20px; } QMenu::icon:checked { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:1 #fff, stop:0 #aaa); } QMenu::item:selected { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:1 #ffc, stop:0 #9c9); color: black; } /*------------------标题栏样式 最小化 最大化 关闭---------------------*/ /*标题栏变量参数值定义*/ /*标题栏背景*/ QWidget#sui_title{ background-color: #ffffff; margin-top:1px; margin-right:1px; margin-bottom:1px; margin-left:1px; } QPushButton#btn_min,QPushButton#btn_max,QPushButton#btn_close{ margin-right:3px; margin-bottom:0px; border-radius:8px; font-family: "Microsoft YaHei"; font-weight: bold; font: bold 12px; } QPushButton#btn_min{ image:url(":/res/img/btn/btn_min.png"); border:none; width:25px; height:25px; } QPushButton#btn_max{ image:url(":/res/img/btn/btn_max.png"); border:none; width:25px; height:25px; } QPushButton#btn_max[maximizeProperty='maximize'] { image:url(":/res/img/btn/btn_max.png"); border:none; width:25px; height:25px; } QPushButton#btn_max[maximizeProperty='restore'] { image:url(":/res/img/btn/btn_max_restore.png"); border:none; width:25px; height:25px; } QPushButton#btn_close{ image:url(":/res/img/btn/btn_close.png"); border:none; width:25px; height:25px; } QPushButton#btn_min:hover,QPushButton#btn_max:hover,QPushButton#btn_close:hover{ padding-left:1px; padding-top:1px; } QPushButton#btn_min:pressed,QPushButton#btn_max:pressed,QPushButton#btn_close:pressed{ padding-left:1px; padding-top:1px; }