fomantic-ui 2.10.0-beta.1 → 2.10.0-beta.10
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/.all-contributorsrc +9 -0
- package/.eslintrc.js +0 -10
- package/CONTRIBUTING.md +4 -1
- package/CONTRIBUTORS.md +1 -0
- package/FAQ.md +7 -2
- package/README.md +5 -9
- package/ROADMAP.md +4 -4
- package/SECURITY.md +8 -7
- package/changelog-setup.js +64 -70
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +103 -142
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +157 -210
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -2
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +1 -2
- package/dist/components/calendar.js +314 -352
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -2
- package/dist/components/checkbox.js +85 -135
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +2 -4
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +1 -11
- package/dist/components/dimmer.js +61 -94
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +1 -2
- package/dist/components/divider.min.css +2 -2
- package/dist/components/dropdown.css +30 -51
- package/dist/components/dropdown.js +736 -1055
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +85 -114
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +3809 -7617
- package/dist/components/emoji.min.css +2 -2
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +2 -3
- package/dist/components/flyout.js +226 -355
- package/dist/components/flyout.min.css +2 -2
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +5 -95
- package/dist/components/form.js +335 -444
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +2 -58
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +4 -4
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -536
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -3
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +1 -9
- package/dist/components/menu.min.css +2 -2
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +5 -9
- package/dist/components/modal.js +261 -384
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +68 -98
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -2
- package/dist/components/popup.js +198 -271
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +109 -144
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +91 -123
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +2 -9
- package/dist/components/search.js +277 -379
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +2 -7
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -2
- package/dist/components/shape.js +158 -224
- package/dist/components/shape.min.css +2 -2
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +2 -3
- package/dist/components/sidebar.js +124 -206
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +9 -25
- package/dist/components/site.js +38 -57
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +246 -329
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +70 -100
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +135 -180
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +176 -244
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +3 -37
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -3
- package/dist/components/toast.js +109 -147
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +91 -146
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +146 -224
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +3906 -8720
- package/dist/semantic.js +4397 -6155
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/examples/assets/show-examples.js +2 -4
- package/gulpfile.js +5 -7
- package/package.json +3 -5
- package/scripts/nightly-version.js +7 -10
- package/src/README.md +3 -3
- package/src/definitions/behaviors/api.js +156 -209
- package/src/definitions/behaviors/form.js +334 -443
- package/src/definitions/behaviors/state.js +69 -99
- package/src/definitions/behaviors/visibility.js +145 -223
- package/src/definitions/collections/form.less +1 -13
- package/src/definitions/collections/grid.less +1 -61
- package/src/definitions/collections/menu.less +0 -11
- package/src/definitions/collections/table.less +1 -35
- package/src/definitions/elements/input.less +1 -61
- package/src/definitions/elements/segment.less +0 -6
- package/src/definitions/globals/site.js +37 -56
- package/src/definitions/globals/site.less +2 -18
- package/src/definitions/modules/accordion.js +102 -141
- package/src/definitions/modules/calendar.js +313 -351
- package/src/definitions/modules/checkbox.js +84 -134
- package/src/definitions/modules/dimmer.js +60 -93
- package/src/definitions/modules/dimmer.less +0 -9
- package/src/definitions/modules/dropdown.js +735 -1054
- package/src/definitions/modules/dropdown.less +31 -47
- package/src/definitions/modules/embed.js +84 -113
- package/src/definitions/modules/flyout.js +225 -354
- package/src/definitions/modules/modal.js +260 -383
- package/src/definitions/modules/modal.less +1 -1
- package/src/definitions/modules/nag.js +67 -97
- package/src/definitions/modules/popup.js +197 -270
- package/src/definitions/modules/progress.js +108 -143
- package/src/definitions/modules/rating.js +90 -122
- package/src/definitions/modules/search.js +276 -378
- package/src/definitions/modules/search.less +0 -3
- package/src/definitions/modules/shape.js +157 -223
- package/src/definitions/modules/sidebar.js +123 -205
- package/src/definitions/modules/slider.js +245 -328
- package/src/definitions/modules/slider.less +1 -1
- package/src/definitions/modules/sticky.js +134 -179
- package/src/definitions/modules/tab.js +175 -243
- package/src/definitions/modules/toast.js +108 -146
- package/src/definitions/modules/toast.less +1 -1
- package/src/definitions/modules/transition.js +90 -145
- package/src/theme.less +0 -13
- package/src/themes/basic/elements/icon.variables +1 -1
- package/src/themes/default/collections/grid.variables +0 -30
- package/src/themes/default/collections/table.variables +1 -5
- package/src/themes/default/elements/icon.variables +3 -3
- package/src/themes/default/globals/site.variables +8 -15
- package/src/themes/default/globals/variation.variables +1 -2
- package/src/themes/default/modules/dropdown.variables +1 -0
- package/src/themes/default/modules/slider.variables +1 -1
- package/src/themes/github/elements/icon.variables +1 -1
- package/src/themes/material/elements/icon.variables +1 -1
- package/tasks/README.md +1 -1
- package/tasks/admin/components/create.js +89 -122
- package/tasks/admin/components/init.js +34 -65
- package/tasks/admin/components/update.js +50 -61
- package/tasks/admin/distributions/create.js +71 -111
- package/tasks/admin/distributions/init.js +32 -63
- package/tasks/admin/distributions/update.js +49 -57
- package/tasks/admin/publish.js +1 -1
- package/tasks/admin/register.js +14 -19
- package/tasks/admin/release.js +2 -2
- package/tasks/build/assets.js +14 -18
- package/tasks/build/css.js +59 -68
- package/tasks/build/javascript.js +48 -56
- package/tasks/build.js +4 -6
- package/tasks/check-install.js +5 -8
- package/tasks/clean.js +5 -7
- package/tasks/collections/admin.js +14 -16
- package/tasks/collections/build.js +6 -8
- package/tasks/collections/docs.js +4 -6
- package/tasks/collections/install.js +2 -4
- package/tasks/collections/rtl.js +2 -4
- package/tasks/collections/various.js +2 -4
- package/tasks/config/admin/github.js +9 -19
- package/tasks/config/admin/templates/README.md +2 -2
- package/tasks/config/admin/templates/bower.json +2 -4
- package/tasks/config/admin/templates/composer.json +1 -1
- package/tasks/config/admin/templates/css-package.js +1 -4
- package/tasks/config/admin/templates/less-package.js +1 -3
- package/tasks/config/defaults.js +0 -1
- package/tasks/config/npm/gulpfile.js +4 -6
- package/tasks/config/project/config.js +27 -35
- package/tasks/config/project/install.js +64 -82
- package/tasks/config/project/release.js +7 -9
- package/tasks/config/tasks.js +10 -21
- package/tasks/config/user.js +14 -20
- package/tasks/docs/build.js +26 -31
- package/tasks/docs/metadata.js +30 -39
- package/tasks/docs/serve.js +23 -27
- package/tasks/install.js +94 -128
- package/tasks/rtl/build.js +2 -4
- package/tasks/rtl/watch.js +3 -5
- package/tasks/watch.js +13 -13
- package/test/meteor/fonts.js +1 -2
- package/test/modules/module.spec.js +16 -18
- package/types/fomantic-ui-calendar.d.ts +1 -1
- package/types/fomantic-ui-dropdown.d.ts +45 -1
- package/types/fomantic-ui-embed.d.ts +1 -1
- package/types/fomantic-ui-flyout.d.ts +1 -1
- package/types/fomantic-ui-form.d.ts +0 -7
- package/types/fomantic-ui-modal.d.ts +1 -1
- package/types/fomantic-ui-search.d.ts +12 -6
- package/types/fomantic-ui-toast.d.ts +1 -1
- package/src/themes/basic/assets/fonts/icons.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/src/themes/default/assets/fonts/icons.woff +0 -0
- package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/src/themes/github/assets/fonts/octicons.woff +0 -0
- package/src/themes/material/assets/fonts/icons.woff +0 -0
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
2
|
+
* # Fomantic-UI 2.10.0-beta.10+3ca268e - Sidebar
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
7
|
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
|
-
*/.ui.sidebar{position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:none;will-change:transform;transform:translate3d(0,0,0);visibility:hidden;height:100%!important;max-height:100%;border-radius:0!important;margin:0!important;overflow-y:auto!important
|
9
|
+
*/.ui.sidebar{position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:none;will-change:transform;transform:translate3d(0,0,0);visibility:hidden;height:100%!important;max-height:100%;border-radius:0!important;margin:0!important;overflow-y:auto!important;overscroll-behavior:none;z-index:102}.ui.sidebar>*{-webkit-backface-visibility:hidden;backface-visibility:hidden}.ui.left.sidebar{right:auto;left:0;transform:translate3d(-100%,0,0)}.ui.right.sidebar{right:0!important;left:auto!important;transform:translate3d(100%,0,0)}.ui.bottom.sidebar,.ui.top.sidebar{width:100%!important;height:auto!important}.ui.top.sidebar{top:0!important;bottom:auto!important;transform:translate3d(0,-100%,0)}.ui.bottom.sidebar{top:auto!important;bottom:0!important;transform:translate3d(0,100%,0)}.pushable.pushable.pushable{height:100%;overflow-x:hidden;padding:0}.pushable.pushable.pushable.locked{overflow-y:hidden;background:inherit}body.pushable{background:#545454}body.pushable.dimmed{background:inherit}.pushable:not(body){transform:translate3d(0,0,0);overflow-y:hidden}.pushable:not(body)>.fixed,.pushable:not(body)>.pusher::after,.pushable:not(body)>.ui.sidebar{position:absolute}.pushable>.fixed{position:fixed;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .5s ease;will-change:transform;z-index:101}.pushable>.pusher{position:relative;-webkit-backface-visibility:hidden;backface-visibility:hidden;min-height:100%;transition:transform .5s ease;z-index:2;background:inherit}.pushable>.pusher:not(.overflowing){overflow:hidden}body.pushable>.pusher{background:#fff}.pushable>.pusher::after{position:fixed;top:0;right:0;content:"";background:rgba(0,0,0,.4);overflow:hidden;opacity:0;transition:all .5s;will-change:opacity;z-index:1000}.ui.sidebar.menu .item{border-radius:0!important}.pushable>.pusher.dimmed::after{width:100%!important;height:100%!important;opacity:1!important}.pushable>.pusher.dimmed.blurring:not(.closing)::after{background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(5px) grayscale(.7);backdrop-filter:blur(5px) grayscale(.7)}.pushable>.pusher.closing.dimmed::after{opacity:0!important}.ui.animating.sidebar{visibility:visible}.ui.visible.sidebar{visibility:visible;transform:translate3d(0,0,0)}.ui.left.visible.sidebar,.ui.right.visible.sidebar{box-shadow:0 0 20px rgba(34,36,38,.15)}.ui.bottom.visible.sidebar,.ui.top.visible.sidebar{box-shadow:0 0 20px rgba(34,36,38,.15)}.ui.visible.left.sidebar~.fixed,.ui.visible.left.sidebar~.pusher{transform:translate3d(260px,0,0)}.ui.visible.right.sidebar~.fixed,.ui.visible.right.sidebar~.pusher{transform:translate3d(-260px,0,0)}.ui.visible.top.sidebar~.fixed,.ui.visible.top.sidebar~.pusher{transform:translate3d(0,36px,0)}.ui.visible.bottom.sidebar~.fixed,.ui.visible.bottom.sidebar~.pusher{transform:translate3d(0,-36px,0)}.ui.visible.left.sidebar~.ui.visible.right.sidebar~.fixed,.ui.visible.left.sidebar~.ui.visible.right.sidebar~.pusher,.ui.visible.right.sidebar~.ui.visible.left.sidebar~.fixed,.ui.visible.right.sidebar~.ui.visible.left.sidebar~.pusher{transform:translate3d(0,0,0)}.ui.thin.left.sidebar,.ui.thin.right.sidebar{width:150px}.ui[class*="very thin"].left.sidebar,.ui[class*="very thin"].right.sidebar{width:60px}.ui.left.sidebar,.ui.right.sidebar{width:260px}.ui.wide.left.sidebar,.ui.wide.right.sidebar{width:350px}.ui[class*="very wide"].left.sidebar,.ui[class*="very wide"].right.sidebar{width:475px}.ui.visible.thin.left.sidebar~.fixed,.ui.visible.thin.left.sidebar~.pusher{transform:translate3d(150px,0,0)}.ui.visible[class*="very thin"].left.sidebar~.fixed,.ui.visible[class*="very thin"].left.sidebar~.pusher{transform:translate3d(60px,0,0)}.ui.visible.wide.left.sidebar~.fixed,.ui.visible.wide.left.sidebar~.pusher{transform:translate3d(350px,0,0)}.ui.visible[class*="very wide"].left.sidebar~.fixed,.ui.visible[class*="very wide"].left.sidebar~.pusher{transform:translate3d(475px,0,0)}.ui.visible.thin.right.sidebar~.fixed,.ui.visible.thin.right.sidebar~.pusher{transform:translate3d(-150px,0,0)}.ui.visible[class*="very thin"].right.sidebar~.fixed,.ui.visible[class*="very thin"].right.sidebar~.pusher{transform:translate3d(-60px,0,0)}.ui.visible.wide.right.sidebar~.fixed,.ui.visible.wide.right.sidebar~.pusher{transform:translate3d(-350px,0,0)}.ui.visible[class*="very wide"].right.sidebar~.fixed,.ui.visible[class*="very wide"].right.sidebar~.pusher{transform:translate3d(-475px,0,0)}.ui.overlay.sidebar{z-index:102}.ui.left.overlay.sidebar{transform:translate3d(-100%,0,0)}.ui.right.overlay.sidebar{transform:translate3d(100%,0,0)}.ui.top.overlay.sidebar{transform:translate3d(0,-100%,0)}.ui.bottom.overlay.sidebar{transform:translate3d(0,100%,0)}.animating.ui.overlay.sidebar,.ui.visible.overlay.sidebar{transition:transform .5s ease}.ui.visible.left.overlay.sidebar{transform:translate3d(0,0,0)}.ui.visible.right.overlay.sidebar{transform:translate3d(0,0,0)}.ui.visible.top.overlay.sidebar{transform:translate3d(0,0,0)}.ui.visible.bottom.overlay.sidebar{transform:translate3d(0,0,0)}.ui.visible.overlay.sidebar~.fixed,.ui.visible.overlay.sidebar~.pusher{transform:none!important}.ui.push.sidebar{transition:transform .5s ease;z-index:102}.ui.left.push.sidebar{transform:translate3d(-100%,0,0)}.ui.right.push.sidebar{transform:translate3d(100%,0,0)}.ui.top.push.sidebar{transform:translate3d(0,-100%,0)}.ui.bottom.push.sidebar{transform:translate3d(0,100%,0)}.ui.visible.push.sidebar{transform:translate3d(0,0,0)}.ui.uncover.sidebar{transform:translate3d(0,0,0);z-index:1}.ui.visible.uncover.sidebar{transform:translate3d(0,0,0);transition:transform .5s ease}.ui.slide.along.sidebar{z-index:1}.ui.left.slide.along.sidebar{transform:translate3d(-50%,0,0)}.ui.right.slide.along.sidebar{transform:translate3d(50%,0,0)}.ui.top.slide.along.sidebar{transform:translate3d(0,-50%,0)}.ui.bottom.slide.along.sidebar{transform:translate3d(0,50%,0)}.ui.animating.slide.along.sidebar{transition:transform .5s ease}.ui.visible.slide.along.sidebar{transform:translate3d(0,0,0)}.ui.slide.out.sidebar{z-index:1}.ui.left.slide.out.sidebar{transform:translate3d(50%,0,0)}.ui.right.slide.out.sidebar{transform:translate3d(-50%,0,0)}.ui.top.slide.out.sidebar{transform:translate3d(0,50%,0)}.ui.bottom.slide.out.sidebar{transform:translate3d(0,-50%,0)}.ui.animating.slide.out.sidebar{transition:transform .5s ease}.ui.visible.slide.out.sidebar{transform:translate3d(0,0,0)}.ui.scale.down.sidebar{transition:transform .5s ease;z-index:102}.ui.left.scale.down.sidebar{transform:translate3d(-100%,0,0)}.ui.right.scale.down.sidebar{transform:translate3d(100%,0,0)}.ui.top.scale.down.sidebar{transform:translate3d(0,-100%,0)}.ui.bottom.scale.down.sidebar{transform:translate3d(0,100%,0)}.ui.scale.down.left.sidebar~.pusher{transform-origin:75% 50%}.ui.scale.down.right.sidebar~.pusher{transform-origin:25% 50%}.ui.scale.down.top.sidebar~.pusher{transform-origin:50% 75%}.ui.scale.down.bottom.sidebar~.pusher{transform-origin:50% 25%}.ui.animating.scale.down>.visible.ui.sidebar{transition:transform .5s ease}.ui.animating.scale.down.sidebar~.pusher,.ui.visible.scale.down.sidebar~.pusher{display:block!important;width:100%;height:100%;overflow:hidden!important}.ui.visible.scale.down.sidebar{transform:translate3d(0,0,0)}.ui.visible.scale.down.sidebar~.pusher{transform:scale(.75)}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.10.0-beta.
|
2
|
+
* # Fomantic UI - 2.10.0-beta.10+3ca268e
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* https://fomantic-ui.com/
|
5
5
|
*
|
@@ -8,4 +8,4 @@
|
|
8
8
|
* https://opensource.org/licenses/MIT
|
9
9
|
*
|
10
10
|
*/
|
11
|
-
!function(j,D,R){"use strict";function I(e){return"function"==typeof e&&"number"!=typeof e.nodeType}D=void 0!==D&&D.Math===Math?D:globalThis,j.fn.sidebar=function(T){var k,e=j(this),w=j(D),A=j(R),F=j("body"),E=(j("html"),j("head")),O=Date.now(),P=[],H=T,M="string"==typeof H,B=[].slice.call(arguments,1),L=function(e,i){var n;return 0<=[D,R].indexOf(e)?n=F:0===(n=j(i.document).find(e)).length&&(n=i.frameElement?L(e,i.parent):F),n};return e.each(function(){var o,r,e,s,a=j.isPlainObject(T)?j.extend(!0,{},j.fn.sidebar.settings,T):j.extend({},j.fn.sidebar.settings),i=a.selector,l=a.className,n=a.namespace,t=a.regExp,c=a.error,d="."+n,u="module-"+n,f=j(this),h=L(a.context,D),b=h[0]===F[0],g=f.children(i.sidebar),m=(h.children(i.fixed),h.children(i.pusher)),v=this,p=f.data(u),y="",S="",x=!1,C={initialize:function(){C.debug("Initializing sidebar",T),C.create.id(),a.delaySetup?requestAnimationFrame(C.setup.layout):C.setup.layout(),requestAnimationFrame(function(){C.setup.cache()}),C.instantiate()},instantiate:function(){C.verbose("Storing instance of module",C),p=C,f.data(u,C)},create:{id:function(){e=(Math.random().toString(16)+"000000000").slice(2,10),r="."+e,C.verbose("Creating unique id for element",e)}},destroy:function(){C.verbose("Destroying previous module for",f),f.off(d).removeData(u),h.off(r),w.off(r),A.off(r)},event:{clickaway:function(e){var i;a.closable&&(i=0<m.find(e.target).length||m.is(e.target),e=h.is(e.target),i&&(C.verbose("User clicked on dimmed page"),C.hide()),e&&(C.verbose("User clicked on dimmable context (scaled out page)"),C.hide()))},touch:function(e){},containScroll:function(e){v.scrollTop<=0&&(v.scrollTop=1),v.scrollTop+v.offsetHeight>=v.scrollHeight&&(v.scrollTop=v.scrollHeight-v.offsetHeight-1)},scroll:function(e){0===j(e.target).closest(i.sidebar).length&&e.preventDefault()}},bind:{clickaway:function(){C.verbose("Adding clickaway events to context",h),h.on("click"+r,C.event.clickaway).on("touchend"+r,C.event.clickaway)},scrollLock:function(){a.scrollLock&&(C.debug("Disabling page scroll"),(x=C.has.scrollbar())&&(C.save.bodyMargin(),C.set.bodyMargin()),h.addClass(l.locked)),C.verbose("Adding events to contain sidebar scroll"),A.on("touchmove"+r,C.event.touch),f.on("scroll"+d,C.event.containScroll)}},unbind:{clickaway:function(){C.verbose("Removing clickaway events from context",h),h.off(r)},scrollLock:function(){C.verbose("Removing scroll lock from page"),x&&C.restore.bodyMargin(),h.removeClass(l.locked),A.off(r),f.off("scroll"+d)}},add:{inlineCSS:function(){var e=C.cache.width||f.outerWidth(),i=C.cache.height||f.outerHeight(),n=C.is.rtl(),t=C.get.direction(),i={left:e,right:-e,top:i,bottom:-i};n&&(C.verbose("RTL detected, flipping widths"),i.left=-e,i.right=e),n="<style>","left"===t||"right"===t?(C.debug("Adding CSS rules for animation distance",e),n+=" .ui.visible."+t+".sidebar ~ .fixed, .ui.visible."+t+".sidebar ~ .pusher { transform: translate3d("+i[t]+"px, 0, 0); }"):"top"!==t&&"bottom"!==t||(n+=" .ui.visible."+t+".sidebar ~ .fixed, .ui.visible."+t+".sidebar ~ .pusher { transform: translate3d(0, "+i[t]+"px, 0); }"),C.is.ie()&&("left"===t||"right"===t?(C.debug("Adding CSS rules for animation distance",e),n+=" body.pushable > .ui.visible."+t+".sidebar ~ .pusher::after { transform: translate3d("+i[t]+"px, 0, 0); }"):"top"!==t&&"bottom"!==t||(n+=" body.pushable > .ui.visible."+t+".sidebar ~ .pusher::after { transform: translate3d(0, "+i[t]+"px, 0); }"),n+=" body.pushable > .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher::after, body.pushable > .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher::after { transform: translate3d(0, 0, 0); }"),o=j(n+="</style>").appendTo(E),C.debug("Adding sizing css to head",o)}},refresh:function(){C.verbose("Refreshing selector cache"),h=L(a.context,D),C.refreshSidebars(),m=h.children(i.pusher),h.children(i.fixed),C.clear.cache()},refreshSidebars:function(){C.verbose("Refreshing other sidebars"),g=h.children(i.sidebar)},repaint:function(){C.verbose("Forcing repaint event"),v.style.display="none";v.offsetHeight;v.scrollTop=v.scrollTop,v.style.display=""},setup:{cache:function(){C.cache={width:f.outerWidth(),height:f.outerHeight()}},layout:function(){0===h.children(i.pusher).length&&(C.debug("Adding wrapper element for sidebar"),C.error(c.pusher),m=j('<div class="pusher" />'),h.children().not(i.omitted).not(g).wrapAll(m),C.refresh()),0!==f.nextAll(i.pusher).length&&f.nextAll(i.pusher)[0]===m[0]||(C.debug("Moved sidebar to correct parent element"),C.error(c.movedSidebar,v),f.detach().prependTo(h),C.refresh()),C.clear.cache(),C.set.pushable(),C.set.direction()}},attachEvents:function(e,i){var n=j(e);i=I(C[i])?C[i]:C.toggle,0<n.length?(C.debug("Attaching sidebar events to element",e,i),n.on("click"+d,i)):C.error(c.notFound,e)},can:{leftBodyScrollbar:function(){return void 0===C.cache.leftBodyScrollbar&&(C.cache.leftBodyScrollbar=C.is.rtl()&&(C.is.iframe&&!C.is.firefox()||C.is.safari()||C.is.edge()||C.is.ie())),C.cache.leftBodyScrollbar}},save:{bodyMargin:function(){y=h.css((b?"margin-":"padding-")+(C.can.leftBodyScrollbar()?"left":"right"));var e=parseInt(y.replace(/[^\d.]/g,""),10),i=b?D.innerWidth-R.documentElement.clientWidth:h[0].offsetWidth-h[0].clientWidth;S=e+i}},show:function(e){if(e=I(e)?e:function(){},C.is.hidden())if(!1===a.onShow.call(v))C.verbose("Show callback returned false cancelling show");else{if(a.overlay&&(C.error(c.overlay),a.transition="overlay"),C.refresh(),C.othersActive())if(C.debug("Other sidebars currently visible"),a.exclusive){if("overlay"!==a.transition)return void C.hideOthers(C.show);C.hideOthers()}else a.transition="overlay";C.set.dimmerStyles(),C.pushPage(function(){e.call(v),a.onVisible.call(v)}),a.onChange.call(v)}else C.debug("Sidebar is already visible")},hide:function(e){e=I(e)?e:function(){},(C.is.visible()||C.is.animating())&&!1!==a.onHide.call(v)&&(C.debug("Hiding sidebar",e),C.refreshSidebars(),C.pullPage(function(){e.call(v),a.onHidden.call(v)}),a.onChange.call(v))},othersAnimating:function(){return 0<g.not(f).filter("."+l.animating).length},othersVisible:function(){return 0<g.not(f).filter("."+l.visible).length},othersActive:function(){return C.othersVisible()||C.othersAnimating()},hideOthers:function(e){var i=g.not(f).filter("."+l.visible),n=i.length,t=0;e=e||function(){},i.sidebar("hide",function(){++t===n&&e()})},toggle:function(){C.verbose("Determining toggled direction"),C.is.hidden()?C.show():C.hide()},pushPage:function(i){var e,n,t=C.get.transition(),o="overlay"===t||C.othersActive()?f:m;i=I(i)?i:function(){},a.returnScroll&&(s=(b?w:h).scrollTop()),"scale down"===a.transition&&C.scrollToTop(),C.bind.scrollLock(),C.set.transition(t),C.repaint(),t=function(){C.bind.clickaway(),C.add.inlineCSS(),C.set.animating(),C.set.visible()},e=function(){C.set.dimmed()},n=function(e){e.target===o[0]&&(o.off("transitionend"+r,n),C.remove.animating(),i.call(v))},o.off("transitionend"+r),o.on("transitionend"+r,n),requestAnimationFrame(t),a.dimPage&&!C.othersVisible()&&requestAnimationFrame(e)},pullPage:function(i){var e,n,t=C.get.transition(),o="overlay"===t||C.othersActive()?f:m;i=I(i)?i:function(){},C.verbose("Removing context push state",C.get.direction()),C.unbind.clickaway(),C.unbind.scrollLock(),e=function(){C.set.transition(t),C.set.animating(),a.dimPage&&!C.othersVisible()&&C.set.closing(),C.remove.visible()},n=function(e){e.target===o[0]&&(o.off("transitionend"+r,n),C.remove.animating(),C.remove.closing(),C.remove.transition(),C.remove.inlineCSS(),"scale down"!==t&&!a.returnScroll||C.scrollBack(),a.dimPage&&!C.othersVisible()&&m.removeClass(l.dimmed),i.call(v))},o.off("transitionend"+r),o.on("transitionend"+r,n),requestAnimationFrame(e)},scrollToTop:function(){C.verbose("Scrolling to top of page to avoid animation issues"),f.scrollTop(0),(b?w:h)[0].scrollTo(0,0)},scrollBack:function(){C.verbose("Scrolling back to original page position"),(b?w:h)[0].scrollTo(0,s)},clear:{cache:function(){C.verbose("Clearing cached dimensions"),C.cache={}}},set:{bodyMargin:function(){var n=C.can.leftBodyScrollbar()?"left":"right";h.css((b?"margin-":"padding-")+n,S+"px"),h.find(i.bodyFixed.replace("right",n)).each(function(){var e=j(this),i="fixed"===e.css("position")?"padding-"+n:n;e.css(i,"calc("+e.css(i)+" + "+S+"px)")})},dimmerStyles:function(){a.blurring?m.addClass(l.blurring):m.removeClass(l.blurring)},pushed:function(){h.addClass(l.pushed)},pushable:function(){h.addClass(l.pushable)},dimmed:function(){m.addClass(l.dimmed)},active:function(){f.addClass(l.active)},animating:function(){f.addClass(l.animating)},closing:function(){m.addClass(l.closing)},transition:function(e){e=e||C.get.transition(),f.addClass(e)},direction:function(e){e=e||C.get.direction(),f.addClass(l[e])},visible:function(){f.addClass(l.visible)},overlay:function(){f.addClass(l.overlay)}},remove:{inlineCSS:function(){C.debug("Removing inline css styles",o),o&&0<o.length&&o.remove()},pushed:function(){h.removeClass(l.pushed)},pushable:function(){h.removeClass(l.pushable)},active:function(){f.removeClass(l.active)},animating:function(){f.removeClass(l.animating)},closing:function(){m.removeClass(l.closing)},transition:function(e){e=e||C.get.transition(),f.removeClass(e)},direction:function(e){e=e||C.get.direction(),f.removeClass(l[e])},visible:function(){f.removeClass(l.visible)},overlay:function(){f.removeClass(l.overlay)}},restore:{bodyMargin:function(){var n=C.can.leftBodyScrollbar()?"left":"right";h.css((b?"margin-":"padding-")+n,y),h.find(i.bodyFixed.replace("right",n)).each(function(){var e=j(this),i="fixed"===e.css("position")?"padding-"+n:n;e.css(i,"")})}},get:{direction:function(){return f.hasClass(l.top)?l.top:f.hasClass(l.right)?l.right:f.hasClass(l.bottom)?l.bottom:l.left},transition:function(){var e=C.get.direction(),e=C.is.mobile()?"auto"===a.mobileTransition?a.defaultTransition.mobile[e]:a.mobileTransition:"auto"===a.transition?a.defaultTransition.computer[e]:a.transition;return C.verbose("Determined transition",e),e}},has:{scrollbar:function(){return b||"hidden"!==h.css("overflow-y")}},is:{safari:function(){return void 0===C.cache.isSafari&&(C.cache.isSafari=/constructor/i.test(D.HTMLElement)||!!D.ApplePaySession),C.cache.isSafari},edge:function(){return void 0===C.cache.isEdge&&(C.cache.isEdge=!!D.setImmediate&&!C.is.ie()),C.cache.isEdge},firefox:function(){return void 0===C.cache.isFirefox&&(C.cache.isFirefox=!!D.InstallTrigger),C.cache.isFirefox},iframe:function(){return!(self===top)},ie:function(){var e,i;return void 0===C.cache.isIE&&(e=!D.ActiveXObject&&"ActiveXObject"in D,i="ActiveXObject"in D,C.cache.isIE=e||i),C.cache.isIE},mobile:function(){var e=navigator.userAgent;return e.match(t.mobile)?(C.verbose("Browser was found to be mobile",e),!0):(C.verbose("Browser is not mobile, using regular transition",e),!1)},hidden:function(){return!C.is.visible()},visible:function(){return f.hasClass(l.visible)},open:function(){return C.is.visible()},closed:function(){return C.is.hidden()},vertical:function(){return f.hasClass(l.top)},animating:function(){return h.hasClass(l.animating)},rtl:function(){return void 0===C.cache.isRTL&&(C.cache.isRTL="rtl"===f.attr("dir")||"rtl"===f.css("direction")||"rtl"===F.attr("dir")||"rtl"===F.css("direction")||"rtl"===h.attr("dir")||"rtl"===h.css("direction")),C.cache.isRTL}},setting:function(e,i){if(C.debug("Changing setting",e,i),j.isPlainObject(e))j.extend(!0,a,e);else{if(void 0===i)return a[e];j.isPlainObject(a[e])?j.extend(!0,a[e],i):a[e]=i}},internal:function(e,i){if(j.isPlainObject(e))j.extend(!0,C,e);else{if(void 0===i)return C[e];C[e]=i}},debug:function(){!a.silent&&a.debug&&(a.performance?C.performance.log(arguments):(C.debug=Function.prototype.bind.call(console.info,console,a.name+":"),C.debug.apply(console,arguments)))},verbose:function(){!a.silent&&a.verbose&&a.debug&&(a.performance?C.performance.log(arguments):(C.verbose=Function.prototype.bind.call(console.info,console,a.name+":"),C.verbose.apply(console,arguments)))},error:function(){a.silent||(C.error=Function.prototype.bind.call(console.error,console,a.name+":"),C.error.apply(console,arguments))},performance:{log:function(e){var i,n;a.performance&&(n=(i=Date.now())-(O||i),O=i,P.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:v,"Execution Time":n})),clearTimeout(C.performance.timer),C.performance.timer=setTimeout(function(){C.performance.display()},500)},display:function(){var e=a.name+":",n=0;O=!1,clearTimeout(C.performance.timer),j.each(P,function(e,i){n+=i["Execution Time"]}),e+=" "+n+"ms",0<P.length&&(console.groupCollapsed(e),console.table?console.table(P):j.each(P,function(e,i){console.log(i.Name+": "+i["Execution Time"]+"ms")}),console.groupEnd()),P=[]}},invoke:function(t,e,i){var o,r,n,s=p;return e=e||B,i=i||v,"string"==typeof t&&void 0!==s&&(t=t.split(/[ .]/),o=t.length-1,j.each(t,function(e,i){var n=e!==o?i+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(j.isPlainObject(s[n])&&e!==o)s=s[n];else{if(void 0!==s[n])return r=s[n],!1;{if(!j.isPlainObject(s[i])||e===o)return void 0!==s[i]?r=s[i]:C.error(c.method,t),!1;s=s[i]}}})),I(r)?n=r.apply(i,e):void 0!==r&&(n=r),Array.isArray(k)?k.push(n):void 0!==k?k=[k,n]:void 0!==n&&(k=n),r}};M?(void 0===p&&C.initialize(),C.invoke(H)):(void 0!==p&&C.invoke("destroy"),C.initialize())}),void 0!==k?k:this},j.fn.sidebar.settings={name:"Sidebar",namespace:"sidebar",silent:!1,debug:!1,verbose:!1,performance:!0,transition:"auto",mobileTransition:"auto",defaultTransition:{computer:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"},mobile:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"}},context:"body",exclusive:!1,closable:!0,dimPage:!0,scrollLock:!1,returnScroll:!1,delaySetup:!1,onChange:function(){},onShow:function(){},onHide:function(){},onHidden:function(){},onVisible:function(){},className:{active:"active",animating:"animating",blurring:"blurring",closing:"closing",dimmed:"dimmed",locked:"locked",pushable:"pushable",pushed:"pushed",right:"right",top:"top",left:"left",bottom:"bottom",visible:"visible"},selector:{bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",sidebar:".ui.sidebar"},regExp:{mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedSidebar:"Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag",overlay:"The overlay setting is no longer supported, use animation: overlay",notFound:"There were no elements that matched the specified selector"}}}(jQuery,window,document);
|
11
|
+
!function(R,j,V){"use strict";function q(e){return"function"==typeof e&&"number"!=typeof e.nodeType}j=void 0!==j&&j.Math===Math?j:globalThis,R.fn.sidebar=function(k){let e=R(this),w=R(j),A=R(V),F=R("body");R("html");let P=R("head"),H=Date.now(),M=[],B=k,O="string"==typeof B,E=[].slice.call(arguments,1),L=function(e,i){let n;return 0<=[j,V].indexOf(e)?n=F:0===(n=R(i.document).find(e)).length&&(n=i.frameElement?L(e,i.parent):F),n},D;return e.each(function(){let r=R.isPlainObject(k)?R.extend(!0,{},R.fn.sidebar.settings,k):R.extend({},R.fn.sidebar.settings),i=r.selector,s=r.className;var e=r.namespace;let n=r.regExp,a=r.error,t="."+e,o="module-"+e,l=R(this),c=L(r.context,j),d=c[0]===F[0],u=l.children(i.sidebar),f=void c.children(i.fixed),h=c.children(i.pusher),g,b=this,m=l.data(o),v,p,y,S="",x="",C=!1,T;T={initialize:function(){T.debug("Initializing sidebar",k),T.create.id(),r.delaySetup?requestAnimationFrame(T.setup.layout):T.setup.layout(),requestAnimationFrame(function(){T.setup.cache()}),T.instantiate()},instantiate:function(){T.verbose("Storing instance of module",T),m=T,l.data(o,T)},create:{id:function(){p=(Math.random().toString(16)+"000000000").slice(2,10),v="."+p,T.verbose("Creating unique id for element",p)}},destroy:function(){T.verbose("Destroying previous module for",l),l.off(t).removeData(o),c.off(v),w.off(v),A.off(v)},event:{clickaway:function(e){var i;r.closable&&(i=0<h.find(e.target).length||h.is(e.target),e=c.is(e.target),i&&(T.verbose("User clicked on dimmed page"),T.hide()),e&&(T.verbose("User clicked on dimmable context (scaled out page)"),T.hide()))},touch:function(e){},containScroll:function(e){b.scrollTop<=0&&(b.scrollTop=1),b.scrollTop+b.offsetHeight>=b.scrollHeight&&(b.scrollTop=b.scrollHeight-b.offsetHeight-1)},scroll:function(e){0===R(e.target).closest(i.sidebar).length&&e.preventDefault()}},bind:{clickaway:function(){T.verbose("Adding clickaway events to context",c),c.on("click"+v,T.event.clickaway).on("touchend"+v,T.event.clickaway)},scrollLock:function(){r.scrollLock&&(T.debug("Disabling page scroll"),(C=T.has.scrollbar())&&(T.save.bodyMargin(),T.set.bodyMargin()),c.addClass(s.locked)),T.verbose("Adding events to contain sidebar scroll"),A.on("touchmove"+v,T.event.touch),l.on("scroll"+t,T.event.containScroll)}},unbind:{clickaway:function(){T.verbose("Removing clickaway events from context",c),c.off(v)},scrollLock:function(){T.verbose("Removing scroll lock from page"),C&&T.restore.bodyMargin(),c.removeClass(s.locked),A.off(v),l.off("scroll"+t)}},add:{inlineCSS:function(){var e=T.cache.width||l.outerWidth(),i=T.cache.height||l.outerHeight(),n=T.is.rtl(),t=T.get.direction();let o={left:e,right:-e,top:i,bottom:-i},r;n&&(T.verbose("RTL detected, flipping widths"),o.left=-e,o.right=e),r="<style>","left"===t||"right"===t?(T.debug("Adding CSS rules for animation distance",e),r+=" .ui.visible."+t+".sidebar ~ .fixed, .ui.visible."+t+".sidebar ~ .pusher { transform: translate3d("+o[t]+"px, 0, 0); }"):"top"!==t&&"bottom"!==t||(r+=" .ui.visible."+t+".sidebar ~ .fixed, .ui.visible."+t+".sidebar ~ .pusher { transform: translate3d(0, "+o[t]+"px, 0); }"),r+="</style>",g=R(r).appendTo(P),T.debug("Adding sizing css to head",g)}},refresh:function(){T.verbose("Refreshing selector cache"),c=L(r.context,j),T.refreshSidebars(),h=c.children(i.pusher),f=c.children(i.fixed),T.clear.cache()},refreshSidebars:function(){T.verbose("Refreshing other sidebars"),u=c.children(i.sidebar)},repaint:function(){T.verbose("Forcing repaint event"),b.style.display="none";b.offsetHeight;b.scrollTop=b.scrollTop,b.style.display=""},setup:{cache:function(){T.cache={width:l.outerWidth(),height:l.outerHeight()}},layout:function(){0===c.children(i.pusher).length&&(T.debug("Adding wrapper element for sidebar"),T.error(a.pusher),h=R('<div class="pusher" />'),c.children().not(i.omitted).not(u).wrapAll(h),T.refresh()),0!==l.nextAll(i.pusher).length&&l.nextAll(i.pusher)[0]===h[0]||(T.debug("Moved sidebar to correct parent element"),T.error(a.movedSidebar,b),l.detach().prependTo(c),T.refresh()),T.clear.cache(),T.set.pushable(),T.set.direction()}},attachEvents:function(e,i){let n=R(e);i=q(T[i])?T[i]:T.toggle,0<n.length?(T.debug("Attaching sidebar events to element",e,i),n.on("click"+t,i)):T.error(a.notFound,e)},can:{leftBodyScrollbar:function(){return void 0===T.cache.leftBodyScrollbar&&(T.cache.leftBodyScrollbar=T.is.rtl()&&(T.is.iframe&&!T.is.firefox()||T.is.safari())),T.cache.leftBodyScrollbar}},save:{bodyMargin:function(){S=c.css((d?"margin-":"padding-")+(T.can.leftBodyScrollbar()?"left":"right"));var e=parseInt(S.replace(/[^\d.]/g,""),10),i=d?j.innerWidth-V.documentElement.clientWidth:c[0].offsetWidth-c[0].clientWidth;x=e+i}},show:function(e){if(e=q(e)?e:function(){},T.is.hidden())if(!1===r.onShow.call(b))T.verbose("Show callback returned false cancelling show");else{if(r.overlay&&(T.error(a.overlay),r.transition="overlay"),T.refresh(),T.othersActive())if(T.debug("Other sidebars currently visible"),r.exclusive){if("overlay"!==r.transition)return void T.hideOthers(T.show);T.hideOthers()}else r.transition="overlay";T.set.dimmerStyles(),T.pushPage(function(){e.call(b),r.onVisible.call(b)}),r.onChange.call(b)}else T.debug("Sidebar is already visible")},hide:function(e){e=q(e)?e:function(){},(T.is.visible()||T.is.animating())&&!1!==r.onHide.call(b)&&(T.debug("Hiding sidebar",e),T.refreshSidebars(),T.pullPage(function(){e.call(b),r.onHidden.call(b)}),r.onChange.call(b))},othersAnimating:function(){return 0<u.not(l).filter("."+s.animating).length},othersVisible:function(){return 0<u.not(l).filter("."+s.visible).length},othersActive:function(){return T.othersVisible()||T.othersAnimating()},hideOthers:function(e){let i=u.not(l).filter("."+s.visible),n=i.length,t=0;e=e||function(){},i.sidebar("hide",function(){++t===n&&e()})},toggle:function(){T.verbose("Determining toggled direction"),T.is.hidden()?T.show():T.hide()},pushPage:function(i){var e,n=T.get.transition();let t="overlay"===n||T.othersActive()?l:h,o;i=q(i)?i:function(){},r.returnScroll&&(y=(d?w:c).scrollTop()),"scale down"===r.transition&&T.scrollToTop(),T.bind.scrollLock(),T.set.transition(n),T.repaint(),n=function(){T.bind.clickaway(),T.add.inlineCSS(),T.set.animating(),T.set.visible()},e=function(){T.set.dimmed()},o=function(e){e.target===t[0]&&(t.off("transitionend"+v,o),T.remove.animating(),i.call(b))},t.off("transitionend"+v),t.on("transitionend"+v,o),requestAnimationFrame(n),r.dimPage&&!T.othersVisible()&&requestAnimationFrame(e)},pullPage:function(i){let n=T.get.transition(),t="overlay"===n||T.othersActive()?l:h;var e;let o;i=q(i)?i:function(){},T.verbose("Removing context push state",T.get.direction()),T.unbind.clickaway(),T.unbind.scrollLock(),e=function(){T.set.transition(n),T.set.animating(),r.dimPage&&!T.othersVisible()&&T.set.closing(),T.remove.visible()},o=function(e){e.target===t[0]&&(t.off("transitionend"+v,o),T.remove.animating(),T.remove.closing(),T.remove.transition(),T.remove.inlineCSS(),"scale down"!==n&&!r.returnScroll||T.scrollBack(),r.dimPage&&!T.othersVisible()&&h.removeClass(s.dimmed),i.call(b))},t.off("transitionend"+v),t.on("transitionend"+v,o),requestAnimationFrame(e)},scrollToTop:function(){T.verbose("Scrolling to top of page to avoid animation issues"),l.scrollTop(0),(d?w:c)[0].scrollTo(0,0)},scrollBack:function(){T.verbose("Scrolling back to original page position"),(d?w:c)[0].scrollTo(0,y)},clear:{cache:function(){T.verbose("Clearing cached dimensions"),T.cache={}}},set:{bodyMargin:function(){let n=T.can.leftBodyScrollbar()?"left":"right";c.css((d?"margin-":"padding-")+n,x+"px"),c.find(i.bodyFixed.replace("right",n)).each(function(){let e=R(this);var i="fixed"===e.css("position")?"padding-"+n:n;e.css(i,"calc("+e.css(i)+" + "+x+"px)")})},dimmerStyles:function(){r.blurring?h.addClass(s.blurring):h.removeClass(s.blurring)},pushed:function(){c.addClass(s.pushed)},pushable:function(){c.addClass(s.pushable)},dimmed:function(){h.addClass(s.dimmed)},active:function(){l.addClass(s.active)},animating:function(){l.addClass(s.animating)},closing:function(){h.addClass(s.closing)},transition:function(e){e=e||T.get.transition(),l.addClass(e)},direction:function(e){e=e||T.get.direction(),l.addClass(s[e])},visible:function(){l.addClass(s.visible)},overlay:function(){l.addClass(s.overlay)}},remove:{inlineCSS:function(){T.debug("Removing inline css styles",g),g&&0<g.length&&g.remove()},pushed:function(){c.removeClass(s.pushed)},pushable:function(){c.removeClass(s.pushable)},active:function(){l.removeClass(s.active)},animating:function(){l.removeClass(s.animating)},closing:function(){h.removeClass(s.closing)},transition:function(e){e=e||T.get.transition(),l.removeClass(e)},direction:function(e){e=e||T.get.direction(),l.removeClass(s[e])},visible:function(){l.removeClass(s.visible)},overlay:function(){l.removeClass(s.overlay)}},restore:{bodyMargin:function(){let n=T.can.leftBodyScrollbar()?"left":"right";c.css((d?"margin-":"padding-")+n,S),c.find(i.bodyFixed.replace("right",n)).each(function(){let e=R(this);var i="fixed"===e.css("position")?"padding-"+n:n;e.css(i,"")})}},get:{direction:function(){return l.hasClass(s.top)?s.top:l.hasClass(s.right)?s.right:l.hasClass(s.bottom)?s.bottom:s.left},transition:function(){var e=T.get.direction(),e=T.is.mobile()?"auto"===r.mobileTransition?r.defaultTransition.mobile[e]:r.mobileTransition:"auto"===r.transition?r.defaultTransition.computer[e]:r.transition;return T.verbose("Determined transition",e),e}},has:{scrollbar:function(){return d||"hidden"!==c.css("overflow-y")}},is:{safari:function(){return void 0===T.cache.isSafari&&(T.cache.isSafari=/constructor/i.test(j.HTMLElement)||!!j.ApplePaySession),T.cache.isSafari},firefox:function(){return void 0===T.cache.isFirefox&&(T.cache.isFirefox=!!j.InstallTrigger),T.cache.isFirefox},iframe:function(){return!(self===top)},mobile:function(){let e=navigator.userAgent;return e.match(n.mobile)?(T.verbose("Browser was found to be mobile",e),!0):(T.verbose("Browser is not mobile, using regular transition",e),!1)},hidden:function(){return!T.is.visible()},visible:function(){return l.hasClass(s.visible)},open:function(){return T.is.visible()},closed:function(){return T.is.hidden()},vertical:function(){return l.hasClass(s.top)},animating:function(){return c.hasClass(s.animating)},rtl:function(){return void 0===T.cache.isRTL&&(T.cache.isRTL="rtl"===l.attr("dir")||"rtl"===l.css("direction")||"rtl"===F.attr("dir")||"rtl"===F.css("direction")||"rtl"===c.attr("dir")||"rtl"===c.css("direction")),T.cache.isRTL}},setting:function(e,i){if(T.debug("Changing setting",e,i),R.isPlainObject(e))R.extend(!0,r,e);else{if(void 0===i)return r[e];R.isPlainObject(r[e])?R.extend(!0,r[e],i):r[e]=i}},internal:function(e,i){if(R.isPlainObject(e))R.extend(!0,T,e);else{if(void 0===i)return T[e];T[e]=i}},debug:function(){!r.silent&&r.debug&&(r.performance?T.performance.log(arguments):(T.debug=Function.prototype.bind.call(console.info,console,r.name+":"),T.debug.apply(console,arguments)))},verbose:function(){!r.silent&&r.verbose&&r.debug&&(r.performance?T.performance.log(arguments):(T.verbose=Function.prototype.bind.call(console.info,console,r.name+":"),T.verbose.apply(console,arguments)))},error:function(){r.silent||(T.error=Function.prototype.bind.call(console.error,console,r.name+":"),T.error.apply(console,arguments))},performance:{log:function(e){var i,n;r.performance&&(n=(i=Date.now())-(H||i),H=i,M.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:b,"Execution Time":n})),clearTimeout(T.performance.timer),T.performance.timer=setTimeout(function(){T.performance.display()},500)},display:function(){var e=r.name+":";let n=0;H=!1,clearTimeout(T.performance.timer),R.each(M,function(e,i){n+=i["Execution Time"]}),e+=" "+n+"ms",0<M.length&&(console.groupCollapsed(e),console.table?console.table(M):R.each(M,function(e,i){console.log(i.Name+": "+i["Execution Time"]+"ms")}),console.groupEnd()),M=[]}},invoke:function(t,e,i){let o=m,r,s,n;return e=e||E,i=i||b,"string"==typeof t&&void 0!==o&&(t=t.split(/[ .]/),r=t.length-1,R.each(t,function(e,i){var n=e!==r?i+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(R.isPlainObject(o[n])&&e!==r)o=o[n];else{if(void 0!==o[n])return s=o[n],!1;{if(!R.isPlainObject(o[i])||e===r)return void 0!==o[i]?s=o[i]:T.error(a.method,t),!1;o=o[i]}}})),q(s)?n=s.apply(i,e):void 0!==s&&(n=s),Array.isArray(D)?D.push(n):void 0!==D?D=[D,n]:void 0!==n&&(D=n),s}},O?(void 0===m&&T.initialize(),T.invoke(B)):(void 0!==m&&T.invoke("destroy"),T.initialize())}),void 0!==D?D:this},R.fn.sidebar.settings={name:"Sidebar",namespace:"sidebar",silent:!1,debug:!1,verbose:!1,performance:!0,transition:"auto",mobileTransition:"auto",defaultTransition:{computer:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"},mobile:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"}},context:"body",exclusive:!1,closable:!0,dimPage:!0,scrollLock:!1,returnScroll:!1,delaySetup:!1,onChange:function(){},onShow:function(){},onHide:function(){},onHidden:function(){},onVisible:function(){},className:{active:"active",animating:"animating",blurring:"blurring",closing:"closing",dimmed:"dimmed",locked:"locked",pushable:"pushable",pushed:"pushed",right:"right",top:"top",left:"left",bottom:"bottom",visible:"visible"},selector:{bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",sidebar:".ui.sidebar"},regExp:{mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedSidebar:"Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag",overlay:"The overlay setting is no longer supported, use animation: overlay",notFound:"There were no elements that matched the specified selector"}}}(jQuery,window,document);
|
package/dist/components/site.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
2
|
+
* # Fomantic-UI 2.10.0-beta.10+3ca268e - Site
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
@font-face {
|
17
17
|
font-family: "Lato";
|
18
|
-
src: url("./../themes/default/assets/fonts/LatoLatin-Regular.woff2") format("woff2")
|
18
|
+
src: url("./../themes/default/assets/fonts/LatoLatin-Regular.woff2") format("woff2");
|
19
19
|
font-style: normal;
|
20
20
|
font-weight: normal;
|
21
21
|
font-display: swap;
|
@@ -24,7 +24,7 @@
|
|
24
24
|
}
|
25
25
|
@font-face {
|
26
26
|
font-family: "Lato";
|
27
|
-
src: url("./../themes/default/assets/fonts/LatoLatin-Bold.woff2") format("woff2")
|
27
|
+
src: url("./../themes/default/assets/fonts/LatoLatin-Bold.woff2") format("woff2");
|
28
28
|
font-style: normal;
|
29
29
|
font-weight: bold;
|
30
30
|
font-display: swap;
|
@@ -33,7 +33,7 @@
|
|
33
33
|
}
|
34
34
|
@font-face {
|
35
35
|
font-family: "Lato";
|
36
|
-
src: url("./../themes/default/assets/fonts/LatoLatin-Italic.woff2") format("woff2")
|
36
|
+
src: url("./../themes/default/assets/fonts/LatoLatin-Italic.woff2") format("woff2");
|
37
37
|
font-style: italic;
|
38
38
|
font-weight: normal;
|
39
39
|
font-display: swap;
|
@@ -42,7 +42,7 @@
|
|
42
42
|
}
|
43
43
|
@font-face {
|
44
44
|
font-family: "Lato";
|
45
|
-
src: url("./../themes/default/assets/fonts/LatoLatin-BoldItalic.woff2") format("woff2")
|
45
|
+
src: url("./../themes/default/assets/fonts/LatoLatin-BoldItalic.woff2") format("woff2");
|
46
46
|
font-style: italic;
|
47
47
|
font-weight: bold;
|
48
48
|
font-display: swap;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
}
|
52
52
|
@font-face {
|
53
53
|
font-family: "Lato";
|
54
|
-
src: url("./../themes/default/assets/fonts/Lato-Regular.woff2") format("woff2")
|
54
|
+
src: url("./../themes/default/assets/fonts/Lato-Regular.woff2") format("woff2");
|
55
55
|
font-style: normal;
|
56
56
|
font-weight: normal;
|
57
57
|
font-display: swap;
|
@@ -60,7 +60,7 @@
|
|
60
60
|
}
|
61
61
|
@font-face {
|
62
62
|
font-family: "Lato";
|
63
|
-
src: url("./../themes/default/assets/fonts/Lato-Bold.woff2") format("woff2")
|
63
|
+
src: url("./../themes/default/assets/fonts/Lato-Bold.woff2") format("woff2");
|
64
64
|
font-style: normal;
|
65
65
|
font-weight: bold;
|
66
66
|
font-display: swap;
|
@@ -69,7 +69,7 @@
|
|
69
69
|
}
|
70
70
|
@font-face {
|
71
71
|
font-family: "Lato";
|
72
|
-
src: url("./../themes/default/assets/fonts/Lato-Italic.woff2") format("woff2")
|
72
|
+
src: url("./../themes/default/assets/fonts/Lato-Italic.woff2") format("woff2");
|
73
73
|
font-style: italic;
|
74
74
|
font-weight: normal;
|
75
75
|
font-display: swap;
|
@@ -78,7 +78,7 @@
|
|
78
78
|
}
|
79
79
|
@font-face {
|
80
80
|
font-family: "Lato";
|
81
|
-
src: url("./../themes/default/assets/fonts/Lato-BoldItalic.woff2") format("woff2")
|
81
|
+
src: url("./../themes/default/assets/fonts/Lato-BoldItalic.woff2") format("woff2");
|
82
82
|
font-style: italic;
|
83
83
|
font-weight: bold;
|
84
84
|
font-display: swap;
|
@@ -208,14 +208,6 @@ body ::-webkit-scrollbar-thumb:window-inactive {
|
|
208
208
|
body ::-webkit-scrollbar-thumb:hover {
|
209
209
|
background: rgba(128, 135, 139, 0.8);
|
210
210
|
}
|
211
|
-
body .ui {
|
212
|
-
|
213
|
-
/* IE11 */
|
214
|
-
scrollbar-face-color: #bfbfbf;
|
215
|
-
scrollbar-shadow-color: #bfbfbf;
|
216
|
-
scrollbar-track-color: #e6e6e6;
|
217
|
-
scrollbar-arrow-color: #e6e6e6;
|
218
|
-
}
|
219
211
|
@supports (-moz-appearance: none) {
|
220
212
|
body .ui {
|
221
213
|
|
@@ -238,14 +230,6 @@ body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb:window-inactive {
|
|
238
230
|
body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb:hover {
|
239
231
|
background: rgba(255, 255, 255, 0.35);
|
240
232
|
}
|
241
|
-
body .ui.inverted:not(.dimmer) {
|
242
|
-
|
243
|
-
/* IE11 */
|
244
|
-
scrollbar-face-color: #656565;
|
245
|
-
scrollbar-shadow-color: #656565;
|
246
|
-
scrollbar-track-color: #323232;
|
247
|
-
scrollbar-arrow-color: #323232;
|
248
|
-
}
|
249
233
|
@supports (-moz-appearance: none) {
|
250
234
|
body .ui.inverted:not(.dimmer) {
|
251
235
|
|
package/dist/components/site.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
2
|
+
* # Fomantic-UI 2.10.0-beta.10+3ca268e - Site
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -20,31 +20,29 @@
|
|
20
20
|
: globalThis;
|
21
21
|
|
22
22
|
$.fn.site = function (parameters) {
|
23
|
-
|
24
|
-
|
25
|
-
performance = [],
|
23
|
+
let time = Date.now();
|
24
|
+
let performance = [];
|
26
25
|
|
27
|
-
|
28
|
-
|
29
|
-
|
26
|
+
let query = arguments[0];
|
27
|
+
let methodInvoked = typeof query === 'string';
|
28
|
+
let queryArguments = [].slice.call(arguments, 1);
|
30
29
|
|
31
|
-
|
32
|
-
|
33
|
-
|
30
|
+
let settings = $.isPlainObject(parameters)
|
31
|
+
? $.extend(true, {}, $.site.settings, parameters)
|
32
|
+
: $.extend({}, $.site.settings);
|
34
33
|
|
35
|
-
|
36
|
-
|
34
|
+
let namespace = settings.namespace;
|
35
|
+
let error = settings.error;
|
37
36
|
|
38
|
-
|
37
|
+
let moduleNamespace = 'module-' + namespace;
|
39
38
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
39
|
+
let $document = $(document);
|
40
|
+
let $module = $document;
|
41
|
+
let element = this;
|
42
|
+
let instance = $module.data(moduleNamespace);
|
44
43
|
|
45
|
-
|
46
|
-
|
47
|
-
;
|
44
|
+
let module;
|
45
|
+
let returnedValue;
|
48
46
|
module = {
|
49
47
|
|
50
48
|
initialize: function () {
|
@@ -55,8 +53,7 @@
|
|
55
53
|
module.verbose('Storing instance of site', module);
|
56
54
|
instance = module;
|
57
55
|
$module
|
58
|
-
.data(moduleNamespace, module)
|
59
|
-
;
|
56
|
+
.data(moduleNamespace, module);
|
60
57
|
},
|
61
58
|
|
62
59
|
normalize: function () {
|
@@ -78,9 +75,7 @@
|
|
78
75
|
|
79
76
|
enabled: {
|
80
77
|
modules: function (modules) {
|
81
|
-
|
82
|
-
enabledModules = []
|
83
|
-
;
|
78
|
+
let enabledModules = [];
|
84
79
|
modules = modules || settings.modules;
|
85
80
|
$.each(modules, function (index, name) {
|
86
81
|
if (module.moduleExists(name)) {
|
@@ -94,9 +89,7 @@
|
|
94
89
|
|
95
90
|
disabled: {
|
96
91
|
modules: function (modules) {
|
97
|
-
|
98
|
-
disabledModules = []
|
99
|
-
;
|
92
|
+
let disabledModules = [];
|
100
93
|
modules = modules || settings.modules;
|
101
94
|
$.each(modules, function (index, name) {
|
102
95
|
if (!module.moduleExists(name)) {
|
@@ -119,12 +112,10 @@
|
|
119
112
|
? modifyExisting
|
120
113
|
: true;
|
121
114
|
$.each(modules, function (index, name) {
|
122
|
-
|
123
|
-
namespace
|
124
|
-
|
125
|
-
|
126
|
-
$existingModules
|
127
|
-
;
|
115
|
+
let namespace = module.moduleExists(name)
|
116
|
+
? $.fn[name].settings.namespace || false
|
117
|
+
: true;
|
118
|
+
let $existingModules;
|
128
119
|
if (module.moduleExists(name)) {
|
129
120
|
module.verbose('Changing default setting', setting, value, name);
|
130
121
|
$.fn[name].settings[setting] = value;
|
@@ -146,9 +137,7 @@
|
|
146
137
|
? modifyExisting
|
147
138
|
: true;
|
148
139
|
$.each(modules, function (index, name) {
|
149
|
-
|
150
|
-
$existingModules
|
151
|
-
;
|
140
|
+
let $existingModules;
|
152
141
|
if (module.moduleExists(name)) {
|
153
142
|
module.verbose('Changing default setting', newSettings, name);
|
154
143
|
$.extend(true, $.fn[name].settings, newSettings);
|
@@ -224,8 +213,7 @@
|
|
224
213
|
destroy: function () {
|
225
214
|
module.verbose('Destroying previous site for', $module);
|
226
215
|
$module
|
227
|
-
.removeData(moduleNamespace)
|
228
|
-
;
|
216
|
+
.removeData(moduleNamespace);
|
229
217
|
},
|
230
218
|
|
231
219
|
cache: {},
|
@@ -274,11 +262,9 @@
|
|
274
262
|
},
|
275
263
|
performance: {
|
276
264
|
log: function (message) {
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
previousTime
|
281
|
-
;
|
265
|
+
let currentTime;
|
266
|
+
let executionTime;
|
267
|
+
let previousTime;
|
282
268
|
if (settings.performance) {
|
283
269
|
currentTime = Date.now();
|
284
270
|
previousTime = time || currentTime;
|
@@ -297,10 +283,8 @@
|
|
297
283
|
}, 500);
|
298
284
|
},
|
299
285
|
display: function () {
|
300
|
-
|
301
|
-
|
302
|
-
totalTime = 0
|
303
|
-
;
|
286
|
+
let title = settings.name + ':';
|
287
|
+
let totalTime = 0;
|
304
288
|
time = false;
|
305
289
|
clearTimeout(module.performance.timer);
|
306
290
|
$.each(performance, function (index, data) {
|
@@ -322,22 +306,19 @@
|
|
322
306
|
},
|
323
307
|
},
|
324
308
|
invoke: function (query, passedArguments, context) {
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
response
|
330
|
-
;
|
309
|
+
let object = instance;
|
310
|
+
let maxDepth;
|
311
|
+
let found;
|
312
|
+
let response;
|
331
313
|
passedArguments = passedArguments || queryArguments;
|
332
314
|
context = context || element;
|
333
315
|
if (typeof query === 'string' && object !== undefined) {
|
334
316
|
query = query.split(/[ .]/);
|
335
317
|
maxDepth = query.length - 1;
|
336
318
|
$.each(query, function (depth, value) {
|
337
|
-
|
319
|
+
let camelCaseValue = depth !== maxDepth
|
338
320
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
339
|
-
: query
|
340
|
-
;
|
321
|
+
: query;
|
341
322
|
if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
|
342
323
|
object = object[camelCaseValue];
|
343
324
|
} else if (object[camelCaseValue] !== undefined) {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
2
|
+
* # Fomantic-UI 2.10.0-beta.10+3ca268e - Site
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
7
|
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
|
-
*/@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Regular.woff2) format("woff2")
|
9
|
+
*/@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Regular.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Bold.woff2) format("woff2");font-style:normal;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Italic.woff2) format("woff2");font-style:italic;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-BoldItalic.woff2) format("woff2");font-style:italic;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-Regular.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-Bold.woff2) format("woff2");font-style:normal;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-Italic.woff2) format("woff2");font-style:italic;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-BoldItalic.woff2) format("woff2");font-style:italic;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}body,html{height:100%}html{font-size:14px}body{margin:0;padding:0;overflow-x:hidden;min-width:320px;background:#fff;font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:14px;line-height:1.4285em;color:rgba(0,0,0,.87)}h1,h2,h3,h4,h5{font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";line-height:1.28571429em;margin:calc(2rem - .1428571428571429em) 0 1rem;font-weight:700;padding:0}h1{min-height:1rem;font-size:2rem}h2{font-size:1.71428571rem}h3{font-size:1.28571429rem}h4{font-size:1.07142857rem}h5{font-size:1rem}h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child{margin-top:0}h1:last-child,h2:last-child,h3:last-child,h4:last-child,h5:last-child{margin-bottom:0}p{margin:0 0 1em;line-height:1.4285em}p:first-child{margin-top:0}p:last-child{margin-bottom:0}a{color:#4183c4;text-decoration:none}a:hover{color:#1e70bf;text-decoration:none}body ::-webkit-scrollbar{-webkit-appearance:none;width:10px;height:10px}body ::-webkit-scrollbar-track{background:rgba(0,0,0,.1);border-radius:0}body ::-webkit-scrollbar-thumb{cursor:pointer;border-radius:5px;background:rgba(0,0,0,.25);-webkit-transition:color .2s ease;transition:color .2s ease}body ::-webkit-scrollbar-thumb:window-inactive{background:rgba(0,0,0,.15)}body ::-webkit-scrollbar-thumb:hover{background:rgba(128,135,139,.8)}@supports (-moz-appearance:none){body .ui{scrollbar-color:rgba(0,0,0,.25) rgba(0,0,0,.1);scrollbar-width:thin}}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}@supports (-moz-appearance:none){body .ui.inverted:not(.dimmer){scrollbar-color:rgba(255,255,255,.25) rgba(255,255,255,.1)}}::selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}input::selection,textarea::selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.10.0-beta.
|
2
|
+
* # Fomantic UI - 2.10.0-beta.10+3ca268e
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* https://fomantic-ui.com/
|
5
5
|
*
|
@@ -8,4 +8,4 @@
|
|
8
8
|
* https://opensource.org/licenses/MIT
|
9
9
|
*
|
10
10
|
*/
|
11
|
-
!function(b,p,v){"use strict";p=void 0!==p&&p.Math===Math?p:globalThis,b.fn.site=function(e){
|
11
|
+
!function(b,p,v){"use strict";p=void 0!==p&&p.Math===Math?p:globalThis,b.fn.site=function(e){let t=Date.now(),i=[];var n=e,o="string"==typeof n;let l=[].slice.call(arguments,1),r=b.isPlainObject(e)?b.extend(!0,{},b.site.settings,e):b.extend({},b.site.settings),s=r.namespace,a=r.error,c="module-"+s,u=b(v),d=this,f=u.data(c),g,m;return g={initialize:function(){g.instantiate()},instantiate:function(){g.verbose("Storing instance of site",g),f=g,u.data(c,g)},normalize:function(){},fix:{consoleClear:function(){g.debug("Disabling programmatic console clearing"),p.console.clear=function(){}}},moduleExists:function(e){return void 0!==b.fn[e]&&void 0!==b.fn[e].settings},enabled:{modules:function(e){let o=[];return e=e||r.modules,b.each(e,function(e,n){g.moduleExists(n)&&o.push(n)}),o}},disabled:{modules:function(e){let o=[];return e=e||r.modules,b.each(e,function(e,n){g.moduleExists(n)||o.push(n)}),o}},change:{setting:function(i,s,e,c){e="string"==typeof e?"all"===e?r.modules:[e]:e||r.modules,c=void 0===c||c,b.each(e,function(e,n){var o=!g.moduleExists(n)||(b.fn[n].settings.namespace||!1);let t;g.moduleExists(n)&&(g.verbose("Changing default setting",i,s,n),b.fn[n].settings[i]=s,c&&o&&0<(t=b(":data(module-"+o+")")).length&&(g.verbose("Modifying existing settings",t),t[n]("setting",i,s)))})},settings:function(t,e,i){e="string"==typeof e?[e]:e||r.modules,i=void 0===i||i,b.each(e,function(e,n){let o;g.moduleExists(n)&&(g.verbose("Changing default setting",t,n),b.extend(!0,b.fn[n].settings,t),i&&s&&0<(o=b(":data(module-"+s+")")).length&&(g.verbose("Modifying existing settings",o),o[n]("setting",t)))})}},enable:{console:function(){g.console(!0)},debug:function(e,n){e=e||r.modules,g.debug("Enabling debug for modules",e),g.change.setting("debug",!0,e,n)},verbose:function(e,n){e=e||r.modules,g.debug("Enabling verbose debug for modules",e),g.change.setting("verbose",!0,e,n)}},disable:{console:function(){g.console(!1)},debug:function(e,n){e=e||r.modules,g.debug("Disabling debug for modules",e),g.change.setting("debug",!1,e,n)},verbose:function(e,n){e=e||r.modules,g.debug("Disabling verbose debug for modules",e),g.change.setting("verbose",!1,e,n)}},console:function(e){e?void 0===f.cache.console?g.error(a.console):(g.debug("Restoring console function"),p.console=f.cache.console):(g.debug("Disabling console function"),f.cache.console=p.console,p.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},table:function(){},warn:function(){}})},destroy:function(){g.verbose("Destroying previous site for",u),u.removeData(c)},cache:{},setting:function(e,n){if(b.isPlainObject(e))b.extend(!0,r,e);else{if(void 0===n)return r[e];r[e]=n}},internal:function(e,n){if(b.isPlainObject(e))b.extend(!0,g,e);else{if(void 0===n)return g[e];g[e]=n}},debug:function(){r.debug&&(r.performance?g.performance.log(arguments):(g.debug=Function.prototype.bind.call(console.info,console,r.name+":"),g.debug.apply(console,arguments)))},verbose:function(){r.verbose&&r.debug&&(r.performance?g.performance.log(arguments):(g.verbose=Function.prototype.bind.call(console.info,console,r.name+":"),g.verbose.apply(console,arguments)))},error:function(){g.error=Function.prototype.bind.call(console.error,console,r.name+":"),g.error.apply(console,arguments)},performance:{log:function(e){var n,o;r.performance&&(o=(n=Date.now())-(t||n),t=n,i.push({Element:d,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":o})),clearTimeout(g.performance.timer),g.performance.timer=setTimeout(function(){g.performance.display()},500)},display:function(){var e=r.name+":";let o=0;t=!1,clearTimeout(g.performance.timer),b.each(i,function(e,n){o+=n["Execution Time"]}),e+=" "+o+"ms",0<i.length&&(console.groupCollapsed(e),console.table?console.table(i):b.each(i,function(e,n){console.log(n.Name+": "+n["Execution Time"]+"ms")}),console.groupEnd()),i=[]}},invoke:function(t,e,n){let i=f,s,c,o;var r;return e=e||l,n=n||d,"string"==typeof t&&void 0!==i&&(t=t.split(/[ .]/),s=t.length-1,b.each(t,function(e,n){var o=e!==s?n+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(b.isPlainObject(i[o])&&e!==s)i=i[o];else{if(void 0!==i[o])return c=i[o],!1;{if(!b.isPlainObject(i[n])||e===s)return void 0!==i[n]?c=i[n]:g.error(a.method,t),!1;i=i[n]}}})),"function"==typeof(r=c)&&"number"!=typeof r.nodeType?o=c.apply(n,e):void 0!==c&&(o=c),Array.isArray(m)?m.push(o):void 0!==m?m=[m,o]:void 0!==o&&(m=o),c}},o?(void 0===f&&g.initialize(),g.invoke(n)):(void 0!==f&&g.destroy(),g.initialize()),void 0!==m?m:this},b.site=b.fn.site,b.site.settings={name:"Site",namespace:"site",error:{console:"Console cannot be restored, most likely it was overwritten outside of module",method:"The method you called is not defined."},debug:!1,verbose:!1,performance:!0,modules:["accordion","api","calendar","checkbox","dimmer","dropdown","embed","flyout","form","modal","nag","popup","progress","rating","search","shape","sidebar","slider","state","sticky","tab","toast","transition","visibility"],siteNamespace:"site",namespaceStub:{cache:{},config:{},sections:{},section:{},utilities:{}}},b.extend(b.expr.pseudos,{data:b.expr.createPseudo(function(n){return function(e){return!!b.data(e,n)}})})}(jQuery,window,document);
|