ctai/res/qss/light_style.qss
2025-03-10 17:09:01 +08:00

257 lines
4.9 KiB
Plaintext

QWidget#m_widget{
border-radius:10px;
background-color: rgba(243,243,243,1);
color:#2F4F4F;
}
QPushButton#btn_opt{
image:url(:/res/img/sui.png);
width:35px;
height:35px;
border:none;
}
QLabel{
color:#404040;
}
QPushButton#m_new_chat_btn,
QPushButton#m_btn_set_chat,
QPushButton#m_btn_del_chat
{
width:30px;
height:30px;
}
QPushButton#btn_user_new_chat,
QPushButton#btn_user_switch_model,
QPushButton#btn_user_switch_knowledge,
QPushButton#btn_user_upload_file,
QPushButton#btn_user_clear_context,
QPushButton#btn_user_sending_info{
width:30px;
height:30px;
border:none;
margin:5px;
}
QComboBox{
height:25px;
}
QPushButton:hover{
padding-left:1px;
padding-top:1px;
}
QTableWidget#m_session_systeam_info
{
color: rgba(27,27,27,0.9);
background: #FFFFFF; border: none;
}
QTableWidget::item#m_session_systeam_info
{
background: #FFFFFF;
}
QTableWidget::item:hover#m_session_systeam_info
{
background: #FFFFFF;
}
QTableWidget::item:selected#m_session_systeam_info
{
background: #FFFFFF;
}
QTableWidget::item:focus#m_session_systeam_info
{
background: #FFFFFF;
}
QLineEdit#m_msg_header{
height:25px;
width:25px;
border:none;
background-color: #FFFFFF;
}
QPushButton#m_msg_system_header_ico,
QPushButton#m_msg_user_header_ico{
height:50px;
width:50px;
border:none;
background-color: #FFFFFF;
image:url(":/res/img/btn/default_header.png");
}
QPushButton#m_msg_user_del,
QPushButton#m_msg_system_del{
height:25px;
width:25px;
border:none;
background-color: #FFFFFF;
image:url(":/res/img/btn/btn_info_delete.png");
}
QPushButton#m_msg_copy{
height:25px;
width:25px;
border:none;
background-color: #FFFFFF;
image:url(":/res/img/btn/btn_info_copy.png");
}
QPushButton#m_msg_save{
height:25px;
width:25px;
border:none;
background-color: #FFFFFF;
image:url(":/res/img/btn/btn_info_save.png");
}
QPushButton#m_msg_menu{
height:25px;
width:25px;
border:none;
background-color: #FFFFFF;
image:url(":/res/img/btn/btn_msg_menu.png");
}
QPushButton#m_msg_fold{
height:25px;
width:25px;
border:none;
background-color: #FFFFFF;
}
QPushButton#m_msg_tokens{
height:25px;
width:25px;
border:none;
background-color: #FFFFFF;
image:url(":res/img/btn/btn_info_tokens.png");
}
QPushButton#m_history_to_send{
height:25px;
width:25px;
border:none;
background-color: #FFFFFF;
image:url(":res/img/btn/btn_history_to_send.png");
}
QPushButton#m_restart_to_send{
height:25px;
width:25px;
border:none;
background-color: #FFFFFF;
image:url(":res/img/btn/btn_restart_to_send.png");
}
QPushButton#BTN_DOWNLOAD{
width:25px;
height:25px;
border:none;
image:url(":/res/img/btn/btn_download.png");
}
QPushButton#BTN_SETS{
width:25px;
height:25px;
border:none;
image:url(":/res/img/btn/btn_setting.png");
}
QPushButton#BTN_UPDATE{
width:25px;
height:25px;
border:none;
image:url(":/res/img/btn/btn_update.png");
}
QPushButton#BTN_ABOUT{
width:25px;
height:25px;
border:none;
image:url(":/res/img/btn/btn_about.png");
}
QTableView#GAME_INFO_TABLE::item:selected {
background-color: #0078d4;
}
/*------------------标题栏样式 最小化 最大化 关闭---------------------*/
/*标题栏变量参数值定义*/
/*标题栏背景*/
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;
}
QPushButton#btn_min{
image:url(":/res/img/btn/btn_min.png");
border:none;
width:20px;
height:20px;
}
QPushButton#btn_max{
image:url(":/res/img/btn/btn_max.png");
border:none;
width:20px;
height:20px;
}
QPushButton#btn_max[maximizeProperty='maximize'] {
image:url(":/res/img/btn/btn_max.png");
border:none;
width:20px;
height:20px;
}
QPushButton#btn_max[maximizeProperty='restore'] {
image:url(":/res/img/btn/btn_max_restore.png");
border:none;
width:20px;
height:20px;
}
QPushButton#btn_close{
image:url(":/res/img/btn/btn_close.png");
border:none;
width:20px;
height:20px;
}
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;
}
/*------------------QMenu点击样式菜单---------------------*/
QMenu {
background-color: #FFFFFF;
border: 1px solid #E0E0E0;
border-radius: 6px;
padding: 5px;
}
QMenu::item {
padding: 5px 25px 5px 25px;
border-radius: 4px;
margin: 2px;
color: #333333;
}
QMenu::item:selected {
background-color: #F5F5F5;
color: #000000;
}
QMenu::item:pressed {
background-color: #EEEEEE;
}
QMenu::separator {
height: 1px;
background-color: #E0E0E0;
margin: 5px 10px;
}
QMenu::indicator {
width: 16px;
height: 16px;
margin-left: 5px;
}