Skip to content

Commit

Permalink
style(dialog): update button styling for transaction error dialog
Browse files Browse the repository at this point in the history
- Add primary button styling to the last button in the transaction error dialog action
- Remove unused styles for #aciton (commented out)
- Update colorful-asri.scss to include the new button styling
  • Loading branch information
mustakshif committed Nov 17, 2024
1 parent 544d3ad commit 3940696
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
20 changes: 12 additions & 8 deletions style/components/dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@
// overflow: hidden;
// }
// }

#transactionError+.b3-dialog__action button:last-child {
@include button-action('primary');
}
}

.search__tip {
Expand Down Expand Up @@ -1441,15 +1445,15 @@
// font-feature-settings: "ss06" on;
// } //避免在非苹果设备上出现意外的字形渲染结果

#aciton {
.b3-button--cancel {
@include button-action('normal');
}
// #aciton {
// .b3-button--cancel {
// @include button-action('normal');
// }

.b3-button--text {
@include button-action('primary');
}
}
// .b3-button--text {
// @include button-action('primary');
// }
// }


// 新窗口 ————————————————————————
Expand Down
1 change: 1 addition & 0 deletions style/features/colorful-asri.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
#message,
.b3-button--outline:hover,
.b3-dialog__action .b3-button--text,
#transactionError+.b3-dialog__action button:last-child,
#configBazaarReadme .item__side .b3-button:hover,
.protyle-breadcrumb__icon:hover,
.protyle-breadcrumb__item,
Expand Down
2 changes: 1 addition & 1 deletion theme.css

Large diffs are not rendered by default.

0 comments on commit 3940696

Please sign in to comment.