qt_rtmp_demo/qss/css/basic.css

150 lines
2.3 KiB
CSS

QPushButton:enabled {
background: rgb(22,155,213);
color: white;
border-radius:3px;
}
QPushButton:!enabled {
background: white;
color: black;
}
QPushButton:enabled:hover {
background: rgb(100, 160, 220);
}
QPushButton:enabled:pressed {
background: rgb(120, 170, 220);
}
QLabel{
}
/**********下拉列表**********/
QComboBox {
height: 25px;
border: 1px solid rgb(111, 156, 207);
background: white;
border-radius:3px;
}
QComboBox:enabled {
color: rgb(84, 84, 84);
}
QComboBox:!enabled {
color: rgb(80, 80, 80);
}
QComboBox:enabled:hover, QComboBox:enabled:focus {
color: rgb(51, 51, 51);
}
QComboBox::drop-down {
width: 20px;
border: none;
background: transparent;
}
QComboBox::drop-down:hover {
background: rgba(0, 0, 0, 30);
}
QComboBox::down-arrow {
image: url(:/qss/icon/combo_arrow.png);
max-height:30%;
max-width: 30%;
}
QComboBox::down-arrow:on {
top: 1px;
}
QComboBox QAbstractItemView {
border: 1px solid rgb(111, 156, 207);
background: white;
outline: none;
}
QComboBox QAbstractItemView::item {
height: 25px;
color: rgb(73, 73, 73);
}
QComboBox QAbstractItemView::item:selected {
background: rgb(232, 241, 250);
color: rgb(2, 65, 132);
}
QTabWidget{
margin-left:10;
background: rgb(239,242,245);
}
QTabWidget::pane {
border: none;
}
QTabWidget::tab-bar {
border: none;
}
QTabBar::tab {
border: none;
border-top-left-radius: 4px;
color: white;
background: rgb(239,242,245);
color: black;
height: 28px;
min-width: 85px;
margin-right: 5px;
}
QTabBar::tab:hover {
background: rgb(51,101,177);
}
QTabBar::tab:selected {
color: white;
background: rgb(51,101,177);
}
QTableView {
border: none;
}
QTableView::item {
padding-left: 5px;
padding-right: 5px;
background: white;
}
QTableView::item:selected {
border: 1px solid black;
color: rgb(65, 65, 65);
}
QTableView::item:selected:!active {
color: rgb(65, 65, 65);
}
QTableView::indicator {
border: 1px solid black;
width: 20px;
height: 20px;
}
QLineEdit {
border: 1px solid rgb(111, 156, 207);
background: white;
border-radius:3px;
}