@freshworks/crayons
Version:
Crayons Web Components library
49 lines (45 loc) • 960 B
CSS
/* Need to check with designer */
/* Need to check with designer */
:host {
font-family: var(--fw-font-family, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box;
}
.error {
color: #d72d30;
font-weight: 400;
font-size: 12px;
line-height: 20px;
padding-top: 4px;
padding-left: 2px;
}
label {
font-size: 12px;
color: #475867;
font-weight: 600;
margin-bottom: 4px;
padding-left: 2px;
display: block;
}
label.required::after {
content: "*";
position: relative;
display: inline-block;
top: 2px;
font-size: 14px;
color: #d72d30;
padding-left: 2px;
font-weight: 700;
}
.hint {
font-weight: 400;
font-size: 12px;
color: #475867;
line-height: 20px;
padding-top: 4px;
padding-left: 2px;
}
.form-control-container {
margin: 1em 0em;
}