1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 03:41:19 +02:00

rems: code

This commit is contained in:
Mark Otto
2014-07-08 01:02:59 -07:00
parent dae5ec5416
commit 413750a03c
16 changed files with 182 additions and 178 deletions

View File

@@ -219,7 +219,7 @@
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-radius: 4px;
border-radius: .2rem;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}
@@ -360,7 +360,7 @@
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.list-group {
border-radius: 4px;
border-radius: .2rem;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

155
dist/css/bootstrap.css vendored
View File

@@ -321,7 +321,7 @@ img {
height: auto;
}
.img-rounded {
border-radius: 6px;
border-radius: .3rem;
}
.img-thumbnail {
display: inline-block;
@@ -331,7 +331,7 @@ img {
line-height: 1.5;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 4px;
border-radius: .2rem;
-webkit-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
@@ -710,20 +710,20 @@ samp {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
code {
padding: 2px 4px;
padding: .2rem .4rem;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
border-radius: .2rem;
}
kbd {
padding: 2px 4px;
padding: .2rem .4rem;
font-size: 90%;
color: #fff;
background-color: #333;
border-radius: 3px;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
border-radius: .2rem;
-webkit-box-shadow: inset 0 -.1rem 0 rgba(0, 0, 0, .25);
box-shadow: inset 0 -.1rem 0 rgba(0, 0, 0, .25);
}
kbd kbd {
padding: 0;
@@ -733,8 +733,9 @@ kbd kbd {
}
pre {
display: block;
padding: 11.5px;
margin: 0 0 12px;
padding: 1.5rem;
margin-top: 0;
margin-bottom: 1rem;
font-size: 90%;
line-height: 1.5;
color: #333;
@@ -1720,7 +1721,7 @@ output {
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
border-radius: .2rem;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
@@ -1855,7 +1856,7 @@ fieldset[disabled] .checkbox label {
padding: 5px 10px;
font-size: .85rem;
line-height: 1.5;
border-radius: 3px;
border-radius: .2rem;
}
select.input-sm,
select.form-group-sm .form-control {
@@ -1874,7 +1875,7 @@ select[multiple].form-group-sm .form-control {
padding: 10px 16px;
font-size: 1.25rem;
line-height: 1.33;
border-radius: 6px;
border-radius: .3rem;
}
select.input-lg,
select.form-group-lg .form-control {
@@ -2118,7 +2119,7 @@ select[multiple].form-group-lg .form-control {
user-select: none;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
border-radius: .2rem;
}
.btn:focus,
.btn:active:focus,
@@ -2460,21 +2461,21 @@ fieldset[disabled] .btn-link:focus {
padding: 10px 16px;
font-size: 1.25rem;
line-height: 1.33;
border-radius: 6px;
border-radius: .3rem;
}
.btn-sm,
.btn-group-sm > .btn {
padding: 5px 10px;
font-size: .85rem;
line-height: 1.5;
border-radius: 3px;
border-radius: .2rem;
}
.btn-xs,
.btn-group-xs > .btn {
padding: 1px 5px;
font-size: .85rem;
line-height: 1.5;
border-radius: 3px;
border-radius: .2rem;
}
.btn-block {
display: block;
@@ -2551,7 +2552,7 @@ tbody.collapse.in {
background-clip: padding-box;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, .15);
border-radius: 4px;
border-radius: .2rem;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
@@ -2782,14 +2783,14 @@ tbody.collapse.in {
border-radius: 0;
}
.btn-group-vertical > .btn:first-child:not(:last-child) {
border-top-right-radius: 4px;
border-top-right-radius: .2rem;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.btn-group-vertical > .btn:last-child:not(:first-child) {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-left-radius: 4px;
border-bottom-left-radius: .2rem;
}
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
@@ -2854,7 +2855,7 @@ tbody.collapse.in {
padding: 10px 16px;
font-size: 1.25rem;
line-height: 1.33;
border-radius: 6px;
border-radius: .3rem;
}
select.input-group-lg > .form-control,
select.input-group-lg > .input-group-addon,
@@ -2877,7 +2878,7 @@ select[multiple].input-group-lg > .input-group-btn > .btn {
padding: 5px 10px;
font-size: .85rem;
line-height: 1.5;
border-radius: 3px;
border-radius: .2rem;
}
select.input-group-sm > .form-control,
select.input-group-sm > .input-group-addon,
@@ -2918,17 +2919,17 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
text-align: center;
background-color: #eee;
border: 1px solid #ccc;
border-radius: 4px;
border-radius: .2rem;
}
.input-group-addon.input-sm {
padding: 5px 10px;
font-size: .85rem;
border-radius: 3px;
border-radius: .2rem;
}
.input-group-addon.input-lg {
padding: 10px 16px;
font-size: 1.25rem;
border-radius: 6px;
border-radius: .3rem;
}
.input-group-addon input[type="radio"],
.input-group-addon input[type="checkbox"] {
@@ -3039,7 +3040,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
margin-right: 2px;
line-height: 1.5;
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
border-radius: .2rem .2rem 0 0;
}
.nav-tabs > li > a:hover {
border-color: #eee #eee #ddd;
@@ -3079,7 +3080,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
}
.nav-tabs.nav-justified > li > a {
margin-right: 0;
border-radius: 4px;
border-radius: .2rem;
}
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
@@ -3089,7 +3090,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
@media (min-width: 768px) {
.nav-tabs.nav-justified > li > a {
border-bottom: 1px solid #ddd;
border-radius: 4px 4px 0 0;
border-radius: .2rem .2rem 0 0;
}
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
@@ -3101,7 +3102,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
float: left;
}
.nav-pills > li > a {
border-radius: 4px;
border-radius: .2rem;
}
.nav-pills > li + li {
margin-left: 2px;
@@ -3147,7 +3148,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
}
.nav-tabs-justified > li > a {
margin-right: 0;
border-radius: 4px;
border-radius: .2rem;
}
.nav-tabs-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
@@ -3157,7 +3158,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
@media (min-width: 768px) {
.nav-tabs-justified > li > a {
border-bottom: 1px solid #ddd;
border-radius: 4px 4px 0 0;
border-radius: .2rem .2rem 0 0;
}
.nav-tabs-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
@@ -3184,7 +3185,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
}
@media (min-width: 768px) {
.navbar {
border-radius: 4px;
border-radius: .2rem;
}
}
@media (min-width: 768px) {
@@ -3316,7 +3317,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
background-color: transparent;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
border-radius: .2rem;
}
.navbar-toggle:focus {
outline: 0;
@@ -3701,7 +3702,7 @@ fieldset[disabled] .navbar-inverse .btn-link:focus {
margin-bottom: 24px;
list-style: none;
background-color: #f5f5f5;
border-radius: 4px;
border-radius: .2rem;
}
.breadcrumb > li {
display: inline-block;
@@ -3718,7 +3719,7 @@ fieldset[disabled] .navbar-inverse .btn-link:focus {
display: inline-block;
padding-left: 0;
margin: 24px 0;
border-radius: 4px;
border-radius: .2rem;
}
.pagination > li {
display: inline;
@@ -3738,13 +3739,13 @@ fieldset[disabled] .navbar-inverse .btn-link:focus {
.pagination > li:first-child > a,
.pagination > li:first-child > span {
margin-left: 0;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border-top-left-radius: .2rem;
border-bottom-left-radius: .2rem;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
border-top-right-radius: .2rem;
border-bottom-right-radius: .2rem;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
@@ -3784,13 +3785,13 @@ fieldset[disabled] .navbar-inverse .btn-link:focus {
}
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
border-top-left-radius: .3rem;
border-bottom-left-radius: .3rem;
}
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
border-top-right-radius: .3rem;
border-bottom-right-radius: .3rem;
}
.pagination-sm > li > a,
.pagination-sm > li > span {
@@ -3799,13 +3800,13 @@ fieldset[disabled] .navbar-inverse .btn-link:focus {
}
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
border-top-left-radius: .2rem;
border-bottom-left-radius: .2rem;
}
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-top-right-radius: .2rem;
border-bottom-right-radius: .2rem;
}
.pager {
padding-left: 0;
@@ -3970,7 +3971,7 @@ a.list-group-item.active > .badge,
border-top-color: #d5d5d5;
}
.container .jumbotron {
border-radius: 6px;
border-radius: .3rem;
}
.jumbotron .container {
max-width: 100%;
@@ -3996,7 +3997,7 @@ a.list-group-item.active > .badge,
line-height: 1.5;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 4px;
border-radius: .2rem;
-webkit-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
@@ -4019,7 +4020,7 @@ a.thumbnail.active {
padding: 15px;
margin-bottom: 24px;
border: 1px solid transparent;
border-radius: 4px;
border-radius: .2rem;
}
.alert h4 {
margin-top: 0;
@@ -4119,7 +4120,7 @@ a.thumbnail.active {
margin-bottom: 24px;
overflow: hidden;
background-color: #f5f5f5;
border-radius: 4px;
border-radius: .2rem;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
@@ -4233,13 +4234,13 @@ a.thumbnail.active {
border: 1px solid #ddd;
}
.list-group-item:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-top-left-radius: .2rem;
border-top-right-radius: .2rem;
}
.list-group-item:last-child {
margin-bottom: 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: .2rem;
border-bottom-left-radius: .2rem;
}
.list-group-item > .badge {
float: right;
@@ -4400,7 +4401,7 @@ a.list-group-item-danger.active:focus {
margin-bottom: 24px;
background-color: #fff;
border: 1px solid transparent;
border-radius: 4px;
border-radius: .2rem;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
@@ -4410,8 +4411,8 @@ a.list-group-item-danger.active:focus {
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-left-radius: -.8rem;
border-top-right-radius: -.8rem;
}
.panel-heading > .dropdown .dropdown-toggle {
color: inherit;
@@ -4429,8 +4430,8 @@ a.list-group-item-danger.active:focus {
padding: 10px 15px;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: -.8rem;
border-bottom-left-radius: -.8rem;
}
.panel > .list-group {
margin-bottom: 0;
@@ -4441,13 +4442,13 @@ a.list-group-item-danger.active:focus {
}
.panel > .list-group:first-child .list-group-item:first-child {
border-top: 0;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-left-radius: -.8rem;
border-top-right-radius: -.8rem;
}
.panel > .list-group:last-child .list-group-item:last-child {
border-bottom: 0;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: -.8rem;
border-bottom-left-radius: -.8rem;
}
.panel-heading + .list-group .list-group-item:first-child {
border-top-width: 0;
@@ -4462,8 +4463,8 @@ a.list-group-item-danger.active:focus {
}
.panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-left-radius: -.8rem;
border-top-right-radius: -.8rem;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
@@ -4473,7 +4474,7 @@ a.list-group-item-danger.active:focus {
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
border-top-left-radius: 3px;
border-top-left-radius: -.8rem;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
@@ -4483,12 +4484,12 @@ a.list-group-item-danger.active:focus {
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
border-top-right-radius: 3px;
border-top-right-radius: -.8rem;
}
.panel > .table:last-child,
.panel > .table-responsive:last-child > .table:last-child {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: -.8rem;
border-bottom-left-radius: -.8rem;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
@@ -4498,7 +4499,7 @@ a.list-group-item-danger.active:focus {
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
border-bottom-left-radius: 3px;
border-bottom-left-radius: -.8rem;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
@@ -4508,7 +4509,7 @@ a.list-group-item-danger.active:focus {
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
border-bottom-right-radius: 3px;
border-bottom-right-radius: -.8rem;
}
.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive {
@@ -4579,7 +4580,7 @@ a.list-group-item-danger.active:focus {
}
.panel-group .panel {
margin-bottom: 0;
border-radius: 4px;
border-radius: .2rem;
}
.panel-group .panel + .panel {
margin-top: 5px;
@@ -4796,7 +4797,7 @@ button.close {
background-clip: padding-box;
border: 1px solid #999;
border: 1px solid rgba(0, 0, 0, .2);
border-radius: 6px;
border-radius: .3rem;
outline: 0;
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
@@ -4911,7 +4912,7 @@ button.close {
text-align: center;
text-decoration: none;
background-color: #000;
border-radius: 4px;
border-radius: .2rem;
}
.tooltip-arrow {
position: absolute;
@@ -4987,7 +4988,7 @@ button.close {
background-clip: padding-box;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, .2);
border-radius: 6px;
border-radius: .3rem;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}
@@ -5011,7 +5012,7 @@ button.close {
line-height: 18px;
background-color: #f7f7f7;
border-bottom: 1px solid #ebebeb;
border-radius: 5px 5px 0 0;
border-radius: -.7rem -.7rem 0 0;
}
.popover-content {
padding: 9px 14px;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long