Skip to content

Commit 3bddf59

Browse files
committed
styles: Inline obsolete border-radius mixin
This CSS property is supported by all of our target browsers by now see https://caniuse.com/#feat=border-radius
1 parent 49d5d5b commit 3bddf59

File tree

4 files changed

+9
-16
lines changed

4 files changed

+9
-16
lines changed

app/styles/_helpers.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
@mixin border-radius($radius) {
2-
-webkit-border-radius: $radius;
3-
-moz-border-radius: $radius;
4-
-ms-border-radius: $radius;
5-
border-radius: $radius;
6-
}
7-
81
@mixin vertical-gradient($start, $end) {
92
background: $end;
103
background: -moz-linear-gradient(top, $start 0%, $end 100%);

app/styles/app.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ body > div {
4848
margin-bottom: 10px;
4949
background-color: $main-bg;
5050
padding: 15px;
51-
@include border-radius(10px);
51+
border-radius: 10px;
5252
box-shadow: 0px 0px 5px 2px #3b6837;
5353
border: 5px solid #62865f;
5454
color: $main-color;
@@ -131,7 +131,7 @@ body > div {
131131
background-repeat: no-repeat;
132132
background-position: 6px 6px;
133133
background-size: 14px 15px;
134-
@include border-radius(15px);
134+
border-radius: 15px;
135135
}
136136

137137
form.search label {
@@ -206,7 +206,7 @@ span.loading {
206206
text-align: center;
207207
margin: 0 0 10px 0;
208208
padding: 10px;
209-
@include border-radius(5px);
209+
border-radius: 5px;
210210

211211
&.shown {
212212
display: block;
@@ -287,7 +287,7 @@ ul.dropdown {
287287
list-style: none;
288288
z-index: 10;
289289
overflow: hidden;
290-
@include border-radius(5px);
290+
border-radius: 5px;
291291

292292
li a {
293293
font-size: 90%;

app/styles/crate.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
padding: 20px;
44
background-color: $main-bg-dark;
55
margin-bottom: 20px;
6-
@include border-radius(5px);
6+
border-radius: 5px;
77
display: flex;
88
flex-wrap: wrap;
99
align-items: center;
@@ -61,7 +61,7 @@
6161
display: flex;
6262
justify-content: space-between;
6363
padding: 20px;
64-
@include border-radius(5px);
64+
border-radius: 5px;
6565
background-color: white;
6666
margin-bottom: 40px;
6767

@@ -123,7 +123,7 @@
123123
background-color: $main-bg-dark;
124124
padding: 10px;
125125
display: inline-block;
126-
@include border-radius(5px);
126+
border-radius: 5px;
127127
}
128128
}
129129

app/styles/home.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
font-weight: bold;
1212
border: none;
1313
outline: 0;
14-
@include border-radius(30px);
14+
border-radius: 30px;
1515
@include vertical-gradient($start, $end);
1616

1717
img, svg {
@@ -35,7 +35,7 @@
3535

3636
button.small {
3737
padding: 10px 20px;
38-
@include border-radius(30px);
38+
border-radius: 30px;
3939
}
4040

4141
.tan-button {

0 commit comments

Comments
 (0)