@xenknight/framework7 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +32 -0
- package/components/accordion/accordion-ios.less +2 -0
- package/components/accordion/accordion-md.less +2 -0
- package/components/accordion/accordion-rtl.css +1 -0
- package/components/accordion/accordion-vars.less +0 -0
- package/components/accordion/accordion.css +1 -0
- package/components/accordion/accordion.d.ts +55 -0
- package/components/accordion/accordion.js +118 -0
- package/components/accordion/accordion.less +215 -0
- package/components/actions/actions-class.js +325 -0
- package/components/actions/actions-ios.less +51 -0
- package/components/actions/actions-md.less +24 -0
- package/components/actions/actions-rtl.css +1 -0
- package/components/actions/actions-vars.less +72 -0
- package/components/actions/actions.css +1 -0
- package/components/actions/actions.d.ts +164 -0
- package/components/actions/actions.js +47 -0
- package/components/actions/actions.less +182 -0
- package/components/app/app-class.d.ts +189 -0
- package/components/app/app-class.js +349 -0
- package/components/app/app-ios.less +23 -0
- package/components/app/app-md.less +8 -0
- package/components/app/app-vars.less +122 -0
- package/components/app/app.less +121 -0
- package/components/app/load-module.js +125 -0
- package/components/area-chart/area-chart-class.js +467 -0
- package/components/area-chart/area-chart-ios.less +2 -0
- package/components/area-chart/area-chart-md.less +2 -0
- package/components/area-chart/area-chart-rtl.css +1 -0
- package/components/area-chart/area-chart-vars.less +35 -0
- package/components/area-chart/area-chart.css +1 -0
- package/components/area-chart/area-chart.d.ts +128 -0
- package/components/area-chart/area-chart.js +44 -0
- package/components/area-chart/area-chart.less +131 -0
- package/components/autocomplete/autocomplete-class.js +813 -0
- package/components/autocomplete/autocomplete-ios.less +9 -0
- package/components/autocomplete/autocomplete-md.less +30 -0
- package/components/autocomplete/autocomplete-rtl.css +1 -0
- package/components/autocomplete/autocomplete-vars.less +36 -0
- package/components/autocomplete/autocomplete.css +1 -0
- package/components/autocomplete/autocomplete.d.ts +193 -0
- package/components/autocomplete/autocomplete.js +81 -0
- package/components/autocomplete/autocomplete.less +102 -0
- package/components/badge/badge-ios.less +2 -0
- package/components/badge/badge-md.less +2 -0
- package/components/badge/badge-vars.less +18 -0
- package/components/badge/badge.d.ts +14 -0
- package/components/badge/badge.js +3 -0
- package/components/badge/badge.less +45 -0
- package/components/block/block-ios.less +2 -0
- package/components/block/block-md.less +2 -0
- package/components/block/block-vars.less +77 -0
- package/components/block/block.d.ts +14 -0
- package/components/block/block.js +3 -0
- package/components/block/block.less +209 -0
- package/components/breadcrumbs/breadcrumbs-ios.less +2 -0
- package/components/breadcrumbs/breadcrumbs-md.less +2 -0
- package/components/breadcrumbs/breadcrumbs-rtl.css +1 -0
- package/components/breadcrumbs/breadcrumbs-vars.less +52 -0
- package/components/breadcrumbs/breadcrumbs.css +1 -0
- package/components/breadcrumbs/breadcrumbs.d.ts +15 -0
- package/components/breadcrumbs/breadcrumbs.js +11 -0
- package/components/breadcrumbs/breadcrumbs.less +91 -0
- package/components/button/button-ios.less +21 -0
- package/components/button/button-md.less +11 -0
- package/components/button/button-vars.less +114 -0
- package/components/button/button.d.ts +14 -0
- package/components/button/button.js +3 -0
- package/components/button/button.less +421 -0
- package/components/calendar/calendar-class.js +1872 -0
- package/components/calendar/calendar-ios.less +2 -0
- package/components/calendar/calendar-md.less +2 -0
- package/components/calendar/calendar-rtl.css +1 -0
- package/components/calendar/calendar-vars.less +108 -0
- package/components/calendar/calendar.css +1 -0
- package/components/calendar/calendar.d.ts +312 -0
- package/components/calendar/calendar.js +118 -0
- package/components/calendar/calendar.less +448 -0
- package/components/card/card-ios.less +2 -0
- package/components/card/card-md.less +2 -0
- package/components/card/card-rtl.css +1 -0
- package/components/card/card-vars.less +80 -0
- package/components/card/card.css +1 -0
- package/components/card/card.d.ts +69 -0
- package/components/card/card.js +504 -0
- package/components/card/card.less +307 -0
- package/components/checkbox/checkbox-ios.less +23 -0
- package/components/checkbox/checkbox-md.less +17 -0
- package/components/checkbox/checkbox-rtl.css +1 -0
- package/components/checkbox/checkbox-vars.less +25 -0
- package/components/checkbox/checkbox.css +1 -0
- package/components/checkbox/checkbox.d.ts +14 -0
- package/components/checkbox/checkbox.js +3 -0
- package/components/checkbox/checkbox.less +155 -0
- package/components/chip/chip-ios.less +25 -0
- package/components/chip/chip-md.less +30 -0
- package/components/chip/chip-rtl.css +1 -0
- package/components/chip/chip-vars.less +42 -0
- package/components/chip/chip.css +1 -0
- package/components/chip/chip.d.ts +14 -0
- package/components/chip/chip.js +3 -0
- package/components/chip/chip.less +106 -0
- package/components/color-picker/color-picker-class.js +871 -0
- package/components/color-picker/color-picker-ios.less +2 -0
- package/components/color-picker/color-picker-md.less +2 -0
- package/components/color-picker/color-picker-rtl.css +1 -0
- package/components/color-picker/color-picker-vars.less +39 -0
- package/components/color-picker/color-picker.css +1 -0
- package/components/color-picker/color-picker.d.ts +233 -0
- package/components/color-picker/color-picker.js +92 -0
- package/components/color-picker/color-picker.less +557 -0
- package/components/color-picker/modules/alpha-slider.js +91 -0
- package/components/color-picker/modules/brightness-slider.js +80 -0
- package/components/color-picker/modules/current-color.js +14 -0
- package/components/color-picker/modules/hex.js +71 -0
- package/components/color-picker/modules/hs-spectrum.js +118 -0
- package/components/color-picker/modules/hsb-sliders.js +191 -0
- package/components/color-picker/modules/hue-slider.js +73 -0
- package/components/color-picker/modules/initial-current-colors.js +43 -0
- package/components/color-picker/modules/palette.js +46 -0
- package/components/color-picker/modules/rgb-bars.js +183 -0
- package/components/color-picker/modules/rgb-sliders.js +185 -0
- package/components/color-picker/modules/sb-spectrum.js +119 -0
- package/components/color-picker/modules/wheel.js +173 -0
- package/components/contacts-list/contacts-list-ios.less +2 -0
- package/components/contacts-list/contacts-list-md.less +21 -0
- package/components/contacts-list/contacts-list-rtl.css +1 -0
- package/components/contacts-list/contacts-list-vars.less +24 -0
- package/components/contacts-list/contacts-list.css +1 -0
- package/components/contacts-list/contacts-list.d.ts +14 -0
- package/components/contacts-list/contacts-list.js +3 -0
- package/components/contacts-list/contacts-list.less +26 -0
- package/components/data-table/data-table-class.js +141 -0
- package/components/data-table/data-table-ios.less +70 -0
- package/components/data-table/data-table-md.less +88 -0
- package/components/data-table/data-table-rtl.css +1 -0
- package/components/data-table/data-table-vars.less +77 -0
- package/components/data-table/data-table.css +1 -0
- package/components/data-table/data-table.d.ts +61 -0
- package/components/data-table/data-table.js +64 -0
- package/components/data-table/data-table.less +429 -0
- package/components/dialog/dialog-class.js +196 -0
- package/components/dialog/dialog-ios.less +94 -0
- package/components/dialog/dialog-md.less +86 -0
- package/components/dialog/dialog-rtl.css +1 -0
- package/components/dialog/dialog-vars.less +93 -0
- package/components/dialog/dialog.css +1 -0
- package/components/dialog/dialog.d.ts +245 -0
- package/components/dialog/dialog.js +242 -0
- package/components/dialog/dialog.less +142 -0
- package/components/fab/fab-ios.less +9 -0
- package/components/fab/fab-md.less +11 -0
- package/components/fab/fab-rtl.css +1 -0
- package/components/fab/fab-vars.less +46 -0
- package/components/fab/fab.css +1 -0
- package/components/fab/fab.d.ts +32 -0
- package/components/fab/fab.js +172 -0
- package/components/fab/fab.less +523 -0
- package/components/form/form-ios.less +0 -0
- package/components/form/form-md.less +0 -0
- package/components/form/form-rtl.css +0 -0
- package/components/form/form.css +0 -0
- package/components/form/form.d.ts +64 -0
- package/components/form/form.js +311 -0
- package/components/form/form.less +7 -0
- package/components/gauge/gauge-class.js +298 -0
- package/components/gauge/gauge-ios.less +2 -0
- package/components/gauge/gauge-md.less +2 -0
- package/components/gauge/gauge-rtl.css +1 -0
- package/components/gauge/gauge.css +1 -0
- package/components/gauge/gauge.d.ts +100 -0
- package/components/gauge/gauge.js +90 -0
- package/components/gauge/gauge.less +24 -0
- package/components/grid/grid-ios.less +2 -0
- package/components/grid/grid-md.less +2 -0
- package/components/grid/grid-rtl.css +1 -0
- package/components/grid/grid-vars.less +3 -0
- package/components/grid/grid.css +1 -0
- package/components/grid/grid.d.ts +15 -0
- package/components/grid/grid.js +3 -0
- package/components/grid/grid.less +78 -0
- package/components/icon/icon-ios.less +44 -0
- package/components/icon/icon-md.less +56 -0
- package/components/icon/icon.d.ts +14 -0
- package/components/icon/icon.js +3 -0
- package/components/icon/icon.less +33 -0
- package/components/infinite-scroll/infinite-scroll-ios.less +11 -0
- package/components/infinite-scroll/infinite-scroll-md.less +6 -0
- package/components/infinite-scroll/infinite-scroll-rtl.css +1 -0
- package/components/infinite-scroll/infinite-scroll.css +1 -0
- package/components/infinite-scroll/infinite-scroll.d.ts +27 -0
- package/components/infinite-scroll/infinite-scroll.js +94 -0
- package/components/infinite-scroll/infinite-scroll.less +15 -0
- package/components/input/input-ios.less +129 -0
- package/components/input/input-md.less +171 -0
- package/components/input/input-rtl.css +1 -0
- package/components/input/input-vars.less +94 -0
- package/components/input/input.css +1 -0
- package/components/input/input.d.ts +60 -0
- package/components/input/input.js +339 -0
- package/components/input/input.less +355 -0
- package/components/link/link-ios.less +9 -0
- package/components/link/link-md.less +2 -0
- package/components/link/link-vars.less +9 -0
- package/components/link/link.d.ts +14 -0
- package/components/link/link.js +3 -0
- package/components/link/link.less +37 -0
- package/components/list/list-ios.less +15 -0
- package/components/list/list-md.less +5 -0
- package/components/list/list-vars.less +184 -0
- package/components/list/list.d.ts +14 -0
- package/components/list/list.js +3 -0
- package/components/list/list.less +718 -0
- package/components/list-index/list-index-class.js +333 -0
- package/components/list-index/list-index-ios.less +21 -0
- package/components/list-index/list-index-md.less +7 -0
- package/components/list-index/list-index-rtl.css +1 -0
- package/components/list-index/list-index-vars.less +25 -0
- package/components/list-index/list-index.css +1 -0
- package/components/list-index/list-index.d.ts +101 -0
- package/components/list-index/list-index.js +65 -0
- package/components/list-index/list-index.less +130 -0
- package/components/login-screen/login-screen-class.js +38 -0
- package/components/login-screen/login-screen-ios.less +2 -0
- package/components/login-screen/login-screen-md.less +2 -0
- package/components/login-screen/login-screen-rtl.css +1 -0
- package/components/login-screen/login-screen-vars.less +33 -0
- package/components/login-screen/login-screen.css +1 -0
- package/components/login-screen/login-screen.d.ts +99 -0
- package/components/login-screen/login-screen.js +32 -0
- package/components/login-screen/login-screen.less +100 -0
- package/components/messagebar/messagebar-class.js +367 -0
- package/components/messagebar/messagebar-ios.less +88 -0
- package/components/messagebar/messagebar-md.less +114 -0
- package/components/messagebar/messagebar-rtl.css +1 -0
- package/components/messagebar/messagebar-vars.less +75 -0
- package/components/messagebar/messagebar.css +1 -0
- package/components/messagebar/messagebar.d.ts +165 -0
- package/components/messagebar/messagebar.js +66 -0
- package/components/messagebar/messagebar.less +162 -0
- package/components/messages/messages-class.js +487 -0
- package/components/messages/messages-ios.less +165 -0
- package/components/messages/messages-md.less +140 -0
- package/components/messages/messages-rtl.css +1 -0
- package/components/messages/messages-vars.less +82 -0
- package/components/messages/messages.css +1 -0
- package/components/messages/messages.d.ts +162 -0
- package/components/messages/messages.js +65 -0
- package/components/messages/messages.less +218 -0
- package/components/modal/custom-modal-class.js +66 -0
- package/components/modal/modal-class.js +224 -0
- package/components/modal/modal.d.ts +82 -0
- package/components/modal/modal.js +22 -0
- package/components/modal/modal.less +14 -0
- package/components/navbar/navbar-ios.less +755 -0
- package/components/navbar/navbar-md.less +65 -0
- package/components/navbar/navbar-vars.less +74 -0
- package/components/navbar/navbar.d.ts +77 -0
- package/components/navbar/navbar.js +712 -0
- package/components/navbar/navbar.less +311 -0
- package/components/notification/notification-class.js +212 -0
- package/components/notification/notification-ios.less +55 -0
- package/components/notification/notification-md.less +87 -0
- package/components/notification/notification-rtl.css +1 -0
- package/components/notification/notification-vars.less +75 -0
- package/components/notification/notification.css +1 -0
- package/components/notification/notification.d.ts +122 -0
- package/components/notification/notification.js +33 -0
- package/components/notification/notification.less +94 -0
- package/components/page/page-ios.less +154 -0
- package/components/page/page-md.less +83 -0
- package/components/page/page-transitions/circle.less +107 -0
- package/components/page/page-transitions/cover-v.less +61 -0
- package/components/page/page-transitions/cover.less +71 -0
- package/components/page/page-transitions/dive.less +77 -0
- package/components/page/page-transitions/fade.less +53 -0
- package/components/page/page-transitions/flip.less +91 -0
- package/components/page/page-transitions/parallax.less +75 -0
- package/components/page/page-transitions/push.less +75 -0
- package/components/page/page-vars.less +47 -0
- package/components/page/page.d.ts +14 -0
- package/components/page/page.js +3 -0
- package/components/page/page.less +204 -0
- package/components/panel/panel-class.js +556 -0
- package/components/panel/panel-ios.less +2 -0
- package/components/panel/panel-md.less +11 -0
- package/components/panel/panel-rtl.css +3 -0
- package/components/panel/panel-vars.less +24 -0
- package/components/panel/panel.css +3 -0
- package/components/panel/panel.d.ts +198 -0
- package/components/panel/panel.js +189 -0
- package/components/panel/panel.less +403 -0
- package/components/panel/resizable-panel.js +160 -0
- package/components/panel/swipe-panel.js +311 -0
- package/components/photo-browser/photo-browser-class.js +734 -0
- package/components/photo-browser/photo-browser-ios.less +2 -0
- package/components/photo-browser/photo-browser-md.less +2 -0
- package/components/photo-browser/photo-browser-rtl.css +1 -0
- package/components/photo-browser/photo-browser-vars.less +16 -0
- package/components/photo-browser/photo-browser.css +1 -0
- package/components/photo-browser/photo-browser.d.ts +204 -0
- package/components/photo-browser/photo-browser.js +73 -0
- package/components/photo-browser/photo-browser.less +358 -0
- package/components/picker/picker-class.js +588 -0
- package/components/picker/picker-column.js +121 -0
- package/components/picker/picker-ios.less +12 -0
- package/components/picker/picker-md.less +8 -0
- package/components/picker/picker-rtl.css +1 -0
- package/components/picker/picker-vars.less +35 -0
- package/components/picker/picker.css +1 -0
- package/components/picker/picker.d.ts +209 -0
- package/components/picker/picker.js +59 -0
- package/components/picker/picker.less +180 -0
- package/components/pie-chart/pie-chart-class.js +250 -0
- package/components/pie-chart/pie-chart-ios.less +2 -0
- package/components/pie-chart/pie-chart-md.less +2 -0
- package/components/pie-chart/pie-chart-rtl.css +1 -0
- package/components/pie-chart/pie-chart.css +1 -0
- package/components/pie-chart/pie-chart.d.ts +99 -0
- package/components/pie-chart/pie-chart.js +32 -0
- package/components/pie-chart/pie-chart.less +43 -0
- package/components/popover/popover-class.js +293 -0
- package/components/popover/popover-ios.less +6 -0
- package/components/popover/popover-md.less +41 -0
- package/components/popover/popover-rtl.css +1 -0
- package/components/popover/popover-vars.less +25 -0
- package/components/popover/popover.css +1 -0
- package/components/popover/popover.d.ts +137 -0
- package/components/popover/popover.js +75 -0
- package/components/popover/popover.less +168 -0
- package/components/popup/popup-class.js +329 -0
- package/components/popup/popup-ios.less +2 -0
- package/components/popup/popup-md.less +2 -0
- package/components/popup/popup-rtl.css +1 -0
- package/components/popup/popup-vars.less +21 -0
- package/components/popup/popup.css +1 -0
- package/components/popup/popup.d.ts +143 -0
- package/components/popup/popup.js +46 -0
- package/components/popup/popup.less +204 -0
- package/components/preloader/preloader-ios.less +57 -0
- package/components/preloader/preloader-md.less +114 -0
- package/components/preloader/preloader-rtl.css +1 -0
- package/components/preloader/preloader-vars.less +16 -0
- package/components/preloader/preloader.css +1 -0
- package/components/preloader/preloader.d.ts +26 -0
- package/components/preloader/preloader.js +106 -0
- package/components/preloader/preloader.less +60 -0
- package/components/progressbar/progressbar-ios.less +59 -0
- package/components/progressbar/progressbar-md.less +141 -0
- package/components/progressbar/progressbar-rtl.css +1 -0
- package/components/progressbar/progressbar-vars.less +22 -0
- package/components/progressbar/progressbar.css +1 -0
- package/components/progressbar/progressbar.d.ts +31 -0
- package/components/progressbar/progressbar.js +150 -0
- package/components/progressbar/progressbar.less +111 -0
- package/components/pull-to-refresh/pull-to-refresh-class.js +512 -0
- package/components/pull-to-refresh/pull-to-refresh-ios.less +88 -0
- package/components/pull-to-refresh/pull-to-refresh-md.less +129 -0
- package/components/pull-to-refresh/pull-to-refresh-rtl.css +1 -0
- package/components/pull-to-refresh/pull-to-refresh-vars.less +14 -0
- package/components/pull-to-refresh/pull-to-refresh.css +1 -0
- package/components/pull-to-refresh/pull-to-refresh.d.ts +103 -0
- package/components/pull-to-refresh/pull-to-refresh.js +62 -0
- package/components/pull-to-refresh/pull-to-refresh.less +38 -0
- package/components/radio/radio-ios.less +61 -0
- package/components/radio/radio-md.less +64 -0
- package/components/radio/radio-rtl.css +1 -0
- package/components/radio/radio-vars.less +24 -0
- package/components/radio/radio.css +1 -0
- package/components/radio/radio.d.ts +14 -0
- package/components/radio/radio.js +3 -0
- package/components/radio/radio.less +64 -0
- package/components/range/range-class.js +577 -0
- package/components/range/range-ios.less +9 -0
- package/components/range/range-md.less +41 -0
- package/components/range/range-rtl.css +1 -0
- package/components/range/range-vars.less +61 -0
- package/components/range/range.css +1 -0
- package/components/range/range.d.ts +143 -0
- package/components/range/range.js +75 -0
- package/components/range/range.less +235 -0
- package/components/searchbar/remove-diacritics.js +271 -0
- package/components/searchbar/searchbar-class.js +592 -0
- package/components/searchbar/searchbar-ios.less +107 -0
- package/components/searchbar/searchbar-md.less +147 -0
- package/components/searchbar/searchbar-rtl.css +1 -0
- package/components/searchbar/searchbar-vars.less +77 -0
- package/components/searchbar/searchbar.css +1 -0
- package/components/searchbar/searchbar.d.ts +161 -0
- package/components/searchbar/searchbar.js +122 -0
- package/components/searchbar/searchbar.less +322 -0
- package/components/sheet/sheet-class.js +673 -0
- package/components/sheet/sheet-ios.less +2 -0
- package/components/sheet/sheet-md.less +9 -0
- package/components/sheet/sheet-rtl.css +1 -0
- package/components/sheet/sheet-vars.less +27 -0
- package/components/sheet/sheet.css +1 -0
- package/components/sheet/sheet.d.ts +170 -0
- package/components/sheet/sheet.js +76 -0
- package/components/sheet/sheet.less +196 -0
- package/components/skeleton/skeleton-ios.less +2 -0
- package/components/skeleton/skeleton-md.less +2 -0
- package/components/skeleton/skeleton-rtl.css +1 -0
- package/components/skeleton/skeleton-vars.less +8 -0
- package/components/skeleton/skeleton.css +1 -0
- package/components/skeleton/skeleton.d.ts +14 -0
- package/components/skeleton/skeleton.js +3 -0
- package/components/skeleton/skeleton.less +11 -0
- package/components/smart-select/smart-select-class.js +874 -0
- package/components/smart-select/smart-select-ios.less +2 -0
- package/components/smart-select/smart-select-md.less +2 -0
- package/components/smart-select/smart-select-rtl.css +1 -0
- package/components/smart-select/smart-select-vars.less +6 -0
- package/components/smart-select/smart-select.css +1 -0
- package/components/smart-select/smart-select.d.ts +204 -0
- package/components/smart-select/smart-select.js +138 -0
- package/components/smart-select/smart-select.less +42 -0
- package/components/sortable/sortable-ios.less +7 -0
- package/components/sortable/sortable-md.less +7 -0
- package/components/sortable/sortable-rtl.css +1 -0
- package/components/sortable/sortable-vars.less +22 -0
- package/components/sortable/sortable.css +1 -0
- package/components/sortable/sortable.d.ts +50 -0
- package/components/sortable/sortable.js +286 -0
- package/components/sortable/sortable.less +133 -0
- package/components/statusbar/statusbar-ios.less +2 -0
- package/components/statusbar/statusbar-md.less +2 -0
- package/components/statusbar/statusbar.d.ts +54 -0
- package/components/statusbar/statusbar.js +190 -0
- package/components/statusbar/statusbar.less +7 -0
- package/components/stepper/stepper-class.js +403 -0
- package/components/stepper/stepper-ios.less +36 -0
- package/components/stepper/stepper-md.less +16 -0
- package/components/stepper/stepper-rtl.css +1 -0
- package/components/stepper/stepper-vars.less +40 -0
- package/components/stepper/stepper.css +1 -0
- package/components/stepper/stepper.d.ts +121 -0
- package/components/stepper/stepper.js +82 -0
- package/components/stepper/stepper.less +178 -0
- package/components/subnavbar/subnavbar-ios.less +51 -0
- package/components/subnavbar/subnavbar-md.less +47 -0
- package/components/subnavbar/subnavbar-vars.less +36 -0
- package/components/subnavbar/subnavbar.d.ts +11 -0
- package/components/subnavbar/subnavbar.js +17 -0
- package/components/subnavbar/subnavbar.less +128 -0
- package/components/swipeout/swipeout-ios.less +2 -0
- package/components/swipeout/swipeout-md.less +2 -0
- package/components/swipeout/swipeout-rtl.css +1 -0
- package/components/swipeout/swipeout-vars.less +24 -0
- package/components/swipeout/swipeout.css +1 -0
- package/components/swipeout/swipeout.d.ts +68 -0
- package/components/swipeout/swipeout.js +513 -0
- package/components/swipeout/swipeout.less +109 -0
- package/components/swiper/swiper-ios.less +2 -0
- package/components/swiper/swiper-md.less +2 -0
- package/components/swiper/swiper-rtl.css +1 -0
- package/components/swiper/swiper.css +1 -0
- package/components/swiper/swiper.d.ts +25 -0
- package/components/swiper/swiper.js +141 -0
- package/components/swiper/swiper.less +5 -0
- package/components/tabs/tabs-ios.less +2 -0
- package/components/tabs/tabs-md.less +2 -0
- package/components/tabs/tabs-rtl.css +1 -0
- package/components/tabs/tabs.css +1 -0
- package/components/tabs/tabs.d.ts +39 -0
- package/components/tabs/tabs.js +243 -0
- package/components/tabs/tabs.less +45 -0
- package/components/text-editor/text-editor-class.js +516 -0
- package/components/text-editor/text-editor-ios.less +9 -0
- package/components/text-editor/text-editor-md.less +11 -0
- package/components/text-editor/text-editor-rtl.css +1 -0
- package/components/text-editor/text-editor-vars.less +51 -0
- package/components/text-editor/text-editor.css +1 -0
- package/components/text-editor/text-editor.d.ts +166 -0
- package/components/text-editor/text-editor.js +81 -0
- package/components/text-editor/text-editor.less +153 -0
- package/components/timeline/timeline-ios.less +11 -0
- package/components/timeline/timeline-md.less +7 -0
- package/components/timeline/timeline-rtl.css +1 -0
- package/components/timeline/timeline-vars.less +64 -0
- package/components/timeline/timeline.css +1 -0
- package/components/timeline/timeline.d.ts +14 -0
- package/components/timeline/timeline.js +3 -0
- package/components/timeline/timeline.less +413 -0
- package/components/toast/toast-class.js +105 -0
- package/components/toast/toast-ios.less +81 -0
- package/components/toast/toast-md.less +72 -0
- package/components/toast/toast-rtl.css +1 -0
- package/components/toast/toast-vars.less +24 -0
- package/components/toast/toast.css +1 -0
- package/components/toast/toast.d.ts +121 -0
- package/components/toast/toast.js +40 -0
- package/components/toast/toast.less +62 -0
- package/components/toggle/toggle-class.js +165 -0
- package/components/toggle/toggle-ios.less +70 -0
- package/components/toggle/toggle-md.less +44 -0
- package/components/toggle/toggle-rtl.css +1 -0
- package/components/toggle/toggle-vars.less +30 -0
- package/components/toggle/toggle.css +1 -0
- package/components/toggle/toggle.d.ts +73 -0
- package/components/toggle/toggle.js +57 -0
- package/components/toggle/toggle.less +52 -0
- package/components/toolbar/toolbar-ios.less +47 -0
- package/components/toolbar/toolbar-md.less +77 -0
- package/components/toolbar/toolbar-vars.less +71 -0
- package/components/toolbar/toolbar.d.ts +43 -0
- package/components/toolbar/toolbar.js +198 -0
- package/components/toolbar/toolbar.less +306 -0
- package/components/tooltip/tooltip-class.js +336 -0
- package/components/tooltip/tooltip-ios.less +2 -0
- package/components/tooltip/tooltip-md.less +2 -0
- package/components/tooltip/tooltip-rtl.css +1 -0
- package/components/tooltip/tooltip-vars.less +19 -0
- package/components/tooltip/tooltip.css +1 -0
- package/components/tooltip/tooltip.d.ts +105 -0
- package/components/tooltip/tooltip.js +129 -0
- package/components/tooltip/tooltip.less +39 -0
- package/components/touch-ripple/touch-ripple-class.js +85 -0
- package/components/touch-ripple/touch-ripple-ios.less +2 -0
- package/components/touch-ripple/touch-ripple-md.less +2 -0
- package/components/touch-ripple/touch-ripple-vars.less +8 -0
- package/components/touch-ripple/touch-ripple.d.ts +25 -0
- package/components/touch-ripple/touch-ripple.js +18 -0
- package/components/touch-ripple/touch-ripple.less +114 -0
- package/components/treeview/treeview-ios.less +2 -0
- package/components/treeview/treeview-md.less +2 -0
- package/components/treeview/treeview-rtl.css +1 -0
- package/components/treeview/treeview-vars.less +38 -0
- package/components/treeview/treeview.css +1 -0
- package/components/treeview/treeview.d.ts +42 -0
- package/components/treeview/treeview.js +74 -0
- package/components/treeview/treeview.less +160 -0
- package/components/typography/typography-ios.less +2 -0
- package/components/typography/typography-md.less +2 -0
- package/components/typography/typography-rtl.css +1 -0
- package/components/typography/typography-vars.less +4 -0
- package/components/typography/typography.css +1 -0
- package/components/typography/typography.d.ts +14 -0
- package/components/typography/typography.js +3 -0
- package/components/typography/typography.less +220 -0
- package/components/view/resizable-view.js +125 -0
- package/components/view/view-class.js +206 -0
- package/components/view/view-ios.less +2 -0
- package/components/view/view-md.less +2 -0
- package/components/view/view.d.ts +199 -0
- package/components/view/view.js +173 -0
- package/components/view/view.less +35 -0
- package/components/virtual-list/virtual-list-class.js +583 -0
- package/components/virtual-list/virtual-list-ios.less +2 -0
- package/components/virtual-list/virtual-list-md.less +2 -0
- package/components/virtual-list/virtual-list-rtl.css +0 -0
- package/components/virtual-list/virtual-list.css +0 -0
- package/components/virtual-list/virtual-list.d.ts +142 -0
- package/components/virtual-list/virtual-list.js +17 -0
- package/components/virtual-list/virtual-list.less +7 -0
- package/framework7-bundle-rtl.css +19821 -0
- package/framework7-bundle-rtl.min.css +19 -0
- package/framework7-bundle.css +19802 -0
- package/framework7-bundle.esm.js +93 -0
- package/framework7-bundle.js +48416 -0
- package/framework7-bundle.js.map +1 -0
- package/framework7-bundle.less +92 -0
- package/framework7-bundle.min.css +19 -0
- package/framework7-bundle.min.js +14 -0
- package/framework7-bundle.min.js.map +1 -0
- package/framework7-lite-bundle.esm.js +86 -0
- package/framework7-lite.esm.js +37 -0
- package/framework7-lite.js +31 -0
- package/framework7-rtl.css +5252 -0
- package/framework7-rtl.min.css +17 -0
- package/framework7-types.d.ts +336 -0
- package/framework7.css +5245 -0
- package/framework7.d.ts +322 -0
- package/framework7.esm.js +41 -0
- package/framework7.js +42 -0
- package/framework7.less +41 -0
- package/framework7.min.css +17 -0
- package/less/mixins.less +281 -0
- package/less/plugin.js +15 -0
- package/less/vars.less +7 -0
- package/modules/clicks/clicks.d.ts +19 -0
- package/modules/clicks/clicks.js +94 -0
- package/modules/component/$h.js +15 -0
- package/modules/component/$jsx.js +17 -0
- package/modules/component/component-class.js +517 -0
- package/modules/component/component.d.ts +111 -0
- package/modules/component/component.js +44 -0
- package/modules/component/custom-components.js +1 -0
- package/modules/component/eventslisteners.js +74 -0
- package/modules/component/parse-component.js +79 -0
- package/modules/component/patch.js +8 -0
- package/modules/component/snabbdom/h.d.ts +10 -0
- package/modules/component/snabbdom/h.js +50 -0
- package/modules/component/snabbdom/helpers/attachto.d.ts +9 -0
- package/modules/component/snabbdom/helpers/attachto.js +49 -0
- package/modules/component/snabbdom/hooks.d.ts +23 -0
- package/modules/component/snabbdom/hooks.js +0 -0
- package/modules/component/snabbdom/htmldomapi.d.ts +19 -0
- package/modules/component/snabbdom/htmldomapi.js +67 -0
- package/modules/component/snabbdom/is.d.ts +2 -0
- package/modules/component/snabbdom/is.js +4 -0
- package/modules/component/snabbdom/modules/attributes.d.ts +4 -0
- package/modules/component/snabbdom/modules/attributes.js +51 -0
- package/modules/component/snabbdom/modules/class.d.ts +4 -0
- package/modules/component/snabbdom/modules/class.js +27 -0
- package/modules/component/snabbdom/modules/dataset.d.ts +4 -0
- package/modules/component/snabbdom/modules/dataset.js +37 -0
- package/modules/component/snabbdom/modules/eventlisteners.d.ts +8 -0
- package/modules/component/snabbdom/modules/eventlisteners.js +93 -0
- package/modules/component/snabbdom/modules/hero.d.ts +6 -0
- package/modules/component/snabbdom/modules/hero.js +147 -0
- package/modules/component/snabbdom/modules/module.d.ts +9 -0
- package/modules/component/snabbdom/modules/module.js +0 -0
- package/modules/component/snabbdom/modules/props.d.ts +4 -0
- package/modules/component/snabbdom/modules/props.js +29 -0
- package/modules/component/snabbdom/modules/style.d.ts +7 -0
- package/modules/component/snabbdom/modules/style.js +93 -0
- package/modules/component/snabbdom/snabbdom.bundle.d.ts +5 -0
- package/modules/component/snabbdom/snabbdom.bundle.js +13 -0
- package/modules/component/snabbdom/snabbdom.d.ts +6 -0
- package/modules/component/snabbdom/snabbdom.js +282 -0
- package/modules/component/snabbdom/thunk.d.ts +14 -0
- package/modules/component/snabbdom/thunk.js +50 -0
- package/modules/component/snabbdom/tovnode.d.ts +4 -0
- package/modules/component/snabbdom/tovnode.js +40 -0
- package/modules/component/snabbdom/vnode.d.ts +36 -0
- package/modules/component/snabbdom/vnode.js +12 -0
- package/modules/component/vdom.js +319 -0
- package/modules/demo-module.js +44 -0
- package/modules/device/device.d.ts +14 -0
- package/modules/device/device.js +44 -0
- package/modules/history/history.js +12 -0
- package/modules/resize/resize.d.ts +25 -0
- package/modules/resize/resize.js +62 -0
- package/modules/router/app-router-check.js +5 -0
- package/modules/router/async-component.js +27 -0
- package/modules/router/back.js +723 -0
- package/modules/router/clear-previous-history.js +31 -0
- package/modules/router/component-loader.js +200 -0
- package/modules/router/modal.js +223 -0
- package/modules/router/navigate.js +814 -0
- package/modules/router/process-route-queue.js +66 -0
- package/modules/router/redirect.js +38 -0
- package/modules/router/router-class.js +1268 -0
- package/modules/router/router.d.ts +354 -0
- package/modules/router/router.js +26 -0
- package/modules/router/swipe-back.js +589 -0
- package/modules/router/tab.js +230 -0
- package/modules/service-worker/service-worker.d.ts +38 -0
- package/modules/service-worker/service-worker.js +86 -0
- package/modules/store/create-store.js +138 -0
- package/modules/store/store.d.ts +40 -0
- package/modules/store/store.js +11 -0
- package/modules/support/support.d.ts +15 -0
- package/modules/support/support.js +7 -0
- package/modules/touch/touch.d.ts +60 -0
- package/modules/touch/touch.js +482 -0
- package/modules/utils/utils.d.ts +15 -0
- package/modules/utils/utils.js +10 -0
- package/package.json +458 -0
- package/shared/$jsx.js +21 -0
- package/shared/class.js +146 -0
- package/shared/constructor-methods.js +52 -0
- package/shared/dom7.js +7 -0
- package/shared/events-class.js +95 -0
- package/shared/get-device.d.ts +52 -0
- package/shared/get-device.js +147 -0
- package/shared/get-support.d.ts +12 -0
- package/shared/get-support.js +35 -0
- package/shared/history.js +171 -0
- package/shared/material-color-utils.js +1377 -0
- package/shared/material-colors.js +75 -0
- package/shared/modal-methods.js +80 -0
- package/shared/utils.d.ts +88 -0
- package/shared/utils.js +535 -0
|
@@ -0,0 +1,718 @@
|
|
|
1
|
+
/* === List View === */
|
|
2
|
+
@import './list-vars.less';
|
|
3
|
+
:root {
|
|
4
|
+
--f7-list-chevron-icon-left: 'chevron_left';
|
|
5
|
+
--f7-list-chevron-icon-right: 'chevron_right';
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.list {
|
|
9
|
+
position: relative;
|
|
10
|
+
z-index: 1;
|
|
11
|
+
font-size: var(--f7-list-font-size);
|
|
12
|
+
margin: var(--f7-list-margin-vertical) 0;
|
|
13
|
+
.item-row() {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
}
|
|
18
|
+
.item-cell() {
|
|
19
|
+
display: block;
|
|
20
|
+
align-self: center;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-strong ul,
|
|
25
|
+
.ios &-strong-ios ul,
|
|
26
|
+
.md &-strong-md ul {
|
|
27
|
+
background: var(--f7-list-strong-bg-color);
|
|
28
|
+
}
|
|
29
|
+
&-outline ul,
|
|
30
|
+
.ios &-outline-ios ul,
|
|
31
|
+
.md &-outline-md ul {
|
|
32
|
+
.hairline(top, var(--f7-list-outline-border-color));
|
|
33
|
+
.hairline(bottom, var(--f7-list-outline-border-color));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-outline.inset,
|
|
37
|
+
.ios &-outline-ios.inset,
|
|
38
|
+
.ios &-outline-ios.inset-ios,
|
|
39
|
+
.md &-outline-md.inset,
|
|
40
|
+
.md &-outline-md.inset-md {
|
|
41
|
+
border: 1px solid var(--f7-list-outline-inset-border-color);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
ul {
|
|
45
|
+
list-style: none;
|
|
46
|
+
margin: 0;
|
|
47
|
+
padding: 0;
|
|
48
|
+
position: relative;
|
|
49
|
+
|
|
50
|
+
ul {
|
|
51
|
+
.ltr({
|
|
52
|
+
padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-list-in-list-padding-left));
|
|
53
|
+
});
|
|
54
|
+
.rtl({
|
|
55
|
+
padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-list-in-list-padding-left));
|
|
56
|
+
});
|
|
57
|
+
.hairline-remove-top-bottom();
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
li {
|
|
61
|
+
position: relative;
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.item-media {
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-shrink: 0;
|
|
68
|
+
flex-wrap: nowrap;
|
|
69
|
+
align-items: center;
|
|
70
|
+
box-sizing: border-box;
|
|
71
|
+
padding-bottom: var(--f7-list-item-padding-vertical);
|
|
72
|
+
padding-top: var(--f7-list-item-padding-vertical);
|
|
73
|
+
position: relative;
|
|
74
|
+
+ .item-inner {
|
|
75
|
+
.ltr({
|
|
76
|
+
margin-left: var(--f7-list-item-media-margin);
|
|
77
|
+
});
|
|
78
|
+
.rtl({
|
|
79
|
+
margin-right: var(--f7-list-item-media-margin);
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.item-media {
|
|
84
|
+
i + i,
|
|
85
|
+
i + img {
|
|
86
|
+
.ltr({
|
|
87
|
+
margin-left: var(--f7-list-item-media-icons-margin);
|
|
88
|
+
});
|
|
89
|
+
.rtl({
|
|
90
|
+
margin-right: var(--f7-list-item-media-icons-margin);
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
.item-after {
|
|
95
|
+
.ltr({
|
|
96
|
+
padding-left: var(--f7-list-item-after-padding);
|
|
97
|
+
});
|
|
98
|
+
.rtl({
|
|
99
|
+
padding-right: var(--f7-list-item-after-padding);
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
.item-inner {
|
|
103
|
+
position: relative;
|
|
104
|
+
width: 100%;
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
min-width: 0;
|
|
107
|
+
.item-row();
|
|
108
|
+
align-items: center;
|
|
109
|
+
align-self: stretch;
|
|
110
|
+
padding-top: var(--f7-list-item-padding-vertical);
|
|
111
|
+
padding-bottom: var(--f7-list-item-padding-vertical);
|
|
112
|
+
min-height: calc(var(--f7-list-item-min-height));
|
|
113
|
+
.ltr({
|
|
114
|
+
padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
115
|
+
});
|
|
116
|
+
.rtl({
|
|
117
|
+
padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
.item-title {
|
|
121
|
+
min-width: 0;
|
|
122
|
+
flex-shrink: 1;
|
|
123
|
+
white-space: var(--f7-list-item-title-white-space);
|
|
124
|
+
position: relative;
|
|
125
|
+
overflow: hidden;
|
|
126
|
+
text-overflow: ellipsis;
|
|
127
|
+
max-width: 100%;
|
|
128
|
+
font-size: var(--f7-list-item-title-font-size);
|
|
129
|
+
font-weight: var(--f7-list-item-title-font-weight);
|
|
130
|
+
color: var(--f7-list-item-title-text-color);
|
|
131
|
+
line-height: var(--f7-list-item-title-line-height);
|
|
132
|
+
}
|
|
133
|
+
.item-after {
|
|
134
|
+
white-space: nowrap;
|
|
135
|
+
flex-shrink: 0;
|
|
136
|
+
display: flex;
|
|
137
|
+
font-size: var(--f7-list-item-after-font-size);
|
|
138
|
+
font-weight: var(--f7-list-item-after-font-weight);
|
|
139
|
+
color: var(--f7-list-item-after-text-color);
|
|
140
|
+
line-height: var(--f7-list-item-after-line-height);
|
|
141
|
+
.ltr({
|
|
142
|
+
margin-left: auto;
|
|
143
|
+
});
|
|
144
|
+
.rtl({
|
|
145
|
+
margin-right: auto;
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
.item-header,
|
|
149
|
+
.item-footer {
|
|
150
|
+
white-space: normal;
|
|
151
|
+
}
|
|
152
|
+
.item-header {
|
|
153
|
+
color: var(--f7-list-item-header-text-color);
|
|
154
|
+
font-size: var(--f7-list-item-header-font-size);
|
|
155
|
+
font-weight: var(--f7-list-item-header-font-weight);
|
|
156
|
+
line-height: var(--f7-list-item-header-line-height);
|
|
157
|
+
}
|
|
158
|
+
.item-footer {
|
|
159
|
+
color: var(--f7-list-item-footer-text-color);
|
|
160
|
+
font-size: var(--f7-list-item-footer-font-size);
|
|
161
|
+
font-weight: var(--f7-list-item-footer-font-weight);
|
|
162
|
+
line-height: var(--f7-list-item-footer-line-height);
|
|
163
|
+
}
|
|
164
|
+
.item-link,
|
|
165
|
+
label.item-content,
|
|
166
|
+
.list-button {
|
|
167
|
+
transition-duration: 300ms;
|
|
168
|
+
transition-property: background-color, color;
|
|
169
|
+
position: relative;
|
|
170
|
+
overflow: hidden;
|
|
171
|
+
z-index: 0;
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
}
|
|
174
|
+
.item-link,
|
|
175
|
+
.list-button {
|
|
176
|
+
display: block;
|
|
177
|
+
}
|
|
178
|
+
.item-link,
|
|
179
|
+
label.item-content {
|
|
180
|
+
color: inherit;
|
|
181
|
+
&.active-state {
|
|
182
|
+
background-color: var(--f7-list-link-pressed-bg-color);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
.item-link {
|
|
186
|
+
.item-inner {
|
|
187
|
+
.ltr({
|
|
188
|
+
padding-right: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
189
|
+
});
|
|
190
|
+
.rtl({
|
|
191
|
+
padding-left: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.item-content {
|
|
197
|
+
.item-row();
|
|
198
|
+
box-sizing: border-box;
|
|
199
|
+
align-items: center;
|
|
200
|
+
min-height: calc(var(--f7-list-item-min-height));
|
|
201
|
+
.ltr({
|
|
202
|
+
padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
203
|
+
});
|
|
204
|
+
.rtl({
|
|
205
|
+
padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.item-subtitle {
|
|
210
|
+
position: relative;
|
|
211
|
+
overflow: hidden;
|
|
212
|
+
white-space: nowrap;
|
|
213
|
+
max-width: 100%;
|
|
214
|
+
text-overflow: ellipsis;
|
|
215
|
+
font-size: var(--f7-list-item-subtitle-font-size);
|
|
216
|
+
font-weight: var(--f7-list-item-subtitle-font-weight);
|
|
217
|
+
color: var(--f7-list-item-subtitle-text-color);
|
|
218
|
+
line-height: var(--f7-list-item-subtitle-line-height);
|
|
219
|
+
}
|
|
220
|
+
.item-text {
|
|
221
|
+
position: relative;
|
|
222
|
+
overflow: hidden;
|
|
223
|
+
text-overflow: ellipsis;
|
|
224
|
+
/* autoprefixer: ignore next */
|
|
225
|
+
-webkit-line-clamp: var(--f7-list-item-text-max-lines);
|
|
226
|
+
/* autoprefixer: ignore next */
|
|
227
|
+
-webkit-box-orient: vertical;
|
|
228
|
+
display: -webkit-box;
|
|
229
|
+
font-size: var(--f7-list-item-text-font-size);
|
|
230
|
+
font-weight: var(--f7-list-item-text-font-weight);
|
|
231
|
+
color: var(--f7-list-item-text-text-color);
|
|
232
|
+
line-height: var(--f7-list-item-text-line-height);
|
|
233
|
+
max-height: calc(var(--f7-list-item-text-line-height) * var(--f7-list-item-text-max-lines));
|
|
234
|
+
}
|
|
235
|
+
.item-title-row {
|
|
236
|
+
position: relative;
|
|
237
|
+
.item-row();
|
|
238
|
+
.item-after {
|
|
239
|
+
align-self: center;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// Last-childs
|
|
244
|
+
li {
|
|
245
|
+
&:last-child {
|
|
246
|
+
.list-button {
|
|
247
|
+
.hairline-remove(bottom);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
&:last-child,
|
|
251
|
+
&:last-child li:last-child {
|
|
252
|
+
> .item-inner,
|
|
253
|
+
> .item-content > .item-inner,
|
|
254
|
+
> .swipeout-content > .item-content > .item-inner,
|
|
255
|
+
> .item-link > .item-content > .item-inner {
|
|
256
|
+
.hairline-remove(bottom);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
li:last-child,
|
|
260
|
+
&:last-child li {
|
|
261
|
+
.item-inner {
|
|
262
|
+
.hairline(bottom, var(--f7-list-item-border-color));
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
.list-button {
|
|
268
|
+
--f7-touch-ripple-color: var(--f7-link-touch-ripple-color, rgba(var(--f7-theme-color-rgb), 0.25));
|
|
269
|
+
padding: 0 var(--f7-list-item-padding-horizontal);
|
|
270
|
+
line-height: var(--f7-list-item-min-height);
|
|
271
|
+
color: var(--f7-list-button-text-color, var(--f7-theme-color));
|
|
272
|
+
font-size: var(--f7-list-button-font-size);
|
|
273
|
+
font-weight: var(--f7-list-button-font-weight);
|
|
274
|
+
text-align: var(--f7-list-button-text-align);
|
|
275
|
+
|
|
276
|
+
.ios &.active-state {
|
|
277
|
+
background-color: var(--f7-list-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), 0.15));
|
|
278
|
+
}
|
|
279
|
+
.md &.active-state {
|
|
280
|
+
background-color: var(--f7-list-button-pressed-bg-color, transparent);
|
|
281
|
+
}
|
|
282
|
+
.list-dividers &,
|
|
283
|
+
.ios .list-dividers-ios &,
|
|
284
|
+
.md .list-dividers-md & {
|
|
285
|
+
.hairline(bottom, var(--f7-list-button-border-color));
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
.list-button[class*='color-'] {
|
|
289
|
+
--f7-list-button-text-color: var(--f7-theme-color);
|
|
290
|
+
}
|
|
291
|
+
.simple-list {
|
|
292
|
+
li {
|
|
293
|
+
position: relative;
|
|
294
|
+
white-space: nowrap;
|
|
295
|
+
text-overflow: ellipsis;
|
|
296
|
+
max-width: 100%;
|
|
297
|
+
box-sizing: border-box;
|
|
298
|
+
display: flex;
|
|
299
|
+
justify-content: space-between;
|
|
300
|
+
align-items: center;
|
|
301
|
+
align-content: center;
|
|
302
|
+
line-height: var(--f7-list-item-min-height);
|
|
303
|
+
height: var(--f7-list-item-min-height);
|
|
304
|
+
padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
305
|
+
padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
306
|
+
}
|
|
307
|
+
li:after {
|
|
308
|
+
left: var(--f7-list-item-padding-horizontal);
|
|
309
|
+
right: 0;
|
|
310
|
+
width: auto;
|
|
311
|
+
.ltr({
|
|
312
|
+
left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
313
|
+
right: 0;
|
|
314
|
+
});
|
|
315
|
+
.rtl({
|
|
316
|
+
right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
317
|
+
left: 0;
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
li:last-child {
|
|
321
|
+
.hairline-remove(bottom);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
.links-list {
|
|
325
|
+
li {
|
|
326
|
+
z-index: 1;
|
|
327
|
+
}
|
|
328
|
+
a {
|
|
329
|
+
transition-duration: 300ms;
|
|
330
|
+
transition-property: background-color;
|
|
331
|
+
display: block;
|
|
332
|
+
position: relative;
|
|
333
|
+
overflow: hidden;
|
|
334
|
+
display: flex;
|
|
335
|
+
align-items: center;
|
|
336
|
+
align-content: center;
|
|
337
|
+
justify-content: space-between;
|
|
338
|
+
box-sizing: border-box;
|
|
339
|
+
white-space: nowrap;
|
|
340
|
+
text-overflow: ellipsis;
|
|
341
|
+
max-width: 100%;
|
|
342
|
+
height: var(--f7-list-item-min-height);
|
|
343
|
+
color: inherit;
|
|
344
|
+
.ripple-wave {
|
|
345
|
+
z-index: 0;
|
|
346
|
+
}
|
|
347
|
+
&:after {
|
|
348
|
+
width: auto;
|
|
349
|
+
}
|
|
350
|
+
&.active-state {
|
|
351
|
+
background-color: var(--f7-list-link-pressed-bg-color);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
.ltr({
|
|
355
|
+
a {
|
|
356
|
+
padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
357
|
+
padding-right: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
358
|
+
}
|
|
359
|
+
a:after {
|
|
360
|
+
left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
361
|
+
right: 0;
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
.rtl({
|
|
365
|
+
a {
|
|
366
|
+
padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
367
|
+
padding-left: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
368
|
+
}
|
|
369
|
+
a:after {
|
|
370
|
+
right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
371
|
+
left: 0;
|
|
372
|
+
}
|
|
373
|
+
});
|
|
374
|
+
li:last-child a {
|
|
375
|
+
.hairline-remove(bottom);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
.list-dividers,
|
|
379
|
+
.ios .list-dividers-ios,
|
|
380
|
+
.md .list-dividers-md {
|
|
381
|
+
&.simple-list li,
|
|
382
|
+
&.links-list a,
|
|
383
|
+
.item-inner {
|
|
384
|
+
.hairline(bottom, var(--f7-list-item-border-color));
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.md .media-list:not(.inset):not(.inset-md):not(.menu-list) .item-content,
|
|
389
|
+
.md .media-list:not(.inset):not(.inset-md):not(.menu-list) li > .item-link,
|
|
390
|
+
.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item .item-content,
|
|
391
|
+
.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item > .item-link {
|
|
392
|
+
margin-left: calc(var(--f7-list-item-padding-horizontal) / 2);
|
|
393
|
+
margin-right: calc(var(--f7-list-item-padding-horizontal) / 2);
|
|
394
|
+
border-radius: 16px;
|
|
395
|
+
}
|
|
396
|
+
.md .media-list:not(.inset):not(.inset-md):not(.menu-list) li > .item-link > .item-content,
|
|
397
|
+
.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item > .item-link > .item-content {
|
|
398
|
+
margin-left: 0;
|
|
399
|
+
margin-right: 0;
|
|
400
|
+
}
|
|
401
|
+
.md .media-list:not(.inset):not(.inset-md):not(.menu-list) .item-content,
|
|
402
|
+
.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item .item-content {
|
|
403
|
+
.ltr({
|
|
404
|
+
padding-left: calc(var(--f7-list-item-padding-horizontal) / 2 + var(--f7-safe-area-left));
|
|
405
|
+
});
|
|
406
|
+
.rtl({
|
|
407
|
+
padding-right: calc(var(--f7-list-item-padding-horizontal) / 2 + var(--f7-safe-area-right));
|
|
408
|
+
});
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.media-list,
|
|
412
|
+
li.media-item {
|
|
413
|
+
--f7-list-item-padding-vertical: var(--f7-list-media-item-padding-vertical);
|
|
414
|
+
--f7-list-item-padding-horizontal: var(--f7-list-media-item-padding-horizontal);
|
|
415
|
+
.item-title {
|
|
416
|
+
font-weight: var(
|
|
417
|
+
--f7-list-media-item-title-font-weight,
|
|
418
|
+
var(--f7-list-item-title-font-weight, inherit)
|
|
419
|
+
);
|
|
420
|
+
}
|
|
421
|
+
.item-inner {
|
|
422
|
+
display: block;
|
|
423
|
+
align-self: stretch;
|
|
424
|
+
}
|
|
425
|
+
.item-media {
|
|
426
|
+
img {
|
|
427
|
+
display: block;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
.ltr({
|
|
431
|
+
.item-link .item-inner {
|
|
432
|
+
padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
433
|
+
}
|
|
434
|
+
.item-link .item-title-row {
|
|
435
|
+
padding-right: calc(var(--f7-list-chevron-icon-area));
|
|
436
|
+
}
|
|
437
|
+
});
|
|
438
|
+
.rtl({
|
|
439
|
+
.item-link .item-inner {
|
|
440
|
+
padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
441
|
+
}
|
|
442
|
+
.item-link .item-title-row {
|
|
443
|
+
padding-left: calc(var(--f7-list-chevron-icon-area));
|
|
444
|
+
}
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
.media-list.chevron-center .item-link .item-inner,
|
|
448
|
+
.media-list .chevron-center .item-link .item-inner,
|
|
449
|
+
.media-list .item-link.chevron-center .item-inner,
|
|
450
|
+
li.media-item.chevron-center .item-link .item-inner,
|
|
451
|
+
li.media-item .item-link.chevron-center .item-inner,
|
|
452
|
+
li.media-item .chevron-center .item-link .item-inner {
|
|
453
|
+
.ltr({
|
|
454
|
+
padding-right: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
455
|
+
});
|
|
456
|
+
.rtl({
|
|
457
|
+
padding-left: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
.media-list.chevron-center .item-title-row,
|
|
461
|
+
.media-list .chevron-center .item-title-row,
|
|
462
|
+
li.media-item.chevron-center .item-title-row,
|
|
463
|
+
li.media-item .chevron-center .item-title-row {
|
|
464
|
+
.ltr({
|
|
465
|
+
padding-right: 0;
|
|
466
|
+
});
|
|
467
|
+
.rtl({
|
|
468
|
+
padding-left: 0;
|
|
469
|
+
});
|
|
470
|
+
}
|
|
471
|
+
.list .item-link .item-inner,
|
|
472
|
+
.links-list a,
|
|
473
|
+
.media-list .item-link .item-title-row,
|
|
474
|
+
li.media-item .item-link .item-title-row,
|
|
475
|
+
.media-list.chevron-center .item-link .item-inner,
|
|
476
|
+
.media-list .chevron-center .item-link .item-inner,
|
|
477
|
+
.media-list .item-link.chevron-center .item-inner,
|
|
478
|
+
li.media-item.chevron-center .item-link .item-inner,
|
|
479
|
+
li.media-item .chevron-center .item-link .item-inner,
|
|
480
|
+
li.media-item .item-link.chevron-center .item-inner {
|
|
481
|
+
&:before {
|
|
482
|
+
.core-icons-font();
|
|
483
|
+
position: absolute;
|
|
484
|
+
top: 50%;
|
|
485
|
+
width: 8px;
|
|
486
|
+
height: 14px;
|
|
487
|
+
margin-top: -7px;
|
|
488
|
+
font-size: var(--f7-list-chevron-icon-font-size);
|
|
489
|
+
line-height: 14px;
|
|
490
|
+
color: var(--f7-list-chevron-icon-color);
|
|
491
|
+
pointer-events: none;
|
|
492
|
+
.ltr({
|
|
493
|
+
right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
494
|
+
content: var(--f7-list-chevron-icon-right);
|
|
495
|
+
});
|
|
496
|
+
.rtl({
|
|
497
|
+
left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
498
|
+
content: var(--f7-list-chevron-icon-left);
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.media-list.chevron-center .item-title-row,
|
|
504
|
+
.media-list .chevron-center .item-title-row,
|
|
505
|
+
li.media-item.chevron-center .item-title-row,
|
|
506
|
+
li.media-item .chevron-center .item-title-row {
|
|
507
|
+
&:before {
|
|
508
|
+
display: none;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.media-list .item-link .item-inner,
|
|
513
|
+
li.media-item .item-link .item-inner {
|
|
514
|
+
&:before {
|
|
515
|
+
display: none;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
.media-list .item-link .item-title-row,
|
|
519
|
+
li.media-item .item-link .item-title-row {
|
|
520
|
+
&:before {
|
|
521
|
+
.ltr({
|
|
522
|
+
right: 0;
|
|
523
|
+
});
|
|
524
|
+
.rtl({
|
|
525
|
+
left: 0;
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
.list-group {
|
|
530
|
+
ul {
|
|
531
|
+
&:after,
|
|
532
|
+
&:before {
|
|
533
|
+
z-index: 25 !important;
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
+ .list-group ul {
|
|
537
|
+
.hairline-remove(top);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
li.list-group-title,
|
|
541
|
+
.list-group-title {
|
|
542
|
+
margin-top: -1px;
|
|
543
|
+
white-space: nowrap;
|
|
544
|
+
position: relative;
|
|
545
|
+
max-width: 100%;
|
|
546
|
+
text-overflow: ellipsis;
|
|
547
|
+
overflow: hidden;
|
|
548
|
+
z-index: 15;
|
|
549
|
+
padding-top: 0;
|
|
550
|
+
padding-bottom: 0;
|
|
551
|
+
padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
|
|
552
|
+
padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
|
|
553
|
+
box-sizing: border-box;
|
|
554
|
+
display: flex;
|
|
555
|
+
align-items: center;
|
|
556
|
+
align-content: center;
|
|
557
|
+
height: var(--f7-list-group-title-height);
|
|
558
|
+
color: var(--f7-list-group-title-text-color);
|
|
559
|
+
font-size: var(--f7-list-group-title-font-size);
|
|
560
|
+
font-weight: var(--f7-list-group-title-font-weight);
|
|
561
|
+
background-color: var(--f7-list-group-title-bg-color);
|
|
562
|
+
line-height: var(--f7-list-group-title-line-height);
|
|
563
|
+
.hairline(top, var(--f7-list-group-title-border-color));
|
|
564
|
+
.hairline-remove(bottom);
|
|
565
|
+
}
|
|
566
|
+
.list-group > .list-group-title,
|
|
567
|
+
.list-group > ul > .list-group-title {
|
|
568
|
+
top: 0;
|
|
569
|
+
margin-top: 0;
|
|
570
|
+
position: sticky;
|
|
571
|
+
z-index: 20;
|
|
572
|
+
.page-with-navbar-large & {
|
|
573
|
+
top: calc(-1 * var(--f7-navbar-large-title-height));
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.list.inset,
|
|
578
|
+
.ios .list.inset-ios,
|
|
579
|
+
.md .list.inset-md {
|
|
580
|
+
margin-left: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));
|
|
581
|
+
margin-right: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));
|
|
582
|
+
border-radius: var(--f7-list-inset-border-radius);
|
|
583
|
+
--f7-safe-area-left: 0px;
|
|
584
|
+
--f7-safe-area-right: 0px;
|
|
585
|
+
.block-title {
|
|
586
|
+
margin-left: 0;
|
|
587
|
+
margin-right: 0;
|
|
588
|
+
}
|
|
589
|
+
ul {
|
|
590
|
+
border-radius: var(--f7-list-inset-border-radius);
|
|
591
|
+
.hairline-remove-top-bottom();
|
|
592
|
+
}
|
|
593
|
+
li.swipeout:first-child,
|
|
594
|
+
li:first-child > a {
|
|
595
|
+
border-radius: var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0;
|
|
596
|
+
}
|
|
597
|
+
li.swipeout:last-child,
|
|
598
|
+
li:last-child > a {
|
|
599
|
+
border-radius: 0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius);
|
|
600
|
+
}
|
|
601
|
+
li.swipeout:first-child:last-child,
|
|
602
|
+
li:first-child:last-child > a {
|
|
603
|
+
border-radius: var(--f7-list-inset-border-radius);
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
each(@breakpoints, {
|
|
607
|
+
@media (min-width:@value) {
|
|
608
|
+
.list.@{key}-inset,
|
|
609
|
+
.ios .list.@{key}-inset-ios,
|
|
610
|
+
.md .list.@{key}-inset-md {
|
|
611
|
+
margin-left: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));
|
|
612
|
+
margin-right: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));
|
|
613
|
+
border-radius: var(--f7-list-inset-border-radius);
|
|
614
|
+
--f7-safe-area-left: 0px;
|
|
615
|
+
--f7-safe-area-right: 0px;
|
|
616
|
+
.block-title {
|
|
617
|
+
margin-left: 0;
|
|
618
|
+
margin-right: 0;
|
|
619
|
+
}
|
|
620
|
+
ul {
|
|
621
|
+
border-radius: var(--f7-list-inset-border-radius);
|
|
622
|
+
.hairline-remove-top-bottom();
|
|
623
|
+
}
|
|
624
|
+
li:first-child > a {
|
|
625
|
+
border-radius: var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0;
|
|
626
|
+
}
|
|
627
|
+
li:last-child > a {
|
|
628
|
+
border-radius: 0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius);
|
|
629
|
+
}
|
|
630
|
+
li:first-child:last-child > a {
|
|
631
|
+
border-radius: var(--f7-list-inset-border-radius);
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.list.@{key}-inset.list-outline,
|
|
636
|
+
.ios .list.@{key}-inset-ios.list-outline,
|
|
637
|
+
.ios .list.@{key}-inset-ios.list-outline-ios,
|
|
638
|
+
.md .list.@{key}-inset-md.list-outline,
|
|
639
|
+
.md .list.@{key}-inset-md.list-outline-md {
|
|
640
|
+
ul {
|
|
641
|
+
border: 1px solid var(--f7-list-outline-inset-border-color);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
});
|
|
647
|
+
|
|
648
|
+
.list.no-chevron,
|
|
649
|
+
.list .no-chevron,
|
|
650
|
+
.menu-list {
|
|
651
|
+
--f7-list-chevron-icon-color: transparent;
|
|
652
|
+
--f7-list-chevron-icon-area: 0px;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.menu-list {
|
|
656
|
+
--f7-list-font-size: var(--f7-menu-list-font-size);
|
|
657
|
+
--f7-list-item-title-font-size: var(--f7-menu-list-item-title-font-size);
|
|
658
|
+
--f7-list-item-title-font-weight: var(--f7-menu-list-item-title-font-weight);
|
|
659
|
+
--f7-list-item-subtitle-font-size: var(--f7-menu-list-item-subtitle-font-size);
|
|
660
|
+
--f7-list-item-text-font-size: var(--f7-menu-list-item-text-font-size);
|
|
661
|
+
--f7-list-item-after-font-size: var(--f7-menu-list-item-after-font-size);
|
|
662
|
+
--f7-list-item-min-height: var(--f7-menu-list-item-min-height);
|
|
663
|
+
|
|
664
|
+
.item-header,
|
|
665
|
+
.item-footer,
|
|
666
|
+
.item-title,
|
|
667
|
+
.item-after,
|
|
668
|
+
.item-text,
|
|
669
|
+
.item-subtitle {
|
|
670
|
+
transition-duration: 300ms;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
li:not(.list-group-title) {
|
|
674
|
+
padding-top: 4px;
|
|
675
|
+
padding-bottom: 4px;
|
|
676
|
+
&:first-child {
|
|
677
|
+
padding-top: 4px;
|
|
678
|
+
}
|
|
679
|
+
&:last-child {
|
|
680
|
+
padding-bottom: 4px;
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
.item-link {
|
|
684
|
+
margin-left: var(--f7-menu-list-offset);
|
|
685
|
+
margin-right: var(--f7-menu-list-offset);
|
|
686
|
+
border-radius: var(--f7-menu-list-border-radius) !important;
|
|
687
|
+
color: var(--f7-menu-list-item-text-color);
|
|
688
|
+
background-color: var(--f7-menu-list-item-bg-color);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.item-inner:after {
|
|
692
|
+
display: none;
|
|
693
|
+
}
|
|
694
|
+
.item-selected .item-link,
|
|
695
|
+
.item-selected.item-link,
|
|
696
|
+
.tab-link-active .item-link,
|
|
697
|
+
.tab-link-active.item-link {
|
|
698
|
+
color: var(--f7-menu-list-item-selected-text-color);
|
|
699
|
+
background-color: var(--f7-menu-list-item-selected-bg-color);
|
|
700
|
+
}
|
|
701
|
+
.item-selected {
|
|
702
|
+
.item-header,
|
|
703
|
+
.item-footer,
|
|
704
|
+
.item-title,
|
|
705
|
+
.item-after,
|
|
706
|
+
.item-text,
|
|
707
|
+
.item-subtitle {
|
|
708
|
+
color: var(--f7-menu-list-item-selected-text-color);
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.if-ios-theme({
|
|
714
|
+
@import './list-ios.less';
|
|
715
|
+
});
|
|
716
|
+
.if-md-theme({
|
|
717
|
+
@import './list-md.less';
|
|
718
|
+
});
|