bootstrap.css 89.4 KB
Newer Older
Mark Otto's avatar
Mark Otto committed
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012

table {
  max-width: 100%;
  background-color: transparent;
}

th {
  text-align: left;
}

.table {
  width: 100%;
Mark Otto's avatar
Mark Otto committed
1013
  margin-bottom: 20px;
Mark Otto's avatar
Mark Otto committed
1014
1015
}

1016
1017
1018
1019
.table thead > tr > th,
.table tbody > tr > th,
.table thead > tr > td,
.table tbody > tr > td {
Mark Otto's avatar
Mark Otto committed
1020
  padding: 8px;
Mark Otto's avatar
Mark Otto committed
1021
  line-height: 1.428;
Mark Otto's avatar
Mark Otto committed
1022
1023
1024
1025
  vertical-align: top;
  border-top: 1px solid #dddddd;
}

1026
.table thead > tr > th {
Mark Otto's avatar
Mark Otto committed
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
  vertical-align: bottom;
}

.table caption + thead tr:first-child th,
.table caption + thead tr:first-child td,
.table colgroup + thead tr:first-child th,
.table colgroup + thead tr:first-child td,
.table thead:first-child tr:first-child th,
.table thead:first-child tr:first-child td {
  border-top: 0;
}

.table tbody + tbody {
  border-top: 2px solid #dddddd;
}

.table .table {
  background-color: #ffffff;
}

1047
1048
1049
1050
.table-condensed thead > tr > th,
.table-condensed tbody > tr > th,
.table-condensed thead > tr > td,
.table-condensed tbody > tr > td {
Mark Otto's avatar
Mark Otto committed
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
  padding: 4px 5px;
}

.table-bordered {
  border: 1px solid #dddddd;
  border-collapse: separate;
  border-left: 0;
  border-radius: 4px;
}

1061
1062
1063
1064
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td {
Mark Otto's avatar
Mark Otto committed
1065
1066
1067
  border-left: 1px solid #dddddd;
}

1068
1069
1070
1071
1072
1073
1074
1075
1076
.table-bordered > caption + thead > tr:first-child th,
.table-bordered > caption + tbody > tr:first-child th,
.table-bordered > caption + tbody > tr:first-child td,
.table-bordered > colgroup + thead > tr:first-child th,
.table-bordered > colgroup + tbody > tr:first-child th,
.table-bordered > colgroup + tbody > tr:first-child td,
.table-bordered > thead:first-child > tr:first-child th,
.table-bordered > tbody:first-child > tr:first-child th,
.table-bordered > tbody:first-child > tr:first-child td {
Mark Otto's avatar
Mark Otto committed
1077
1078
1079
  border-top: 0;
}

1080
1081
1082
.table-bordered > thead:first-child > tr:first-child > th:first-child,
.table-bordered > tbody:first-child > tr:first-child > td:first-child,
.table-bordered > tbody:first-child > tr:first-child > th:first-child {
Mark Otto's avatar
Mark Otto committed
1083
1084
1085
  border-top-left-radius: 4px;
}

1086
1087
1088
.table-bordered > thead:first-child > tr:first-child > th:last-child,
.table-bordered > tbody:first-child > tr:first-child > td:last-child,
.table-bordered > tbody:first-child > tr:first-child > th:last-child {
Mark Otto's avatar
Mark Otto committed
1089
1090
1091
  border-top-right-radius: 4px;
}

1092
1093
1094
1095
1096
.table-bordered > thead:last-child > tr:last-child > th:first-child,
.table-bordered > tbody:last-child > tr:last-child > td:first-child,
.table-bordered > tbody:last-child > tr:last-child > th:first-child,
.table-bordered > tfoot:last-child > tr:last-child > td:first-child,
.table-bordered > tfoot:last-child > tr:last-child > th:first-child {
Mark Otto's avatar
Mark Otto committed
1097
1098
1099
  border-bottom-left-radius: 4px;
}

1100
1101
1102
1103
1104
.table-bordered > thead:last-child > tr:last-child > th:last-child,
.table-bordered > tbody:last-child > tr:last-child > td:last-child,
.table-bordered > tbody:last-child > tr:last-child > th:last-child,
.table-bordered > tfoot:last-child > tr:last-child > td:last-child,
.table-bordered > tfoot:last-child > tr:last-child > th:last-child {
Mark Otto's avatar
Mark Otto committed
1105
1106
1107
  border-bottom-right-radius: 4px;
}

1108
.table-bordered > tfoot + tbody:last-child > tr:last-child > td:first-child {
Mark Otto's avatar
Mark Otto committed
1109
1110
1111
  border-bottom-left-radius: 0;
}

1112
.table-bordered > tfoot + tbody:last-child > tr:last-child > td:last-child {
Mark Otto's avatar
Mark Otto committed
1113
1114
1115
  border-bottom-right-radius: 0;
}

1116
1117
1118
1119
.table-bordered > caption + thead > tr:first-child > th:first-child,
.table-bordered > caption + tbody > tr:first-child > td:first-child,
.table-bordered > colgroup + thead > tr:first-child > th:first-child,
.table-bordered > colgroup + tbody > tr:first-child > td:first-child {
Mark Otto's avatar
Mark Otto committed
1120
1121
1122
  border-top-left-radius: 4px;
}

1123
1124
1125
1126
.table-bordered > caption + thead > tr:first-child > th:last-child,
.table-bordered > caption + tbody > tr:first-child > td:last-child,
.table-bordered > colgroup + thead > tr:first-child > th:last-child,
.table-bordered > colgroup + tbody > tr:first-child > td:last-child {
Mark Otto's avatar
Mark Otto committed
1127
1128
1129
  border-top-right-radius: 4px;
}

1130
1131
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
Mark Otto's avatar
Mark Otto committed
1132
1133
1134
  background-color: #f9f9f9;
}

1135
1136
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
Mark Otto's avatar
Mark Otto committed
1137
1138
1139
  background-color: #f5f5f5;
}

Mark Otto's avatar
Mark Otto committed
1140
table col[class*="col-span-"] {
1141
1142
1143
1144
  display: table-column;
  float: none;
}

Mark Otto's avatar
Mark Otto committed
1145
1146
table td[class*="col-span-"],
table th[class*="col-span-"] {
Mark Otto's avatar
Mark Otto committed
1147
1148
1149
1150
  display: table-cell;
  float: none;
}

1151
1152
.table > tbody > tr > td.success,
.table > tbody > tr > th.success,
1153
.table > tbody > tr.success > td {
Mark Otto's avatar
Mark Otto committed
1154
  background-color: #dff0d8;
1155
  border-color: #d6e9c6;
Mark Otto's avatar
Mark Otto committed
1156
1157
}

1158
1159
1160
.table > tbody > tr > td.danger,
.table > tbody > tr > th.danger,
.table > tbody > tr.danger > td {
Mark Otto's avatar
Mark Otto committed
1161
  background-color: #f2dede;
1162
  border-color: #eed3d7;
Mark Otto's avatar
Mark Otto committed
1163
1164
}

1165
1166
.table > tbody > tr > td.warning,
.table > tbody > tr > th.warning,
1167
.table > tbody > tr.warning > td {
Mark Otto's avatar
Mark Otto committed
1168
  background-color: #fcf8e3;
1169
  border-color: #fbeed5;
Mark Otto's avatar
Mark Otto committed
1170
1171
}

1172
1173
.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
1174
.table-hover > tbody > tr.success:hover > td {
Mark Otto's avatar
Mark Otto committed
1175
  background-color: #d0e9c6;
1176
  border-color: #c9e2b3;
Mark Otto's avatar
Mark Otto committed
1177
1178
}

1179
1180
1181
.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td {
Mark Otto's avatar
Mark Otto committed
1182
  background-color: #ebcccc;
1183
  border-color: #e6c1c7;
Mark Otto's avatar
Mark Otto committed
1184
1185
}

1186
1187
.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
1188
.table-hover > tbody > tr.warning:hover > td {
Mark Otto's avatar
Mark Otto committed
1189
  background-color: #faf2cc;
1190
  border-color: #f8e5be;
Mark Otto's avatar
Mark Otto committed
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
}

form {
  margin: 0;
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  padding: 0;
Mark Otto's avatar
Mark Otto committed
1207
  margin-bottom: 20px;
Mark Otto's avatar
Mark Otto committed
1208
  font-size: 21px;
Mark Otto's avatar
Mark Otto committed
1209
  line-height: 1.1;
Mark Otto's avatar
Mark Otto committed
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
  color: #333333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

label {
  display: inline-block;
  margin-bottom: 5px;
  font-weight: bold;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
1236
input[type="color"] {
Mark Otto's avatar
Mark Otto committed
1237
  display: block;
Mark Otto's avatar
Mark Otto committed
1238
  min-height: 34px;
Mark Otto's avatar
Mark Otto committed
1239
  padding: 6px 9px;
Mark Otto's avatar
Mark Otto committed
1240
  font-size: 14px;
Mark Otto's avatar
Mark Otto committed
1241
  line-height: 1.428;
Mark Otto's avatar
Mark Otto committed
1242
1243
1244
1245
1246
1247
1248
  color: #555555;
  vertical-align: middle;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
1249
1250
1251
1252
  -webkit-transition: border-color linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border-color linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border-color linear 0.2s, box-shadow linear 0.2s;
          transition: border-color linear 0.2s, box-shadow linear 0.2s;
Mark Otto's avatar
Mark Otto committed
1253
1254
1255
1256
}

input,
select,
1257
textarea {
Mark Otto's avatar
Mark Otto committed
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
  width: 100%;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
  width: auto;
}

1271
1272
1273
1274
1275
1276
input[type="search"] {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

Mark Otto's avatar
Mark Otto committed
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
textarea {
  height: auto;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
1295
input[type="color"]:focus {
Mark Otto's avatar
Mark Otto committed
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: 0 0 8px rgba(82, 168, 236, 0.6);
          box-shadow: 0 0 8px rgba(82, 168, 236, 0.6);
}

input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  /* IE8-9 */

  line-height: normal;
}

select,
input[type="file"] {
Mark Otto's avatar
Mark Otto committed
1316
  height: 34px;
Mark Otto's avatar
Mark Otto committed
1317
1318
  /* In IE7, the height of the select element cannot be changed by height, only font-size. TODO: Check if this is still needed when dropping IE7 support */

Mark Otto's avatar
Mark Otto committed
1319
  line-height: 34px;
Mark Otto's avatar
Mark Otto committed
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
}

select[multiple],
select[size] {
  height: auto;
}

select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #999999;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #999999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999999;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999999;
}

.radio,
.checkbox {
  display: block;
Mark Otto's avatar
Mark Otto committed
1359
  min-height: 20px;
Mark Otto's avatar
Mark Otto committed
1360
  padding-left: 20px;
Mark Otto's avatar
Mark Otto committed
1361
  margin-top: 10px;
Mark Otto's avatar
Mark Otto committed
1362
  margin-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
1363
  vertical-align: middle;
Mark Otto's avatar
Mark Otto committed
1364
1365
1366
1367
1368
1369
1370
}

.radio label,
.checkbox label {
  display: inline;
  margin-bottom: 0;
  font-weight: normal;
1371
  cursor: pointer;
Mark Otto's avatar
Mark Otto committed
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
  float: left;
  margin-left: -20px;
}

.radio + .radio,
.checkbox + .checkbox {
  margin-top: -5px;
}

Mark Otto's avatar
Mark Otto committed
1387
1388
/*
// Move the options list down to align with labels
Mark Otto's avatar
Mark Otto committed
1389
1390
.controls > .radio:first-child,
.controls > .checkbox:first-child {
Mark Otto's avatar
Mark Otto committed
1391
  padding-top: 5px; // has to be padding because margin collaspes
Mark Otto's avatar
Mark Otto committed
1392
}
Mark Otto's avatar
Mark Otto committed
1393
*/
Mark Otto's avatar
Mark Otto committed
1394
1395
1396
1397
1398
1399
1400
1401

.radio-inline,
.checkbox-inline {
  display: inline-block;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: normal;
  vertical-align: middle;
1402
  cursor: pointer;
Mark Otto's avatar
Mark Otto committed
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
}

.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
  margin-top: 0;
  margin-left: 10px;
}

select.input-large,
textarea.input-large,
input[type="text"].input-large,
input[type="password"].input-large,
input[type="datetime"].input-large,
input[type="datetime-local"].input-large,
input[type="date"].input-large,
input[type="month"].input-large,
input[type="time"].input-large,
input[type="week"].input-large,
input[type="number"].input-large,
input[type="email"].input-large,
input[type="url"].input-large,
input[type="search"].input-large,
input[type="tel"].input-large,
1426
input[type="color"].input-large {
Mark Otto's avatar
Mark Otto committed
1427
  padding: 11px 14px;
Mark Otto's avatar
Mark Otto committed
1428
  font-size: 18px;
Mark Otto's avatar
Mark Otto committed
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
  border-radius: 6px;
}

select.input-small,
textarea.input-small,
input[type="text"].input-small,
input[type="password"].input-small,
input[type="datetime"].input-small,
input[type="datetime-local"].input-small,
input[type="date"].input-small,
input[type="month"].input-small,
input[type="time"].input-small,
input[type="week"].input-small,
input[type="number"].input-small,
input[type="email"].input-small,
input[type="url"].input-small,
input[type="search"].input-small,
input[type="tel"].input-small,
1447
input[type="color"].input-small {
Mark Otto's avatar
Mark Otto committed
1448
  min-height: 26px;
Mark Otto's avatar
Mark Otto committed
1449
  padding: 2px 10px;
Mark Otto's avatar
Mark Otto committed
1450
  font-size: 12px;
Mark Otto's avatar
Mark Otto committed
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
  border-radius: 3px;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly],
fieldset[disabled] input,
fieldset[disabled] select,
fieldset[disabled] textarea {
  cursor: not-allowed;
  background-color: #eeeeee;
}

input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"][readonly],
input[type="checkbox"][readonly],
fieldset[disabled] input[type="radio"],
fieldset[disabled] input[type="checkbox"] {
  background-color: transparent;
}

.has-warning .control-label {
  color: #c09853;
}

.has-warning .input-with-feedback {
  padding-right: 32px;
  border-color: #c09853;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.has-warning .input-with-feedback:focus {
  border-color: #a47e3c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
}

.has-error .control-label {
  color: #b94a48;
}

.has-error .input-with-feedback {
  padding-right: 32px;
  border-color: #b94a48;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.has-error .input-with-feedback:focus {
  border-color: #953b39;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
}

.has-success .control-label {
  color: #468847;
}

.has-success .input-with-feedback {
  padding-right: 32px;
  border-color: #468847;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.has-success .input-with-feedback:focus {
  border-color: #356635;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
}

input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid {
  color: #b94a48;
  border-color: #ee5f5b;
}

input:focus:invalid:focus,
textarea:focus:invalid:focus,
select:focus:invalid:focus {
  border-color: #e9322d;
  -webkit-box-shadow: 0 0 6px #f8b9b7;
          box-shadow: 0 0 6px #f8b9b7;
}

.form-actions {
Mark Otto's avatar
Mark Otto committed
1543
1544
1545
  padding: 20px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
Mark Otto's avatar
Mark Otto committed
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
}

.form-actions:before,
.form-actions:after {
  display: table;
  content: " ";
}

.form-actions:after {
  clear: both;
}

1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
.form-actions:before,
.form-actions:after {
  display: table;
  content: " ";
}

.form-actions:after {
  clear: both;
}

Mark Otto's avatar
Mark Otto committed
1570
1571
.help-block {
  display: block;
Mark Otto's avatar
Mark Otto committed
1572
  margin-top: 5px;
Mark Otto's avatar
Mark Otto committed
1573
  margin-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
1574
  color: #737373;
Mark Otto's avatar
Mark Otto committed
1575
1576
1577
1578
1579
1580
}

.input-group {
  display: table;
}

Mark Otto's avatar
Mark Otto committed
1581
.input-group.col {
Mark Otto's avatar
Mark Otto committed
1582
  float: none;
Mark Otto's avatar
Mark Otto committed
1583
1584
  padding-right: 0;
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
1585
1586
1587
}

.input-group input,
1588
.input-group select {
Mark Otto's avatar
Mark Otto committed
1589
  width: 100%;
Mark Otto's avatar
Mark Otto committed
1590
  margin-bottom: 0;
Mark Otto's avatar
Mark Otto committed
1591
1592
1593
1594
}

.input-group-addon,
.input-group-btn,
1595
.input-group input {
Mark Otto's avatar
Mark Otto committed
1596
1597
1598
  display: table-cell;
}

1599
1600
1601
.input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child),
.input-group input:not(:first-child):not(:last-child) {
Mark Otto's avatar
Mark Otto committed
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
  border-radius: 0;
}

.input-group-addon,
.input-group-btn {
  width: 1%;
  vertical-align: middle;
}

.input-group-addon {
  padding: 6px 8px;
Mark Otto's avatar
Mark Otto committed
1613
  font-size: 14px;
Mark Otto's avatar
Mark Otto committed
1614
  font-weight: normal;
Mark Otto's avatar
Mark Otto committed
1615
  line-height: 1.428;
Mark Otto's avatar
Mark Otto committed
1616
1617
1618
1619
  text-align: center;
  text-shadow: 0 1px 0 #fff;
  background-color: #eeeeee;
  border: 1px solid #ccc;
1620
  border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
1621
1622
1623
1624
1625
1626
1627
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.input-group-addon.input-small {
  padding: 2px 10px;
Mark Otto's avatar
Mark Otto committed
1628
  font-size: 12px;
1629
  border-radius: 3px;
Mark Otto's avatar
Mark Otto committed
1630
1631
1632
1633
}

.input-group-addon.input-large {
  padding: 11px 14px;
Mark Otto's avatar
Mark Otto committed
1634
  font-size: 18px;
1635
  border-radius: 6px;
Mark Otto's avatar
Mark Otto committed
1636
1637
1638
}

.input-group input:first-child,
1639
.input-group-addon:first-child,
1640
1641
1642
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
1643
1644
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
Mark Otto's avatar
Mark Otto committed
1645
1646
1647
1648
1649
1650
1651
}

.input-group-addon:first-child {
  border-right: 0;
}

.input-group input:last-child,
1652
.input-group-addon:last-child,
1653
1654
1655
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child) {
1656
1657
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
Mark Otto's avatar
Mark Otto committed
1658
1659
1660
1661
1662
1663
}

.input-group-addon:last-child {
  border-left: 0;
}

1664
1665
.input-group-btn {
  position: relative;
Mark Otto's avatar
Mark Otto committed
1666
1667
1668
1669
  white-space: nowrap;
}

.input-group-btn > .btn {
1670
  position: relative;
Mark Otto's avatar
Mark Otto committed
1671
1672
1673
1674
  float: left;
}

.input-group-btn > .btn + .btn {
1675
  margin-left: -1px;
Mark Otto's avatar
Mark Otto committed
1676
1677
}

1678
1679
1680
.input-group-btn > .btn:hover,
.input-group-btn > .btn:active {
  z-index: 2;
Mark Otto's avatar
Mark Otto committed
1681
1682
}

Mark Otto's avatar
Mark Otto committed
1683
1684
1685
1686
1687
1688
.form-inline input,
.form-inline select,
.form-inline textarea,
.form-inline .radio,
.form-inline .checkbox {
  display: inline-block;
Mark Otto's avatar
Mark Otto committed
1689
1690
1691
1692
1693
}

.form-inline .radio,
.form-inline .checkbox {
  margin-top: 0;
Mark Otto's avatar
Mark Otto committed
1694
1695
1696
  margin-bottom: 0;
}

Mark Otto's avatar
Mark Otto committed
1697
1698
1699
1700
1701
1702
1703
.form-horizontal .row + .row {
  margin-top: 15px;
}

.form-horizontal .row-label {
  padding-top: 6px;
  text-align: right;
Mark Otto's avatar
Mark Otto committed
1704
1705
1706
1707
1708
1709
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
Mark Otto's avatar
Mark Otto committed
1710
  font-size: 14px;
Mark Otto's avatar
Mark Otto committed
1711
  font-weight: 500;
Mark Otto's avatar
Mark Otto committed
1712
  line-height: 1.428;
Mark Otto's avatar
Mark Otto committed
1713
  text-align: center;
1714
  white-space: nowrap;
Mark Otto's avatar
Mark Otto committed
1715
1716
  vertical-align: middle;
  cursor: pointer;
1717
  border: 1px solid transparent;
Mark Otto's avatar
Mark Otto committed
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
  border-radius: 4px;
}

.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.btn:hover,
.btn:focus {
  color: #fff;
  text-decoration: none;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
1744
  pointer-events: none;
Mark Otto's avatar
Mark Otto committed
1745
1746
1747
1748
1749
1750
1751
  cursor: default;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
}

1752
.btn-default {
Mark Otto's avatar
Mark Otto committed
1753
1754
1755
1756
1757
  color: #ffffff;
  background-color: #a7a9aa;
  border-color: #a7a9aa;
}

1758
1759
1760
1761
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
Mark Otto's avatar
Mark Otto committed
1762
1763
1764
1765
  background-color: #9a9c9d;
  border-color: #8d9091;
}

1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
Mark Otto's avatar
Mark Otto committed
1778
1779
1780
1781
1782
  background-color: #a7a9aa;
  border-color: #a7a9aa;
}

.btn-primary {
1783
  color: #ffffff;
Mark Otto's avatar
Mark Otto committed
1784
1785
1786
1787
1788
1789
  background-color: #428bca;
  border-color: #428bca;
}

.btn-primary:hover,
.btn-primary:focus,
1790
1791
.btn-primary:active,
.btn-primary.active {
Mark Otto's avatar
Mark Otto committed
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
  background-color: #357ebd;
  border-color: #3071a9;
}

.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
1804
1805
1806
1807
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
Mark Otto's avatar
Mark Otto committed
1808
1809
1810
1811
1812
  background-color: #428bca;
  border-color: #428bca;
}

.btn-warning {
1813
  color: #ffffff;
Mark Otto's avatar
Mark Otto committed
1814
1815
1816
1817
1818
1819
  background-color: #f0ad4e;
  border-color: #f0ad4e;
}

.btn-warning:hover,
.btn-warning:focus,
1820
1821
.btn-warning:active,
.btn-warning.active {
Mark Otto's avatar
Mark Otto committed
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
  background-color: #eea236;
  border-color: #ec971f;
}

.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
1834
1835
1836
1837
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
Mark Otto's avatar
Mark Otto committed
1838
1839
1840
1841
1842
  background-color: #f0ad4e;
  border-color: #f0ad4e;
}

.btn-danger {
1843
  color: #ffffff;
Mark Otto's avatar
Mark Otto committed
1844
1845
1846
1847
1848
1849
  background-color: #d9534f;
  border-color: #d9534f;
}

.btn-danger:hover,
.btn-danger:focus,
1850
1851
.btn-danger:active,
.btn-danger.active {
Mark Otto's avatar
Mark Otto committed
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
  background-color: #d43f3a;
  border-color: #c9302c;
}

.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
1864
1865
1866
1867
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
Mark Otto's avatar
Mark Otto committed
1868
1869
1870
1871
1872
  background-color: #d9534f;
  border-color: #d9534f;
}

.btn-success {
1873
  color: #ffffff;
Mark Otto's avatar
Mark Otto committed
1874
1875
1876
1877
1878
1879
  background-color: #5cb85c;
  border-color: #5cb85c;
}

.btn-success:hover,
.btn-success:focus,
1880
1881
.btn-success:active,
.btn-success.active {
Mark Otto's avatar
Mark Otto committed
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
  background-color: #4cae4c;
  border-color: #449d44;
}

.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
1894
1895
1896
1897
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
Mark Otto's avatar
Mark Otto committed
1898
1899
1900
1901
1902
  background-color: #5cb85c;
  border-color: #5cb85c;
}

.btn-info {
1903
  color: #ffffff;
Mark Otto's avatar
Mark Otto committed
1904
1905
1906
1907
1908
1909
  background-color: #5bc0de;
  border-color: #5bc0de;
}

.btn-info:hover,
.btn-info:focus,
1910
1911
.btn-info:active,
.btn-info.active {
Mark Otto's avatar
Mark Otto committed
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
  background-color: #46b8da;
  border-color: #31b0d5;
}

.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
1924
1925
1926
1927
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
Mark Otto's avatar
Mark Otto committed
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
  background-color: #5bc0de;
  border-color: #5bc0de;
}

.btn-link,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  background-image: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  border-color: transparent;
}

.btn-link {
  font-weight: normal;
  color: #428bca;
  cursor: pointer;
  border-radius: 0;
}

.btn-link:hover,
.btn-link:focus {
  color: #2a6496;
  text-decoration: underline;
  background-color: transparent;
}

.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
  color: #333333;
  text-decoration: none;
}

1971
1972
.btn-large {
  padding: 11px 14px;
Mark Otto's avatar
Mark Otto committed
1973
  font-size: 18px;
1974
1975
1976
1977
1978
  border-radius: 6px;
}

.btn-small {
  padding: 2px 10px;
Mark Otto's avatar
Mark Otto committed
1979
  font-size: 12px;
1980
1981
1982
1983
1984
  border-radius: 3px;
}

.btn-mini {
  padding: 0 6px;
Mark Otto's avatar
Mark Otto committed
1985
  font-size: 11px;
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
  border-radius: 3px;
}

.btn-block {
  display: block;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.btn-block + .btn-block {
  margin-top: 5px;
}

input[type="submit"].btn-block,
For faster browsing, not all history is shown. View entire blame