Skip to content

Instantly share code, notes, and snippets.

@spingary
Last active February 9, 2023 15:16
Show Gist options
  • Save spingary/d3b944e2a72765b9dc619761f5e39f98 to your computer and use it in GitHub Desktop.
Save spingary/d3b944e2a72765b9dc619761f5e39f98 to your computer and use it in GitHub Desktop.
Carbon Fields Admin CSS
.cf-container__fields > .cf-field:not(.cf-html) {
padding: 20px 60px!important;
}
.block-editor .cf-field.cf-html {
padding: 20px 40px 10px;
border-top: 10px solid #ccc!important;
background-color: lightyellow;
}
.cf-field.cf-html h4 {
font-size: 24px!important;
margin: .5em 0px;
}
.cf-container__fields > .cf-field > .cf-field__head > label.cf-field__label {
font-size: 20px;
}
.cf-container__fields > .cf-field:not(.cf-html) > .cf-field__body {
padding: 15px 25px;
/* background: #efefef; */
border-left: 15px solid #efefef;
}
.cf-field > .cf-field__body > .cf-select__input {
max-width: 800px;
}
.cf-field > .cf-field__body > .cf-text__input {
max-width: 800px;
}
.cf-field > .cf-field__body > .cf-text__input[type=number] {
max-width: 100px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment