Skip to content

Commit

Permalink
fix: remove fixed color and useless code in qss file
Browse files Browse the repository at this point in the history
  • Loading branch information
muyr authored and loonghao committed Jun 21, 2024
1 parent 2efbc81 commit c8f3a2b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dayu_widgets/static/main.qss
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,6 @@ MTabWidget::pane { /* The tab widget frame */
background-color: @background_color;
}
MTabWidget::tab-bar {
padding: 5px;
}
/* Style the tab using the tab sub-control. Note that
it reads QTabBar _not_ QTabWidget */
Expand All @@ -874,7 +873,6 @@ MTabBar::tab {
}

QTabBar::tab:selected{
background: #323232;
border-bottom: none;
color: @primary_color;
background-color: @background_color;
Expand Down Expand Up @@ -986,8 +984,6 @@ MColumnView,
MTableView{
background-color: @background_in_color;
alternate-background-color: @background_color;
selection-background-color: rgba(45, 140, 240, 50);
selection-color:#1e1e1e;
border: 1px solid @border_color;
padding: 0;
gridline-color: @border_color;
Expand All @@ -1008,6 +1004,7 @@ MTreeView::item:selected,
MColumnView::item:selected,
MTableView::item:selected{
background-color: @primary_color;
color: @text_color_inverse;
}

MTableView QTableCornerButton::section {
Expand Down

0 comments on commit c8f3a2b

Please sign in to comment.