Skip to content

Commit 283c6bf

Browse files
author
Olivier Giulieri
committed
Added mixing for border-radius.
1 parent 28b9430 commit 283c6bf

4 files changed

Lines changed: 17 additions & 12 deletions

File tree

less/demo.less

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ body{
5050
border: 2px solid #A7C8E2;
5151
margin: 4px 3px;
5252
padding: 10px;
53-
border-radius: 10px;
54-
-moz-border-radius: 10px;
55-
-webkit-border-radius: 10px;
53+
.border-radius(10px);
5654
}
5755
.demovalue {
5856
width: 100%;

less/many-cards.less

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
/* --- cards --- */
77

88
.evol-many-cards > div.panel {
9-
float:left;
10-
width:240px;
11-
min-width:140px;
12-
height:150px;
13-
margin: 5px;
14-
padding:10px;
15-
border-radius: 10px;
16-
overflow: auto;
9+
float:left;
10+
width:240px;
11+
min-width:140px;
12+
height:162px;
13+
margin: 5px;
14+
padding:10px;
15+
.border-radius(10px);
16+
overflow: auto;
1717
}

less/toolbar.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
.evo-toolbar{
77
border: 1px solid #bce8f1;
8-
border-radius: 4px;
8+
.border-radius(4px);
99
margin-bottom:10px;
1010
padding:3px;
1111
background-color: #fbfbfb;
@@ -34,4 +34,5 @@
3434
line-height: 35px;
3535
margin-top: 2px;
3636
}
37+
3738
}

less/variables.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,9 @@
2525
// footer
2626
@color-text-footer: silver;
2727

28+
// mixins
29+
.border-radius(@r){
30+
border-radius: @r;
31+
-moz-border-radius: @r;
32+
-webkit-border-radius: @r;
33+
}

0 commit comments

Comments
 (0)