|
| 1 | +.pagination a, |
| 2 | +.pagination span, |
| 3 | +.pagination em { |
| 4 | + position: relative; |
| 5 | + float: left; |
| 6 | + margin-left: -1px; |
| 7 | + font-size: 13px; |
| 8 | + font-weight: bold; |
| 9 | + font-style: normal; |
| 10 | + padding: 7px 12px; |
| 11 | + color: #4078c0; |
| 12 | + white-space: nowrap; |
| 13 | + vertical-align: middle; |
| 14 | + cursor: pointer; |
| 15 | + background: #fff; |
| 16 | + border: 1px solid #e5e5e5; |
| 17 | + user-select: none; |
| 18 | +} |
| 19 | +.pagination a:first-child, |
| 20 | +.pagination span:first-child, |
| 21 | +.pagination em:first-child { |
| 22 | + margin-left: 0; |
| 23 | + border-top-left-radius: 3px; |
| 24 | + border-bottom-left-radius: 3px; |
| 25 | +} |
| 26 | +.pagination a:last-child, |
| 27 | +.pagination span:last-child, |
| 28 | +.pagination em:last-child { |
| 29 | + border-top-right-radius: 3px; |
| 30 | + border-bottom-right-radius: 3px; |
| 31 | +} |
| 32 | +.pagination a:hover, .pagination a:focus, |
| 33 | +.pagination span:hover, |
| 34 | +.pagination span:focus, |
| 35 | +.pagination em:hover, |
| 36 | +.pagination em:focus { |
| 37 | + z-index: 2; |
| 38 | + background-color: #e7e7e7; |
| 39 | + border-color: #e5e5e5; |
| 40 | + text-decoration: none; |
| 41 | +} |
| 42 | +.pagination .selected { |
| 43 | + z-index: 3; |
| 44 | +} |
| 45 | +.pagination .current, |
| 46 | +.pagination .current:hover { |
| 47 | + z-index: 3; |
| 48 | + color: #fff; |
| 49 | + background-color: #4078c0; |
| 50 | + border-color: #4078c0; |
| 51 | +} |
| 52 | +.pagination .gap, |
| 53 | +.pagination .disabled, |
| 54 | +.pagination .gap:hover, |
| 55 | +.pagination .disabled:hover { |
| 56 | + background-color: #fafafa; |
| 57 | + cursor: default; |
| 58 | + color: #d3d3d3; |
| 59 | +} |
| 60 | + |
| 61 | +.ajax_paginate { |
| 62 | + display: block; |
| 63 | + margin-top: 20px; |
| 64 | +} |
| 65 | +.ajax_paginate a { |
| 66 | + float: none; |
| 67 | + display: block; |
| 68 | + padding: 6px; |
| 69 | + text-align: center; |
| 70 | +} |
| 71 | +.ajax_paginate.loading a { |
| 72 | + text-indent: -3000px; |
| 73 | + background-color: #eaeaea; |
| 74 | + background-image: url("/images/spinners/octocat-spinner-16px-EAF2F5.gif"); |
| 75 | + background-repeat: no-repeat; |
| 76 | + background-position: center center; |
| 77 | + border-color: #c5c5c5; |
| 78 | +} |
| 79 | +@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) { |
| 80 | + .ajax_paginate.loading a { |
| 81 | + background-image: url("/images/spinners/octocat-spinner-32-EAF2F5.gif"); |
| 82 | + background-size: 16px auto; |
| 83 | + } |
| 84 | +} |
| 85 | + |
| 86 | +.paginate-container { |
| 87 | + margin-top: 20px; |
| 88 | + margin-bottom: 15px; |
| 89 | + text-align: center; |
| 90 | +} |
| 91 | +.paginate-container .pagination { |
| 92 | + display: inline-block; |
| 93 | +} |
0 commit comments