Skip to content

Commit

Permalink
修正SARibbonGalleryButton的样式错误
Browse files Browse the repository at this point in the history
  • Loading branch information
czyt1988 committed Jul 16, 2024
1 parent 33f8a33 commit 509b595
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/SARibbonBar/resource/theme-dark.qss
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ SARibbonControlButton:hover {
background-color: #a0a0a0;
}

SARibbonControlButton#SARibbonGalleryButtonUp,#SARibbonGalleryButtonDown,#SARibbonGalleryButtonMore{
SARibbonGalleryButton{
background-color:#b2b2b2;
border: 1px solid #888888;
color: #242424;
Expand Down
2 changes: 1 addition & 1 deletion src/SARibbonBar/resource/theme-dark2.qss
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ SARibbonControlButton:hover {
background-color: #344253;
}

SARibbonControlButton#SARibbonGalleryButtonUp,#SARibbonGalleryButtonDown,#SARibbonGalleryButtonMore{
SARibbonGalleryButton{
background-color:#344253;
border: 1px solid #435c76;
color: #dadada;
Expand Down
3 changes: 2 additions & 1 deletion src/SARibbonBar/resource/theme-office2013.qss
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ SARibbonControlButton:hover {
border: 1px solid #badffa;
background-color: #cee7fc;
}
SARibbonControlButton#SARibbonGalleryButtonUp, #SARibbonGalleryButtonDown, #SARibbonGalleryButtonMore {

SARibbonGalleryButton {
border: 1px solid #cee8fc;
}

Expand Down
4 changes: 2 additions & 2 deletions src/SARibbonBar/resource/theme-office2016-blue.qss
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,11 @@ SARibbonControlButton:hover {
background-color: #3e6db6;/*{ControlButton.BKColor:hover}*/
}

SARibbonControlButton#SARibbonGalleryButtonUp, #SARibbonGalleryButtonDown, #SARibbonGalleryButtonMore {
SARibbonGalleryButton {
border: 1px solid #f1f1f1;/*{GalleryButton.BorderColor}*/
background-color: #f1f1f1;/*{GalleryButton.BKColor}*/
}
SARibbonControlButton#SARibbonGalleryButtonUp:hover, #SARibbonGalleryButtonDown:hover, #SARibbonGalleryButtonMore:hover {
SARibbonGalleryButton:hover {
border: 1px solid #c5c5c5;/*{GalleryButton.BorderColor:hover}*/
background-color: #c5c5c5;/*{GalleryButton.BKColor:hover}*/
}
Expand Down
2 changes: 1 addition & 1 deletion src/SARibbonBar/resource/theme-win7.qss
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ SARibbonControlButton:checked{
SARibbonControlButton:hover {
background-color: #FDEEB3;
}
SARibbonControlButton#SARibbonGalleryButtonUp,#SARibbonGalleryButtonDown,#SARibbonGalleryButtonMore{
SARibbonGalleryButton{
border: 1px solid #C0C2C4;
}

Expand Down

0 comments on commit 509b595

Please sign in to comment.