245 lines
5.7 KiB
CSS
245 lines
5.7 KiB
CSS
.change {
|
|
color: #4f8a24;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.slds-modal__container {
|
|
max-width: 80rem !important;
|
|
width: 55% !important;
|
|
}
|
|
|
|
.text-color{
|
|
color: #000000;
|
|
font-family: Montserrat, sans-serif;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.slds-box{
|
|
border-radius: 11px !important;
|
|
background: linear-gradient(120deg, rgb(244, 250, 238) 0%, rgb(234, 243, 251) 100%) !important;
|
|
border: 1.5px solid rgb(210, 222, 209) !important;
|
|
box-shadow: rgba(23, 43, 32, 0.18) 0px 6px 16px -10px !important;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dd-header-wrap {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.dd-header-row {
|
|
display: flex !important;
|
|
align-items: center;
|
|
gap: 12px;
|
|
cursor: pointer;
|
|
flex-wrap: nowrap !important;
|
|
}
|
|
|
|
.dd-avatar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
min-width: 30px;
|
|
border-radius: 8px;
|
|
/* background: linear-gradient(120deg, #5fa832, #2f8fb0); */
|
|
color: #4f8a24;
|
|
background: #ecf6e3;
|
|
/* color: #fff; */
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
/* The avatar now holds an inline brand SVG instead of 2-letter initials. The
|
|
SVG is fill="none" + stroke="currentColor", so it inherits the white above
|
|
and sits on the gradient -- do NOT set `fill` here or it becomes a blob. */
|
|
.dd-avatar svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: block;
|
|
}
|
|
|
|
.dd-object-name {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #26332b;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
.dd-count-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 22px;
|
|
height: 22px;
|
|
padding: 0 7px;
|
|
border-radius: 999px;
|
|
background: rgb(224, 240, 202);
|
|
color: #4f8a24;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
.dd-chevron-wrap {
|
|
margin-left: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.tabs{
|
|
display: grid !important;
|
|
grid-template-columns: 1.3fr 1fr 1.5fr 1.5fr 90px;
|
|
gap: 14px;
|
|
align-items: center;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
margin: 0 0 10px;
|
|
box-sizing: border-box;
|
|
padding: 14px 20px !important;
|
|
border-radius: 0;
|
|
background-color: #FFFFFF;
|
|
border: none;
|
|
border-bottom: 1px solid rgb(226, 231, 226);
|
|
box-shadow: 0 2px 8px -4px rgba(23,43,32,.15);
|
|
}
|
|
|
|
.list{
|
|
display: grid !important;
|
|
grid-template-columns: 1.3fr 1fr 1.5fr 1.5fr 90px;
|
|
gap: 14px;
|
|
align-items: center;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
margin: 0;
|
|
padding: 14px 20px !important;
|
|
border-bottom: 1px solid rgb(244, 246, 244);
|
|
border-top: none;
|
|
background: #ffffffb3 !important;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.list .slds-m-vertical_xx-small,
|
|
.tabs .slds-m-vertical_xx-small {
|
|
white-space: nowrap;
|
|
overflow: visible;
|
|
text-overflow: unset;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.dd-col-label {
|
|
font-size: 12.5px !important;
|
|
font-weight: 700 !important;
|
|
color: #26332b;
|
|
text-transform: none;
|
|
}
|
|
|
|
.dd-col-shopifyid,
|
|
.dd-col-title {
|
|
font-size: 12px !important;
|
|
font-weight: 600 !important;
|
|
color: #26332b;
|
|
}
|
|
|
|
.dd-col-date {
|
|
font-size: 12px !important;
|
|
font-weight: 400 !important;
|
|
color: rgb(107, 120, 111) !important;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
|
|
}
|
|
|
|
/* Force grid items to take the track width instead of the SLDS slds-size_*-of-12
|
|
percentage width that lightning-layout-item applies internally — that percentage
|
|
width combined with padding was leaving almost no room for the JSON header text,
|
|
causing it to break letter-by-letter. */
|
|
.tabs > lightning-layout-item,
|
|
.list > lightning-layout-item {
|
|
width: auto !important;
|
|
max-width: none !important;
|
|
min-width: 0 !important;
|
|
flex: none !important;
|
|
word-break: keep-all !important;
|
|
overflow-wrap: normal !important;
|
|
}
|
|
|
|
.tabs > lightning-layout-item:last-child,
|
|
.list > lightning-layout-item:last-child {
|
|
padding-left: 0 !important;
|
|
justify-self: start;
|
|
}
|
|
|
|
.dd-json-header-col {
|
|
padding-left: 0 !important;
|
|
display: flex !important;
|
|
align-items: center;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.dd-json-header-col span {
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.dd-json-btn-col {
|
|
display: flex !important;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.dd-json-btn {
|
|
background: linear-gradient(120deg, rgb(95, 168, 50), rgb(47, 143, 176));
|
|
color: rgb(255, 255, 255);
|
|
border-width: medium;
|
|
border-style: none;
|
|
border-color: currentcolor;
|
|
border-radius: 8px;
|
|
padding: 8px 16px;
|
|
font-size: 12.5px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
justify-self: start;
|
|
white-space: nowrap;
|
|
box-shadow: rgba(23, 43, 32, 0.4) 0px 6px 16px -8px;
|
|
transition: box-shadow .15s, transform .15s;
|
|
}
|
|
|
|
.dd-json-btn:hover {
|
|
box-shadow: 0 6px 16px -4px rgba(58,150,120,.55);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Column text vertical + baseline alignment consistency between header and rows */
|
|
.tabs .slds-m-vertical_xx-small span,
|
|
.list .slds-m-vertical_xx-small span {
|
|
display: inline-block;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.objectContainer{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-content: center;
|
|
}
|
|
|
|
.iconColor{
|
|
--sds-c-icon-color-foreground-default: #4f8a24;
|
|
--slds-c-icon-color-foreground-default: #4f8a24;
|
|
}
|
|
|
|
.list[data-index="0"] {
|
|
border-top: none;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.list:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.textClass{
|
|
font-size: 1vmax;
|
|
padding-bottom: 10px;
|
|
} |