Skip to content

Commit

Permalink
Custom bootstrap theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaquette committed Jan 25, 2015
1 parent 3ee4a12 commit d9dc42a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/BugTracker.Web/BugTracker.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="btnet_css_for_email.css.renamed" />
<Content Include="Content\btnet-bootstrap-theme.css" />
<Content Include="Content\bootstrap-theme.css" />
<Content Include="Content\bootstrap-theme.min.css" />
<Content Include="Content\bootstrap.css" />
Expand Down
25 changes: 25 additions & 0 deletions src/BugTracker.Web/Content/btnet-bootstrap-theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.btn-primary {
background-image: -webkit-linear-gradient(top, #00cc00 0%, #009900 100%);
background-image: -o-linear-gradient(top, #00cc00 0%, #009900 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#00cc00), to(#009900));
background-image: linear-gradient(to bottom, #00cc00 0%, #009900 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00cc00', endColorstr='#ff009900', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #009900;
}
.btn-primary:hover,
.btn-primary:focus {
background-color: #009900;
background-position: 0 -15px;
}
.btn-primary:active,
.btn-primary.active {
background-color: #009900;
border-color: #009900;
}
.btn-primary:disabled,
.btn-primary[disabled] {
background-color: #009900;
background-image: none;
}
1 change: 1 addition & 0 deletions src/BugTracker.Web/LoggedIn.Master
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<link rel="StyleSheet" href="btnet.css" type="text/css">
<link rel="StyleSheet" href="Content/style/jquery-ui.min.css" type="text/css">
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<link href="Content/btnet-bootstrap-theme.css" rel="stylesheet" />
<script type="text/javascript" src="scripts/jquery-1.11.1.min.js"></script>
<script type="text/javascript" language="JavaScript" src="scripts/jquery-ui.min.js"></script>
<script type="text/javascript" language="JavaScript" src="datejs/date.js"></script>
Expand Down
1 change: 1 addition & 0 deletions src/BugTracker.Web/LoggedOut.Master
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<title>btnet bugs</title>
<link rel="StyleSheet" href="btnet.css" type="text/css">
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<link href="Content/btnet-bootstrap-theme.css" rel="stylesheet" />
<script type="text/javascript" src="scripts/jquery-1.11.1.min.js"></script>
<asp:ContentPlaceHolder runat="server" ID="headerScripts"></asp:ContentPlaceHolder>

Expand Down

0 comments on commit d9dc42a

Please sign in to comment.