-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[query-search] fix scrolling on query search and pagination styling (#…
…2646) * fix scrolling for query search, getHeight was returning NAN * add styling for query search pagination * remove console.log * make pagination buttons match bootstrap theme small buttons
- Loading branch information
Alanna Scott
authored
Apr 20, 2017
1 parent
1cadfec
commit dc364da
Showing
4 changed files
with
60 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
superset/assets/javascripts/SqlLab/reactable-pagination.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
.reactable-pagination td { | ||
padding: 15px 0 0 0!important; | ||
} | ||
.reactable-pagination a:focus { | ||
text-decoration: none; | ||
color: #555555; | ||
outline: 1; | ||
} | ||
.reactable-page-button, | ||
.reactable-next-page, | ||
.reactable-previous-page { | ||
background: #fff; | ||
border-radius: 2px; | ||
border: 1px solid #b3b3b3; | ||
color: #555555; | ||
display: inline-block; | ||
font-size: 12px; | ||
line-height: 1.5; | ||
margin-right: 5px; | ||
padding: 5px 10px; | ||
text-align: center; | ||
text-decoration: none; | ||
vertical-align: middle; | ||
white-space: nowrap; | ||
} | ||
.reactable-current-page { | ||
border: 1px solid #b3b3b3; | ||
color: #555555; | ||
font-weight: bold; | ||
pointer-events: none; | ||
opacity: 0.65; | ||
} | ||
.reactable-page-button:hover, | ||
.reactable-next-page:hover, | ||
.reactable-previous-page:hover { | ||
background-color: #efefef; | ||
border-color: #949494; | ||
color: #555555; | ||
text-decoration: none; | ||
} |