mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
285 lines
4.1 KiB
CSS
285 lines
4.1 KiB
CSS
.navbar-brand {
|
|
float: left;
|
|
}
|
|
|
|
.glyphicon {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.glyphicon-small {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.starred-part {
|
|
color: #ffcc00;
|
|
}
|
|
|
|
/* CSS overrides for treeview */
|
|
.expand-icon {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.treeview .badge {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.treeview .list-group-item {
|
|
padding: 6px 12px;
|
|
}
|
|
|
|
.list-group-item-condensed {
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
/* Force select2 elements in modal forms to be full width */
|
|
.select-full-width {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Part image icons with full-display on mouse hover */
|
|
|
|
.hover-img-thumb {
|
|
background: #eee;
|
|
width: 28px;
|
|
height: 28px;
|
|
object-fit: contain;
|
|
border: 1px solid #cce;
|
|
}
|
|
|
|
.hover-img-large {
|
|
background: #eee;
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 999;
|
|
border: 1px solid #555;
|
|
max-width: 250px;
|
|
}
|
|
|
|
.hover-icon {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.hover-icon:hover > .hover-img-large {
|
|
display: block;
|
|
}
|
|
|
|
/* dropzone class - for Drag-n-Drop file uploads */
|
|
.dropzone {
|
|
border: 1px solid #555;
|
|
z-index: 2;
|
|
}
|
|
|
|
.dropzone * {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dragover {
|
|
background-color: #55A;
|
|
border: 1px dashed #111;
|
|
opacity: 0.1;
|
|
-moz-opacity: 10%;
|
|
-webkit-opacity: 10%;
|
|
}
|
|
|
|
|
|
.btn-glyph {
|
|
padding-left: 6px;
|
|
padding-right: 6px;
|
|
padding-top: 3px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.badge {
|
|
float: right;
|
|
background-color: #777;
|
|
color: #fff;
|
|
border-radius: 5px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.part-thumb {
|
|
width: 200px;
|
|
height: 200px;
|
|
margin: 2px;
|
|
padding: 3px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.checkbox {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.checkboxinput {
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.media {
|
|
padding-top: 15px;
|
|
}
|
|
|
|
.media-body {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.navigation {
|
|
}
|
|
|
|
.breadcrump {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.inventree-body {
|
|
width: 100%;
|
|
padding: 5px;
|
|
margin: 10px;
|
|
}
|
|
|
|
.inventree-pre-content {
|
|
width: 100%;
|
|
clear: both;
|
|
}
|
|
|
|
.inventree-content {
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
padding-top: 5px;
|
|
width: auto;
|
|
transition: 0.1s;
|
|
}
|
|
|
|
.body {
|
|
padding-top: 70px;
|
|
}
|
|
|
|
.modal {
|
|
overflow: hidden;
|
|
z-index: 99999999;
|
|
}
|
|
|
|
.modal-dialog {
|
|
width: 45%;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.button-toolbar {
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.panel-group {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.panel-group .panel {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.panel-heading {
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.glyphicon-refresh-animate {
|
|
-animation: spin .7s infinite linear;
|
|
-webkit-animation: spin2 .7s infinite linear;
|
|
}
|
|
|
|
@-webkit-keyframes spin2 {
|
|
from { -webkit-transform: rotate(0deg);}
|
|
to { -webkit-transform: rotate(360deg);}
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: scale(1) rotate(0deg);}
|
|
to { transform: scale(1) rotate(360deg);}
|
|
}
|
|
|