Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
5c9bd1a2
Commit
5c9bd1a2
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge pull request #7608 from Fowowski/3.0.0-wip
more nested less rules - pager component
parents
f47aa08b
4bd6abaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+1
-1
docs/assets/css/bootstrap.css
less/pager.less
+43
-32
less/pager.less
with
44 additions
and
33 deletions
+44
-33
docs/assets/css/bootstrap.css
+
1
-
1
View file @
5c9bd1a2
...
@@ -4240,7 +4240,7 @@ button.close {
...
@@ -4240,7 +4240,7 @@ button.close {
.pager
.disabled
>
span
{
.pager
.disabled
>
span
{
color
:
#999999
;
color
:
#999999
;
cursor
:
default
;
cursor
:
default
;
background-color
:
#fff
;
background-color
:
#fff
fff
;
}
}
.modal-open
{
.modal-open
{
...
...
This diff is collapsed.
Click to expand it.
less/pager.less
+
43
-
32
View file @
5c9bd1a2
...
@@ -8,36 +8,47 @@
...
@@ -8,36 +8,47 @@
list-style: none;
list-style: none;
text-align: center;
text-align: center;
.clearfix();
.clearfix();
li {
display: inline;
> a,
> span {
display: inline-block;
padding: 5px 14px;
background-color: @pagination-bg;
border: 1px solid @pagination-border;
border-radius: 15px;
}
> a:hover,
> a:focus {
text-decoration: none;
background-color: @pagination-active-bg;
}
}
.next {
> a,
> span {
float: right;
}
}
.previous {
> a,
> span {
float: left;
}
}
.disabled {
> a,
> a:hover,
> a:focus,
> span {
color: @grayLight;
background-color: @pagination-bg;
cursor: default;
}
}
}
}
.pager li {
display: inline;
}
.pager li > a,
.pager li > span {
display: inline-block;
padding: 5px 14px;
background-color: @pagination-bg;
border: 1px solid @pagination-border;
border-radius: 15px;
}
.pager li > a:hover,
.pager li > a:focus {
text-decoration: none;
background-color: @pagination-active-bg;
}
.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 > a:focus,
.pager .disabled > span {
color: @grayLight;
background-color: #fff;
cursor: default;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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