Skip to content

Commit 59f151f

Browse files
committed
Core: Tweak Card & Dialog to new MD styles
1 parent 4c90db4 commit 59f151f

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/core/components/card/card-md.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99
.card {
1010
margin: 8px;
11-
.md-depth(1);
11+
.elevation(1);
1212
}
1313
.card-header, .card-footer {
1414
a.link {

src/core/components/card/card.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.card {
99
background: #fff;
1010
position: relative;
11-
border-radius: 2px;
11+
border-radius: 4px;
1212
font-size: 14px;
1313
.list, .block {
1414
margin: 0;
@@ -58,14 +58,14 @@
5858
}
5959
}
6060
.card-header {
61-
border-radius: 2px 2px 0 0;
61+
border-radius: 4px 4px 0 0;
6262
.hairline(bottom, #e1e1e1);
6363
&.no-hairline {
6464
.hairline-remove(bottom);
6565
}
6666
}
6767
.card-footer {
68-
border-radius: 0 0 2px 2px;
68+
border-radius: 0 0 4px 4px;
6969
.hairline(top, #e1e1e1);
7070
&.no-hairline {
7171
.hairline-remove(top);

src/core/components/dialog/dialog-md.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
.dialog {
77
width: 280px;
88
margin-left: -140px;
9-
border-radius: 3px;
9+
border-radius: 4px;
1010
color: #757575;
1111
background: #fff;
1212
font-size: 16px;
13-
.md-depth(5);
13+
.elevation(24);
1414
&.modal-in {
1515
opacity: 1;
1616
transform: translate3d(0,0,0) scale(1);

0 commit comments

Comments
 (0)