Skip to content

Commit

Permalink
slate: removes border from btn-link, fixes thomaspark#192
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Dec 29, 2013
1 parent 65d5b07 commit 36f59c9
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 62 deletions.
85 changes: 45 additions & 40 deletions slate/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -7564,46 +7564,6 @@ td.visible-print {
filter: none;
}

.btn-primary {
background-image: -webkit-linear-gradient(#8a9196, #7a8288 60%, #70787d);
background-image: linear-gradient(#8a9196, #7a8288 60%, #70787d);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8a9196', endColorstr='#ff70787d', GradientType=0);
filter: none;
}

.btn-success {
background-image: -webkit-linear-gradient(#78cc78, #62c462 60%, #53be53);
background-image: linear-gradient(#78cc78, #62c462 60%, #53be53);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff78cc78', endColorstr='#ff53be53', GradientType=0);
filter: none;
}

.btn-info {
background-image: -webkit-linear-gradient(#74cae3, #5bc0de 60%, #4ab9db);
background-image: linear-gradient(#74cae3, #5bc0de 60%, #4ab9db);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff74cae3', endColorstr='#ff4ab9db', GradientType=0);
filter: none;
}

.btn-warning {
background-image: -webkit-linear-gradient(#faa123, #f89406 60%, #e48806);
background-image: linear-gradient(#faa123, #f89406 60%, #e48806);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffaa123', endColorstr='#ffe48806', GradientType=0);
filter: none;
}

.btn-danger {
background-image: -webkit-linear-gradient(#f17a77, #ee5f5b 60%, #ec4d49);
background-image: linear-gradient(#f17a77, #ee5f5b 60%, #ec4d49);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff17a77', endColorstr='#ffec4d49', GradientType=0);
filter: none;
}

.btn-default:hover {
background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
background-image: linear-gradient(#020202, #101112 40%, #191b1d);
Expand All @@ -7612,6 +7572,14 @@ td.visible-print {
filter: none;
}

.btn-primary {
background-image: -webkit-linear-gradient(#8a9196, #7a8288 60%, #70787d);
background-image: linear-gradient(#8a9196, #7a8288 60%, #70787d);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8a9196', endColorstr='#ff70787d', GradientType=0);
filter: none;
}

.btn-primary:hover {
background-image: -webkit-linear-gradient(#404448, #4e5458 40%, #585e62);
background-image: linear-gradient(#404448, #4e5458 40%, #585e62);
Expand All @@ -7620,6 +7588,14 @@ td.visible-print {
filter: none;
}

.btn-success {
background-image: -webkit-linear-gradient(#78cc78, #62c462 60%, #53be53);
background-image: linear-gradient(#78cc78, #62c462 60%, #53be53);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff78cc78', endColorstr='#ff53be53', GradientType=0);
filter: none;
}

.btn-success:hover {
background-image: -webkit-linear-gradient(#2f7d2f, #379337 40%, #3da23d);
background-image: linear-gradient(#2f7d2f, #379337 40%, #3da23d);
Expand All @@ -7628,6 +7604,14 @@ td.visible-print {
filter: none;
}

.btn-info {
background-image: -webkit-linear-gradient(#74cae3, #5bc0de 60%, #4ab9db);
background-image: linear-gradient(#74cae3, #5bc0de 60%, #4ab9db);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff74cae3', endColorstr='#ff4ab9db', GradientType=0);
filter: none;
}

.btn-info:hover {
background-image: -webkit-linear-gradient(#20829f, #2596b8 40%, #28a4c9);
background-image: linear-gradient(#20829f, #2596b8 40%, #28a4c9);
Expand All @@ -7636,6 +7620,14 @@ td.visible-print {
filter: none;
}

.btn-warning {
background-image: -webkit-linear-gradient(#faa123, #f89406 60%, #e48806);
background-image: linear-gradient(#faa123, #f89406 60%, #e48806);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffaa123', endColorstr='#ffe48806', GradientType=0);
filter: none;
}

.btn-warning:hover {
background-image: -webkit-linear-gradient(#804d03, #9e5f04 40%, #b26a04);
background-image: linear-gradient(#804d03, #9e5f04 40%, #b26a04);
Expand All @@ -7644,6 +7636,14 @@ td.visible-print {
filter: none;
}

.btn-danger {
background-image: -webkit-linear-gradient(#f17a77, #ee5f5b 60%, #ec4d49);
background-image: linear-gradient(#f17a77, #ee5f5b 60%, #ec4d49);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff17a77', endColorstr='#ffec4d49', GradientType=0);
filter: none;
}

.btn-danger:hover {
background-image: -webkit-linear-gradient(#bb1813, #d71c16 40%, #e7201a);
background-image: linear-gradient(#bb1813, #d71c16 40%, #e7201a);
Expand All @@ -7652,6 +7652,11 @@ td.visible-print {
filter: none;
}

.btn-link,
.btn-link:hover {
border-color: transparent;
}

h1,
h2,
h3,
Expand Down
2 changes: 1 addition & 1 deletion slate/bootstrap.min.css

Large diffs are not rendered by default.

47 changes: 26 additions & 21 deletions slate/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -58,50 +58,55 @@

.btn-default {
.btn-shadow(@btn-default-bg);

&:hover {
.btn-shadow-inverse(@btn-default-bg);
}
}

.btn-primary {
.btn-shadow(@btn-primary-bg);

&:hover {
.btn-shadow-inverse(@btn-primary-bg);
}
}

.btn-success {
.btn-shadow(@btn-success-bg);

&:hover {
.btn-shadow-inverse(@btn-success-bg);
}
}

.btn-info {
.btn-shadow(@btn-info-bg);

&:hover {
.btn-shadow-inverse(@btn-info-bg);
}
}

.btn-warning {
.btn-shadow(@btn-warning-bg);

&:hover {
.btn-shadow-inverse(@btn-warning-bg);
}
}

.btn-danger {
.btn-shadow(@btn-danger-bg);
}

.btn-default:hover {
.btn-shadow-inverse(@btn-default-bg);
}

.btn-primary:hover {
.btn-shadow-inverse(@btn-primary-bg);
}

.btn-success:hover {
.btn-shadow-inverse(@btn-success-bg);
}

.btn-info:hover {
.btn-shadow-inverse(@btn-info-bg);
}

.btn-warning:hover {
.btn-shadow-inverse(@btn-warning-bg);
&:hover {
.btn-shadow-inverse(@btn-danger-bg);
}
}

.btn-danger:hover {
.btn-shadow-inverse(@btn-danger-bg);
.btn-link,
.btn-link:hover {
border-color: transparent;
}

// Typography =================================================================
Expand Down

0 comments on commit 36f59c9

Please sign in to comment.