QLabel {
  font-family: Microsoft YaHei;
  font-size: 18px;
}

QPushButton[class="default"] {
  font-family: Microsoft YaHei;
  background-color:#504897;
  font-size:16px;
  font-weight: bold;
  color:white;
  border-radius: 5px;
}
QPushButton[class="default"]::hover {
  color:white;
  font-size: 17px;
}

QPushButton[class="defEx"] {
  font-family: Microsoft YaHei;
  background-color:#169bd5;
  font-size:16px;
  font-weight: bold;
  color:white;
  border-radius: 5px;
}
QPushButton[class="defEx"]::hover {
  color:white;
  font-size: 17px;
}
QTableWidget[class="defTable"]{
    font-size: 22px;
    color: #333333;
    border: 1px solid #4b4b4b;
    border-radius: 6px;
     background-color: transparent;
}
QTableWidget[class="checkItemTable"]{
    font-size: 22px;
    color: black;
    border: 1px solid #4b4b4b;
    border-radius: 6px;
   background-color: white;
}
QTableWidget[class="checkItemTable"]::item::selected {
  /*background: #504897;*/
  /*color: #ffffff;*/
  background: #FFFFFF; 
  color: #2F6FC6;
}
QTableWidget[class="defTable"]::item::selected {
  background: #504897;
  color: #ffffff;
}
QHeaderView[class="defTableHead"]::section{
   /*background-color: #E3E3E3;*/
   background-color: #504897;
   border: 0px; 
   color: #ffffff; 
   font-size: 20px;
}
QLineEdit[class="Inputdef"]{
    border-radius: 10px;
    font-family: "Microsoft YaHei";
    color: #333333;
    border: 1px solid #CCCCCC;
    font-size: 16px;
    background-color: #DFEBF2;
    padding-left: 10px;
}
QLineEdit[class="Inputdef"]:focus {
    border: 2px solid #504897;
    background-color: #ffffff;
}
QLineEdit[class="Inputdef"]:readonly {
    background-color: #dddddd;
    border: 1px solid #dddddd;
    color: #636363;

}
QLineEdit[class="SciInputdef"]{
background-color: white;    /* 背景色：浅灰色 */
border: 2px solid #cccccc;    /* 边框：灰色 */
border-radius: 8px;           /* 圆角边框 */
padding: 5px 10px;            /* 内边距，增加输入区域的间距 */
font-size: 20px;              /* 字体大小 */
font-family: "Segoe UI", sans-serif; /* 字体 */
color: black;               /* 字体颜色 */
}
QLineEdit[class="SciInputdef"]:focus {
    border: 2px solid #504897;
    background-color: #ffffff;
}
QLineEdit[class="SciInputdef"]:readonly {
    background-color: #dddddd;
    border: 1px solid #dddddd;
    color: #636363;

}
QWidget[class="defGBox"]{
    background-color:#f5ede0;
    border: 1px solid #cccccc;
    font-size: 18px;
}
QComboBox[class="Comboxdef"] {
    background-color: white;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 20px;
    font-family: "Segoe UI", sans-serif; /* 字体 */
    color: black;               /* 字体颜色 */
    min-width: 50px;             /* 设置最小宽度 */
}
QComboBox[class="Comboxdef"]:hover {
    border: 1px solid #504897;    /* 鼠标悬浮时边框颜色变为绿色 */
}

QComboBox[class="Comboxdef"]:focus {
    border: 1px solid #504897;    /* 聚焦时边框颜色变为 */
    background-color: #f9f9f9;    /* 聚焦时背景色 */
}

QComboBox[class="Comboxdef"]::down-arrow {

    width: 12px;                        /* 设置箭头的宽度 */
    height: 12px;                       /* 设置箭头的高度 */
}
QComboBox[class="Comboxdef"] QAbstractItemView {
    border: 1px solid #cccccc;       /* 下拉列表边框 */
    background-color: #ffffff;        /* 下拉列表背景色 */
    selection-background-color: #504897; /* 选中项背景色 */
    selection-color: white;           /* 选中项文本颜色 */
    padding: 5px;                     /* 下拉项内边距 */
}

QComboBox[class="Comboxdef"]:disabled {
    background-color: #dddddd;        /* 禁用状态背景 */
    border: 1px solid #dddddd;        /* 禁用状态下边框 */
    color: #636363;                   /* 禁用状态字体颜色 */
}
QScrollArea[class="defscrollArea"]{
     background-color: transparent;
}


