2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-04 20:51:00 +00:00

Fixes for bootstrap

- Now using bootstrap3 which seems to work better
- Had to make changes to navbar and part image preview
This commit is contained in:
Oliver
2018-04-15 09:38:59 +10:00
parent 54e78bf468
commit ff2082b156
4 changed files with 18 additions and 102 deletions

View File

@ -25,6 +25,10 @@ table tr:nth-child(odd) {
background-color: #fff;
}
.navbar-brand {
float: left;
}
.badge {
float: right;
background-color: #777;
@ -56,79 +60,4 @@ table tr:nth-child(odd) {
.inventree-content {
padding-left: 15px;
padding-right: 15px;
}
.nav-tabs>.active li {
border-color: #d45500;
border-bottom-color: transparent;
}
.nav-tabs li {
padding-left: 10px;
padding-right: 10px;
border-bottom: 1px solid #d45500;
}
.tab-content {
color : white;
background-color: #428bca;
padding : 5px 15px;
}
.nav-tabs:after,
.nav-pills:after {
clear: both;
}
.nav-tabs > li,
.nav-pills > li {
float: left;
}
.nav-tabs > li > a,
.nav-pills > li > a {
padding-right: 12px;
padding-left: 12px;
margin-right: 2px;
line-height: 14px;
}
.nav-tabs {
border-bottom: 1px solid #ddd;
padding-top: 15px;
padding-bottom: 15px;
}
.nav-tabs > li {
margin-bottom: -1px;
}
.nav-tabs > li > a {
padding-top: 8px;
padding-bottom: 8px;
line-height: 20px;
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
}
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
border-color: #eeeeee #eeeeee #dddddd;
}
.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus {
color: #555555;
background-color: #ffffff;
border: 1px solid #ddd;
border-bottom-color: transparent;
cursor: default;
}
.panel-danger {
border-radius: 5px;
padding: 5px;
margin: 5px;
border-color: #ebccd1;
}
.panel-danger>.panel-heading {
background-color: #ebccd1;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
}