Skip to content

Instantly share code, notes, and snippets.

@lharland
Last active June 18, 2025 18:46
Show Gist options
  • Select an option

  • Save lharland/b75a311c7b750e3ec0096a75a484e2e2 to your computer and use it in GitHub Desktop.

Select an option

Save lharland/b75a311c7b750e3ec0096a75a484e2e2 to your computer and use it in GitHub Desktop.
Experience Cloud Omniscript Styling
.block-button {
height: 44px;
padding: 10px 0;
}
runtime_omnistudio-omniscript .slds-button:not(.slds-progress__marker) {
height: 44px;
}
runtime_omnistudio-omniscript lightning-button {
margin-right: 24px;
}
.slds-button-group-row > .slds-button-group-item:first-child {
margin-right: 24px;
}
.slds-gutters > :first-child {
width: -webkit-fill-available;
}
@media (max-width: 48em) {
.omniscript-body .vlocity-btn {
font-size: 1rem !important;
margin-bottom: 2rem !important;
}
}
.omniscript-button-position {
justify-content: flex-end;
}
@media (min-width: 480px) and (max-width: 700px) {
.omniscript-btn-previous, .omniscript-btn-next {
width: 100%;
}
}
@media (min-width: 700px) {
.omniscript-btn-previous {
margin-right: 2rem;
}
.omniscript-btn-previous, .omniscript-btn-next {
width: 150px;
}
.omniscript-sfl-actions {
justify-content: left;
}
}
@media (min-width: 767px) and (max-width: 768px) {
.slds-gutters.slds-show_medium {
display: flex !important;
}
.slds-gutters.slds-hide_medium {
display: none;
}
}
@media screen and (max-width: 768px) {
.omni-hz-stepchart-label {
display: none !important;
}
.omni-stepchart-button-completed {
color: var(--slds-g-color-success-base-50, var(--lwc-progressBarColorBackgroundFillSuccess,rgb(46, 132, 74))) !important;
}
.omniscript-button-position {
flex-direction: inherit !important;
}
}
@media (min-width: 768px) and (max-width: 1080px) {
.slds-gutters {
flex-direction: column-reverse;
}
.slds-gutters > :nth-child(2) {
width: fit-content !important;
display: inline-flex;
justify-content: right;
}
.omniscript-button-position {
display: inline-flex;
justify-content: flex-end;
}
}
@media (min-width: 1070px) {
.slds-gutters > :first-child {
width: 50%;
}
}
@media (min-width: 700px) and (max-width: 770px){
.slds-gutters > :nth-child(2) {
width: 100%;
}
.slds-gutters > :first-child > div {
justify-content: left;
flex-direction: row-reverse;
}
.omniscript-button-position {
justify-content: left;
}
}
.slds-form-element__label, .slds-form-element__control, .slds-form-element__help, .slds-input[readonly], .slds-listbox__option-text, .slds-text-body_regular {
font-size: 1rem !important;
}
.omni-vert-stepchart-completed, .omni-vert-stepchart-active {
font-size: 1rem !important;
}
.omni-stepchart-content {
font-size: 1rem !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment