Skip to content

Commit

Permalink
Added LESS mixin for border-radius.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoluteur committed Jan 9, 2017
1 parent 4a1786f commit 29bad7a
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions less/structured-filter.less
Expand Up @@ -3,12 +3,18 @@
// https://github.com/evoluteur/structured-filter
// (c) 2017 Olivier Giulieri

.border-radius(@r){
border-radius: @r;
-moz-border-radius: @r;
-webkit-border-radius: @r;
}

.structFilter{
min-height:20px;
padding:6px 1px 1px 6px;
min-height: 20px;
padding: 6px 1px 1px 6px;
}
.evo-bNew, .evo-bAdd, .evo-bDel, .evo-bSubmit, .evo-searchFilters a{
margin:1px 6px 6px 1px;
margin: 1px 6px 6px 1px;
}
.evo-lBold{
font-weight: bold;
Expand All @@ -18,10 +24,7 @@
}

.evo-searchFilters a{
-moz-border-radius: 14px;
-webkit-border-radius: 14px;
-khtml-border-radius: 14px;
border-radius: 14px;
.border-radius(14px);

span.ui-button-text{
padding: 4px 33px 4px 12px;
Expand Down Expand Up @@ -67,7 +70,7 @@
line-height: 1.42857143;
color: #555;
border: 1px solid #ccc;
border-radius: 4px;
.border-radius(4px);
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
Expand Down

0 comments on commit 29bad7a

Please sign in to comment.