Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
bc7fd582
Commit
bc7fd582
authored
Jan 16, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore pagination and pager
parent
2127690e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
155 additions
and
1 deletion
+155
-1
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+152
-0
less/bootstrap.less
less/bootstrap.less
+2
-0
less/pager.less
less/pager.less
+1
-1
No files found.
docs/assets/css/bootstrap.css
View file @
bc7fd582
...
...
@@ -3573,6 +3573,158 @@ button.close {
color
:
#999999
;
}
.pagination
{
display
:
inline-block
;
margin
:
20px
0
;
border-radius
:
4px
;
}
.pagination
>
li
{
display
:
inline
;
}
.pagination
>
li
>
a
,
.pagination
>
li
>
span
{
float
:
left
;
padding
:
4px
12px
;
line-height
:
20px
;
text-decoration
:
none
;
background-color
:
#ffffff
;
border
:
1px
solid
#dddddd
;
border-left-width
:
0
;
}
.pagination
>
li
>
a
:hover
,
.pagination
>
.active
>
a
,
.pagination
>
.active
>
span
{
background-color
:
#f5f5f5
;
}
.pagination
>
.active
>
a
,
.pagination
>
.active
>
span
{
color
:
#999999
;
cursor
:
default
;
}
.pagination
>
.disabled
>
span
,
.pagination
>
.disabled
>
a
,
.pagination
>
.disabled
>
a
:hover
{
color
:
#999999
;
cursor
:
default
;
background-color
:
transparent
;
}
.pagination
>
li
:first-child
>
a
,
.pagination
>
li
:first-child
>
span
{
border-left-width
:
1px
;
border-bottom-left-radius
:
4px
;
border-top-left-radius
:
4px
;
}
.pagination
>
li
:last-child
>
a
,
.pagination
>
li
:last-child
>
span
{
border-top-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
}
.pagination-large
>
li
>
a
,
.pagination-large
>
li
>
span
{
padding
:
11px
19px
;
font-size
:
17.5px
;
}
.pagination-large
>
li
:first-child
>
a
,
.pagination-large
>
li
:first-child
>
span
{
border-bottom-left-radius
:
6px
;
border-top-left-radius
:
6px
;
}
.pagination-large
>
li
:last-child
>
a
,
.pagination-large
>
li
:last-child
>
span
{
border-top-right-radius
:
6px
;
border-bottom-right-radius
:
6px
;
}
.pagination-mini
>
li
:first-child
>
a
,
.pagination-small
>
li
:first-child
>
a
,
.pagination-mini
>
li
:first-child
>
span
,
.pagination-small
>
li
:first-child
>
span
{
border-bottom-left-radius
:
3px
;
border-top-left-radius
:
3px
;
}
.pagination-mini
>
li
:last-child
>
a
,
.pagination-small
>
li
:last-child
>
a
,
.pagination-mini
>
li
:last-child
>
span
,
.pagination-small
>
li
:last-child
>
span
{
border-top-right-radius
:
3px
;
border-bottom-right-radius
:
3px
;
}
.pagination-small
>
li
>
a
,
.pagination-small
>
li
>
span
{
padding
:
2px
10px
;
font-size
:
11.9px
;
}
.pagination-mini
>
li
>
a
,
.pagination-mini
>
li
>
span
{
padding
:
0
6px
;
font-size
:
10.5px
;
}
.pager
{
margin
:
20px
0
;
text-align
:
center
;
list-style
:
none
;
}
.pager
:before
,
.pager
:after
{
display
:
table
;
content
:
" "
;
}
.pager
:after
{
clear
:
both
;
}
.pager
li
{
display
:
inline
;
}
.pager
li
>
a
,
.pager
li
>
span
{
display
:
inline-block
;
padding
:
5px
14px
;
background-color
:
#fff
;
border
:
1px
solid
#ddd
;
border-radius
:
15px
;
}
.pager
li
>
a
:hover
{
text-decoration
:
none
;
background-color
:
#f5f5f5
;
}
.pager
.next
>
a
,
.pager
.next
>
span
{
float
:
right
;
}
.pager
.previous
>
a
,
.pager
.previous
>
span
{
float
:
left
;
}
.pager
.disabled
>
a
,
.pager
.disabled
>
a
:hover
,
.pager
.disabled
>
span
{
color
:
#999999
;
cursor
:
default
;
background-color
:
#fff
;
}
@media
screen
and
(
min-width
:
768px
)
{
[
class
^=
"span"
]
{
float
:
left
;
...
...
less/bootstrap.less
View file @
bc7fd582
...
...
@@ -37,6 +37,8 @@
@import "navbar.less";
@import "button-groups.less";
@import "breadcrumbs.less";
@import "pagination.less";
@import "pager.less";
...
...
less/pager.less
View file @
bc7fd582
...
...
@@ -7,7 +7,7 @@
margin: @line-height-base 0;
list-style: none;
text-align: center;
.clear
fix
();
.clear
_float
();
}
.pager li {
display: inline;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment