UNPKG

@syncfusion/ej2-lists

Version:

The listview control allows you to select an item or multiple items from a list-like interface and represents the data in interactive hierarchical structure across different layouts or views.

475 lines (443 loc) 11.9 kB
.e-listview .e-icon-collapsible::before { content: "\e85c"; } .e-listview .e-icon-back::before { content: "\e85b"; font-size: 18px; } /* stylelint-disable property-no-vendor-prefix */ .e-listview { -webkit-overflow-scrolling: touch; border: 0 solid; border-radius: 0; display: block; overflow: auto; position: relative; width: 100%; } .e-listview:not(.e-list-template) .e-list-item { height: 36px; line-height: 33px; position: relative; padding: 0 12px; } .e-listview .e-list-item { border-bottom: 0 solid; cursor: pointer; } .e-listview .e-list-item.e-disabled, .e-listview .e-list-item.e-disabled * { cursor: default; } .e-listview.e-listview-template .e-list-item .e-checkbox { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; } .e-listview .e-list-parent { margin: 0; padding: 0; } .e-listview .e-icon-back { margin-top: 2px; } .e-listview .e-list-header { -webkit-box-align: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -ms-flexbox; display: flex; font-weight: 600; height: 36px; border-bottom: 1px solid; padding: 0 16px; } .e-listview .e-list-header .e-text.header, .e-listview .e-list-header .e-headertemplate-text.nested-header { display: none; } .e-listview .e-list-header.e-list-navigation .e-text { cursor: pointer; } .e-listview .e-list-header .e-header-back-icon { display: none; } .e-listview .e-list-header .e-text { cursor: default; text-indent: 0; } .e-listview .e-list-navigation .e-but-back.e-header-back-icon { display: block; } .e-listview .e-has-header > .e-view { top: 45px; } .e-listview .e-back-button { cursor: pointer; padding-right: 20px; } .e-listview .e-list-group-item { border-bottom: 0 solid transparent; border-top: 1px solid; height: 36px; line-height: 30px; font-weight: 600; padding: 0 12px; } .e-listview .e-list-group-item .e-list-text { cursor: default; } .e-listview .e-list-group-item:first-child { border: 0; border-bottom: 0 solid transparent; } .e-listview .e-icon-collapsible { cursor: pointer; font-size: 12px; position: absolute; right: 0%; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .e-listview .e-text-content { height: 100%; position: relative; vertical-align: middle; } .e-listview .e-text-content.e-checkbox .e-list-text { width: calc(100% - 40px); } .e-listview .e-text-content.e-checkbox.e-checkbox-left .e-list-icon + .e-list-text { width: calc(100% - 90px); } .e-listview .e-text-content.e-checkbox.e-checkbox-right .e-list-icon + .e-list-text { width: calc(100% - 80px); } .e-listview .e-text-content * { display: inline-block; vertical-align: middle; } .e-listview .e-list-item.e-checklist.e-has-child .e-text-content.e-checkbox.e-checkbox-right .e-list-icon + .e-list-text { width: calc(100% - 92px); } .e-listview .e-checkbox .e-checkbox-left { margin: -2px 10px 0 0; } .e-listview .e-checkbox .e-checkbox-right { margin: -2px 0 0 10px; } .e-listview .e-list-text { cursor: pointer; display: inline-block; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; width: 100%; } .e-listview .e-list-icon + .e-list-text, .e-listview .e-icon-wrapper .e-list-text, .e-listview .e-icon-wrapper.e-text-content.e-checkbox .e-list-text { width: calc(100% - 60px); } .e-listview .e-list-icon { margin-right: 16px; height: 30px; width: 30px; } .e-listview.e-virtualization .e-list-container { overflow: unset; } .e-listview .e-list-container { overflow: hidden; position: relative; } .e-listview .e-text .e-headertext { display: inline-block; line-height: 0; } .e-listview.e-rtl { direction: rtl; } .e-listview.e-rtl .e-list-icon { margin-left: 16px; margin-right: 0; } .e-listview.e-rtl .e-icon-collapsible { left: 0%; right: initial; top: 50%; -webkit-transform: translateY(-50%) rotate(180deg); transform: translateY(-50%) rotate(180deg); } .e-listview.e-rtl .e-list-header .e-text { cursor: pointer; } .e-listview.e-rtl .e-back-button { -webkit-transform: rotate(180deg); transform: rotate(180deg); } .e-listview.e-rtl .e-icon-back { margin-top: 1px; } .e-listview.e-rtl .e-checkbox .e-checkbox-left { margin: -2px 0 0 10px; } .e-listview.e-rtl .e-checkbox .e-checkbox-right { margin: -2px 10px 0 0; } .e-listview.e-disabled, .e-listview.e-disabled * { cursor: default; } .e-listview.e-disabled .e-checkbox .e-icons { cursor: default; } .e-listview { border-color: #414040; font-family: "Segoe UI", "GeezaPro", "DejaVu Serif", sans-serif, "-apple-system", "BlinkMacSystemFont"; font-size: 13px; } .e-listview .e-list-header { background-color: #201f1f; color: #dadada; border-color: #414040; font-size: 14px; } .e-listview .e-icons:not(.e-primary .e-btn-icon, .e-check) { color: #dadada; } .e-listview .e-list-item { border-bottom: 0 solid transparent; border-left: 0 solid transparent; border-right: 0 solid transparent; border-top: 0 solid transparent; background-color: inherit; color: #dadada; } .e-listview .e-list-item.e-hover, .e-listview .e-list-item.e-hover.e-active.e-checklist { background-color: #414040; color: #dadada; border-color: transparent; } .e-listview .e-list-item.e-active { background-color: #514f4f; color: #fff; } .e-listview .e-list-item.e-active.e-checklist { background-color: inherit; color: #dadada; } .e-listview .e-list-item.e-focused, .e-listview .e-list-item.e-focused.e-active.e-checklist { background-color: #514f4f; color: #fff; } .e-listview .e-list-item.e-focused .e-checkbox-wrapper .e-frame.e-check, .e-listview .e-list-item.e-focused .e-css.e-checkbox-wrapper .e-frame.e-check { background-color: #0074cc; color: #fff; border-color: #0074cc; } .e-listview .e-list-group-item { background-color: #201f1f; color: rgb(0, 55.1, 96.9); border-color: #414040; font-size: 14px; } .e-listview.e-list-template .e-list-wrapper { height: inherit; position: relative; } .e-listview.e-list-template .e-list-wrapper:not(.e-list-multi-line) { padding: 0.6153em 0.923em; } .e-listview.e-list-template .e-list-wrapper.e-list-multi-line { padding: 0.6153em 0.923em; } .e-listview.e-list-template .e-list-wrapper.e-list-multi-line .e-list-item-header { color: #dadada; display: block; font-size: 13px; font-weight: 500; margin: 0; overflow: hidden; padding: 0.093em 0; text-overflow: ellipsis; white-space: nowrap; } .e-listview.e-list-template .e-list-wrapper.e-list-multi-line .e-list-content { color: #dadada; display: block; font-size: 13px; margin: 0; padding: 0.093em 0; word-wrap: break-word; } .e-listview.e-list-template .e-list-wrapper.e-list-multi-line .e-list-content:not(.e-text-overflow) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .e-listview.e-list-template .e-list-wrapper.e-list-avatar .e-avatar { height: 3.0769em; width: 3.0769em; top: 0.6153em; left: 0.923em; position: absolute; } .e-listview.e-list-template .e-list-wrapper.e-list-avatar:not(.e-list-badge) { padding-left: 4.923em; padding-right: 0.923em; } .e-listview.e-list-template .e-list-wrapper.e-list-avatar-right:not(.e-list-badge) { padding-left: 0.923em; padding-right: 4.923em; } .e-listview.e-list-template .e-list-wrapper.e-list-avatar-right:not(.e-list-badge) .e-avatar { height: 3.0769em; width: 3.0769em; top: 0.6153em; right: 0.923em; position: absolute; } .e-listview.e-list-template .e-list-wrapper.e-list-multi-line.e-list-avatar .e-avatar { top: 0.6153em; } .e-listview.e-list-template .e-list-wrapper.e-list-multi-line.e-list-avatar-right:not(.e-list-badge) .e-avatar { top: 0.6153em; } .e-listview.e-list-template .e-list-wrapper.e-list-badge .e-badge { font-size: 13px; height: 1.5384em; width: 1.5384em; top: 50%; right: 0.923em; line-height: 1.3384em; padding: 0; position: absolute; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .e-listview.e-list-template .e-list-wrapper.e-list-badge.e-list-avatar { padding-left: 4.923em; padding-right: 3.3846em; } .e-listview.e-list-template .e-list-wrapper.e-list-badge:not(.e-list-avatar) { padding-left: 0.923em; padding-right: 3.3846em; } .e-listview.e-list-template .e-list-wrapper:not(.e-list-multi-line) .e-list-content { display: block; margin: 0; overflow: hidden; padding: 0.867em 0; text-overflow: ellipsis; white-space: nowrap; } .e-listview.e-list-template .e-list-item.e-hover .e-list-item-header, .e-listview.e-list-template .e-list-item.e-hover .e-list-content { color: #dadada; } .e-listview.e-list-template .e-list-item.e-active .e-list-item-header, .e-listview.e-list-template .e-list-item.e-active .e-list-content { color: #fff; } .e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-avatar .e-avatar { left: inherit; right: 0.923em; } .e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-avatar:not(.e-list-badge) { padding-left: 0.923em; padding-right: 4.923em; } .e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-avatar-right:not(.e-list-badge) { padding-left: 4.923em; padding-right: 0.923em; } .e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-avatar-right:not(.e-list-badge) .e-avatar { left: 0.923em; right: inherit; } .e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-badge .e-badge { left: 0.923em; right: inherit; } .e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-badge.e-list-avatar { padding-left: 3.3846em; padding-right: 4.923em; } .e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-badge:not(.e-list-avatar) { padding-left: 3.3846em; padding-right: 0.923em; } .e-bigger .e-listview .e-list-item, .e-listview.e-bigger .e-list-item { border-bottom: 0 solid transparent; border-left: 0 solid transparent; border-right: 0 solid transparent; border-top: 0 solid transparent; } .e-bigger .e-listview:not(.e-list-template) .e-list-item, .e-listview.e-bigger:not(.e-list-template) .e-list-item { height: 45px; line-height: 45px; position: relative; } .e-bigger .e-listview .e-text-content, .e-listview.e-bigger .e-text-content { font-size: 15px; } .e-bigger .e-listview .e-list-group-item, .e-listview.e-bigger .e-list-group-item { height: 45px; line-height: 45px; } .e-bigger .e-listview .e-list-header, .e-listview.e-bigger .e-list-header { -webkit-box-align: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -ms-flexbox; display: flex; font-weight: 600; height: 45px; } .e-bigger .e-listview .e-list-header .e-text.header, .e-bigger .e-listview .e-list-header .e-headertemplate-text.nested-header, .e-listview.e-bigger .e-list-header .e-text.header, .e-listview.e-bigger .e-list-header .e-headertemplate-text.nested-header { display: none; } .e-bigger .e-listview .e-list-header .e-text, .e-listview.e-bigger .e-list-header .e-text { font-size: 15px; } .e-bigger .e-listview .e-text-content.e-checkbox .e-list-text, .e-listview.e-bigger .e-text-content.e-checkbox .e-list-text { width: calc(100% - 40px); } /* stylelint-disable-line no-empty-source */ .e-sortable { outline: none; position: relative; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .e-sortable .e-disabled { background-image: none; cursor: default; opacity: 0.35; } .e-sortable * { -webkit-box-sizing: border-box; box-sizing: border-box; } .e-sortable *:focus { outline: none; } /* stylelint-disable */ .e-sortableclone { position: fixed !important; } /* stylelint-enable */