diff --git a/progit/static/progit.css b/progit/static/progit.css index 37d2988..e7d64a4 100644 --- a/progit/static/progit.css +++ b/progit/static/progit.css @@ -433,7 +433,7 @@ table.list .open_by { .issue_comment > header, .issue_comment > form > header, -.file_content > .buttons +.file_content > header { border-radius: 10px 10px 0 0; padding: .5em; @@ -480,25 +480,25 @@ table.list .open_by { padding: .5em; } -.buttons { - padding: 0; +header .buttons { list-style-type: none; text-align: right; - /*padding: .2em .5em 1em;*/ margin: 0; } -.buttons li { +header .buttons li { display: inline-block; padding-left: .5em; } -.button { +header .button { display: inline-block; color: white; background: #0066cc; border-radius: 3px; padding: .2em .5em; + border:none; + cursor: pointer; background-image: -webkit-linear-gradient(top, #0066cc, #34609f); background-image: -moz-linear-gradient(top, #0066cc, #34609f); background-image: -o-linear-gradient(top, #0066cc, #34609f); @@ -507,11 +507,12 @@ table.list .open_by { box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2); } -.button:hover { +header .button:hover { background-image: linear-gradient(to bottom, #34609f, #0066cc); } -a.button:visited, a.button:hover { +header a.button:visited, +header a.button:hover { color: white; } diff --git a/progit/templates/file.html b/progit/templates/file.html index cf691b5..650f747 100644 --- a/progit/templates/file.html +++ b/progit/templates/file.html @@ -26,7 +26,8 @@ {% if content %} {% if output_type == 'file' or output_type == 'binary' or output_type == 'image' %} -