Performance tuning done
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
.matrix-punch-workspace .matrix-tool-workspace__content {
|
||||
width: min(98vw, 1440px) !important;
|
||||
max-width: none;
|
||||
padding-bottom: 54px;
|
||||
}
|
||||
|
||||
.matrix-punch-workspace .FormPanel {
|
||||
margin: 8px;
|
||||
padding: 10px;
|
||||
border: 1px solid #d1dbe4;
|
||||
border-radius: 5px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.matrix-punch-workspace .FormPanel > .title,
|
||||
.matrix-punch-workspace .FormPanel .title {
|
||||
color: #2d4458;
|
||||
background: #eef2f5;
|
||||
}
|
||||
|
||||
.matrix-punch-workspace input[type="text"],
|
||||
.matrix-punch-workspace select,
|
||||
.matrix-punch-workspace textarea {
|
||||
max-width: 100%;
|
||||
min-height: 28px;
|
||||
padding: 3px 6px;
|
||||
border: 1px solid #aebdca;
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.matrix-punch-workspace textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.matrix-punch-workspace .buttonbar {
|
||||
position: sticky !important;
|
||||
z-index: 20;
|
||||
bottom: 0 !important;
|
||||
display: flex;
|
||||
width: 100% !important;
|
||||
min-height: 44px;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 7px 9px;
|
||||
border: 1px solid #c4d0da;
|
||||
border-radius: 5px 5px 0 0;
|
||||
background: rgba(248, 250, 252, .97);
|
||||
box-shadow: 0 -2px 8px rgba(30, 48, 64, .08);
|
||||
}
|
||||
|
||||
.matrix-punch-workspace .buttonbar input.button {
|
||||
min-width: 72px;
|
||||
}
|
||||
|
||||
.matrix-punch-workspace .buttonbar input[id="btnsave"],
|
||||
.matrix-punch-workspace .buttonbar input[id="btnadd"] {
|
||||
margin-left: auto !important;
|
||||
}
|
||||
|
||||
.matrix-punch-workspace #formcontainer > .title {
|
||||
position: sticky;
|
||||
z-index: 21;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.matrix-punch-workspace .FormPanel { overflow-x: auto; }
|
||||
.matrix-punch-workspace .buttonbar { flex-wrap: wrap; }
|
||||
}
|
||||
Reference in New Issue
Block a user