/* ================================================================ * 外框 * ================================================================ */ QWidget#widget { background: transparent; border-radius: 4px 4px 4px 4px; border: 1px solid rgba(255,255,255,0.15); } QWidget#widget[Selected = "true"] { border-radius: 4px 4px 4px 4px; border: 1px solid #438EFF; } /* 标题 */ QLabel#label_title { font-weight: 500; font-size: 16px; color: #D2D2D2; line-height: 22px; text-align: left; font-style: normal; text-transform: none; padding-left: 12px; } /* ================================================================ * TableView * ================================================================ */ /* 表格标题 */ QWidget#widget_tableHeader { background-color: rgba(255, 255, 255, 25); /* background: green; */ border-radius: 0px 0px 0px 0px; border: none; } QLabel#label_onTime, #label_offTime { font-weight: 500; font-size: 14px; color: #D2D2D2; line-height: 22px; text-align: left; font-style: normal; text-transform: none; padding-left: 12px; } QTableView { background: transparent; font-weight: 400; font-size: 14px; color: #B1B3B4; line-height: 22px; text-align: left; font-style: normal; text-transform: none; /* background: #438EFF; */ border: 0px solid rgba(255, 255, 255, 0.1); outline: none; } QTableView::item { font-weight: 400; font-size: 14px; color: #B1B3B4; background: transparent; border: none; padding-left: 12px; outline: none; } QTableView::item:selected { color: #FFFFFF; background: #438EFF; border-radius: 0px 0px 0px 0px; outline: none; } /* QTableWidget::item { padding-left: 12px; padding-right: 0px; padding-top: 0px; padding-bottom: 0px; margin: 0px; text-align: left; border: 0px solid #E6E9F4; } QTableWidget::item:selected { color: #EBEBEB; background: #558bda; } */