119 lines
3.8 KiB
CSS
119 lines
3.8 KiB
CSS
/* Keep layout rules on the outer table, never on expanded product tables. */
|
|
.opportunities-extension-table[data-opportunities-layout="inline-actions"] {
|
|
width: 100%;
|
|
min-width: 1120px;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
/* Fixed table layout shares leftover width only between the two auto columns. */
|
|
.opportunities-extension-table > thead > tr > th[data-column="name"] { width: auto; }
|
|
.opportunities-extension-table > thead > tr > th[data-column="customer"] { width: auto; }
|
|
.opportunities-extension-table > thead > tr > th[data-column="owner"] { width: 132px; }
|
|
.opportunities-extension-table > thead > tr > th[data-column="optyNumber"] { width: 106px; }
|
|
.opportunities-extension-table > thead > tr > th[data-column="revenue"] { width: 124px; }
|
|
.opportunities-extension-table > thead > tr > th[data-column="closeDate"] { width: 100px; }
|
|
.opportunities-extension-table > thead > tr > th[data-column="status"] { width: 114px; }
|
|
.opportunities-extension-table > thead > tr > th[data-column="winProbability"] { width: 110px; }
|
|
.opportunities-extension-table > thead > tr > th[data-column="stage"] { width: 94px; }
|
|
.opportunities-extension-table > thead > tr > th[data-column="lastUpdateDate"] { width: 136px; }
|
|
|
|
.opportunities-extension-table > tbody > tr > td[data-column] {
|
|
padding: 10px 8px;
|
|
overflow: visible;
|
|
text-overflow: clip;
|
|
white-space: normal;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.opportunities-extension-table > tbody > tr > td[data-column="name"],
|
|
.opportunities-extension-table > tbody > tr > td[data-column="customer"] {
|
|
position: relative;
|
|
padding-right: 16px;
|
|
padding-left: 12px;
|
|
padding-bottom: 38px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.opportunities-extension-table > tbody > tr > td[data-column="owner"] {
|
|
padding-right: 16px;
|
|
}
|
|
|
|
.opportunities-extension-table > tbody > tr > td[data-column="closeDate"],
|
|
.opportunities-extension-table > tbody > tr > td[data-column="lastUpdateDate"],
|
|
.opportunities-extension-table > tbody > tr > td[data-column="status"],
|
|
.opportunities-extension-table > tbody > tr > td[data-column="stage"],
|
|
.opportunities-extension-table > tbody > tr > td[data-column="winProbability"] {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.opportunities-extension-cell-content {
|
|
display: block;
|
|
min-width: 0;
|
|
min-height: 2.7em;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.opportunities-extension-cell-content > :first-child {
|
|
display: block;
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.opportunities-extension-cell-actions {
|
|
position: absolute;
|
|
left: 12px;
|
|
right: 16px;
|
|
bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 6px;
|
|
height: 24px;
|
|
}
|
|
|
|
.opportunities-extension-cell-actions .opportunities-extension-action-button {
|
|
flex: 0 0 24px;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.opportunities-extension-table > tbody > tr > td[data-column="customer"] .opportunities-extension-cell-actions {
|
|
min-width: 84px;
|
|
}
|
|
|
|
.opportunities-extension-cell-actions .opportunities-extension-action-button svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.opportunities-extension-cell-actions button:focus-visible {
|
|
outline: 2px solid currentColor;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.opportunities-extension-table > thead > tr > th[data-column] .opportunities-extension-sort-button {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 12px;
|
|
gap: 6px;
|
|
padding: 10px 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.opportunities-extension-table > thead > tr > th[data-column="name"] .opportunities-extension-sort-button,
|
|
.opportunities-extension-table > thead > tr > th[data-column="customer"] .opportunities-extension-sort-button {
|
|
padding-left: 12px;
|
|
padding-right: 16px;
|
|
}
|
|
|
|
.opportunities-extension-sort-label {
|
|
min-width: 0;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.opportunities-extension-table > thead > tr > th[data-column] .opportunities-extension-sort-button::after {
|
|
position: static;
|
|
justify-self: end;
|
|
}
|