Showing 2 changed files with 9 additions and 42 deletions
+3 -36
public/css/common.css
... ...
@@ -1925,8 +1925,8 @@ button.close {
1925 1925
 
1926 1926
 .btn, .btn:visited {
1927 1927
   display: inline-block;
1928
-  padding: 4px 12px;
1929
-  font-size: 15px;
1928
+  padding: 4px 12px 3px 12px;
1929
+  font-size: 11px;
1930 1930
   color:#395582;
1931 1931
   text-align: center;
1932 1932
   cursor: pointer;
... ...
@@ -1934,6 +1934,7 @@ button.close {
1934 1934
   border-radius: 4px;
1935 1935
   background: -moz-linear-gradient(top,#FFF 0%,#EEE);
1936 1936
   background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE));
1937
+  height:26px;
1937 1938
 }
1938 1939
 
1939 1940
 .btn:hover,
... ...
@@ -1951,40 +1952,6 @@ button.close {
1951 1952
   cursor: default;
1952 1953
 }
1953 1954
 
1954
-
1955
-.btn-large {
1956
-  padding: 11px 19px;
1957
-  font-size: 17.5px;
1958
-  border-radius: 6px;
1959
-}
1960
-
1961
-.btn-large [class^="icon-"],
1962
-.btn-large [class*=" icon-"] {
1963
-  margin-top: 4px;
1964
-}
1965
-
1966
-.btn-small {
1967
-  padding: 2px 10px;
1968
-  font-size: 11.9px;
1969
-  border-radius: 3px;
1970
-}
1971
-
1972
-.btn-small [class^="icon-"],
1973
-.btn-small [class*=" icon-"] {
1974
-  margin-top: 0;
1975
-}
1976
-
1977
-.btn-mini [class^="icon-"],
1978
-.btn-mini [class*=" icon-"] {
1979
-  margin-top: -1px;
1980
-}
1981
-
1982
-.btn-mini {
1983
-  padding: 0 6px;
1984
-  font-size: 10.5px;
1985
-  border-radius: 3px;
1986
-}
1987
-
1988 1955
 .btn-primary {
1989 1956
   color: #ffffff;
1990 1957
   text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+6 -6
templates/include/branch_select.html.ep
... ...
@@ -129,8 +129,8 @@
129 129
 
130 130
 <div class="branch-select-container">
131 131
   <div class="branch-select-left-container <%= $display eq 'tree' || $display eq 'blob' ? 'branch-select-left-container-page-path' : '' %>">
132
-    <button id="rev-btn" class="btn btn-small">
133
-      <span><%= $title %>:</span> <b><%= $rev_short %></b> <i class="icon-arrow-down"></i>
132
+    <button id="rev-btn" class="btn" style="padding-top:6px">
133
+      <span><%= $title %>:</span> <b><%= $rev_short %></b> <i class="icon-arrow-down" style="position: relative;top:-1px;left:2px;"></i>
134 134
     </button>
135 135
     % if ($display eq 'tree' || $display eq 'blob') {
136 136
         %= include '/include/page_path', Path => $path;
... ...
@@ -141,21 +141,21 @@
141 141
         <ul class="git-url-container">
142 142
           % if ($logined) {
143 143
             <li>
144
-              <button class="btn btn-small btn-success" id="btn_ssh">SSH</button>
144
+              <button class="btn btn-primary" id="btn_ssh">SSH</button>
145 145
             </li>
146 146
           % }
147 147
           <li>
148
-            <button class="btn btn-small <%= !$logined ? 'btn-info' : '' %>" id="btn_http"><%= $self->req->is_secure ? 'HTTPS' : 'HTTP' %></button>
148
+            <button class="btn <%= !$logined ? 'btn-info' : '' %>" id="btn_http"><%= $self->req->is_secure ? 'HTTPS' : 'HTTP' %></button>
149 149
           </li>
150 150
           <li>
151 151
             <input id="rep_url" type="text">
152 152
           </li>
153 153
           <li>
154 154
             <div class="donwload-zip">
155
-              <a title="Download ZIP" class="btn btn-small" href="<%= url_for("/$user/$project/archive/$rev.zip") %>">
155
+              <a title="Download ZIP" class="btn" href="<%= url_for("/$user/$project/archive/$rev.zip") %>">
156 156
                 ZIP
157 157
               </a>
158
-              <a title="Download tar.gz" class="btn btn-small" href="<%= url_for("/$user/$project/archive/$rev.tar.gz") %>">
158
+              <a title="Download tar.gz" class="btn" href="<%= url_for("/$user/$project/archive/$rev.tar.gz") %>">
159 159
                 tar.gz
160 160
               </a>
161 161
             </div>