Skip to content

Commit d67e280

Browse files
committed
Core: Tweak buttons radius to new MD guide
1 parent 6eb74cc commit d67e280

4 files changed

Lines changed: 21 additions & 21 deletions

File tree

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Buttons
44
.button {
55
color:@themeColor;
6-
border-radius: 2px;
6+
border-radius: 4px;
77
line-height: 36px;
88
height: 36px;
99
text-transform: uppercase;
@@ -26,7 +26,7 @@
2626
&.button-big, &.button-big-md {
2727
height: 48px;
2828
line-height: 48px;
29-
border-radius: 3px;
29+
border-radius: 4px;
3030
}
3131
&.button-round, &.button-round-md {
3232
border-radius: 36px;
@@ -88,7 +88,7 @@
8888

8989
// Segmented Control
9090
.segmented {
91-
border-radius: 3px;
91+
border-radius: 4px;
9292
&.segmented-raised {
9393
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
9494
}
@@ -100,7 +100,7 @@
100100
.ltr({
101101
border-left: 1px solid rgba(0,0,0,0.1);
102102
&:first-child {
103-
border-radius: 3px 0 0 3px;
103+
border-radius: 4px 0 0 4px;
104104
border-left: none;
105105
}
106106
&.button-outline {
@@ -110,10 +110,10 @@
110110
}
111111
}
112112
&:last-child {
113-
border-radius: 0 3px 3px 0;
113+
border-radius: 0 4px 4px 0;
114114
}
115115
&:first-child:last-child {
116-
border-radius: 5px;
116+
border-radius: 4px;
117117
}
118118
&.button-round:first-child {
119119
border-radius: 36px 0 0 36px;
@@ -125,7 +125,7 @@
125125
.rtl({
126126
border-right: 1px solid rgba(0,0,0,0.1);
127127
&:first-child {
128-
border-radius: 0 3px 3px 0;
128+
border-radius: 0 4px 4px 0;
129129
border-right: none;
130130
}
131131
&.button-outline {
@@ -135,10 +135,10 @@
135135
}
136136
}
137137
&:last-child {
138-
border-radius: 3px 0 0 3px;
138+
border-radius: 4px 0 0 4px;
139139
}
140140
&:first-child:last-child {
141-
border-radius: 5px;
141+
border-radius: 4px;
142142
}
143143
&.button-round:first-child {
144144
border-radius: 0 36px 36px 0;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
a.link {
1515
.button;
1616
color:@themeColor;
17-
border-radius: 2px;
17+
border-radius: 4px;
1818
line-height: 36px;
1919
height: 36px;
2020
text-transform: uppercase;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
.dialog-button {
5858
.button;
5959
color:@themeColor;
60-
border-radius: 2px;
60+
border-radius: 4px;
6161
line-height: 36px;
6262
height: 36px;
6363
text-transform: uppercase;

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@
2727
}
2828
.ltr({
2929
&:first-child {
30-
border-radius: 2px 0 0 2px;
30+
border-radius: 4px 0 0 4px;
3131
}
3232
&:last-child {
33-
border-radius: 0 2px 2px 0;
33+
border-radius: 0 4px 4px 0;
3434
}
3535
});
3636
.rtl({
3737
&:first-child {
38-
border-radius: 0 2px 2px 0;
38+
border-radius: 0 4px 4px 0;
3939
}
4040
&:last-child {
41-
border-radius: 2px 0 0 2px;
41+
border-radius: 4px 0 0 4px;
4242
}
4343
});
4444

@@ -116,18 +116,18 @@
116116
line-height: 46px;
117117
.ltr({
118118
&:first-child {
119-
border-radius: 3px 0 0 3px;
119+
border-radius: 4px 0 0 4px;
120120
}
121121
&:last-child {
122-
border-radius: 0 3px 3px 0;
122+
border-radius: 0 4px 4px 0;
123123
}
124124
});
125125
.rtl({
126126
&:first-child {
127-
border-radius: 0 3px 3px 0;
127+
border-radius: 0 4px 4px 0;
128128
}
129129
&:last-child {
130-
border-radius: 3px 0 0 3px;
130+
border-radius: 4px 0 0 4px;
131131
}
132132
});
133133
}
@@ -154,9 +154,9 @@
154154
}
155155
.stepper-raised {
156156
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
157-
border-radius: 2px;
157+
border-radius: 4px;
158158
&.stepper-big, &.stepper-big-md {
159-
border-radius: 3px;
159+
border-radius: 4px;
160160
}
161161
&.stepper-round, &.stepper-round-md {
162162
border-radius: 36px;

0 commit comments

Comments
 (0)