UNPKG

@syncfusion/ej2-dropdowns

Version:

Essential JS 2 DropDown Components

427 lines (359 loc) 10.8 kB
.e-dropdownbase .e-list-item.e-active, .e-dropdownbase .e-list-item.e-active.e-hover { font-weight: 400; } .e-dropdownbase .e-list-group-item, .e-fixed-head { font-size: 12px; text-transform: uppercase; } .e-small .e-dropdownbase .e-list-group-item, .e-small .e-fixed-head, .e-small.e-dropdownbase .e-list-group-item, .e-small.e-fixed-head { font-size: 10px; } .e-dropdownbase .e-list-item .e-list-icon { padding: 0 8px 0 0; } .e-small .e-dropdownbase .e-list-item .e-list-icon { padding: 0 4px 0 0; } /* stylelint-disable */ .e-dropdownbase .e-list-item { border-radius: 6px !important; } .e-dropdownbase { display: block; height: 100%; min-height: 36px; position: relative; width: 100%; } .e-dropdownbase .e-list-parent { margin: 0; padding: 0; } .e-dropdownbase .e-list-group-item, .e-dropdownbase .e-fixed-head { cursor: default; } .e-dropdownbase .e-list-item { cursor: pointer; overflow: hidden; position: relative; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; width: 100%; } .e-dropdownbase .e-list-item .e-list-icon { font-size: 14px; vertical-align: middle; } .e-dropdownbase .e-fixed-head { position: absolute; top: 0; } .e-dropdownbase.e-content { overflow: auto; position: relative; } .e-popup.e-ddl .e-dropdownbase.e-nodata, .e-popup.e-mention .e-dropdownbase.e-nodata { color: var(--color-sf-content-text-color); cursor: default; font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif; font-size: 14px; padding: 14px 16px; text-align: center; } .e-mention.e-popup { background: var(--color-sf-content-bg-color); border: 0; -webkit-box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.21); box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.21); margin-top: 2px; position: absolute; } .e-mention.e-popup .e-dropdownbase { min-height: 32px; } .e-mention .e-dropdownbase .e-list-item .e-highlight { display: inline; font-weight: bold; vertical-align: baseline; } .e-mention .e-mention-chip, .e-mention .e-mention-chip:hover { background: var(--color-sf-content-bg-color-alt2); border-radius: 2px; border: none; color: var(--color-sf-primary); cursor: default; } .e-mention.e-editable-element { border: 2px solid var(--color-sf-border-light); height: auto; min-height: 120px; width: 100%; } .e-form-mirror-div { white-space: pre-wrap; } .e-rtl .e-dropdownbase.e-dd-group .e-list-item { padding-right: 12px; } .e-dropdownbase.e-dd-group .e-list-item { padding-left: 12px; text-indent: 0; } .e-small .e-dropdownbase.e-dd-group .e-list-item { padding-left: 8px; } .e-popup.e-multi-select-list-wrapper.e-multiselect-group .e-dropdownbase.e-dd-group .e-list-group-item { text-indent: 0; } .e-popup.e-multi-select-list-wrapper.e-multiselect-group .e-dropdownbase.e-dd-group .e-list-group-item { cursor: pointer; font-weight: normal; overflow: hidden; position: relative; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; width: 100%; } .e-rtl.e-multiselect-group .e-dropdownbase.e-dd-group .e-list-item { padding-right: 12px; } .e-rtl .e-dropdownbase .e-list-item { padding-left: 16px; padding-right: 0; } .e-small.e-rtl .e-dropdownbase .e-list-item, .e-small .e-rtl .e-dropdownbase .e-list-item, .e-rtl .e-small .e-dropdownbase .e-list-item { padding-left: 16px; padding-right: 0; } .e-dropdownbase { border-color: var(--color-sf-border-light); } .e-dropdownbase .e-list-item { /* stylelint-disable property-no-vendor-prefix */ -webkit-tap-highlight-color: transparent; border-bottom: 0; border-color: var(--color-sf-border-light); color: var(--color-sf-content-text-color); font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif; font-size: 14px; line-height: 32px; min-height: 32px; padding-right: 16px; text-indent: 12px; background-color: var(--color-sf-flyout-bg-color); margin-bottom: 2px; } .e-dropdownbase .e-list-group-item, .e-fixed-head { border-color: var(--color-sf-border-light); color: var(--color-sf-content-text-color-alt2); font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif; font-size: 12px; font-weight: 600; line-height: 32px; min-height: 32px; padding-left: 12px; padding-right: 16px; overflow: hidden; text-overflow: ellipsis; background-color: var(--color-sf-flyout-bg-color); } .e-dropdownbase .e-list-item.e-active, .e-dropdownbase .e-list-item.e-active.e-hover { background: var(--color-sf-flyout-bg-color-hover); border-color: var(--color-sf-content-bg-color); color: var(--color-sf-flyout-text-color-hover); } .e-dropdownbase .e-list-item.e-hover { background-color: var(--color-sf-content-bg-color-hover); border-color: var(--color-sf-content-bg-color); color: var(--color-sf-content-text-color-hover); } .e-dropdownbase .e-list-item:last-child { border-bottom: 0; } .e-dropdownbase .e-list-item.e-item-focus { color: var(--color-sf-content-text-color-hover); background: var(--color-sf-flyout-bg-color-focus); } .e-multi-column.e-ddl.e-popup.e-popup-open table { border-collapse: collapse; table-layout: fixed; width: 100%; } .e-multi-column.e-ddl.e-popup.e-popup-open th, .e-multi-column.e-ddl.e-popup.e-popup-open td { display: table-cell; overflow: hidden; padding-right: 16px; text-indent: 10px; text-overflow: ellipsis; } .e-multi-column.e-ddl.e-popup.e-popup-open th { line-height: 36px; text-align: left; } .e-multi-column.e-ddl.e-popup.e-popup-open .e-ddl-header { background-color: var(--color-sf-flyout-bg-color); border-color: var(--color-sf-border-light); border-style: solid; border-width: 0 0 1px 0; color: var(--color-sf-content-text-color-alt2); font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif; font-size: 14px; font-weight: 600; text-indent: 10px; } .e-multi-column.e-ddl.e-popup.e-popup-open .e-dropdownbase .e-list-item { padding-right: 0; } .e-multi-column.e-ddl.e-popup.e-popup-open.e-scroller .e-ddl-header { padding-right: 16px; } .e-multi-column.e-ddl.e-popup.e-popup-open .e-ddl-header, .e-multi-column.e-ddl.e-popup.e-popup-open.e-ddl-device .e-ddl-header { padding-right: 0; } .e-multi-column.e-ddl.e-popup.e-popup-open .e-text-center { text-align: center; } .e-multi-column.e-ddl.e-popup.e-popup-open .e-text-right { text-align: right; } .e-multi-column.e-ddl.e-popup.e-popup-open .e-text-left { text-align: left; } .e-small .e-dropdownbase .e-list-item, .e-dropdownbase.e-small .e-list-item { color: var(--color-sf-content-text-color); line-height: 28px; min-height: 28px; text-indent: 8px; } .e-small .e-dropdownbase .e-list-group-item, .e-small .e-dropdownbase .e-fixed-head, .e-dropdownbase.e-small .e-list-group-item, .e-dropdownbase.e-small .e-fixed-head { font-size: 10px; line-height: 28px; min-height: 28px; padding-left: 8px; } .e-small .e-dropdownbase .e-list-item .e-list-icon, .e-dropdownbase.e-small .e-list-item .e-list-icon { font-size: 12px; } .e-ddl.e-popup.e-multiselect-group .e-list-group-item { background-color: var(--color-sf-flyout-bg-color); border-bottom: 0; border-color: var(--color-sf-border-light); color: var(--color-sf-content-text-color); font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif; text-indent: 12px; font-size: 14px; padding-right: 16px; } .e-ddl.e-popup.e-multiselect-group .e-list-group-item.e-item-focus { background-color: var(--color-sf-content-bg-color-hover); } .e-ddl.e-popup.e-multiselect-group .e-list-group-item.e-active, .e-ddl.e-popup.e-multiselect-group .e-list-group-item.e-active.e-hover { background-color: var(--color-sf-flyout-bg-color-hover); border-color: var(--color-sf-content-bg-color); color: var(--color-sf-flyout-text-color-hover); } .e-ddl.e-popup.e-multiselect-group .e-list-group-item.e-hover { background-color: var(--color-sf-content-bg-color-hover); border-color: var(--color-sf-content-bg-color); color: var(--color-sf-content-text-color-hover); } .e-selectall-parent.e-item-focus { background-color: var(--color-sf-content-bg-color-hover); } .e-bigger .e-dropdownbase, .e-dropdownbase.e-bigger { min-height: 45px; } .e-bigger .e-dropdownbase .e-list-item, .e-dropdownbase.e-bigger .e-list-item { line-height: 40px; text-indent: 16px; } .e-bigger .e-dropdownbase .e-list-group-item, .e-bigger .e-dropdownbase .e-fixed-head, .e-dropdownbase.e-bigger .e-list-group-item, .e-dropdownbase.e-bigger .e-fixed-head { line-height: 40px; text-indent: 16px; } .e-bigger .e-dropdownbase .e-list-item .e-list-icon, .e-dropdownbase.e-bigger .e-list-item .e-list-icon { font-size: 18px; } .e-bigger .e-dropdownbase.e-dd-group .e-list-item { padding-left: 16px; } .e-small.e-bigger .e-dropdownbase.e-dd-group .e-list-item { padding-left: 14px; } .e-small.e-bigger.e-rtl .e-dropdownbase .e-list-item, .e-small.e-bigger .e-rtl .e-dropdownbase .e-list-item, .e-rtl .e-small.e-bigger .e-dropdownbase .e-list-item, .e-small .e-rtl.e-bigger .e-dropdownbase .e-list-item, .e-bigger .e-rtl.e-small .e-dropdownbase .e-list-item { padding-left: 16px; padding-right: 0; } .e-bigger .e-dropdownbase .e-list-group-item, .e-bigger .e-dropdownbase .e-fixed-head { font-size: 14px; padding-left: 0; } .e-bigger.e-small .e-dropdownbase .e-list-group-item, .e-bigger.e-small .e-dropdownbase .e-fixed-head, .e-dropdownbase.e-bigger.e-small .e-list-group-item, .e-dropdownbase.e-bigger.e-small .e-fixed-head { font-size: 12px; } .e-bigger.e-small .e-dropdownbase .e-list-item, .e-dropdownbase.e-small.e-bigger .e-list-item { color: var(--color-sf-content-text-color); line-height: 36px; min-height: 36px; text-indent: 14px; } .e-bigger.e-small .e-dropdownbase .e-list-group-item, .e-bigger.e-small .e-dropdownbase .e-fixed-head, .e-dropdownbase.e-small.e-bigger .e-list-group-item, .e-dropdownbase.e-small.e-bigger .e-fixed-head { line-height: 36px; min-height: 36px; padding-left: 14px; } .e-bigger.e-small .e-dropdownbase .e-list-item .e-list-icon, .e-dropdownbase.e-small.e-bigger .e-list-item .e-list-icon { font-size: 16px; } .e-bigger .e-dropdownbase .e-list-group-item, .e-bigger .e-fixed-head, .e-bigger.e-dropdownbase .e-list-group-item, .e-bigger.e-fixed-head { font-size: 14px; } .e-bigger.e-small .e-dropdownbase .e-list-group-item, .e-bigger.e-small .e-fixed-head, .e-bigger.e-small.e-dropdownbase .e-list-group-item, .e-bigger.e-small.e-fixed-head { font-size: 12px; } .e-bigger .e-dropdownbase .e-list-item .e-list-icon { padding: 0 12px 0 0; } .e-bigger.e-small .e-dropdownbase .e-list-item .e-list-icon { padding: 0 8px 0 0; }