@freshworks/crayons
Version:
Crayons Web Components library
42 lines (40 loc) • 963 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;
}
:host {
display: block;
}
.drag-item {
display: flex;
background: #ffffff;
border: 1px solid #ebeff3;
box-shadow: 0px 2px 4px rgba(18, 52, 77, 0.06);
border-radius: 4px;
padding: 8px 12px;
align-items: center;
margin: 8px 0px;
}
.drag-item .drag-item__label {
flex: 1 1 auto;
}
.drag-item .drag-item__prefix {
flex: 0 0 auto;
display: flex;
align-items: center;
}
.drag-item .drag-item__suffix {
flex: 0 0 auto;
display: flex;
align-items: center;
}
.drag-item .drag-icon {
padding-right: 12px;
}
.drag-item .drag-icon.drag:hover, .drag-item .drag-icon.drag:focus {
cursor: grab;
}