Use customized Bootstrap3 theme

This commit is contained in:
Naoki Takezoe
2015-12-08 09:33:22 +09:00
parent 4dfb01d59e
commit c7bf47820c
3 changed files with 45 additions and 12 deletions

View File

@@ -70,6 +70,7 @@ blockquote p {
font-size: 15px;
}
/*
.nav {
margin-bottom: 12px;
}
@@ -108,7 +109,7 @@ blockquote p {
.table-bordered > tbody > tr:last-child > td {
border-bottom: 1px solid #dddddd;
}
*/
/*
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {

View File

@@ -1403,14 +1403,20 @@ pre code {
}
}
table {
max-width: 100%;
background-color: transparent;
}
caption {
padding-top: 5px;
padding-bottom: 5px;
color: #999999;
text-align: left;
}
th {
text-align: left;
}
.table {
width: 100%;
max-width: 100%;
margin-bottom: 19px;
}
.table > thead > tr > th,
@@ -1453,6 +1459,32 @@ th {
.table-bordered {
border: 1px solid #dddddd;
}
.table-bordered > thead > tr:first-child > th:nth-of-type(1),
.table-bordered > tbody > tr:first-child > th:nth-of-type(1),
.table-bordered > tfoot > tr:first-child > th:nth-of-type(1),
.table-bordered > thead > tr:first-child > td:nth-of-type(1),
.table-bordered > tbody > tr:first-child > td:nth-of-type(1),
.table-bordered > tfoot > tr:first-child > td:nth-of-type(1) {
border-top-left-radius: 4px;
}
.table-bordered > thead > tr:first-child > th:nth-last-of-type(1),
.table-bordered > tbody > tr:first-child > th:nth-last-of-type(1),
.table-bordered > tfoot > tr:first-child > th:nth-last-of-type(1),
.table-bordered > thead > tr:first-child > td:nth-last-of-type(1),
.table-bordered > tbody > tr:first-child > td:nth-last-of-type(1),
.table-bordered > tfoot > tr:first-child > td:nth-last-of-type(1) {
border-top-right-radius: 4px;
}
.table-bordered > thead > tr:last-child > td:nth-of-type(1),
.table-bordered > tbody > tr:last-child > td:nth-of-type(1),
.table-bordered > tfoot > tr:last-child > td:nth-of-type(1) {
border-bottom-left-radius: 4px;
}
.table-bordered > thead > tr:last-child > td:nth-last-of-type(1),
.table-bordered > tbody > tr:last-child > td:nth-last-of-type(1),
.table-bordered > tfoot > tr:last-child > td:nth-last-of-type(1) {
border-bottom-right-radius: 4px;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
@@ -1463,14 +1495,12 @@ th {
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
border-bottom-width: 2px;
border-bottom-width: 1px;
}
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
.table-striped > tbody > tr:nth-of-type(odd) {
background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
.table-hover > tbody > tr:hover {
background-color: #f5f5f5;
}
table col[class*="col-"] {
@@ -1584,15 +1614,17 @@ table th[class*="col-"] {
.table-hover > tbody > tr.danger:hover > th {
background-color: #ebcccc;
}
@media (max-width: 767px) {
.table-responsive {
overflow-x: auto;
min-height: 0.01%;
}
@media screen and (max-width: 767px) {
.table-responsive {
width: 100%;
margin-bottom: 14.25px;
overflow-y: hidden;
overflow-x: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #dddddd;
-webkit-overflow-scrolling: touch;
}
.table-responsive > .table {
margin-bottom: 0;
@@ -3554,7 +3586,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
margin-left: -1px;
}
.nav {
margin-bottom: 0;
margin-bottom: 12px;
padding-left: 0;
list-style: none;
}

File diff suppressed because one or more lines are too long