OSDN Git Service

removed overqualified mixins round-borders-*
authorKoen Punt <koen@koenpunt.nl>
Sun, 25 Nov 2012 17:30:18 +0000 (18:30 +0100)
committerKoen Punt <koen@koenpunt.nl>
Thu, 29 Nov 2012 11:18:44 +0000 (12:18 +0100)
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
app/assets/stylesheets/mixins.scss
app/assets/stylesheets/sections/commits.scss
app/assets/stylesheets/sections/merge_requests.scss
app/assets/stylesheets/sections/notes.scss

index db149ee..251b11e 100644 (file)
 .ui-box {
   background: #F9F9F9;
   margin-bottom: 25px;
-  @include round-borders-all(4px);
+
+  border: 1px solid #eaeaea;
+  @include border-radius(4px);
+  
   border-color: #CCC;
   @include solid_shade;
 
@@ -75,8 +78,9 @@
 
   h5, .title {
     padding: 0 10px;
-    @include round-borders-top(4px);
+    @include border-radius(4px 4px 0 0);
     @include bg-gray-gradient;
+    border-top: 1px solid #eaeaea;
     border-bottom: 1px solid #bbb;
 
     &.small {
 
   .bottom {
     @include bg-gray-gradient;
-    @include round-borders-bottom(4px);
+    @include border-radius(0 0 4px 4px);
     border-bottom: none;
     border-top: 1px solid #bbb;
   }
   li, .wll {
     padding: 10px;
     &:first-child {
-      @include round-borders-top(4px);
+      @include border-radius(4px 4px 0 0);
       border-top: none;
     }
 
     &:last-child {
-      @include round-borders-bottom(4px);
+      @include border-radius(0 0 4px 4px);
       border: none;
     }
   }
index 3ee8d0f..c704de0 100644 (file)
   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) {
   @include linear-gradient($from, $to);
 }
index 5fe53ce..bf405bf 100644 (file)
 }
 
 .label_commit {
-  @include round-borders-all(4px);
+  @include border-radius(4px);
   padding: 2px 4px;
-  border: none;
   font-size: 13px;
   background: #474D57;
   color: #fff;
index 2706583..a5ec175 100644 (file)
@@ -84,7 +84,7 @@ li.merge_request {
 }
 
 .label_branch {
-  @include round-borders-all(4px);
+  @include border-radius(4px);
   padding: 2px 4px;
   border: none;
   font-size: 14px;
index 50b8bd4..0c2a56d 100644 (file)
@@ -105,7 +105,8 @@ tr.line_notes_row {
       padding: 7px 10px;
     }
     a.line_note_reply_link {
-      @include round-borders-all(4px);
+      border: 1px solid #eaeaea;
+      @include border-radius(4px);
       padding: 3px 10px;
       margin-left: 5px;
       color: white;