Skip to content

Commit

Permalink
slate: fixes pagination disabled and within tables, closes thomaspark…
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Aug 7, 2014
1 parent 371dee8 commit 71c4ee0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
16 changes: 9 additions & 7 deletions slate/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -6347,9 +6347,6 @@ h6 {
.text-info:hover {
color: #5bc0de;
}
.table a:not(.btn) {
text-decoration: underline;
}
.table .success,
.table .warning,
.table .danger,
Expand Down Expand Up @@ -6468,7 +6465,8 @@ legend {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
filter: none;
}
.pagination > li > a {
.pagination > li > a,
.pagination > li > span {
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
Expand All @@ -6477,15 +6475,17 @@ legend {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
filter: none;
}
.pagination > li > a:hover {
.pagination > li > a:hover,
.pagination > li > span:hover {
background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
background-image: -o-linear-gradient(#020202, #101112 40%, #191b1d);
background-image: linear-gradient(#020202, #101112 40%, #191b1d);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff020202', endColorstr='#ff191b1d', GradientType=0);
filter: none;
}
.pagination > li.active > a {
.pagination > li.active > a,
.pagination > li.active > span {
background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
background-image: -o-linear-gradient(#020202, #101112 40%, #191b1d);
background-image: linear-gradient(#020202, #101112 40%, #191b1d);
Expand All @@ -6494,7 +6494,9 @@ legend {
filter: none;
}
.pagination > li.disabled > a,
.pagination > li.disabled > a:hover {
.pagination > li.disabled > a:hover,
.pagination > li.disabled > span,
.pagination > li.disabled > span:hover {
background-color: transparent;
background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
Expand Down
2 changes: 1 addition & 1 deletion slate/bootstrap.min.css

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions slate/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ h1, h2, h3, h4, h5, h6 {

.table {

a:not(.btn) {
text-decoration: underline;
}

.success,
.warning,
.danger,
Expand Down Expand Up @@ -289,7 +285,8 @@ legend {

.pagination {

& > li > a {
& > li > a,
& > li > span {
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
.btn-shadow(@btn-default-bg);

Expand All @@ -298,12 +295,15 @@ legend {
}
}

& > li.active > a {
& > li.active > a,
& > li.active > span {
.btn-shadow-inverse(@btn-default-bg);
}

& > li.disabled > a,
& > li.disabled > a:hover {
& > li.disabled > a:hover,
& > li.disabled > span,
& > li.disabled > span:hover {
background-color: transparent;
.btn-shadow(@btn-default-bg);
}
Expand Down

0 comments on commit 71c4ee0

Please sign in to comment.