Skip to content

Commit

Permalink
按钮阴影优化
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Apr 24, 2020
1 parent 9d21ac9 commit 58d1037
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 21 deletions.
29 changes: 12 additions & 17 deletions resources/assets/dcat/sass/components/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,6 @@ a.btn-sm, .btn-group-sm > a.btn {
color: white;
}

.btn-group {
.btn {
box-shadow: none;
}
.btn:not(.btn-white):hover {
box-shadow: $shadow-200;
}
//.btn.btn-white {
// box-shadow: $btn-group-btn-shadow;
//}

box-shadow: $btn-shadow;
}

.btn-sm, .btn-group-sm > .btn {
//padding: 0.45rem 1rem !important;
font-size: 12px;
Expand All @@ -60,9 +46,18 @@ a.btn-sm, .btn-group-sm > a.btn {
background: white;
box-shadow: $shadow-100;
}
//a.btn-sm, .btn-group-sm > a.btn {
// line-height: 1.4;
//}

.btn-group {

.btn:not(.btn-white):hover {
box-shadow: $shadow-200;
}
.btn {
box-shadow: none!important;
}

box-shadow: $btn-shadow;
}

// --------------------- btn-custom -----------------------
.btn-custom {
Expand Down
2 changes: 1 addition & 1 deletion resources/dist/dcat/css/dcat-app-blue-light.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/css/dcat-app-blue.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/css/dcat-app-green.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/css/dcat-app.css

Large diffs are not rendered by default.

0 comments on commit 58d1037

Please sign in to comment.