100 lines
1.6 KiB
CSS
100 lines
1.6 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
overflow-x: hidden;
|
|
background-color: #e9e9e9;
|
|
position: relative;
|
|
}
|
|
|
|
code {
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
monospace;
|
|
}
|
|
|
|
/* Ensure proper scrolling behavior */
|
|
html, body {
|
|
width: 100%;
|
|
min-height: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#root {
|
|
width: 100%;
|
|
min-height: 100%;
|
|
overflow: visible;
|
|
}
|
|
|
|
/* Custom scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #c1c1c1;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #a8a8a8;
|
|
}
|
|
|
|
/* Ensure proper z-index stacking */
|
|
* {
|
|
z-index: auto;
|
|
}
|
|
|
|
/* Responsive design adjustments */
|
|
@media (max-width: 768px) {
|
|
body {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.container {
|
|
max-height: 75vh; /* Menaikkan tinggi maksimum pada mobile */
|
|
}
|
|
|
|
.materialCard {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.materialSummary {
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.materialName {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.materialStock {
|
|
font-size: 13px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.detailGrid {
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.formGrid {
|
|
grid-template-columns: 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
/* Memastikan MaterialList tetap dapat di-scroll */
|
|
.MaterialList-module__container {
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
}
|
|
}
|