2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-03 13:58:47 +00:00
InvenTree/InvenTree/static/css/inventree.css
Oliver Walters 98109bb1a1 Make build allocation much more intuiitive
- Display current allocation + total allocation requirement
- Color code results
- Required custom 'multiply' template tag
2019-05-01 22:12:34 +10:00

155 lines
2.3 KiB
CSS

.navbar-brand {
float: left;
}
.badge {
float: right;
background-color: #777;
color: #fff;
border-radius: 5px;
margin-left: 10px;
}
.part-thumb {
width: 150px;
height: 150px;
border: 1px black solid;
margin: 5px;
padding: 5px;
object-fit: contain;
}
.checkbox {
margin-left: 20px;
}
.checkboxinput {
padding-left: 5px;
padding-right: 5px;
}
.media {
padding-top: 15px;
}
.media-body {
padding-top: 10px;
}
.navigation {
padding-left: 15px;
}
.inventree-content {
padding-left: 5px;
padding-right: 5px;
padding-top: 15px;
margin-right: 50px;
margin-left: 50px;
width: 100%;
//transition: 0.1s;
}
.body {
padding-top: 70px;
}
.modal {
overflow: hidden;
z-index: 99999999;
}
.modal-content h3 {
margin-top: 3px;
margin-bottom: 3px;
}
.modal-form-content {
border-radius: 0;
position:relative;
height: auto !important;
max-height: calc(100vh - 200px) !important;
overflow-y: scroll;
padding: 10px;
}
.modal input {
width: 100%;
}
.modal textarea {
width: 100%;
}
/* The side navigation menu */
.sidenav {
height: 100%; /* 100% Full-height */
width: 0px; /* 0 width - change this with JavaScript */
position: fixed; /* Stay in place */
background-color: #fff; /* Black*/
overflow-x: hidden; /* Disable horizontal scroll */
//transition: 0.1s; /* 0.5 second transition effect to slide in the sidenav */
}
.wrapper {
align-items: stretch;
display: flex;
}
.help-inline {
color: #A11;
}
.notification-area {
position: fixed;
top: 0px;
margin-top: 20px;
width: 100%;
padding: 20px;
z-index: 999999;
pointer-events: none; // Prevent this div from blocking links underneath
}
.alert {
display: none;
border-radius: 5px;
opacity: 0.9;
pointer-events: all;
}
.btn {
margin-left: 2px;
margin-right: 2px;
}
.panel-group {
margin-bottom: 5px;
}
.float-right {
float: right;
}
.warning-msg {
color: #e00;
}
.login {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.part-allocation-pass {
background: #dbf0db;
}
.part-allocation-underallocated {
background: #f0dbdb;
}
.part-allocation-overallocated {
background: #ccf5ff;
}