pub const CLASS_TREE: &str = "dx-swdir-tree";
pub const CLASS_ROW: &str = "dx-swdir-row";
pub const CLASS_ROW_SELECTED: &str = "dx-swdir-row--selected";
pub const CLASS_ROW_ACTIVE: &str = "dx-swdir-row--active";
pub const CLASS_ROW_ERROR: &str = "dx-swdir-row--error";
pub const CLASS_ROW_DROP_TARGET: &str = "dx-swdir-row--drop-target";
pub const CLASS_CARET: &str = "dx-swdir-caret";
pub const CLASS_ICON: &str = "dx-swdir-icon";
pub const CLASS_LABEL: &str = "dx-swdir-label";
#[cfg(feature = "default-style")]
pub const DEFAULT_CSS: &str = r#"
.dx-swdir-tree {
overflow-y: auto;
height: 100%;
font-family: system-ui, sans-serif;
font-size: 0.875rem;
line-height: 1.5;
user-select: none;
}
.dx-swdir-row {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.125rem 0.25rem;
border-radius: 3px;
cursor: default;
white-space: nowrap;
}
.dx-swdir-row:hover {
background: rgba(0, 0, 0, 0.06);
}
.dx-swdir-row--selected {
background: rgba(66, 133, 244, 0.18);
}
.dx-swdir-row--active {
outline: 1px solid rgba(66, 133, 244, 0.5);
outline-offset: -1px;
}
.dx-swdir-row--error .dx-swdir-label {
opacity: 0.55;
font-style: italic;
}
.dx-swdir-row--drop-target {
outline: 2px dashed rgba(66, 133, 244, 0.7);
outline-offset: -2px;
background: rgba(66, 133, 244, 0.12);
}
.dx-swdir-caret {
display: inline-block;
width: 1em;
text-align: center;
font-size: 0.7em;
flex-shrink: 0;
cursor: pointer;
}
.dx-swdir-icon {
flex-shrink: 0;
}
.dx-swdir-label {
overflow: hidden;
text-overflow: ellipsis;
}
"#;