Fix idoc table and improve iOS tables
This commit is contained in:
@@ -288,6 +288,43 @@ textarea {
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
width: 52px !important;
|
||||
height: 30px !important;
|
||||
min-width: 52px !important;
|
||||
padding: 0 !important;
|
||||
position: relative;
|
||||
border: 0 !important;
|
||||
border-radius: 999px !important;
|
||||
background: #c8d0d8 !important;
|
||||
box-shadow: inset 0 0 0 1px rgba(36, 55, 70, 0.12);
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
-webkit-appearance: none !important;
|
||||
appearance: none !important;
|
||||
}
|
||||
|
||||
input[type="checkbox"]::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 6px rgba(36, 55, 70, 0.25);
|
||||
transition: transform 0.18s ease;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked {
|
||||
background: var(--itac-red) !important;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked::after {
|
||||
transform: translateX(22px);
|
||||
}
|
||||
|
||||
input:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
@@ -310,7 +347,7 @@ input[type="file"] {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
table {
|
||||
.table-wrap table {
|
||||
min-width: 680px;
|
||||
}
|
||||
|
||||
@@ -366,14 +403,38 @@ tbody tr:hover {
|
||||
|
||||
.handsontable td {
|
||||
color: var(--itac-ink);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#import-table,
|
||||
#hot {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
#import-table .ht_master .wtHolder,
|
||||
#hot .ht_master .wtHolder {
|
||||
min-height: 260px;
|
||||
}
|
||||
|
||||
.touch-tree {
|
||||
width: 100%;
|
||||
max-height: min(68vh, 720px);
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
margin: 0;
|
||||
padding: 18px;
|
||||
color: var(--itac-muted);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.touch-tree-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -555,6 +616,37 @@ tbody tr:hover {
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
#woTable {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#woTable thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#woTable tbody tr {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
border-bottom: 1px solid var(--itac-border);
|
||||
}
|
||||
|
||||
#woTable tbody td {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 0;
|
||||
border-bottom: 0;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
#woTable tbody td::before {
|
||||
content: attr(data-label);
|
||||
color: var(--itac-muted);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
|
||||
Reference in New Issue
Block a user