Update
This commit is contained in:
@@ -1,119 +1,262 @@
|
||||
/* Plugin 统一样式表 */
|
||||
/* MetaFusion 插件样式表 */
|
||||
/* 作者: CGNICO */
|
||||
/* 版本: Alpha v1.0.0 */
|
||||
|
||||
/* 全局样式 */
|
||||
/* ==================== 全局样式 ==================== */
|
||||
QWidget {
|
||||
font-family: "Microsoft YaHei", "SimHei", sans-serif;
|
||||
font-size: 9pt;
|
||||
font-family: "Microsoft YaHei", "SimHei", "Arial", sans-serif;
|
||||
font-size: 12px;
|
||||
color: #E0E0E0;
|
||||
background-color: #333333;
|
||||
}
|
||||
|
||||
/* 菜单样式 */
|
||||
QMenuBar {
|
||||
background-color: #2D2D30;
|
||||
}
|
||||
|
||||
QLabel {
|
||||
color: #E0E0E0;
|
||||
}
|
||||
|
||||
QMenuBar::item {
|
||||
background-color: transparent;
|
||||
padding: 5px 10px;
|
||||
QLabel#mainTitleLabel {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
QMenuBar::item:selected {
|
||||
background-color: #007ACC;
|
||||
color: white;
|
||||
}
|
||||
|
||||
QMenu {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3F3F46;
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 5px 30px 5px 20px;
|
||||
}
|
||||
|
||||
QMenu::item:selected {
|
||||
background-color: #007ACC;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* 工具栏样式 */
|
||||
QToolBar {
|
||||
background-color: #2D2D30;
|
||||
border: 1px solid #3F3F46;
|
||||
spacing: 3px;
|
||||
}
|
||||
|
||||
QToolBar::separator {
|
||||
background-color: #3F3F46;
|
||||
width: 1px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
/* 工具栏图标按钮样式 */
|
||||
QPushButton#ToolbarIconButton {
|
||||
background-color: #333333;
|
||||
border: none;
|
||||
padding: 1px;
|
||||
min-width: 24px;
|
||||
max-width: 24px;
|
||||
min-height: 24px;
|
||||
max-height: 24px;
|
||||
}
|
||||
|
||||
QPushButton#ToolbarIconButton:hover {
|
||||
background-color: #444444;
|
||||
}
|
||||
|
||||
QPushButton#ToolbarIconButton:pressed {
|
||||
background-color: #555555;
|
||||
}
|
||||
|
||||
/* 工具栏分隔符样式 */
|
||||
QFrame#ToolbarSeparator {
|
||||
background-color: #555555;
|
||||
max-width: 1px;
|
||||
min-width: 1px;
|
||||
}
|
||||
|
||||
/* 工具栏状态标签样式 */
|
||||
QLabel#StatusLabel {
|
||||
color: #CCCCCC;
|
||||
padding-right: 5px;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
/* 标签页样式 */
|
||||
/* ==================== 标签页样式 ==================== */
|
||||
QTabWidget::pane {
|
||||
border: 1px solid #3F3F46;
|
||||
border: 1px solid #1E1E1E;
|
||||
background-color: #2D2D30;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
background-color: #252526;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3F3F46;
|
||||
border-bottom: none;
|
||||
padding: 5px 10px;
|
||||
background-color: #3E3E42;
|
||||
color: #CCCCCC;
|
||||
padding: 8px 15px;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
min-width: 80px;
|
||||
border: 1px solid #1E1E1E;
|
||||
border-bottom: none;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
QTabBar::tab:selected {
|
||||
background-color: #007ACC;
|
||||
color: white;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
QTabBar::tab:hover:!selected {
|
||||
background-color: #3E3E40;
|
||||
background-color: #505050;
|
||||
}
|
||||
|
||||
/* 分组框样式 */
|
||||
/* ==================== 按钮样式 ==================== */
|
||||
QPushButton {
|
||||
background-color: #3E3E42;
|
||||
color: #CCCCCC;
|
||||
border: 1px solid #1E1E1E;
|
||||
border-radius: 3px;
|
||||
padding: 5px 10px;
|
||||
min-height: 25px;
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
background-color: #505050;
|
||||
border: 1px solid #007ACC;
|
||||
}
|
||||
|
||||
QPushButton:pressed {
|
||||
background-color: #007ACC;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
QPushButton:disabled {
|
||||
background-color: #2D2D30;
|
||||
color: #656565;
|
||||
border: 1px solid #1E1E1E;
|
||||
}
|
||||
|
||||
/* 主要操作按钮 */
|
||||
QPushButton.primary {
|
||||
background-color: #007ACC;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
QPushButton.primary:hover {
|
||||
background-color: #1C97EA;
|
||||
}
|
||||
|
||||
QPushButton.primary:pressed {
|
||||
background-color: #0062A3;
|
||||
}
|
||||
|
||||
/* 危险操作按钮 */
|
||||
QPushButton.danger {
|
||||
background-color: #E51400;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
QPushButton.danger:hover {
|
||||
background-color: #FF2D1C;
|
||||
}
|
||||
|
||||
QPushButton.danger:pressed {
|
||||
background-color: #B30F00;
|
||||
}
|
||||
|
||||
/* ==================== 输入框样式 ==================== */
|
||||
QLineEdit, QTextEdit, QPlainTextEdit {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3E3E42;
|
||||
border-radius: 3px;
|
||||
padding: 3px;
|
||||
selection-background-color: #264F78;
|
||||
}
|
||||
|
||||
QLineEdit:focus, QTextEdit:focus, QPlainTextEdit:focus {
|
||||
border: 1px solid #007ACC;
|
||||
}
|
||||
|
||||
QLineEdit:disabled, QTextEdit:disabled, QPlainTextEdit:disabled {
|
||||
background-color: #2D2D30;
|
||||
color: #656565;
|
||||
border: 1px solid #1E1E1E;
|
||||
}
|
||||
|
||||
/* ==================== 下拉框样式 ==================== */
|
||||
QComboBox {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3E3E42;
|
||||
border-radius: 3px;
|
||||
padding: 3px 18px 3px 3px;
|
||||
min-height: 25px;
|
||||
}
|
||||
|
||||
QComboBox:hover {
|
||||
border: 1px solid #007ACC;
|
||||
}
|
||||
|
||||
QComboBox:on {
|
||||
background-color: #3E3E42;
|
||||
}
|
||||
|
||||
QComboBox::drop-down {
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: top right;
|
||||
width: 15px;
|
||||
border-left: 1px solid #3E3E42;
|
||||
}
|
||||
|
||||
QComboBox::down-arrow {
|
||||
image: url(":/icons/dropdown_arrow.png");
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3E3E42;
|
||||
selection-background-color: #007ACC;
|
||||
selection-color: #FFFFFF;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* ==================== 列表控件样式 ==================== */
|
||||
QListWidget, QTreeWidget, QTableWidget {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3E3E42;
|
||||
border-radius: 3px;
|
||||
alternate-background-color: #2A2A2A;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
QListWidget::item, QTreeWidget::item, QTableWidget::item {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
QListWidget::item:selected, QTreeWidget::item:selected, QTableWidget::item:selected {
|
||||
background-color: #007ACC;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
QListWidget::item:hover, QTreeWidget::item:hover, QTableWidget::item:hover {
|
||||
background-color: #3E3E42;
|
||||
}
|
||||
|
||||
/* ==================== 滚动条样式 ==================== */
|
||||
QScrollBar:vertical {
|
||||
background-color: #2D2D30;
|
||||
width: 12px;
|
||||
margin: 12px 0 12px 0;
|
||||
border: 1px solid #1E1E1E;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical {
|
||||
background-color: #3E3E42;
|
||||
min-height: 20px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical:hover {
|
||||
background-color: #505050;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:vertical {
|
||||
border: none;
|
||||
background: none;
|
||||
height: 10px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:vertical {
|
||||
border: none;
|
||||
background: none;
|
||||
height: 10px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar:horizontal {
|
||||
background-color: #2D2D30;
|
||||
height: 12px;
|
||||
margin: 0 12px 0 12px;
|
||||
border: 1px solid #1E1E1E;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal {
|
||||
background-color: #3E3E42;
|
||||
min-width: 20px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal:hover {
|
||||
background-color: #505050;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:horizontal {
|
||||
border: none;
|
||||
background: none;
|
||||
width: 10px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:horizontal {
|
||||
border: none;
|
||||
background: none;
|
||||
width: 10px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
/* ==================== 分组框样式 ==================== */
|
||||
QGroupBox {
|
||||
border: 1px solid #3F3F46;
|
||||
border: 1px solid #3E3E42;
|
||||
border-radius: 3px;
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
@@ -124,232 +267,252 @@ QGroupBox::title {
|
||||
subcontrol-origin: margin;
|
||||
subcontrol-position: top left;
|
||||
padding: 0 5px;
|
||||
color: #E0E0E0;
|
||||
color: #007ACC;
|
||||
}
|
||||
|
||||
/* 下拉框样式 */
|
||||
QComboBox {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3F3F46;
|
||||
border-radius: 3px;
|
||||
padding: 3px 18px 3px 3px;
|
||||
min-width: 6em;
|
||||
/* ==================== 分割器样式 ==================== */
|
||||
QSplitter::handle {
|
||||
background-color: #3E3E42;
|
||||
}
|
||||
|
||||
QComboBox::drop-down {
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: top right;
|
||||
width: 15px;
|
||||
border-left: 1px solid #3F3F46;
|
||||
QSplitter::handle:horizontal {
|
||||
width: 2px;
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3F3F46;
|
||||
selection-background-color: #264F78;
|
||||
selection-color: white;
|
||||
QSplitter::handle:vertical {
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
/* 按钮样式 */
|
||||
QPushButton {
|
||||
background-color: #0E639C;
|
||||
color: white;
|
||||
border: 1px solid #0E639C;
|
||||
border-radius: 3px;
|
||||
padding: 5px 10px;
|
||||
min-width: 80px;
|
||||
QSplitter::handle:hover {
|
||||
background-color: #007ACC;
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
background-color: #1177BB;
|
||||
border: 1px solid #1177BB;
|
||||
}
|
||||
|
||||
QPushButton:pressed {
|
||||
background-color: #00578A;
|
||||
border: 1px solid #00578A;
|
||||
}
|
||||
|
||||
QPushButton:disabled {
|
||||
background-color: #3F3F46;
|
||||
color: #9D9D9D;
|
||||
border: 1px solid #3F3F46;
|
||||
}
|
||||
|
||||
/* 输入框样式 */
|
||||
QLineEdit, QTextEdit, QPlainTextEdit {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3F3F46;
|
||||
border-radius: 3px;
|
||||
padding: 3px;
|
||||
selection-background-color: #264F78;
|
||||
}
|
||||
|
||||
/* 单选框样式 */
|
||||
QRadioButton {
|
||||
color: #E0E0E0;
|
||||
spacing: 5px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
/* 复选框样式 */
|
||||
QCheckBox {
|
||||
color: #E0E0E0;
|
||||
spacing: 5px;
|
||||
}
|
||||
|
||||
QCheckBox::indicator {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
/* 滑块样式 */
|
||||
/* ==================== 滑块样式 ==================== */
|
||||
QSlider::groove:horizontal {
|
||||
border: 1px solid #3F3F46;
|
||||
height: 8px;
|
||||
background: #1E1E1E;
|
||||
margin: 2px 0;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #1E1E1E;
|
||||
height: 4px;
|
||||
background: #3E3E42;
|
||||
margin: 0 5px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal {
|
||||
background: #007ACC;
|
||||
border: 1px solid #007ACC;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin: -4px 0;
|
||||
border-radius: 7px;
|
||||
border: 1px solid #005F9E;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin: -5px 0;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal:hover {
|
||||
background: #1177BB;
|
||||
border: 1px solid #1177BB;
|
||||
background: #1C97EA;
|
||||
border: 1px solid #007ACC;
|
||||
}
|
||||
|
||||
/* 进度条样式 */
|
||||
QSlider::sub-page:horizontal {
|
||||
background: #007ACC;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* ==================== 复选框样式 ==================== */
|
||||
QCheckBox {
|
||||
spacing: 5px;
|
||||
}
|
||||
|
||||
QCheckBox::indicator {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
QCheckBox::indicator:unchecked {
|
||||
border: 1px solid #3E3E42;
|
||||
background-color: #1E1E1E;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QCheckBox::indicator:unchecked:hover {
|
||||
border: 1px solid #007ACC;
|
||||
}
|
||||
|
||||
QCheckBox::indicator:checked {
|
||||
border: 1px solid #007ACC;
|
||||
background-color: #007ACC;
|
||||
border-radius: 2px;
|
||||
image: url(":/icons/checkmark.png");
|
||||
}
|
||||
|
||||
/* ==================== 单选框样式 ==================== */
|
||||
QRadioButton {
|
||||
spacing: 5px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:unchecked {
|
||||
border: 1px solid #3E3E42;
|
||||
background-color: #1E1E1E;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:unchecked:hover {
|
||||
border: 1px solid #007ACC;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:checked {
|
||||
border: 1px solid #007ACC;
|
||||
background-color: #1E1E1E;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:checked::before {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
background-color: #007ACC;
|
||||
border-radius: 4px;
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
/* ==================== 进度条样式 ==================== */
|
||||
QProgressBar {
|
||||
border: 1px solid #3F3F46;
|
||||
border: 1px solid #3E3E42;
|
||||
border-radius: 3px;
|
||||
background-color: #1E1E1E;
|
||||
text-align: center;
|
||||
color: white;
|
||||
color: #E0E0E0;
|
||||
}
|
||||
|
||||
QProgressBar::chunk {
|
||||
background-color: #007ACC;
|
||||
width: 10px;
|
||||
margin: 0.5px;
|
||||
}
|
||||
|
||||
/* 列表和树视图样式 */
|
||||
QTreeView, QListView, QTableView {
|
||||
background-color: #1E1E1E;
|
||||
alternate-background-color: #262626;
|
||||
/* ==================== 菜单样式 ==================== */
|
||||
QMenuBar {
|
||||
background-color: #2D2D30;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3F3F46;
|
||||
selection-background-color: #264F78;
|
||||
selection-color: white;
|
||||
outline: none;
|
||||
border-bottom: 1px solid #1E1E1E;
|
||||
}
|
||||
|
||||
QTreeView::item, QListView::item, QTableView::item {
|
||||
QMenuBar::item {
|
||||
background: transparent;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
QMenuBar::item:selected {
|
||||
background-color: #3E3E42;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
QMenuBar::item:pressed {
|
||||
background-color: #007ACC;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
QMenu {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3E3E42;
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 5px 30px 5px 20px;
|
||||
}
|
||||
|
||||
QMenu::item:selected {
|
||||
background-color: #007ACC;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
height: 1px;
|
||||
background-color: #3E3E42;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
/* ==================== 工具提示样式 ==================== */
|
||||
QToolTip {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3E3E42;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
QTreeView::item:selected, QListView::item:selected, QTableView::item:selected {
|
||||
background-color: #264F78;
|
||||
color: white;
|
||||
}
|
||||
|
||||
QTreeView::item:hover, QListView::item:hover, QTableView::item:hover {
|
||||
background-color: #2A2D2E;
|
||||
}
|
||||
|
||||
QHeaderView::section {
|
||||
background-color: #252526;
|
||||
color: #E0E0E0;
|
||||
padding: 3px;
|
||||
border: 1px solid #3F3F46;
|
||||
}
|
||||
|
||||
/* 滚动条样式 */
|
||||
QScrollBar:vertical {
|
||||
background-color: #1E1E1E;
|
||||
width: 14px;
|
||||
margin: 14px 0 14px 0;
|
||||
border: 1px solid #3F3F46;
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical {
|
||||
background-color: #3E3E42;
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:vertical {
|
||||
border: 1px solid #3F3F46;
|
||||
background-color: #3E3E42;
|
||||
height: 14px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:vertical {
|
||||
border: 1px solid #3F3F46;
|
||||
background-color: #3E3E42;
|
||||
height: 14px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar:horizontal {
|
||||
background-color: #1E1E1E;
|
||||
height: 14px;
|
||||
margin: 0 14px 0 14px;
|
||||
border: 1px solid #3F3F46;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal {
|
||||
background-color: #3E3E42;
|
||||
min-width: 20px;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:horizontal {
|
||||
border: 1px solid #3F3F46;
|
||||
background-color: #3E3E42;
|
||||
width: 14px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:horizontal {
|
||||
border: 1px solid #3F3F46;
|
||||
background-color: #3E3E42;
|
||||
width: 14px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
/* 状态栏样式 */
|
||||
/* ==================== 状态栏样式 ==================== */
|
||||
QStatusBar {
|
||||
background-color: #333333;
|
||||
background-color: #2D2D30;
|
||||
color: #E0E0E0;
|
||||
border-top: 1px solid #3F3F46;
|
||||
border-top: 1px solid #1E1E1E;
|
||||
}
|
||||
|
||||
QStatusBar::item {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* 提示框样式 */
|
||||
QToolTip {
|
||||
background-color: #2D2D30;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3F3F46;
|
||||
padding: 3px;
|
||||
/* ==================== 特定控件样式 ==================== */
|
||||
/* 标题标签 */
|
||||
QLabel[objectName="titleLabel"],
|
||||
QLabel[objectName="toolbarTitleLabel"],
|
||||
QLabel[objectName="definitionTitleLabel"],
|
||||
QLabel[objectName="geometryTitleLabel"],
|
||||
QLabel[objectName="riggingTitleLabel"],
|
||||
QLabel[objectName="behaviourTitleLabel"] {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
color: #007ACC;
|
||||
padding: 5px;
|
||||
background-color: #252526;
|
||||
border-bottom: 1px solid #3E3E42;
|
||||
}
|
||||
|
||||
/* 底部滑块 */
|
||||
QSlider#bottomSlider {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
/* 底部标签页按钮 */
|
||||
QPushButton[objectName*="tabButton"] {
|
||||
background-color: #3E3E42;
|
||||
color: #CCCCCC;
|
||||
border: 1px solid #1E1E1E;
|
||||
border-radius: 3px;
|
||||
padding: 5px;
|
||||
min-width: 40px;
|
||||
min-height: 25px;
|
||||
}
|
||||
|
||||
QPushButton[objectName*="tabButton"]:checked,
|
||||
QPushButton[objectName*="tabButton"]:pressed {
|
||||
background-color: #007ACC;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
QPushButton[objectName*="tabButton"]:hover:!checked {
|
||||
background-color: #505050;
|
||||
border: 1px solid #007ACC;
|
||||
}
|
||||
|
||||
/* 搜索框 */
|
||||
QLineEdit[objectName*="searchInput"],
|
||||
QLineEdit[objectName*="filterInput"] {
|
||||
background-color: #1E1E1E;
|
||||
color: #E0E0E0;
|
||||
border: 1px solid #3E3E42;
|
||||
border-radius: 3px;
|
||||
padding: 5px 25px 5px 5px;
|
||||
background-image: url(":/icons/search.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
background-origin: content;
|
||||
}
|
||||
|
||||
QLineEdit[objectName*="searchInput"]:focus,
|
||||
QLineEdit[objectName*="filterInput"]:focus {
|
||||
border: 1px solid #007ACC;
|
||||
}
|
||||
|
Reference in New Issue
Block a user