@freshworks/crayons
Version:
Crayons Web Components library
96 lines (94 loc) • 2.01 kB
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;
}
.select-center {
display: flex;
align-items: center;
}
.select-option {
cursor: pointer;
display: flex;
align-items: center;
color: #12344d;
font-size: 14px;
border-radius: 4px;
list-style: none;
line-height: 1.45;
word-break: break-word;
word-wrap: break-word;
position: relative;
margin-bottom: 4px;
padding-right: 8px;
}
.select-option.single-line {
padding-top: 6px;
padding-bottom: 6px;
}
.select-option.multi-line {
padding-top: 8px;
padding-bottom: 8px;
}
.select-option.standard {
padding-left: 0px;
}
.select-option.icon {
padding-left: 10px;
}
.select-option.avatar {
padding-left: 4px;
}
.select-option.selected {
font-weight: 600;
background-color: #e5f2fd;
}
.select-option.selected:hover, .select-option.selected:focus {
background-color: #e5f2fd;
}
.select-option:hover {
background-color: #ebeff3;
}
.select-option:focus {
background-color: #ebeff3;
outline: #2c5cc5 auto 1px;
}
.select-option.disabled {
color: #92a2b1;
position: relative;
cursor: not-allowed;
background-color: #f5f7f9;
}
.select-option .description {
display: flex;
flex-direction: column;
}
.select-option .description-text {
font-weight: 600;
}
.select-option .description-subText {
font-weight: 400;
font-size: 12px;
color: #475867;
}
.select-option .description.icon-margin {
margin-left: 18px;
}
.select-option .description.standard-margin {
margin-left: 12px;
}
.select-option .selected-icon {
min-width: 24px;
min-height: 24px;
margin-left: auto;
display: flex;
justify-content: center;
align-items: center;
}
.select-option fw-icon {
align-items: center;
display: flex;
}