You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

240 lines
5.9 KiB
Plaintext

/* ==================== Area 样式表 ==================== */
/* 统一项目样式风格 */
/* ==================== 按钮样式 ==================== */
QPushButton#okBtn {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 18px;
border: none;
border-radius: 4px;
padding: 6px 12px;
min-height: 28px;
background-color: #DDEEFF;
color: #2277EF;
}
QPushButton#delAreaBtn {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 18px;
border: none;
border-radius: 4px;
padding: 6px 12px;
min-height: 28px;
background-color: #FFEEEE;
color: #EE1169;
}
QPushButton#okBtn:hover {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 18px;
font-weight: bold;
border: none;
background-color: #EEFFFF;
color: #2277EF;
}
QPushButton#delAreaBtn:hover {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 18px;
font-weight: bold;
border: none;
background-color: #FFDDDD;
color: #EE1169;
}
QPushButton#wirteDIDOforceBtn {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 18px;
padding: 5px;
border: 1px solid #CCCCCC;
border-radius: 5px;
background-color: #FFFFFF;
color: #333333;
}
QPushButton#wirteDIDOforceBtn:hover {
font-weight: bold;
background-color: #F5F5F5;
}
QPushButton#profibusForceBtn {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 18px;
padding: 5px;
border: 1px solid #CCCCCC;
border-radius: 5px;
background-color: #FFFFFF;
color: #333333;
}
QPushButton#profibusForceBtn:hover {
font-weight: bold;
background-color: #F5F5F5;
}
QPushButton#deviceAddButton {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
color: #2277EF;
font-size: 14px;
padding-bottom: 5px;
border-top: none;
border-right: none;
border-left: none;
background-color: transparent;
}
QPushButton#addareabutton {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
color: #2277EF;
font-size: 14px;
padding-top: 7px;
background-color: transparent;
border: none;
}
QPushButton#initAddDeviceButton,
QPushButton#initAreaAddButton {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 24px;
color: #2277EF;
background-color: rgba(255, 255, 255, 0);
border-radius: 5px;
}
QPushButton#initAddDeviceButton:hover,
QPushButton#initAreaAddButton:hover,
QPushButton#deviceAddButton:hover,
QPushButton#addareabutton:hover {
color: #3787F7;
font-weight: bold;
border-radius: 3px;
background-color: transparent;
}
/* ==================== 标签样式 ==================== */
QLabel#wirteDIDOareaMessLabel,
QLabel#wirteDIDOareaValueLabel {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 14px;
}
QLabel#wirteDIDOareaValueLabel,
QLabel#readDIDOareaValueLabel {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
color: #2277EF;
}
QLabel#areaMessLabel,
QLabel#areaValueLabel {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 18px;
}
QLabel#massesageLabel {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 16px;
}
QLabel#areaValueLabel {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
color: #2277EF;
}
QLabel#readDIDOareaMessLabel,
QLabel#readDIDOareaValueLabel {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 16px;
}
QLabel#dataTypeLabel,
QLabel#dataOrderLabel,
QLabel#byteLineLabel {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 16px;
}
QLabel#pvUpperLimit,
QLabel#pvLowerLimit,
QLabel#pvUnit {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 16px;
}
QLabel#deviceNameLabel,
QLabel#pvUpperLimitLabel,
QLabel#pvLowerLimitLabel,
QLabel#pvUnitLabel {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 16px;
}
/* ==================== 输入框样式 ==================== */
QLineEdit#byteLineEdit {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 16px;
border-top: none;
border-left: none;
border-right: none;
border-bottom: 2px solid #CCCCCC;
background-color: transparent;
}
QLineEdit#areaLineEdit {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 16px;
border-top: none;
border-left: none;
border-right: none;
border-bottom: 2px solid #CCCCCC;
background-color: transparent;
}
QLineEdit#wirteDIDOareaLineEdit {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 14px;
border-top: none;
border-left: none;
border-right: none;
border-bottom: 2px solid #CCCCCC;
background-color: transparent;
}
QLineEdit#deviceName,
QLineEdit#pvUpperLimit,
QLineEdit#pvLowerLimit,
QLineEdit#pvUnit {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 16px;
border-top: none;
border-left: none;
border-right: none;
border-bottom: 2px solid #CCCCCC;
background-color: transparent;
}
/* ==================== 下拉框样式 ==================== */
QComboBox#dataTypeCombox,
QComboBox#orderCombox {
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
font-size: 14px;
border: none;
background-color: #FFFFFF;
height: 35px;
padding: 5px 30px 5px 5px;
border-radius: 5px;
min-height: 35px;
max-height: 35px;
}
QComboBox#dataTypeCombox::drop-down,
QComboBox#orderCombox::drop-down {
image: url(Static/down.png);
subcontrol-origin: padding;
subcontrol-position: top right;
background-color: #FFFFFF;
width: 20px;
border: none;
border-radius: 5px;
}