UNPKG

@syncfusion/react-buttons

Version:

Syncfusion React Buttons package is a feature-rich collection of UI components including Button, CheckBox, RadioButton, Switch, Chip, and more for building modern, interactive React applications.

1,508 lines 70.6 kB
.sf-btn { border: 1px solid; letter-spacing: var(--sf-letter-spacing-wide); cursor: pointer; position: relative; justify-content: center; display: inline-flex; text-align: center; user-select: none; white-space: normal; font-weight: var(--sf-font-weight-medium); } .sf-btn.sf-btn-me { font-size: var(--sf-font-size-sm); border-radius: var(--sf-radius-12); } .sf-btn.sf-btn-me svg { font-size: var(--sf-font-size-xl); } .sf-btn.sf-btn-la { font-size: var(--sf-font-size-base); border-radius: calc(var(--sf-radius) * 0.875); } .sf-btn.sf-btn-la svg { font-size: var(--sf-font-size-2xl); } .sf-btn.sf-btn-sm { font-size: var(--sf-font-size-sm); border-radius: var(--sf-radius-12); } .sf-btn.sf-btn-sm svg { font-size: var(--sf-font-size-xl); } .sf-btn-vertical { flex-direction: column; padding: var(--sf-spacing-8) var(--sf-spacing-16); } .sf-btn-la:not(.sf-icon-btn) { gap: var(--sf-spacing-8); } .sf-btn-sm:not(.sf-icon-btn) { gap: var(--sf-spacing-4); } .sf-btn-me:not(.sf-icon-btn) { gap: var(--sf-spacing-8); } .sf-btn-la:not(.sf-icon-btn):not(.sf-btn-vertical) { padding: var(--sf-spacing-11) var(--sf-spacing-24); } .sf-btn-sm:not(.sf-icon-btn):not(.sf-btn-vertical) { padding: var(--sf-spacing-5) var(--sf-spacing-12); } .sf-btn-me:not(.sf-icon-btn):not(.sf-btn-vertical) { padding: var(--sf-spacing-9) var(--sf-spacing-16); } .sf-btn svg { display: block; } .sf-btn:hover, .sf-btn:focus { text-decoration: none; } .sf-icon-btn.sf-icon-btn-sm { padding: var(--sf-spacing-5); } .sf-icon-btn.sf-icon-btn-me { padding: var(--sf-spacing-9); } .sf-icon-btn.sf-icon-btn-la { padding: var(--sf-spacing-11); } .sf-btn-sm:not(.sf-btn-vertical) { line-height: var(--sf-line-height-sm); } .sf-btn-me:not(.sf-btn-vertical) { line-height: var(--sf-line-height-sm); } .sf-btn-la:not(.sf-btn-vertical) { line-height: var(--sf-line-height-base); } .sf-rtl.sf-btn-top { flex-direction: column-reverse; } .sf-rtl.sf-btn-bottom { flex-direction: column; } .sf-btn { color: rgb(var(--sf-color-on-surface)); } .sf-btn.sf-active, .sf-btn:active { box-shadow: var(--sf-elevation-1); } .sf-btn-primary { background: rgb(var(--sf-color-primary)); border-color: rgb(var(--sf-color-primary)); color: rgb(var(--sf-color-on-primary)); } .sf-btn-primary:hover { background: rgb(var(--sf-color-primary), 0.8); box-shadow: var(--sf-elevation-2); color: rgb(var(--sf-color-on-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-btn-primary:focus { outline: rgb(var(--sf-color-white)) 0 solid; background: rgb(var(--sf-color-primary), 12); color: rgb(var(--sf-color-on-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-btn-primary:focus-visible { box-shadow: var(--sf-color-shadow-focus-ring1); background: rgb(var(--sf-color-primary), 0.8); border-color: rgb(var(--sf-color-primary)); } .sf-btn-primary.sf-active, .sf-btn-primary:active { background: rgb(var(--sf-color-primary), 12); color: rgb(var(--sf-color-on-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-btn-outlined { background: transparent; color: rgb(var(--sf-color-on-surface)); } .sf-btn-outlined:hover { background: rgb(var(--sf-color-on-surface), 0.08); border-color: rgb(var(--sf-color-outline-variant)); box-shadow: none; color: rgb(var(--sf-color-on-surface)); } .sf-btn-outlined:focus { background: rgb(var(--sf-color-on-surface), 0.1); } .sf-btn-outlined:focus-visible { box-shadow: var(--sf-color-shadow-focus-ring1); background: rgb(var(--sf-color-on-surface), 0.1); } .sf-btn-outlined.sf-active, .sf-btn-outlined:active { background: rgb(var(--sf-color-on-surface), 0.1); box-shadow: none; } .sf-btn-standard { background: transparent; border-color: transparent; color: rgb(var(--sf-color-on-surface)); } .sf-btn-standard:hover { background: rgb(var(--sf-color-on-surface), 0.08); box-shadow: none; color: rgb(var(--sf-color-on-surface)); } .sf-btn-standard:focus { background: rgb(var(--sf-color-on-surface), 0.08); color: rgb(var(--sf-color-on-surface)); } .sf-btn-standard:focus-visible { box-shadow: var(--sf-color-shadow-focus-ring1); background: rgb(var(--sf-color-on-surface), 0.08); color: rgb(var(--sf-color-on-surface)); } .sf-btn-standard:active, .sf-btn-standard.sf-active { box-shadow: none; background: rgb(var(--sf-color-on-surface), 0.08); color: rgb(var(--sf-color-on-surface)); } .sf-btn-primary.sf-btn-standard, .sf-btn-primary.sf-btn-outlined { color: rgb(var(--sf-color-primary)); } .sf-btn-primary.sf-btn-standard:hover, .sf-btn-primary.sf-btn-outlined:hover { background: rgb(var(--sf-color-primary), 0.08); color: rgb(var(--sf-color-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-btn-primary.sf-btn-standard:focus, .sf-btn-primary.sf-btn-outlined:focus { color: rgb(var(--sf-color-primary)); background: rgb(var(--sf-color-primary), 0.1); } .sf-btn-primary.sf-btn-standard.sf-active, .sf-btn-primary.sf-btn-standard:active, .sf-btn-primary.sf-btn-outlined.sf-active, .sf-btn-primary.sf-btn-outlined:active { background: rgb(var(--sf-color-primary), 0.1); color: rgb(var(--sf-color-primary)); } .sf-btn-primary.sf-btn-outlined:focus-visible { background: rgb(var(--sf-color-primary), 0.08); color: rgb(var(--sf-color-primary)); } .sf-btn-secondary { background-color: transparent; border-color: rgb(var(--sf-color-outline-variant)); } .sf-btn-secondary:focus { background: rgb(var(--sf-color-on-surface), 0.1); color: rgb(var(--sf-color-on-surface)); border-color: rgb(var(--sf-color-outline-variant)); } .sf-btn-secondary:focus-visible { box-shadow: var(--sf-color-shadow-focus-ring1); background: rgb(var(--sf-color-on-surface), 0.1); border-color: rgb(var(--sf-color-outline-variant)); } .sf-btn-secondary:active, .sf-btn-secondary.sf-active { background: rgb(var(--sf-color-on-surface), 0.1); color: rgb(var(--sf-color-on-surface)); border-color: rgb(var(--sf-color-outline-variant)); } .sf-btn-secondary.sf-btn-standard { border-color: transparent; } .sf-btn-secondary.sf-btn-standard:active, .sf-btn-secondary.sf-btn-standard.sf-active { background: rgba(var(--sf-color-on-surface), 0.12); box-shadow: none; } .sf-btn-secondary.sf-btn-filled { background-color: rgb(var(--sf-color-surface), 0.1); } .sf-btn-secondary.sf-btn-filled:hover { box-shadow: var(--sf-elevation-2); background: rgb(var(--sf-color-on-surface), 0.08); } .sf-btn-secondary.sf-btn-filled:focus { background: rgb(var(--sf-color-on-surface), 0.1); } .sf-btn-secondary.sf-btn-filled:active, .sf-btn-secondary.sf-btn-filled.sf-active { background: rgb(var(--sf-color-on-surface), 0.1); } .sf-btn-secondary.sf-btn-outlined:focus-visible { background: rgb(var(--sf-color-surface), 0.08); color: rgb(var(--sf-color-on-surface)); } .sf-btn-success { color: rgb(var(--sf-color-success)); } .sf-btn-success:hover { background: rgb(var(--sf-color-success), 0.25); color: rgb(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-btn-success:focus { background: rgb(var(--sf-color-success), 0.25); color: rgb(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-btn-success:focus-visible { box-shadow: var(--sf-color-shadow-focus-ring1); border-color: rgb(var(--sf-color-success)); } .sf-btn-success:active, .sf-btn-success.sf-active { background: rgb(var(--sf-color-success), 0.1); box-shadow: none; color: rgb(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-btn-success.sf-btn-outlined { border-color: rgb(var(--sf-color-success)); } .sf-btn-success.sf-btn-outlined:hover { border-color: rgb(var(--sf-color-success)); } .sf-btn-success.sf-btn-outlined.sf-active, .sf-btn-success.sf-btn-outlined:active { background: rgb(var(--sf-color-success), 0.1); } .sf-btn-success.sf-btn-outlined:focus-visible { background: rgb(var(--sf-color-success), 0.08); color: rgb(var(--sf-color-success)); } .sf-btn-success.sf-btn-filled { color: rgb(var(--sf-color-on-primary)); background: rgb(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-btn-success.sf-btn-filled:hover { background: linear-gradient(0deg, rgba(var(--sf-color-success-text), 0.08), rgba(var(--sf-color-success-text), 0.08)), rgba(var(--sf-color-success)); color: rgb(var(--sf-color-success-text)); box-shadow: var(--sf-elevation-2); border-color: rgb(var(--sf-color-success)); } .sf-btn-success.sf-btn-filled:focus { background: rgb(var(--sf-color-success), 12); } .sf-btn-success.sf-btn-filled:focus-visible { background: linear-gradient(0deg, rgba(var(--sf-color-success-text), 0.08), rgba(var(--sf-color-success-text), 0.08)), rgba(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-btn-success.sf-btn-filled.sf-active, .sf-btn-success.sf-btn-filled:active { background: rgb(var(--sf-color-success), 12); } .sf-btn-info { color: rgb(var(--sf-color-info)); } .sf-btn-info:hover { background: rgb(var(--sf-color-info), 0.25); color: rgb(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); } .sf-btn-info:focus { background: rgb(var(--sf-color-info), 0.25); color: rgb(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); } .sf-btn-info:focus-visible { box-shadow: var(--sf-color-shadow-focus-ring1); border-color: rgb(var(--sf-color-info)); } .sf-btn-info:active, .sf-btn-info.sf-active { background: rgb(var(--sf-color-info), 0.1); box-shadow: none; color: rgb(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); } .sf-btn-info.sf-btn-outlined { border-color: rgb(var(--sf-color-info)); } .sf-btn-info.sf-btn-outlined:hover { border-color: rgb(var(--sf-color-info)); } .sf-btn-info.sf-btn-outlined.sf-active, .sf-btn-info.sf-btn-outlined:active { background: rgb(var(--sf-color-info), 0.1); } .sf-btn-info.sf-btn-outlined:focus-visible { background: rgb(var(--sf-color-info), 0.08); color: rgb(var(--sf-color-info)); } .sf-btn-info.sf-btn-filled { color: rgb(var(--sf-color-on-primary)); background: rgb(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); } .sf-btn-info.sf-btn-filled:hover { background: rgb(var(--sf-color-info), 0.8); color: rgb(var(--sf-color-info-text)); box-shadow: var(--sf-elevation-2); border-color: rgb(var(--sf-color-info)); } .sf-btn-info.sf-btn-filled:focus { background: rgb(var(--sf-color-info), 12); } .sf-btn-info.sf-btn-filled.sf-active, .sf-btn-info.sf-btn-filled:active { background: rgb(var(--sf-color-info), 12); } .sf-btn-warning { color: rgb(var(--sf-color-warning)); } .sf-btn-warning:hover { background: rgb(var(--sf-color-warning), 0.25); color: rgb(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); } .sf-btn-warning:focus { box-shadow: none; background: rgb(var(--sf-color-warning), 0.25); color: rgb(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); } .sf-btn-warning:focus-visible { box-shadow: var(--sf-color-shadow-focus-ring1); color: rgb(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); } .sf-btn-warning.sf-active, .sf-btn-warning:active { background: rgb(var(--sf-color-warning), 0.1); box-shadow: none; color: rgb(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); } .sf-btn-warning.sf-btn-outlined { border-color: rgb(var(--sf-color-warning)); } .sf-btn-warning.sf-btn-outlined:hover { border-color: rgb(var(--sf-color-warning)); } .sf-btn-warning.sf-btn-outlined.sf-active, .sf-btn-warning.sf-btn-outlined:active { background: rgb(var(--sf-color-warning), 0.1); } .sf-btn-warning.sf-btn-outlined:focus-visible { background: rgb(var(--sf-color-warning), 0.08); color: rgb(var(--sf-color-warning)); } .sf-btn-warning.sf-btn-filled { color: rgb(var(--sf-color-on-primary)); background: rgb(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); } .sf-btn-warning.sf-btn-filled:hover { background: rgb(var(--sf-color-warning), 0.8); color: rgb(var(--sf-color-on-primary)); box-shadow: var(--sf-elevation-2); border-color: rgb(var(--sf-color-warning)); } .sf-btn-warning.sf-btn-filled:focus { background: rgb(var(--sf-color-warning), 12); } .sf-btn-warning.sf-btn-filled:focus-visible { color: rgb(var(--sf-color-on-primary)); } .sf-btn-warning.sf-btn-filled.sf-active, .sf-btn-warning.sf-btn-filled:active { background: rgb(var(--sf-color-warning), 12); color: rgb(var(--sf-color-on-primary)); } .sf-btn-error { color: rgb(var(--sf-color-error)); } .sf-btn-error:hover { background: rgb(var(--sf-color-error), 0.25); color: rgb(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); } .sf-btn-error:focus { background: rgb(var(--sf-color-error), 0.25); color: rgb(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); } .sf-btn-error:focus-visible { box-shadow: var(--sf-color-shadow-focus-ring1); color: rgb(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); } .sf-btn-error:active, .sf-btn-error.sf-active { background: rgb(var(--sf-color-error), 0.1); box-shadow: none; border-color: rgb(var(--sf-color-error)); } .sf-btn-error.sf-btn-outlined { border-color: rgb(var(--sf-color-error)); } .sf-btn-error.sf-btn-outlined:hover { border-color: rgb(var(--sf-color-error)); } .sf-btn-error.sf-btn-outlined.sf-active, .sf-btn-error.sf-btn-outlined:active { background: rgb(var(--sf-color-error), 0.1); color: rgb(var(--sf-color-error)); } .sf-btn-error.sf-btn-outlined:focus-visible { background: rgb(var(--sf-color-error), 0.08); color: rgb(var(--sf-color-error)); } .sf-btn-error.sf-btn-filled { color: rgb(var(--sf-color-on-primary)); background: rgb(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); } .sf-btn-error.sf-btn-filled:hover { background: rgb(var(--sf-color-error), 0.8); color: rgb(var(--sf-color-error-text)); box-shadow: var(--sf-elevation-2); border-color: rgb(var(--sf-color-error)); } .sf-btn-error.sf-btn-filled:focus { background: rgb(var(--sf-color-error), 12); } .sf-btn-error.sf-btn-filled:focus-visible { background: rgb(var(--sf-color-error), 0.8); border-color: rgb(var(--sf-color-error)); } .sf-btn-error.sf-btn-filled.sf-active, .sf-btn-error.sf-btn-filled:active { background: rgb(var(--sf-color-error), 12); } .sf-btn:disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgba(var(--sf-color-secondary), 0.12); color: rgba(var(--sf-color-on-surface), 0.38); pointer-events: none; box-shadow: none; } .sf-btn-primary.sf-btn-filled:disabled, .sf-btn-primary.sf-btn-standard:disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-btn-primary.sf-btn-outlined:disabled { border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); background: rgba(var(--sf-color-secondary), 0.12); } .sf-btn-success.sf-btn-filled:disabled, .sf-btn-success.sf-btn-standard:disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-btn-success.sf-btn-outlined:disabled { border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); background: rgba(var(--sf-color-secondary), 0.12); } .sf-btn-info.sf-btn-filled:disabled, .sf-btn-info.sf-btn-standard:disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-btn-info.sf-btn-outlined:disabled { border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); background: rgba(var(--sf-color-secondary), 0.12); } .sf-btn-warning.sf-btn-filled:disabled, .sf-btn-warning.sf-btn-standard:disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-btn-warning.sf-btn-outlined:disabled { border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); background: rgba(var(--sf-color-secondary), 0.12); } .sf-btn-error.sf-btn-filled:disabled, .sf-btn-error.sf-btn-standard:disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-btn-error.sf-btn-outlined:disabled { border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); background: rgba(var(--sf-color-secondary), 0.12); } .sf-btn-link:hover { text-decoration: underline; } .sf-checkbox { height: 1px; width: 1px; position: absolute; bottom: 20%; left: 40%; opacity: 0; } .sf-checkbox-wrapper { user-select: none; display: flex; align-items: center; } .sf-checkbox-wrapper:hover .sf-checkbox-ripple { background: rgba(var(--sf-color-primary), 0.08); } .sf-checkbox-wrapper:active .sf-checkbox-ripple, .sf-checkbox-wrapper:focus .sf-checkbox-ripple { box-shadow: none; } .sf-checkbox-wrapper:active .sf-checkbox-ripple .sf-checkbox-icons, .sf-checkbox-wrapper:focus .sf-checkbox-ripple .sf-checkbox-icons { border-color: rgb(var(--sf-color-on-surface-variant)); } .sf-checkbox-wrapper:has(.sf-checkbox:focus-visible) .sf-checkbox-ripple { box-shadow: 0 0 0 2px rgba(var(--sf-color-on-surface), 1); } .sf-checkbox-wrapper:has(.sf-checkbox:focus-visible) .sf-checkbox-ripple .sf-checkbox-icons { border-color: rgb(var(--sf-color-on-surface-variant)); } .sf-checkbox-wrapper.sf-disabled { opacity: 0.38; } .sf-checkbox-frame-sm { width: var(--sf-spacing-16); height: var(--sf-spacing-16); } .sf-checkbox-frame-sm svg { width: var(--sf-font-size-xs); height: var(--sf-font-size-xs); } .sf-checkbox-frame-la { width: var(--sf-spacing-20); height: var(--sf-spacing-20); } .sf-checkbox-frame-la svg { width: var(--sf-font-size-sm); height: var(--sf-font-size-sm); } .sf-checkbox-frame-me { width: var(--sf-spacing-18); height: var(--sf-spacing-18); } .sf-checkbox-frame-me svg { width: var(--sf-font-size-xs); height: var(--sf-font-size-xs); } .sf-checkbox-icons { border: 2px solid; border-radius: var(--sf-radius-2); display: flex; align-items: center; justify-content: center; flex: none; background-color: transparent; } .sf-checkbox-icons:not(.sf-error):not(.sf-checkbox-checked) { color: rgb(var(--sf-color-on-surface-variant)); } .sf-checkbox-checked, .sf-checkbox-indeterminate { background-color: rgb(var(--sf-color-secondary)); border-color: rgb(var(--sf-color-secondary)); color: rgb(var(--sf-color-on-primary)); } .sf-checkbox-label { cursor: pointer; position: relative; display: flex; align-items: center; color: rgb(var(--sf-color-on-surface)); } .sf-checkbox-label.sf-right { flex-direction: row-reverse; } .sf-checkbox-label.sf-left { flex-direction: row; } .sf-checkbox-label.sf-top { align-items: flex-start; flex-direction: column; } .sf-checkbox-label.sf-bottom { align-items: flex-start; flex-direction: column-reverse; } .sf-checkbox-label .sf-label { font-weight: var(--sf-font-weight-normal); } .sf-checkbox-ripple { border-radius: var(--sf-radius-full); position: relative; } .sf-checkbox-ripple-me { padding: var(--sf-spacing-7); } .sf-checkbox-ripple-sm { padding: var(--sf-spacing-6); } .sf-checkbox-ripple-la { padding: var(--sf-spacing-10); } .sf-checkbox-wrapper.sf-primary .sf-checkbox-indeterminate, .sf-checkbox-wrapper.sf-primary .sf-checkbox-checked { background: rgb(var(--sf-color-primary)); border-color: rgb(var(--sf-color-primary)); color: rgb(var(--sf-color-on-primary)); } .sf-checkbox-wrapper.sf-primary:hover .sf-checkbox-ripple { background: rgba(var(--sf-color-primary), 0.12); } .sf-checkbox-wrapper.sf-success .sf-checkbox-indeterminate, .sf-checkbox-wrapper.sf-success .sf-checkbox-checked { background: rgb(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); color: rgb(var(--sf-color-success-text)); } .sf-checkbox-wrapper.sf-success:hover .sf-checkbox-ripple { background: rgba(var(--sf-color-success), 0.12); } .sf-checkbox-wrapper.sf-info .sf-checkbox-indeterminate, .sf-checkbox-wrapper.sf-info .sf-checkbox-checked { background: rgb(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); color: rgb(var(--sf-color-info-text)); } .sf-checkbox-wrapper.sf-info:hover .sf-checkbox-ripple { background: rgba(var(--sf-color-info), 0.12); } .sf-checkbox-wrapper.sf-warning .sf-checkbox-indeterminate, .sf-checkbox-wrapper.sf-warning .sf-checkbox-checked { background: rgb(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); color: rgb(var(--sf-color-warning-text)); } .sf-checkbox-wrapper.sf-warning:hover .sf-checkbox-ripple { background: rgba(var(--sf-color-warning), 0.12); } .sf-checkbox-wrapper.sf-error .sf-checkbox-indeterminate, .sf-checkbox-wrapper.sf-error .sf-checkbox-checked { background: rgb(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); color: rgb(var(--sf-color-error-text)); } .sf-checkbox-wrapper.sf-error:hover .sf-checkbox-ripple { background: rgba(var(--sf-color-error), 0.12); } .sf-checkbox-small { line-height: var(--sf-line-height-xs); gap: var(--sf-spacing-4); font-size: var(--sf-font-size-xs); } .sf-checkbox-medium { line-height: var(--sf-line-height-sm); gap: var(--sf-spacing-3); font-size: var(--sf-font-size-sm); } .sf-checkbox-large { line-height: var(--sf-line-height-sm); gap: var(--sf-spacing-4); font-size: var(--sf-font-size-sm); } .sf-radio-label { color: rgba(var(--sf-color-on-surface)); display: flex; vertical-align: middle; align-items: center; white-space: normal; position: relative; line-height: normal; user-select: none; cursor: pointer; } .sf-radio-label::before, .sf-radio-label::after { border: 2px solid; border-radius: var(--sf-radius-full); box-sizing: border-box; content: ""; position: absolute; } .sf-radio-label .sf-label { font-weight: var(--sf-font-weight-normal); } .sf-radio-label::before { border-color: rgba(var(--sf-color-primary)); } .sf-radio:checked + label::before { background-color: transparent; border-color: rgba(var(--sf-color-primary)); } .sf-radio:checked + label::after { background-color: rgba(var(--sf-color-primary)); color: rgba(var(--sf-color-primary)); transform: scale(1); } .sf-radio-label:hover .sf-ripple-container { background: rgba(var(--sf-color-primary), 0.08); } .sf-radio { appearance: none; height: 1px; opacity: 0; width: 1px; } .sf-radio + label::before { background-color: transparent; border-color: rgba(var(--sf-color-on-surface-variant)); } .sf-radio + label::after { transform: scale(0); } .sf-radio + label .sf-ripple-container { border-radius: var(--sf-radius-full); position: absolute; z-index: 1; } .sf-radio:disabled + label { cursor: default; pointer-events: none; opacity: 1; } .sf-radio:disabled + label::before { background-color: transparent; border-color: rgba(var(--sf-color-on-surface), 0.38); } .sf-radio:disabled + label .sf-ripple-container { background-color: transparent; } .sf-radio:disabled + label .sf-ripple-container::after { background-color: transparent; } .sf-radio:disabled + label .sf-label { color: rgba(var(--sf-color-on-surface), 0.38); } .sf-radio:active + label::before, .sf-radio:focus + label::before { box-shadow: none; border-color: rgba(var(--sf-color-on-surface-variant)); } .sf-radio:focus-visible + label::before { box-shadow: var(--sf-color-shadow-focus-ring1); } .sf-radio-me .sf-label { padding-inline-start: var(--sf-spacing-32); font-size: var(--sf-font-size-sm); line-height: var(--sf-line-height-sm); } .sf-radio-me::before { padding: var(--sf-spacing-8); } .sf-radio-me::after { padding: var(--sf-spacing-4); inset-inline-start: var(--sf-spacing-4); } .sf-radio-me .sf-ripple-container { padding: var(--sf-spacing-20); inset-inline-start: calc(var(--sf-spacing) * -0.65); } .sf-radio-me.sf-bottom .sf-label { padding-top: var(--sf-spacing-48); padding-inline-start: var(--sf-spacing-0); } .sf-radio-me.sf-right.sf-radio-label { flex-direction: row-reverse; } .sf-radio-me.sf-right .sf-label { padding-inline-end: var(--sf-spacing-32); padding-inline-start: 0; } .sf-radio-me.sf-right::after { inset-inline-start: auto; inset-inline-end: var(--sf-spacing-4); } .sf-radio-me.sf-right .sf-ripple-container { inset-inline-start: auto; inset-inline-end: calc(var(--sf-spacing) * -0.65); } .sf-radio-sm .sf-label { padding-inline-start: var(--sf-spacing-28); font-size: var(--sf-font-size-xs); line-height: var(--sf-line-height-xs); } .sf-radio-sm::before { padding: var(--sf-spacing-6); } .sf-radio-sm::after { padding: var(--sf-spacing-2); inset-inline-start: var(--sf-spacing-4); } .sf-radio-sm .sf-ripple-container { padding: var(--sf-spacing-16); inset-inline-start: calc(var(--sf-spacing) * -0.5); } .sf-radio-sm.sf-bottom .sf-label { padding-top: var(--sf-spacing-40); padding-inline-start: var(--sf-spacing-0); } .sf-radio-sm.sf-right.sf-radio-label { flex-direction: row-reverse; } .sf-radio-sm.sf-right .sf-label { padding-inline-end: var(--sf-spacing-28); padding-inline-start: 0; } .sf-radio-sm.sf-right::after { inset-inline-start: auto; inset-inline-end: var(--sf-spacing-4); } .sf-radio-sm.sf-right .sf-ripple-container { inset-inline-start: auto; inset-inline-end: calc(var(--sf-spacing) * -0.5); } .sf-radio-la .sf-label { padding-inline-start: var(--sf-spacing-40); font-size: var(--sf-font-size-base); line-height: var(--sf-line-height-sm); } .sf-radio-la::before { padding: var(--sf-spacing-10); } .sf-radio-la::after { padding: var(--sf-spacing-5); inset-inline-start: var(--sf-spacing-5); } .sf-radio-la .sf-ripple-container { padding: var(--sf-spacing-20); inset-inline-start: calc(var(--sf-spacing) * -0.5); } .sf-radio-la.sf-bottom .sf-label { padding-top: var(--sf-spacing-48); padding-inline-start: var(--sf-spacing-0); } .sf-radio-la.sf-right.sf-radio-label { flex-direction: row-reverse; } .sf-radio-la.sf-right .sf-label { padding-inline-end: var(--sf-spacing-40); padding-inline-start: 0; } .sf-radio-la.sf-right::after { inset-inline-start: auto; inset-inline-end: var(--sf-spacing-5); } .sf-radio-la.sf-right .sf-ripple-container { inset-inline-start: auto; inset-inline-end: calc(var(--sf-spacing) * -0.5); } .sf-radio-secondary .sf-radio:checked + label::after { background-color: rgb(var(--sf-color-on-surface-variant), 1); border-color: rgb(var(--sf-color-on-surface-variant), 1); } .sf-radio-secondary .sf-radio:checked + label::before { border-color: rgb(var(--sf-color-on-surface-variant), 1); background-color: var(--sf-color-surface); } .sf-radio-secondary .sf-radio-label:hover .sf-ripple-container { background: rgb(var(--sf-color-on-surface-variant), 0.1); } .sf-radio-secondary .sf-radio:active + label::before, .sf-radio-secondary .sf-radio:focus + label::before { box-shadow: none; } .sf-radio-secondary .sf-radio:focus-visible + label::before { box-shadow: var(--sf-color-shadow-focus-ring1); } .sf-radio-success .sf-radio:checked + label::after { background-color: rgb(var(--sf-color-success), 1); border-color: rgb(var(--sf-color-success), 1); } .sf-radio-success .sf-radio:checked + label::before { border-color: rgb(var(--sf-color-success), 1); background-color: var(--sf-color-surface); } .sf-radio-success .sf-radio-label:hover .sf-ripple-container { background: rgb(var(--sf-color-success), 0.08); } .sf-radio-success .sf-radio:active + label::before, .sf-radio-success .sf-radio:focus + label::before { box-shadow: none; } .sf-radio-success .sf-radio:focus-visible + label::before { box-shadow: var(--sf-color-shadow-focus-ring1); } .sf-radio-warning .sf-radio:checked + label::after { background-color: rgb(var(--sf-color-warning), 1); border-color: rgb(var(--sf-color-warning), 1); } .sf-radio-warning .sf-radio:checked + label::before { border-color: rgb(var(--sf-color-warning), 1); background-color: var(--sf-color-surface); } .sf-radio-warning .sf-radio-label:hover .sf-ripple-container { background: rgb(var(--sf-color-warning), 0.08); } .sf-radio-warning .sf-radio:active + label::before, .sf-radio-warning .sf-radio:focus + label::before { box-shadow: none; } .sf-radio-warning .sf-radio:focus-visible + label::before { box-shadow: var(--sf-color-shadow-focus-ring1); } .sf-radio-info .sf-radio:checked + label::after { background-color: rgb(var(--sf-color-info), 1); border-color: rgb(var(--sf-color-info), 1); } .sf-radio-info .sf-radio:checked + label::before { border-color: rgb(var(--sf-color-info), 1); background-color: var(--sf-color-surface); } .sf-radio-info .sf-radio-label:hover .sf-ripple-container { background: rgb(var(--sf-color-info), 0.08); } .sf-radio-info .sf-radio:active + label::before, .sf-radio-info .sf-radio:focus + label::before { box-shadow: none; } .sf-radio-info .sf-radio:focus-visible + label::before { box-shadow: var(--sf-color-shadow-focus-ring1); } .sf-radio-error .sf-radio:checked + label::after { background-color: rgb(var(--sf-color-error), 1); border-color: rgb(var(--sf-color-error), 1); } .sf-radio-error .sf-radio:checked + label::before { border-color: rgb(var(--sf-color-error), 1); background-color: transparent; } .sf-radio-error .sf-radio-label:hover .sf-ripple-container { background: rgb(var(--sf-color-error), 0.08); } .sf-radio-error .sf-radio:active + label::before, .sf-radio-error .sf-radio:focus + label::before { box-shadow: none; } .sf-radio-error .sf-radio:focus-visible + label::before { box-shadow: var(--sf-color-shadow-focus-ring1); } .sf-chip-list { display: flex; padding: var(--sf-spacing-0); } .sf-chip-list:not(.sf-chip) { flex-wrap: wrap; } .sf-chip { max-width: 100%; border: 1px solid; border-radius: var(--sf-radius-full); font-size: var(--sf-font-size-sm); font-weight: var(--sf-font-weight-medium); margin: var(--sf-spacing-4); align-items: center; justify-content: center; box-shadow: none; cursor: pointer; display: inline-flex; line-height: var(--sf-line-height-sm); outline: none; overflow: hidden; padding: var(--sf-spacing-5) var(--sf-spacing-10); position: relative; user-select: none; letter-spacing: var(--sf-letter-spacing-wide); } .sf-chip.sf-chip-has-icon { padding-block: var(--sf-spacing-3); } .sf-chip-avatar, .sf-chip-icon, .sf-chip-image { height: var(--sf-spacing-24); width: var(--sf-spacing-24); } .sf-chip-avatar { border-radius: var(--sf-radius-12); margin-inline: calc(var(--sf-spacing) * -0.375) var(--sf-spacing-4); font-size: var(--sf-font-size-sm); } .sf-chip-icon { margin-inline: calc(var(--sf-spacing) * -0.375) var(--sf-spacing-4); } .sf-chip-delete { border-radius: var(--sf-radius-full); margin-inline: var(--sf-spacing-8) calc(var(--sf-spacing) * -0.125); font-size: var(--sf-font-size-base); } .sf-chip-image { border-radius: var(--sf-radius-full); margin-inline: calc(var(--sf-spacing) * -0.375) var(--sf-spacing-4); } .sf-chip-trailing-url { height: var(--sf-spacing-22); width: var(--sf-spacing-22); border-radius: var(--sf-radius-full); margin-inline: var(--sf-spacing-8) calc(var(--sf-spacing) * -0.375); } .sf-chip-leading-image, .sf-chip-trailing-image { width: 100%; height: 100%; object-fit: cover; } .sf-chip-delete svg, .sf-chip-selectable-icon svg { font-size: var(--sf-font-size-base); } .sf-chip-multi-selection .sf-active .sf-chip-icon, .sf-chip-multi-selection .sf-active .sf-chip-avatar, .sf-chip-icon-wrap .sf-chip-selectable-icon, .sf-chip-avatar-wrap .sf-chip-selectable-icon { display: none; } .sf-chip .sf-chip-selectable-icon { height: var(--sf-spacing-24); overflow: hidden; transition: width 300ms, margin 300ms cubic-bezier(0.4, 0, 0.2, 1); width: 0; } .sf-chip.sf-active .sf-chip-selectable-icon { margin-inline: calc(var(--sf-spacing) * -0.375) var(--sf-spacing-4); display: flex; width: var(--sf-spacing-24); } .sf-chip:focus-visible { box-shadow: var(--sf-color-shadow-focus-ring1); } .sf-chip-small { font-size: var(--sf-font-size-xs); line-height: var(--sf-line-height-xs); padding: var(--sf-spacing-3) var(--sf-spacing-8); } .sf-chip-small .sf-chip-selectable-icon, .sf-chip-small .sf-chip-delete svg, .sf-chip-small .sf-chip-selectable-icon svg { font-size: var(--sf-font-size-sm); } .sf-chip-small .sf-chip-selectable-icon { height: var(--sf-spacing-16); } .sf-chip-small .sf-chip-selectable-icon.sf-active { width: var(--sf-spacing-16); } .sf-chip-small .sf-chip-avatar, .sf-chip-small .sf-chip-icon, .sf-chip-small .sf-chip-image { height: var(--sf-spacing-16); width: var(--sf-spacing-16); } .sf-chip-small .sf-chip-avatar, .sf-chip-small .sf-chip-image { border-radius: var(--sf-radius-12); margin-inline: calc(var(--sf-spacing) * -0.375) var(--sf-spacing-4); } .sf-chip-small .sf-chip-delete { margin-inline: var(--sf-spacing-4) var(--sf-spacing-2); } .sf-chip-small .sf-chip-trailing-url { margin-inline: var(--sf-spacing-2) var(--sf-spacing-4); } .sf-chip-small.sf-chip-has-icon { padding-block: var(--sf-spacing-3); } .sf-chip-large { font-size: var(--sf-font-size-base); line-height: var(--sf-line-height-base); padding: var(--sf-spacing-8) var(--sf-spacing-12); } .sf-chip-large .sf-chip-selectable-icon, .sf-chip-large .sf-chip-delete svg, .sf-chip-large .sf-chip-selectable-icon svg { font-size: var(--sf-font-size-lg); } .sf-chip-large .sf-chip-selectable-icon { height: var(--sf-spacing-32); } .sf-chip-large .sf-chip-selectable-icon.sf-active { width: var(--sf-spacing-32); } .sf-chip-large .sf-chip-avatar, .sf-chip-large .sf-chip-icon, .sf-chip-large .sf-chip-image { height: var(--sf-spacing-32); width: var(--sf-spacing-32); } .sf-chip-large .sf-chip-delete { border-radius: var(--sf-radius-full); margin-inline: var(--sf-spacing-8) var(--sf-spacing-2); font-size: var(--sf-font-size-base); } .sf-chip-large .sf-chip-avatar, .sf-chip-large .sf-chip-image { border-radius: var(--sf-radius-full); margin-inline: calc(var(--sf-spacing) * -0.375) var(--sf-spacing-4); } .sf-chip-large .sf-chip-trailing-url { margin-inline: var(--sf-spacing-6) var(--sf-spacing-2); } .sf-chip-large.sf-chip-has-icon { padding-block: var(--sf-spacing-3); } .sf-chip-avatar { background-color: rgb(var(--sf-color-primary-container)); color: var(--sf-color-surface-variant); } .sf-chip { border-color: linear-gradient(0deg, rgba(var(--sf-color-surface), 1), rgba(var(--sf-color-surface), 1)); } .sf-chip.sf-disabled { opacity: 1; } .sf-chip.sf-outline { border-width: 1px; } .sf-chip-selection .sf-chip.sf-active, .sf-chip-selection .sf-chip.sf-active.sf-focused { background-color: rgba(var(--sf-color-on-surface), 0.08); } .sf-chip { background: transparent; color: rgb(var(--sf-color-on-surface-variant)); } .sf-chip:hover { background: rgba(var(--sf-color-on-surface), 0.05); color: rgb(var(--sf-color-on-surface-variant)); } .sf-chip.sf-focused { background: rgba(var(--sf-color-on-surface), 0.08); color: rgb(var(--sf-color-on-surface)); } .sf-chip.sf-focused.sf-active { background: linear-gradient(0deg, rgba(var(--sf-color-on-surface), 0.12), rgba(var(--sf-color-on-surface), 0.12)); color: rgb(var(--sf-color-on-surface)); } .sf-chip.sf-active { background: rgba(var(--sf-color-on-surface), 0.08); color: rgb(var(--sf-color-on-surface)); } .sf-chip:active { background: rgba(var(--sf-color-on-surface), 0.08); color: rgb(var(--sf-color-on-surface)); } .sf-chip:focus-visible { background: rgba(var(--sf-color-on-surface), 0.08); color: rgb(var(--sf-color-on-surface-variant)); border-color: rgb(var(--sf-color-outline-variant)); } .sf-chip.sf-primary { color: rgb(var(--sf-color-on-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-chip.sf-primary .sf-chip-avatar { background-color: rgb(var(--sf-color-primary)); } .sf-chip.sf-primary { background: rgb(var(--sf-color-primary)); } .sf-chip.sf-primary:hover { background: linear-gradient(0deg, rgba(var(--sf-color-on-primary), 0.08), rgba(var(--sf-color-on-primary), 0.08)), rgba(var(--sf-color-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-chip.sf-primary.sf-focused { background: linear-gradient(0deg, rgba(var(--sf-color-on-primary), 0.08), rgba(var(--sf-color-on-primary), 0.08)), rgba(var(--sf-color-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-chip.sf-primary:focus-visible { background: linear-gradient(0deg, rgba(var(--sf-color-on-primary), 0.08), rgba(var(--sf-color-on-primary), 0.08)), rgba(var(--sf-color-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-chip.sf-primary.sf-focused.sf-active, .sf-chip.sf-primary.sf-active, .sf-chip.sf-primary:active { background: linear-gradient(0deg, rgba(var(--sf-color-on-primary), 0.12), rgba(var(--sf-color-on-primary), 0.12)), rgba(var(--sf-color-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-chip.sf-success { color: rgb(var(--sf-color-success-text)); border-color: rgb(var(--sf-color-success)); } .sf-chip.sf-success .sf-chip-avatar { background-color: rgb(var(--sf-color-success)); } .sf-chip.sf-success { background: rgb(var(--sf-color-success)); } .sf-chip.sf-success:hover { background: linear-gradient(0deg, rgba(var(--sf-color-success-text), 0.08), rgba(var(--sf-color-success-text), 0.08)), rgba(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-chip.sf-success.sf-focused { background: linear-gradient(0deg, rgba(var(--sf-color-success-text), 0.08), rgba(var(--sf-color-success-text), 0.08)), rgba(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-chip.sf-success:focus-visible { background: linear-gradient(0deg, rgba(var(--sf-color-success-text), 0.08), rgba(var(--sf-color-success-text), 0.08)), rgba(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-chip.sf-success.sf-focused.sf-active, .sf-chip.sf-success.sf-active, .sf-chip.sf-success:active { background: linear-gradient(0deg, rgba(var(--sf-color-success-text), 0.12), rgba(var(--sf-color-success-text), 0.12)), rgba(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-chip.sf-info { color: rgb(var(--sf-color-info-text)); border-color: rgb(var(--sf-color-info)); } .sf-chip.sf-info .sf-chip-avatar { background-color: rgb(var(--sf-color-info)); } .sf-chip.sf-info { background: rgb(var(--sf-color-info)); } .sf-chip.sf-info:hover { background: linear-gradient(0deg, rgba(var(--sf-color-info-text), 0.08), rgba(var(--sf-color-info-text), 0.08)), rgba(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); } .sf-chip.sf-info.sf-focused { background: linear-gradient(0deg, rgba(var(--sf-color-info-text), 0.08), rgba(var(--sf-color-info-text), 0.08)), rgba(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); } .sf-chip.sf-info:focus-visible { background: linear-gradient(0deg, rgba(var(--sf-color-info-text), 0.08), rgba(var(--sf-color-info-text), 0.08)), rgba(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); } .sf-chip.sf-info.sf-focused.sf-active, .sf-chip.sf-info.sf-active, .sf-chip.sf-info:active { background: linear-gradient(0deg, rgba(var(--sf-color-info-text), 0.12), rgba(var(--sf-color-info-text), 0.12)), rgba(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); } .sf-chip.sf-warning { color: rgb(var(--sf-color-warning-text)); border-color: rgb(var(--sf-color-warning)); } .sf-chip.sf-warning .sf-chip-avatar { background-color: rgb(var(--sf-color-warning)); } .sf-chip.sf-warning { background: rgb(var(--sf-color-warning)); } .sf-chip.sf-warning:hover { background: linear-gradient(0deg, rgba(var(--sf-color-warning-text), 0.08), rgba(var(--sf-color-warning-text), 0.08)), rgba(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); } .sf-chip.sf-warning.sf-focused { background: linear-gradient(0deg, rgba(var(--sf-color-warning-text), 0.08), rgba(var(--sf-color-warning-text), 0.08)), rgba(var(--sf-color-warning)); color: rgb(var(--sf-color-warning-text)); border-color: rgb(var(--sf-color-warning)); } .sf-chip.sf-warning:focus-visible { background: linear-gradient(0deg, rgba(var(--sf-color-warning-text), 0.08), rgba(var(--sf-color-warning-text), 0.08)), rgba(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); } .sf-chip.sf-warning.sf-focused.sf-active, .sf-chip.sf-warning.sf-active, .sf-chip.sf-warning:active { background: linear-gradient(0deg, rgba(var(--sf-color-warning-text), 0.12), rgba(var(--sf-color-warning-text), 0.12)), rgba(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); } .sf-chip.sf-error { color: rgb(var(--sf-color-error-text)); border-color: rgb(var(--sf-color-error)); } .sf-chip.sf-error .sf-chip-avatar { background-color: rgb(var(--sf-color-error)); } .sf-chip.sf-error { background: rgb(var(--sf-color-error)); } .sf-chip.sf-error:hover { background: linear-gradient(0deg, rgba(var(--sf-color-error-text), 0.08), rgba(var(--sf-color-error-text), 0.08)), rgba(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); } .sf-chip.sf-error.sf-focused { background: linear-gradient(0deg, rgba(var(--sf-color-error-text), 0.08), rgba(var(--sf-color-error-text), 0.08)), rgba(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); } .sf-chip.sf-error:focus-visible { background: linear-gradient(0deg, rgba(var(--sf-color-error-text), 0.08), rgba(var(--sf-color-error-text), 0.08)), rgba(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); } .sf-chip.sf-error.sf-focused.sf-active, .sf-chip.sf-error.sf-active, .sf-chip.sf-error:active { background: linear-gradient(0deg, rgba(var(--sf-color-error-text), 0.12), rgba(var(--sf-color-error-text), 0.12)), rgba(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); } .sf-chip.sf-outline { background: transparent; color: rgb(var(--sf-color-on-surface-variant)); } .sf-chip.sf-outline:hover { background: rgba(var(--sf-color-on-surface), 0.05); color: rgb(var(--sf-color-on-surface)); } .sf-chip.sf-outline.sf-focused { background: linear-gradient(0deg, rgba(var(--sf-color-surface), 1), rgba(var(--sf-color-surface), 1)), rgba(var(--sf-color-surface)); color: rgb(var(--sf-color-on-surface)); } .sf-chip.sf-outline.sf-focused.sf-active { background: linear-gradient(0deg, rgba(var(--sf-color-on-surface), 0.12), rgba(var(--sf-color-on-surface), 0.12)); color: rgb(var(--sf-color-on-surface)); } .sf-chip.sf-outline.sf-active { background: linear-gradient(0deg, rgba(var(--sf-color-on-surface), 0.12), rgba(var(--sf-color-on-surface), 0.12)); color: rgb(var(--sf-color-on-surface)); } .sf-chip.sf-outline:active { background: rgba(var(--sf-color-on-surface), 0.08); color: rgb(var(--sf-color-on-surface-variant)); } .sf-chip.sf-outline:focus-visible { background: transparent; color: rgb(var(--sf-color-on-surface-variant)); } .sf-chip.sf-outline.sf-primary { color: rgb(var(--sf-color-primary)); border-color: rgb(var(--sf-color-primary)); } .sf-chip.sf-outline.sf-primary .sf-chip-avatar { color: rgb(var(--sf-color-on-primary)); } .sf-chip.sf-outline.sf-primary { background: transparent; } .sf-chip.sf-outline.sf-primary:hover { background: rgb(var(--sf-color-primary), 0.08); } .sf-chip.sf-outline.sf-primary.sf-focused { background: rgb(var(--sf-color-primary), 0.12); } .sf-chip.sf-outline.sf-primary:focus-visible { background: transparent; color: rgb(var(--sf-color-primary)); } .sf-chip.sf-outline.sf-primary.sf-focused.sf-active, .sf-chip.sf-outline.sf-primary.sf-active, .sf-chip.sf-outline.sf-primary:active { background: rgb(var(--sf-color-primary), 0.16); } .sf-chip.sf-outline.sf-success { color: rgb(var(--sf-color-success)); border-color: rgb(var(--sf-color-success)); } .sf-chip.sf-outline.sf-success .sf-chip-avatar { color: rgb(var(--sf-color-success-text)); } .sf-chip.sf-outline.sf-success { background: transparent; } .sf-chip.sf-outline.sf-success:hover { background: rgb(var(--sf-color-success), 0.08); } .sf-chip.sf-outline.sf-success.sf-focused { background: rgb(var(--sf-color-success), 0.12); } .sf-chip.sf-outline.sf-success:focus-visible { background: transparent; color: rgb(var(--sf-color-success)); } .sf-chip.sf-outline.sf-success.sf-focused.sf-active, .sf-chip.sf-outline.sf-success.sf-active, .sf-chip.sf-outline.sf-success:active { background: rgb(var(--sf-color-success), 0.16); } .sf-chip.sf-outline.sf-info { color: rgb(var(--sf-color-info)); border-color: rgb(var(--sf-color-info)); } .sf-chip.sf-outline.sf-info .sf-chip-avatar { color: rgb(var(--sf-color-info-text)); } .sf-chip.sf-outline.sf-info { background: transparent; } .sf-chip.sf-outline.sf-info:hover { background: rgb(var(--sf-color-info), 0.08); } .sf-chip.sf-outline.sf-info.sf-focused { background: rgb(var(--sf-color-info), 0.12); } .sf-chip.sf-outline.sf-info:focus-visible { background: transparent; color: rgb(var(--sf-color-info)); } .sf-chip.sf-outline.sf-info.sf-focused.sf-active, .sf-chip.sf-outline.sf-info.sf-active, .sf-chip.sf-outline.sf-info:active { background: rgb(var(--sf-color-info), 0.16); } .sf-chip.sf-outline.sf-warning { color: rgb(var(--sf-color-warning)); border-color: rgb(var(--sf-color-warning)); } .sf-chip.sf-outline.sf-warning .sf-chip-avatar { color: rgb(var(--sf-color-warning-text)); } .sf-chip.sf-outline.sf-warning { background: transparent; } .sf-chip.sf-outline.sf-warning:hover { background: rgb(var(--sf-color-warning), 0.08); } .sf-chip.sf-outline.sf-warning.sf-focused { background: rgb(var(--sf-color-warning), 0.12); } .sf-chip.sf-outline.sf-warning:focus-visible { background: transparent; color: rgb(var(--sf-color-warning)); } .sf-chip.sf-outline.sf-warning.sf-focused.sf-active, .sf-chip.sf-outline.sf-warning.sf-active, .sf-chip.sf-outline.sf-warning:active { background: rgb(var(--sf-color-warning), 0.16); } .sf-chip.sf-outline.sf-error { color: rgb(var(--sf-color-error)); border-color: rgb(var(--sf-color-error)); } .sf-chip.sf-outline.sf-error .sf-chip-avatar { color: rgb(var(--sf-color-error-text)); } .sf-chip.sf-outline.sf-error { background: transparent; } .sf-chip.sf-outline.sf-error:hover { background: rgb(var(--sf-color-error), 0.08); } .sf-chip.sf-outline.sf-error.sf-focused { background: rgb(var(--sf-color-error), 0.12); } .sf-chip.sf-outline.sf-error:focus-visible { background: transparent; color: rgb(var(--sf-color-error)); } .sf-chip.sf-outline.sf-error.sf-focused.sf-active, .sf-chip.sf-outline.sf-error.sf-active, .sf-chip.sf-outline.sf-error:active { background: rgb(var(--sf-color-error), 0.16); } .sf-chip.sf-disabled { color: rgba(var(--sf-color-on-surface), 0.38); background-color: rgba(var(--sf-color-secondary), 0.12); border-color: rgba(var(--sf-color-secondary), 0.12); } .sf-chip.sf-disabled .sf-chip-avatar { color: rgba(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-outline.sf-disabled { color: rgba(var(--sf-color-on-surface), 0.38); background: rgba(var(--sf-color-secondary), 0.12); border-color: rgba(var(--sf-color-secondary), 0.12); } .sf-chip.sf-outline.sf-disabled .sf-chip-avatar { background-color: rgba(var(--sf-color-secondary), 0.12); color: rgba(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-chip-variant-disabled { background: rgba(var(--sf-color-secondary), 0.12); } .sf-chip.sf-chip-variant-disabled .sf-chip-avatar { background-color: rgba(var(--sf-color-secondary), 0.12); } .sf-chip.sf-primary.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-primary.sf-outline.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-success.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-success.sf-outline.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-info.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-info.sf-outline.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-warning.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-warning.sf-outline.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-error.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-error.sf-outline.sf-disabled { background: rgba(var(--sf-color-secondary), 0.12); border-color: rgb(var(--sf-color-secondary), 0.12); color: rgb(var(--sf-color-on-surface), 0.38); } .sf-chip.sf-prim