DeokHong Kim (a.k.a insanehong) DeokHong Kim (a.k.a insanehong) 2014-04-15
ProjectHome: Change background color of fork button Button: Change background color of buttons
Button: Change background color of buttons
@b85a41bf4d9a044e8963510818af00964e2e2213
app/assets/stylesheets/less/_variables.less
--- app/assets/stylesheets/less/_variables.less
+++ app/assets/stylesheets/less/_variables.less
@@ -80,8 +80,8 @@
 @yobi-btn-success-hover : @yobi-green-dark;
 @yobi-btn-info : @yobi-blue;
 @yobi-btn-info-hover : @yobi-blue-dark;
-@yobi-btn-inverse : @yobi-inverse;
-@yobi-btn-inverse-hover : @yobi-inverse-dark;
+@yobi-btn-inverse : #8F8E8E;
+@yobi-btn-inverse-hover : #7A7A7A;
 @yobi-btn-danger : @yobi-red;
 @yobi-btn-danger-hover : @yobi-red-dark;
 @yobi-btn-warning : @yobi-yello;
app/assets/stylesheets/less/_yobiUI.less
--- app/assets/stylesheets/less/_yobiUI.less
+++ app/assets/stylesheets/less/_yobiUI.less
@@ -822,11 +822,13 @@
     }
 
     &.ybtn-watching {
-        background-color : @yobi-btn-success !important;
-        border:1px solid @yobi-btn-success-hover;
+        background-color : #FFDC51 !important;
+        border:1px solid #E0C006;
+        color:#333;
+        font-weight: bold;
 
         &:hover, &:focus {
-            background-color: @yobi-btn-success-hover !important;
+            background-color: #F0CD02 !important;
         }
     }
 
@@ -861,7 +863,7 @@
             }
         }
 
-        &.ybtn-success,&.ybtn-primary, &.ybtn-info, &.ybtn-danger,&.ybtn-inverse, &.ybtn-disabled, &ybtn-warning,&.ybtn-watching  {
+        &.ybtn-success,&.ybtn-primary, &.ybtn-info, &.ybtn-danger,&.ybtn-inverse, &.ybtn-disabled  {
            &:after {
                 border-top: 4px solid @yobi-white !important;
             }
app/views/project/home.scala.html
--- app/views/project/home.scala.html
+++ app/views/project/home.scala.html
@@ -87,7 +87,7 @@
                         </span>
                         @if(project.vcs.equals("GIT")){
                         <span class="project-btn-item">
-                            <a href="@routes.PullRequestApp.newFork(project.owner, project.name)" class="ybtn ybtn-info">
+                            <a href="@routes.PullRequestApp.newFork(project.owner, project.name)" class="ybtn ybtn-inverse">
                                 @Messages("fork")
                             </a>
                         </span>
Add a comment
List