mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-24 14:04:09 +03:00
add list group component
This commit is contained in:
Vendored
+91
@@ -2944,6 +2944,80 @@ fieldset[disabled] .btn-link:focus {
|
||||
z-index: 1051;
|
||||
}
|
||||
|
||||
.list-group {
|
||||
margin: 0 0 20px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.list-group-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 10px 30px 10px 15px;
|
||||
margin-bottom: -1px;
|
||||
border: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
.list-group-item:first-child {
|
||||
border-top-right-radius: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
|
||||
.list-group-item:last-child {
|
||||
margin-bottom: 0;
|
||||
border-bottom-right-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
|
||||
.list-group-item-heading {
|
||||
margin-top: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.list-group-item-text {
|
||||
margin-bottom: 0;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
a.list-group-item .list-group-item-heading {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
a.list-group-item .list-group-item-text {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
a.list-group-item:hover,
|
||||
a.list-group-item:focus {
|
||||
text-decoration: none;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
a.list-group-item.active {
|
||||
z-index: 2;
|
||||
color: #ffffff;
|
||||
background-color: #428bca;
|
||||
border-color: #428bca;
|
||||
}
|
||||
|
||||
a.list-group-item.active .list-group-item-heading,
|
||||
a.list-group-item.active .list-group-item-text {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.list-group-item > .badge,
|
||||
.list-group-item > .glyphicon-chevron-right {
|
||||
float: right;
|
||||
margin-right: -15px;
|
||||
}
|
||||
|
||||
.list-group-item > .glyphicon-chevron-right {
|
||||
margin-right: -15px;
|
||||
}
|
||||
|
||||
.list-group-item > .glyphicon + .badge {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
padding: 15px;
|
||||
margin-bottom: 20px;
|
||||
@@ -3006,6 +3080,23 @@ fieldset[disabled] .btn-link:focus {
|
||||
border-color: #bce8f1;
|
||||
}
|
||||
|
||||
.list-group-flush {
|
||||
margin: 15px -15px -15px;
|
||||
}
|
||||
|
||||
.list-group-flush .list-group-item {
|
||||
border-width: 1px 0;
|
||||
}
|
||||
|
||||
.list-group-flush .list-group-item:first-child {
|
||||
border-top-right-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
|
||||
.list-group-flush .list-group-item:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.well {
|
||||
min-height: 20px;
|
||||
padding: 19px;
|
||||
|
||||
Reference in New Issue
Block a user