Commit 81175073 authored by Koen Punt's avatar Koen Punt

removed overqualified mixins round-borders-*

parent 238c214a
...@@ -61,7 +61,10 @@ ...@@ -61,7 +61,10 @@
.ui-box { .ui-box {
background: #F9F9F9; background: #F9F9F9;
margin-bottom: 25px; margin-bottom: 25px;
@include round-borders-all(4px);
border: 1px solid #eaeaea;
@include border-radius(4px);
border-color: #CCC; border-color: #CCC;
@include solid_shade; @include solid_shade;
...@@ -75,8 +78,9 @@ ...@@ -75,8 +78,9 @@
h5, .title { h5, .title {
padding: 0 10px; padding: 0 10px;
@include round-borders-top(4px); @include border-radius(4px 4px 0 0);
@include bg-gray-gradient; @include bg-gray-gradient;
border-top: 1px solid #eaeaea;
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
&.small { &.small {
...@@ -104,7 +108,7 @@ ...@@ -104,7 +108,7 @@
.bottom { .bottom {
@include bg-gray-gradient; @include bg-gray-gradient;
@include round-borders-bottom(4px); @include border-radius(0 0 4px 4px);
border-bottom: none; border-bottom: none;
border-top: 1px solid #bbb; border-top: 1px solid #bbb;
} }
...@@ -137,12 +141,12 @@ ...@@ -137,12 +141,12 @@
li, .wll { li, .wll {
padding: 10px; padding: 10px;
&:first-child { &:first-child {
@include round-borders-top(4px); @include border-radius(4px 4px 0 0);
border-top: none; border-top: none;
} }
&:last-child { &:last-child {
@include round-borders-bottom(4px); @include border-radius(0 0 4px 4px);
border: none; border: none;
} }
} }
......
...@@ -34,21 +34,6 @@ ...@@ -34,21 +34,6 @@
background-image: -o-linear-gradient($from, $to); background-image: -o-linear-gradient($from, $to);
} }
@mixin round-borders-bottom($radius) {
border-top: 1px solid #eaeaea;
@include border-radius(0 0 $radius $radius);
}
@mixin round-borders-top($radius) {
border-top: 1px solid #eaeaea;
@include border-radius($radius $radius 0 0);
}
@mixin round-borders-all($radius) {
border: 1px solid #eaeaea;
@include border-radius($radius);
}
@mixin bg-gradient($from, $to) { @mixin bg-gradient($from, $to) {
@include linear-gradient($from, $to); @include linear-gradient($from, $to);
} }
......
...@@ -295,9 +295,8 @@ ...@@ -295,9 +295,8 @@
} }
.label_commit { .label_commit {
@include round-borders-all(4px); @include border-radius(4px);
padding: 2px 4px; padding: 2px 4px;
border: none;
font-size: 13px; font-size: 13px;
background: #474D57; background: #474D57;
color: #fff; color: #fff;
......
...@@ -84,7 +84,7 @@ li.merge_request { ...@@ -84,7 +84,7 @@ li.merge_request {
} }
.label_branch { .label_branch {
@include round-borders-all(4px); @include border-radius(4px);
padding: 2px 4px; padding: 2px 4px;
border: none; border: none;
font-size: 14px; font-size: 14px;
......
...@@ -105,7 +105,8 @@ tr.line_notes_row { ...@@ -105,7 +105,8 @@ tr.line_notes_row {
padding: 7px 10px; padding: 7px 10px;
} }
a.line_note_reply_link { a.line_note_reply_link {
@include round-borders-all(4px); border: 1px solid #eaeaea;
@include border-radius(4px);
padding: 3px 10px; padding: 3px 10px;
margin-left: 5px; margin-left: 5px;
color: white; color: white;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment