mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-01 01:21:49 +02:00
Merge branch '3.0.0-wip' into bs3_drop_accordion_for_panel
Conflicts: dist/css/bootstrap.min.css
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "bootstrap",
|
"name": "bootstrap",
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"main": ["./dist/js/bootstrap.min.js", "./dist/js/bootstrap.js", "./dist/css/bootstrap.min.css", "./dist/css/bootstrap.css"],
|
"main": ["./dist/js/bootstrap.min.js", "./dist/css/bootstrap.min.css"],
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"**/.*"
|
"**/.*"
|
||||||
],
|
],
|
||||||
|
@@ -233,8 +233,48 @@ base_url: "../"
|
|||||||
<div class="btn-group-vertical">
|
<div class="btn-group-vertical">
|
||||||
<button type="button" class="btn btn-default">Button</button>
|
<button type="button" class="btn btn-default">Button</button>
|
||||||
<button type="button" class="btn btn-default">Button</button>
|
<button type="button" class="btn btn-default">Button</button>
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Dropdown
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Dropdown link</a></li>
|
||||||
|
<li><a href="#">Dropdown link</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<button type="button" class="btn btn-default">Button</button>
|
<button type="button" class="btn btn-default">Button</button>
|
||||||
<button type="button" class="btn btn-default">Button</button>
|
<button type="button" class="btn btn-default">Button</button>
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Dropdown
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Dropdown link</a></li>
|
||||||
|
<li><a href="#">Dropdown link</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Dropdown
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Dropdown link</a></li>
|
||||||
|
<li><a href="#">Dropdown link</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Dropdown
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Dropdown link</a></li>
|
||||||
|
<li><a href="#">Dropdown link</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
|
2
css.html
2
css.html
@@ -602,7 +602,7 @@ base_url: "../"
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><h5>Bootstrap heading</h5></td>
|
<td><h5>Bootstrap heading</h5></td>
|
||||||
<td>Semibold 16px</td>
|
<td>Semibold 14px</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><h6>Bootstrap heading</h6></td>
|
<td><h6>Bootstrap heading</h6></td>
|
||||||
|
151
dist/css/bootstrap.css
vendored
151
dist/css/bootstrap.css
vendored
@@ -1704,7 +1704,7 @@ textarea.form-control {
|
|||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-lg {
|
.input-sm {
|
||||||
height: 45px;
|
height: 45px;
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
@@ -1712,7 +1712,16 @@ textarea.form-control {
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-sm {
|
select.input-sm {
|
||||||
|
height: 45px;
|
||||||
|
line-height: 45px;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea.input-sm {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-lg {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@@ -1721,17 +1730,11 @@ textarea.form-control {
|
|||||||
}
|
}
|
||||||
|
|
||||||
select.input-lg {
|
select.input-lg {
|
||||||
height: 45px;
|
|
||||||
line-height: 45px;
|
|
||||||
}
|
|
||||||
|
|
||||||
select.input-sm {
|
|
||||||
height: 30px;
|
height: 30px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea.input-lg,
|
textarea.input-lg {
|
||||||
textarea.input-sm {
|
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2256,6 +2259,29 @@ input[type="button"].btn-block {
|
|||||||
|
|
||||||
.input-group-lg > .form-control,
|
.input-group-lg > .form-control,
|
||||||
.input-group-lg > .input-group-addon,
|
.input-group-lg > .input-group-addon,
|
||||||
|
.input-group-lg > .input-group-btn > .btn {
|
||||||
|
height: 30px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 1.5;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
select.input-group-lg > .form-control,
|
||||||
|
select.input-group-lg > .input-group-addon,
|
||||||
|
select.input-group-lg > .input-group-btn > .btn {
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea.input-group-lg > .form-control,
|
||||||
|
textarea.input-group-lg > .input-group-addon,
|
||||||
|
textarea.input-group-lg > .input-group-btn > .btn {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-group-sm > .form-control,
|
||||||
|
.input-group-sm > .input-group-addon,
|
||||||
.input-group-lg > .input-group-btn > .btn {
|
.input-group-lg > .input-group-btn > .btn {
|
||||||
height: 45px;
|
height: 45px;
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
@@ -2264,14 +2290,17 @@ input[type="button"].btn-block {
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-sm > .form-control,
|
select.input-group-sm > .form-control,
|
||||||
.input-group-sm > .input-group-addon,
|
select.input-group-sm > .input-group-addon,
|
||||||
.input-group-lg > .input-group-btn > .btn {
|
select.input-group-lg > .input-group-btn > .btn {
|
||||||
height: 30px;
|
height: 45px;
|
||||||
padding: 5px 10px;
|
line-height: 45px;
|
||||||
font-size: 12px;
|
}
|
||||||
line-height: 1.5;
|
|
||||||
border-radius: 3px;
|
textarea.input-group-sm > .form-control,
|
||||||
|
textarea.input-group-sm > .input-group-addon,
|
||||||
|
textarea.input-group-lg > .input-group-btn > .btn {
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-addon,
|
.input-group-addon,
|
||||||
@@ -3484,7 +3513,10 @@ button.close {
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group .btn + .btn {
|
.btn-group .btn + .btn,
|
||||||
|
.btn-group .btn + .btn-group,
|
||||||
|
.btn-group .btn-group + .btn,
|
||||||
|
.btn-group .btn-group + .btn-group {
|
||||||
margin-left: -1px;
|
margin-left: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3611,27 +3643,73 @@ button.close {
|
|||||||
border-bottom-width: 5px;
|
border-bottom-width: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical > .btn {
|
.btn-group-vertical > .btn,
|
||||||
|
.btn-group-vertical > .btn-group {
|
||||||
display: block;
|
display: block;
|
||||||
float: none;
|
float: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical > .btn + .btn {
|
.btn-group-vertical > .btn-group:before,
|
||||||
margin-top: -1px;
|
.btn-group-vertical > .btn-group:after {
|
||||||
|
display: table;
|
||||||
|
content: " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical .btn:not(:first-child):not(:last-child) {
|
.btn-group-vertical > .btn-group:after {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group-vertical > .btn-group:before,
|
||||||
|
.btn-group-vertical > .btn-group:after {
|
||||||
|
display: table;
|
||||||
|
content: " ";
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group-vertical > .btn-group:after {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group-vertical > .btn-group > .btn {
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group-vertical > .btn + .btn,
|
||||||
|
.btn-group-vertical > .btn + .btn-group,
|
||||||
|
.btn-group-vertical > .btn-group + .btn,
|
||||||
|
.btn-group-vertical > .btn-group + .btn-group {
|
||||||
|
margin-top: -1px;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical .btn:first-child:not(:last-child) {
|
.btn-group-vertical > .btn:first-child:not(:last-child) {
|
||||||
|
border-top-right-radius: 4px;
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical .btn:last-child:not(:first-child) {
|
.btn-group-vertical > .btn:last-child:not(:first-child) {
|
||||||
|
border-top-right-radius: 0;
|
||||||
|
border-bottom-left-radius: 4px;
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group-vertical > .btn-group:first-child > .btn:last-child,
|
||||||
|
.btn-group-vertical > .btn-group:first-child > .dropdown-toggle {
|
||||||
|
border-bottom-right-radius: 0;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group-vertical > .btn-group:last-child > .btn:first-child {
|
||||||
border-top-right-radius: 0;
|
border-top-right-radius: 0;
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
}
|
}
|
||||||
@@ -4618,31 +4696,6 @@ a.list-group-item.active > .badge,
|
|||||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
.accordion {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.accordion-group {
|
|
||||||
margin-bottom: 2px;
|
|
||||||
border: 1px solid #e5e5e5;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.accordion-heading {
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.accordion-heading .accordion-toggle {
|
|
||||||
display: block;
|
|
||||||
padding: 8px 15px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.accordion-inner {
|
|
||||||
padding: 9px 15px;
|
|
||||||
border-top: 1px solid #e5e5e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carousel {
|
.carousel {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1781,7 +1781,7 @@ $('.carousel').carousel()
|
|||||||
|
|
||||||
<h4>.carousel(options)</h4>
|
<h4>.carousel(options)</h4>
|
||||||
<p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p>
|
<p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p>
|
||||||
{% highlight html %}
|
{% highlight js %}
|
||||||
$('.carousel').carousel({
|
$('.carousel').carousel({
|
||||||
interval: 2000
|
interval: 2000
|
||||||
})
|
})
|
||||||
|
@@ -55,8 +55,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Prevent double borders when buttons are next to each other
|
// Prevent double borders when buttons are next to each other
|
||||||
.btn-group .btn + .btn {
|
.btn-group {
|
||||||
margin-left: -1px;
|
.btn + .btn,
|
||||||
|
.btn + .btn-group,
|
||||||
|
.btn-group + .btn,
|
||||||
|
.btn-group + .btn-group {
|
||||||
|
margin-left: -1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Optional: Group multiple button groups together for a toolbar
|
// Optional: Group multiple button groups together for a toolbar
|
||||||
@@ -163,26 +168,58 @@
|
|||||||
// Vertical button groups
|
// Vertical button groups
|
||||||
// ----------------------
|
// ----------------------
|
||||||
|
|
||||||
.btn-group-vertical > .btn {
|
.btn-group-vertical {
|
||||||
display: block;
|
> .btn,
|
||||||
float: none;
|
> .btn-group {
|
||||||
width: 100%;
|
display: block;
|
||||||
max-width: 100%;
|
float: none;
|
||||||
+ .btn {
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clear floats so dropdown menus can be properly placed
|
||||||
|
> .btn-group {
|
||||||
|
.clearfix();
|
||||||
|
> .btn {
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> .btn + .btn,
|
||||||
|
> .btn + .btn-group,
|
||||||
|
> .btn-group + .btn,
|
||||||
|
> .btn-group + .btn-group {
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn-group-vertical .btn {
|
|
||||||
|
.btn-group-vertical > .btn {
|
||||||
&:not(:first-child):not(:last-child) {
|
&:not(:first-child):not(:last-child) {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
&:first-child:not(:last-child) {
|
&:first-child:not(:last-child) {
|
||||||
|
border-top-right-radius: @border-radius-base;
|
||||||
.border-bottom-radius(0);
|
.border-bottom-radius(0);
|
||||||
}
|
}
|
||||||
&:last-child:not(:first-child) {
|
&:last-child:not(:first-child) {
|
||||||
|
border-bottom-left-radius: @border-radius-base;
|
||||||
.border-top-radius(0);
|
.border-top-radius(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
.btn-group-vertical > .btn-group:first-child {
|
||||||
|
> .btn:last-child,
|
||||||
|
> .dropdown-toggle {
|
||||||
|
.border-bottom-radius(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn-group-vertical > .btn-group:last-child > .btn:first-child {
|
||||||
|
.border-top-radius(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Justified button groups
|
// Justified button groups
|
||||||
|
@@ -208,43 +208,13 @@ input[type="number"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Form control sizing
|
// Form control sizing
|
||||||
//
|
.input-sm {
|
||||||
// Relative text size, padding, and border-radii changes for form controls. For
|
.input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
|
||||||
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
|
}
|
||||||
// element gets special love because it's special, and that's a fact!
|
|
||||||
|
|
||||||
.input-lg {
|
.input-lg {
|
||||||
height: @input-height-large;
|
.input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
|
||||||
padding: @padding-large-vertical @padding-large-horizontal;
|
|
||||||
font-size: @font-size-large;
|
|
||||||
line-height: @line-height-large;
|
|
||||||
border-radius: @border-radius-large;
|
|
||||||
}
|
|
||||||
.input-sm {
|
|
||||||
height: @input-height-small;
|
|
||||||
padding: @padding-small-vertical @padding-small-horizontal;
|
|
||||||
font-size: @font-size-small;
|
|
||||||
line-height: @line-height-small;
|
|
||||||
border-radius: @border-radius-small;
|
|
||||||
}
|
|
||||||
|
|
||||||
select {
|
|
||||||
&.input-lg {
|
|
||||||
height: @input-height-large;
|
|
||||||
line-height: @input-height-large;
|
|
||||||
}
|
|
||||||
&.input-sm {
|
|
||||||
height: @input-height-small;
|
|
||||||
line-height: @input-height-small;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
textarea {
|
|
||||||
&.input-lg,
|
|
||||||
&.input-sm {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -401,6 +401,30 @@
|
|||||||
border-radius: @border-radius;
|
border-radius: @border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Pagination
|
||||||
|
// -------------------------
|
||||||
|
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
|
||||||
|
> li {
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
padding: @padding-vertical @padding-horizontal;
|
||||||
|
font-size: @font-size;
|
||||||
|
}
|
||||||
|
&:first-child {
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
.border-left-radius(@border-radius);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:last-child {
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
.border-right-radius(@border-radius);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Labels
|
// Labels
|
||||||
// -------------------------
|
// -------------------------
|
||||||
.label-variant(@color) {
|
.label-variant(@color) {
|
||||||
@@ -644,3 +668,26 @@
|
|||||||
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");
|
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Form control sizing
|
||||||
|
//
|
||||||
|
// Relative text size, padding, and border-radii changes for form controls. For
|
||||||
|
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
|
||||||
|
// element gets special love because it's special, and that's a fact!
|
||||||
|
|
||||||
|
.input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
||||||
|
height: @input-height;
|
||||||
|
padding: @padding-vertical @padding-horizontal;
|
||||||
|
font-size: @font-size;
|
||||||
|
line-height: @line-height;
|
||||||
|
border-radius: @border-radius;
|
||||||
|
|
||||||
|
select& {
|
||||||
|
height: @input-height;
|
||||||
|
line-height: @input-height;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea& {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -63,46 +63,10 @@
|
|||||||
|
|
||||||
// Large
|
// Large
|
||||||
.pagination-lg {
|
.pagination-lg {
|
||||||
> li {
|
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
|
||||||
> a,
|
|
||||||
> span {
|
|
||||||
padding: @padding-large-vertical @padding-large-horizontal;
|
|
||||||
font-size: @font-size-large;
|
|
||||||
}
|
|
||||||
&:first-child {
|
|
||||||
> a,
|
|
||||||
> span {
|
|
||||||
.border-left-radius(@border-radius-large);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:last-child {
|
|
||||||
> a,
|
|
||||||
> span {
|
|
||||||
.border-right-radius(@border-radius-large);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Small
|
// Small
|
||||||
.pagination-sm {
|
.pagination-sm {
|
||||||
> li {
|
.pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
|
||||||
> a,
|
|
||||||
> span {
|
|
||||||
padding: @padding-small-vertical @padding-small-horizontal;
|
|
||||||
font-size: @font-size-small;
|
|
||||||
}
|
|
||||||
&:first-child {
|
|
||||||
> a,
|
|
||||||
> span {
|
|
||||||
.border-left-radius(@border-radius-small);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:last-child {
|
|
||||||
> a,
|
|
||||||
> span {
|
|
||||||
.border-right-radius(@border-radius-small);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user