Skip to content

Commit

Permalink
修正qss中office2013主题显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
czyt1988 committed Jan 18, 2024
1 parent c3feb50 commit 644d294
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
16 changes: 2 additions & 14 deletions src/SARibbonBar/resource/theme-office2013.qss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SARibbonSeparatorWidget {

/*SARibbonCategory*/
SARibbonCategory {
background-color: #fcfdfe;
background-color: white;
}
SARibbonCategory:focus {
outline: none;
Expand All @@ -63,7 +63,7 @@ SARibbonCategory > SARibbonSeparatorWidget {
/*SARibbonPannel*/

SARibbonPannel {
background-color: #fcfdfe;
background-color: white;
border: none;
color: #666666;
}
Expand Down Expand Up @@ -136,10 +136,6 @@ SARibbonTabBar::tab {
margin-bottom: 0px;
min-width: 50px;
min-height: 25px;
padding-top: -1px;
padding-bottom: -1px;
padding-top: -1px;
padding-bottom: -1px;
}

SARibbonTabBar::tab:selected {
Expand All @@ -150,10 +146,6 @@ SARibbonTabBar::tab:selected {
border-right:1px solid #c5d2e0;
border-left:1px solid #c5d2e0;
border-bottom:1px solid white;
padding-top: -1px;
padding-bottom: -1px;
padding-top: -1px;
padding-bottom: -1px;
}

SARibbonTabBar::tab:hover:!selected {
Expand All @@ -164,10 +156,6 @@ SARibbonTabBar::tab:hover:!selected {
border-right:1px solid #c5d2e0;
border-left:1px solid #c5d2e0;
border-bottom:1px solid white;
padding-top: -1px;
padding-bottom: -1px;
padding-top: -1px;
padding-bottom: -1px;
}


Expand Down
6 changes: 3 additions & 3 deletions src/SARibbonBar/resource/theme-office2016-blue.qss
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ SARibbonTabBar {

SARibbonTabBar::tab {
color: #d2e4ff;/* {Tab.Color} */
border:none;
border:1px solid transparent;
background: transparent;
margin-top: 0px;
margin-right: 0px;
Expand All @@ -230,11 +230,11 @@ SARibbonTabBar::tab {
SARibbonTabBar::tab:selected {
color: #225497;/* {Tab.Color:selected} */
background: #f1f1f1;/* {Tab.BKColor:selected} */
border:none;
border:1px solid #f1f1f1;
}

SARibbonTabBar::tab:hover:!selected {
border:none;/* {Tab.BorderColor:hover:!selected} */
border:1px solid #3e6db6;/* {Tab.BorderColor:hover:!selected} */
color:#d2e4ff;/* {Tab.Color:hover:!selected} */
background:#3e6db6;/* {Tab.BKColor:hover:!selected} */
}
Expand Down

0 comments on commit 644d294

Please sign in to comment.